/* ============================================================
   BidKing — Royal UI Kit (shared components)
   ============================================================ */

/* ---------- Buttons: chunky, beveled, game-grade ---------- */
.btn {
  --btn-face: linear-gradient(180deg, var(--green-300) 0%, var(--green-500) 52%, var(--green-600) 100%);
  --btn-edge: var(--green-800);
  --btn-glow: rgba(87, 168, 42, .42);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: .025em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(10, 46, 102, .3);
  padding: .78em 1.7em;
  border-radius: 18px;
  border: 3px solid var(--btn-stroke, var(--stroke-light));
  background: var(--btn-face);
  box-shadow:
    0 .34em 0 var(--btn-edge),
    0 .9em 1.6em var(--btn-glow),
    inset 0 3px 0 rgba(255, 255, 255, .38),
    inset 0 -4px 0 rgba(10, 46, 102, .12);
  transform: translateY(0);
  transition: transform .09s ease, box-shadow .09s ease, filter .18s ease;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn:active {
  transform: translateY(.24em);
  box-shadow:
    0 .1em 0 var(--btn-edge),
    0 .35em .7em var(--btn-glow),
    inset 0 3px 0 rgba(255, 255, 255, .38),
    inset 0 -4px 0 rgba(10, 46, 102, .12);
}
/* shine sweep */
.btn::before {
  content: "";
  position: absolute;
  inset: -8px auto -8px -30%;
  width: 34%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.5) 45%, rgba(255,255,255,.14) 60%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::before, .btn--pulse::before {
  animation: btn-shine 2.6s ease-in-out infinite;
}
@keyframes btn-shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  38%, 100% { transform: translateX(460%) skewX(-18deg); }
}
.btn > * { position: relative; z-index: 2; }

