html, body { margin: 0; padding: 0; }
body { background: var(--color2, #1e22aa); min-height: 100vh; }

.screen { display: none; min-height: 100vh; }
.screen.is-visible { display: block; }

/* queue progress fill */
.animation__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: rgba(255,255,255,0.25);
  border-radius: 14px;
  z-index: 0;
}
.animation__btn { position: relative; overflow: hidden; }
.animation__btn-text { position: relative; z-index: 1; }

@keyframes queueFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* list items are anchors — remove default link decoration */
.list-item,
.list-item:hover,
.list-item:focus,
.list-item:visited {
  text-decoration: none;
  color: inherit;
}

/* title size — uniform 14px everywhere */
.list-item__title { font-size: 14px !important; line-height: 1.35; }

/* light up the gift icon on hover */
.list-item:hover .list-item__btn svg path {
  transition: stroke 0.2s;
  stroke: var(--color1);
}

/* 821–900px: bundle shows BOTH desktop+mobile logos; hide mobile here */
@media (min-width: 821px) and (max-width: 900px) {
  .list-item__logo .logo_mobile { display: none !important; }
}

/* Bundle behaviour: .header is position:fixed full-width; .list has top:231px
   to sit under it. The `top` trick breaks flow so the footer is hidden — swap
   for `margin-top`. Keep header pinned explicitly to viewport top. */
.list { top: 0 !important; margin-top: 231px !important; }
@media (max-width: 767px) {
  .list { margin-top: 100px !important; }
}
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
}

/* Desktop timer: docks to the bottom of the viewport once it scrolls off-screen.
   `.is-docked` is toggled by JS via IntersectionObserver on a sentinel element. */
@media (min-width: 769px) {
  .timer.is-docked {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 16px !important;
    top: auto !important;
    margin: 0 !important;
    z-index: 50 !important;
    box-shadow: 0 10px 30px rgba(2, 25, 72, 0.18) !important;
  }
  /* keep layout stable while the timer is docked (no content shift) */
  .timer-placeholder { visibility: hidden; }
}

/* Bottom mobile timer shadow — original ris.promo uses the same webp overlay */
@media (max-width: 768px) {
  .list .lazy__block_bg-timer_mobile,
  body .lazy__block_bg-timer_mobile {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    min-height: 105px !important;
    z-index: 99 !important;
    pointer-events: none !important;
    background-image: url(bg_timer-Cd4qhepX.webp);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
}

/* final CTA styling */
.animation-fortune__btn_active { cursor: pointer; text-align: center; }

/* ---------- site footer ---------- */
.site-footer {
  background: #212539;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  padding: 24px 20px;
}
.site-footer__container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 40px;
  align-items: start;
}
.site-footer__brand { font-weight: 700; font-size: 18px; }
.site-footer__extra-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; opacity: 0.85; }
.site-footer__dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.site-footer__extra-bottom { opacity: 0.85; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__link-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.site-footer__title { opacity: 0.75; }
.site-footer__link { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.site-footer__link:hover { border-bottom-color: #fff; }

@media (max-width: 720px) {
  .site-footer__container { grid-template-columns: 1fr; gap: 16px; }
  .site-footer { font-size: 13px; }
}
/* mobile timer bar (105px) & desktop docked timer pill (~56px) are both
   fixed above the fold — reserve space inside the footer for them. */
.site-footer { padding-bottom: 80px !important; }
@media (max-width: 768px) {
  .site-footer { padding-bottom: 125px !important; }
}
