.ac-sticky,
.ac-sticky-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  padding: 0.5rem 0.5rem 0;
  background: transparent;
  color: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ac-sticky.is-hidden,
.ac-sticky-header.is-hidden {
  display: none;
}

.ac-sticky__inner,
.ac-sticky-header__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(135deg, rgba(139,92,246,0.26), rgba(59,130,246,0.16) 55%, rgba(14,23,45,0) 100%),
    rgba(14,23,45,0.8);
  box-shadow: 0 1.25rem 3.75rem rgba(0,0,0,0.28);
  backdrop-filter: blur(24px);
}

.ac-sticky__inner::before {
  content: "";
  position: absolute;
  left: -2.5rem;
  top: -0.75rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(217,70,239,0.2);
  filter: blur(36px);
  pointer-events: none;
}

.ac-sticky__inner::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: -0.75rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(34,211,238,0.18);
  filter: blur(36px);
  pointer-events: none;
}

.ac-sticky__content,
.ac-sticky-header__content,
.ac-sticky__actions,
.ac-sticky-header__actions {
  position: relative;
  z-index: 1;
}

.ac-sticky__content,
.ac-sticky-header__content {
  min-width: 0;
  flex: 1 1 auto;
}

.ac-sticky__eyebrow,
.ac-sticky-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.625rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ac-sticky__eyebrow svg,
.ac-sticky-header__eyebrow svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.72);
}

.ac-sticky__copy,
.ac-sticky-header__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ac-sticky__headline,
.ac-sticky-header__headline {
  color: #fff;
  font-size: clamp(0.9375rem, 1.35vw, 1.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ac-sticky__subheadline,
.ac-sticky-header__subheadline {
  color: rgba(255,255,255,0.64);
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 400;
}

.ac-sticky__actions,
.ac-sticky-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ac-sticky__countdown,
.ac-sticky-header__countdown {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  background: rgba(0,0,0,0.12);
}

.ac-sticky__countdown-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.58);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ac-sticky__countdown-label svg {
  flex-shrink: 0;
}

.ac-sticky__cta,
.ac-sticky-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.8125rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ac-sticky__cta:hover,
.ac-sticky-header__cta:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}

.ac-sticky__cta svg,
.ac-sticky-header__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ac-sticky__cta:hover svg,
.ac-sticky-header__cta:hover svg {
  transform: translateX(2px);
}

.ac-sticky__close,
.ac-sticky-header__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.84);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ac-sticky__close:hover,
.ac-sticky-header__close:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
}

.ac-sticky__close.is-hidden,
.ac-sticky-header__close.is-hidden {
  display: none;
}

.ac-countdown-wrapper {
  margin: 0;
}

.ac-countdown-wrapper[data-label]::before,
.ac-countdown-wrapper[data-label=""]::before {
  display: none;
}

.ac-countdown-timer {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.ac-countdown-segment {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.25rem;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.ac-countdown-segment:not(:last-child)::after {
  content: ":";
  padding-bottom: 0.0625rem;
  color: rgba(255,255,255,0.24);
  font-size: 0.75rem;
}

.ac-countdown-segment .value {
  color: #fff;
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ac-countdown-segment .ac-countdown-label {
  padding-bottom: 0.125rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ac-countdown-message {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #4d4639;
  line-height: 1.5;
}

.ac-countdown-message p {
  margin: 0;
}

@media (max-width: 768px) {
  .ac-sticky,
  .ac-sticky-header {
    padding: 0.5rem 0.5rem 0;
  }

  .ac-sticky__inner,
  .ac-sticky-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
  }

  .ac-sticky__actions,
  .ac-sticky-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ac-sticky__countdown,
  .ac-sticky-header__countdown {
    grid-template-columns: 1fr;
  }

  .ac-sticky__cta,
  .ac-sticky-header__cta {
    width: 100%;
  }
}