.btn--gold {
  --btn-face: linear-gradient(180deg, #FFE066 0%, #FFC01E 50%, #F59B00 100%);
  --btn-edge: #B36B00;
  --btn-glow: rgba(245, 163, 0, .4);
}
.btn--blue {
  --btn-face: linear-gradient(180deg, #5AA2FF 0%, #2E86F8 52%, #1560D6 100%);
  --btn-edge: #0B3585;
  --btn-glow: rgba(21, 96, 214, .38);
}
.btn--red {
  --btn-face: linear-gradient(180deg, #FF8A7A 0%, #FF4B4B 52%, #E03131 100%);
  --btn-edge: #8F1D1D;
  --btn-glow: rgba(224, 49, 49, .38);
}
.btn--purple {
  --btn-face: linear-gradient(180deg, #A98CFF 0%, #7A5CF0 52%, #5F3FD9 100%);
  --btn-edge: #3D2694;
  --btn-glow: rgba(122, 92, 240, .38);
}
.btn--ghost {
  --btn-face: linear-gradient(180deg, #FFFFFF 0%, #F2F8FF 50%, #E1EEFF 100%);
  --btn-edge: #A9C6EC;
  --btn-glow: rgba(30, 123, 245, .25);
  --btn-stroke: color-mix(in srgb, #5AA2FF 30%, white);
  color: var(--royal-600);
  text-shadow: none;
}

.btn--xl { font-size: clamp(1.25rem, 2.6vw, 1.6rem); padding: .82em 1.9em; border-radius: 22px; }
.btn--lg { font-size: 1.25rem; }
.btn--sm { font-size: .95rem; padding: .6em 1.25em; border-radius: 14px; border-width: 2.5px; }

.btn--pulse { animation: pulse-glow 2.4s ease-in-out infinite; }
.btn--pulse:hover { animation-play-state: paused; }

.btn .btn-ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* mini caption under a CTA */
.cta-note {
  margin-top: 12px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .45em;
}
.cta-note--light { color: rgba(255, 255, 255, .85); }

/* ---------- Primary CTA color alternates (mixer-toggled via body class) ----------
   Applies to the conversion buttons: hero CTA + all .btn--pulse,
   the header "Get $50 Free", the sticky bar button, and section-end CTAs. */
body.cta-green :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, var(--green-300) 0%, var(--green-500) 52%, var(--green-600) 100%);
  --btn-edge: var(--green-800);
  --btn-glow: rgba(87, 168, 42, .42);
  --btn-stroke: color-mix(in srgb, var(--green-500) 55%, white);
}
body.cta-gold :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #FFE066 0%, #FFC01E 50%, #F59B00 100%);
  --btn-edge: #B36B00;
  --btn-glow: rgba(245, 163, 0, .42);
  --btn-stroke: color-mix(in srgb, #FFC01E 55%, white);
}
body.cta-blue :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #6ED0FF 0%, #2E9BFF 52%, #0E6FD6 100%);
  --btn-edge: #0A4A9E;
  --btn-glow: rgba(46, 155, 255, .45);
  --btn-stroke: color-mix(in srgb, #2E9BFF 55%, white);
}
body.cta-orange :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #FFC46B 0%, #FF8A2B 52%, #F5570B 100%);
  --btn-edge: #A63A00;
  --btn-glow: rgba(245, 87, 11, .42);
  --btn-stroke: color-mix(in srgb, #FF8A2B 55%, white);
}
body.cta-red :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #FF8A7A 0%, #FF4B4B 52%, #E03131 100%);
  --btn-edge: #8F1D1D;
  --btn-glow: rgba(224, 49, 49, .42);
  --btn-stroke: color-mix(in srgb, #FF4B4B 55%, white);
}
body.cta-berry :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #FF8FB1 0%, #F0609A 52%, #D6336C 100%);
  --btn-edge: #8F1D48;
  --btn-glow: rgba(214, 51, 108, .42);
  --btn-stroke: color-mix(in srgb, #F0609A 55%, white);
}
body.cta-purple :is(.btn--pulse, .site-header .btn--gold, .sticky-bar .btn--gold, .deals-foot .btn) {
  --btn-face: linear-gradient(180deg, #A98CFF 0%, #7A5CF0 52%, #5F3FD9 100%);
  --btn-edge: #3D2694;
  --btn-glow: rgba(122, 92, 240, .45);
  --btn-stroke: color-mix(in srgb, #7A5CF0 55%, white);
}

/* ---------- Store badges ---------- */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: block;
  border-radius: 13px;
  transition: transform .16s var(--ease-spring), box-shadow .16s ease;
  box-shadow: 0 6px 16px rgba(10, 46, 102, .25);
}
.store-badge:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 24px rgba(10, 46, 102, .3); }
.store-badge img { height: 52px; width: auto; }
.store-badge--sm img { height: 42px; }

/* ---------- Chips, badges, ribbons ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 800;
  font-size: .92rem;
  padding: .38em .95em;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #E3EBF8;
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(15, 44, 92, .08);
}
.chip img, .chip svg { width: 1.2em; height: 1.2em; }

/* game-style resource counter (dark pill, icon hanging off the left) */
.res-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 108px;
  padding: .32em 1em .32em 2.1em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(10, 32, 68, .78), rgba(10, 32, 68, .62));
  border: 2px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: .03em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 3px 8px rgba(10, 46, 102, .25);
}
.res-chip > img {
  position: absolute;
  left: -14px;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
}

/* notification badge (red dot with count) */
.notif {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #FF6B6B, #E03131);
  border: 2.5px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
  box-shadow: 0 4px 10px rgba(224, 49, 49, .5);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 3;
}

/* discount ribbon (top-left of a card) */
.ribbon {
  position: absolute;
  top: 14px;
  left: -8px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: .98rem;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
  background: linear-gradient(180deg, #FF6B6B, #E03131);
  padding: .32em .9em;
  border-radius: 8px 10px 10px 0;
  box-shadow: 0 5px 12px rgba(224, 49, 49, .4);
  transform: rotate(-4deg);
}
.ribbon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -7px;
  border: 4px solid transparent;
  border-top-color: #8F1D1D;
  border-right-color: #8F1D1D;
}
.ribbon--gold {
  background: linear-gradient(180deg, #FFD84D, #F59B00);
  color: #7A4A00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  box-shadow: 0 5px 12px rgba(245, 155, 0, .4);
}
.ribbon--gold::after { border-top-color: #A85E00; border-right-color: #A85E00; }
.ribbon--purple { background: linear-gradient(180deg, #A98CFF, #6A4BE0); box-shadow: 0 5px 12px rgba(122, 92, 240, .4); }
.ribbon--purple::after { border-top-color: #3D2694; border-right-color: #3D2694; }

/* HOT flame tag */
.hot-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .05em;
  color: #fff;
  background: linear-gradient(180deg, #FF9F43, #F5570B);
  border: 2px solid #fff;
  border-radius: 999px;
  padding: .28em .7em;
  box-shadow: 0 4px 10px rgba(245, 87, 11, .45);
  animation: pulse-glow 1.8s ease-in-out infinite;
}
.hot-tag img { width: 1em; height: 1em; }

/* live dot */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 900;
  color: var(--red-600);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 0 rgba(255, 75, 75, .6);
  animation: live-ping 1.6s ease-out infinite;
}
@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 75, .55); }
  100% { box-shadow: 0 0 0 12px rgba(255, 75, 75, 0); }
}

/* countdown timer chip */
.timer {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: .95rem;
  letter-spacing: .05em;
  color: #fff;
  background: linear-gradient(180deg, #35507E, #14315E);
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: .3em .85em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3);
}
.timer img { width: 1.05em; height: 1.05em; }
.timer.is-urgent { background: linear-gradient(180deg, #FF6B6B, #C22525); animation: pulse-glow 1s ease-in-out infinite; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 3px solid #EAF0FB;
  box-shadow: var(--shadow-card);
}
/* gold "rarity" frame */
.card--gold {
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #FFE066 0%, #F5A300 55%, #C97F00 100%) border-box;
  box-shadow: 0 12px 32px rgba(245, 163, 0, .22);
}
.card--navy {
  background: linear-gradient(180deg, #16386B, #0E2A55);
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
}
.card-hover {
  transition: transform .22s var(--ease-spring), box-shadow .22s ease;
}
.card-hover:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: var(--shadow-pop);
}

/* ---------- Avatars ---------- */
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .78rem;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  background: var(--royal-500);
  box-shadow: 0 3px 8px rgba(15, 44, 92, .25);
  flex: 0 0 auto;
}
.avatar--1 { background: linear-gradient(180deg, #5AA2FF, #1560D6); }
.avatar--2 { background: linear-gradient(180deg, #FF9F43, #F5570B); }
.avatar--3 { background: linear-gradient(180deg, #A98CFF, #5F3FD9); }
.avatar--4 { background: linear-gradient(180deg, #63E6BE, #0CA678); }
.avatar--5 { background: linear-gradient(180deg, #FF8FB1, #D6336C); }
.avatar--6 { background: linear-gradient(180deg, #FFD84D, #E8A200); color: #7A4A00; text-shadow: none; }
.avatar--lg { width: 52px; height: 52px; font-size: 1.05rem; border-width: 3px; }
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { margin-left: -10px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- Price block ---------- */
.price-was {
  color: var(--ink-faint);
  text-decoration: line-through;
  font-weight: 800;
  font-size: .95rem;
}
.price-now {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green-600);
  line-height: 1;
  letter-spacing: .01em;
}
.price-now small { font-size: .62em; }

/* ---------- Progress bar (game style) ---------- */
.meter {
  position: relative;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0E2A55, #16386B);
  border: 2.5px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .4);
  overflow: hidden;
}
.meter-fill {
  position: absolute;
  inset: 3px auto 3px 3px;
  width: var(--fill, 60%);
  border-radius: 999px;
  background: linear-gradient(180deg, #FFE066 0%, #FFC01E 55%, #F59B00 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55);
  transition: width 1.2s var(--ease-out);
}
.meter-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .06em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .4);
  z-index: 2;
}

/* ---------- FAQ accordion ---------- */
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--navy);
  padding: 20px 22px;
}
.faq-q .faq-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  transition: transform .3s var(--ease-spring);
}
.faq-item.open .faq-ico { transform: rotate(135deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(180deg, #24365C, #101F3D);
  border: 3px solid #3B5384;
  box-shadow:
    inset 0 0 0 6px #0B1730,
    0 30px 60px rgba(10, 46, 102, .4);
  padding: 12px;
}
.phone::before {
  /* notch */
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0B1730;
  border-radius: 999px;
  z-index: 4;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-300), var(--sky-100));
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll var(--marquee-speed, 36s) linear infinite;
}
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Coin burst particles (spawned by JS) ---------- */
.burst-particle {
  position: fixed;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 42, 85, .97), rgba(10, 32, 68, .97));
  border: 2.5px solid rgba(255, 210, 63, .55);
  box-shadow: 0 14px 34px rgba(10, 23, 48, .45);
  color: #fff;
  transform: translateY(140%);
  transition: transform .45s var(--ease-spring);
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar img.sb-crest { width: 40px; height: 40px; }
.sticky-bar .sb-txt { flex: 1; min-width: 0; }
.sticky-bar .sb-title { font-family: var(--font-display); font-size: .98rem; letter-spacing: .02em; line-height: 1.2; }
.sticky-bar .sb-sub { font-size: .78rem; font-weight: 700; color: var(--gold-300); }
.sticky-bar .btn { flex: 0 0 auto; }
.sticky-bar .sb-close {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  font-size: .8rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(10, 23, 48, .4);
}
@media (min-width: 861px) {
  .sticky-bar { left: auto; right: 22px; bottom: 22px; max-width: 400px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.logo-crest {
  justify-self: center;
  display: block;
}
.logo-crest img {
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 4px 10px rgba(10, 46, 102, .35));
  transition: width .3s ease, height .3s ease, transform .2s var(--ease-spring);
}
.logo-crest:hover img { transform: scale(1.07) rotate(-3deg); }
.site-header.scrolled .logo-crest img { width: 48px; height: 48px; }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(15, 44, 92, .14);
  padding: 8px 0;
}
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .02em;
}
.logo-lockup img { width: 44px; height: 44px; filter: drop-shadow(0 3px 6px rgba(10, 46, 102, .3)); }
.logo-bid {
  background: linear-gradient(180deg, #FFE87A 10%, #FFC01E 55%, #F08A00 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(138, 80, 0, .45));
}
.logo-king { color: #fff; text-shadow: 0 2px 0 rgba(10, 46, 102, .45); }
.site-header.scrolled .logo-king { color: var(--navy); text-shadow: none; }
.site-nav { display: flex; gap: 26px; justify-self: start; }
.site-nav a {
  font-weight: 800;
  font-size: .98rem;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 1px 6px rgba(10, 46, 102, .4);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--gold-300); }
.site-header.scrolled .site-nav a { color: var(--ink); text-shadow: none; }
.site-header.scrolled .site-nav a:hover { color: var(--royal-500); }
.header-cta { margin-left: auto; }
.site-nav + .header-cta { margin-left: 0; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header .container { grid-template-columns: auto 1fr; }
  .logo-crest { justify-self: start; }
  .logo-crest img { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .header-actions .btn--ghost { display: none; }
}

/* ---------- Sky / clouds / scenery helpers ---------- */
.sky {
  background: linear-gradient(180deg, #4FB3F9 0%, #6EC8FF 42%, #A5DFFF 78%, #D8F1FF 100%);
}
.sky--dusk {
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(122, 92, 240, .45) 0%, transparent 55%),
    linear-gradient(180deg, #0A1A3E 0%, #14295C 48%, #2B3F7E 100%);
}
.cloud {
  position: absolute;
  pointer-events: none;
  opacity: .92;
  will-change: transform;
}
.grass-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.star-tw {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  animation: twinkle 2.8s ease-in-out infinite;
}

/* rotating victory rays */
.rays {
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255, 210, 63, .22) 0deg 14deg,
    transparent 14deg 30deg
  );
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 68%);
  mask-image: radial-gradient(circle, rgba(0,0,0,.9) 0%, transparent 68%);
  animation: spin-slow 26s linear infinite;
  pointer-events: none;
}
