/*
 * ===== SEASON: Christmas / Winter Edition =====
 * Whole file is seasonal. Decorations are scoped under html.xmas, set by js/effects/season.js
 * only between CONFIG.SEASON.start and end (and only while the visitor keeps the winter look on).
 * Remove this file + the "SEASON" blocks to drop the season completely.
 */
html.xmas {
  --ice: #bae6fd;
  --ice-soft: rgba(186, 230, 253, .55);
  --snow: #f4effa;
  --frost-line: rgba(186, 230, 253, .32);
  --snowcap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='18' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23d4e8f8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H240V4Q228.5 17.2 217.1 4.8Q208.5 16.5 200.0 4.1Q187.0 10.1 174.1 3.3Q160.4 13.2 146.8 4.6Q137.2 12.7 127.6 3.9Q117.4 17.4 107.1 4.7Q94.4 18.2 81.7 4.7Q68.9 17.9 56.2 5.3Q44.8 11.2 33.4 5.1Q25.8 9.8 18.2 5.1Q12.4 16.5 6.6 4.0Q3.3 16.2 0.0 5.2Z' fill='url(%23g)'/%3E%3C/svg%3E");
  --flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' fill='none'%3E%3Cpath d='M0-10V10M-8.7-5L8.7 5M-8.7 5L8.7-5'/%3E%3Cpath d='M-2.5-7.5L0-5L2.5-7.5M-2.5 7.5L0 5L2.5 7.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Snowfall (one fixed canvas behind the content, all pages) ---------- */
.xmas-snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: none; }
html.xmas .xmas-snow { display: block; }

/* ---------- Light string under the header in Christmas colours (follows the sticky header via transform) ----------
 * Performance: bulbs are one static strip, twinkling comes from three glow layers with offset timing
 * (4 composited layers instead of one animated layer per bulb). */
.xmas-lights {
  position: fixed; left: 0; top: 0; width: 100%; height: 30px; z-index: 39; pointer-events: none; display: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='322' height='30'%3E%3Cpath d='M0 2 Q23.0 15 46 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='20.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='23.0' cy='17' rx='4' ry='5.3' fill='%23ef4444'/%3E%3Cellipse cx='21.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M46 2 Q69.0 15 92 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='66.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='69.0' cy='17' rx='4' ry='5.3' fill='%23fbbf24'/%3E%3Cellipse cx='67.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M92 2 Q115.0 15 138 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='112.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='115.0' cy='17' rx='4' ry='5.3' fill='%2322c55e'/%3E%3Cellipse cx='113.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M138 2 Q161.0 15 184 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='158.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='161.0' cy='17' rx='4' ry='5.3' fill='%23c084fc'/%3E%3Cellipse cx='159.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M184 2 Q207.0 15 230 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='204.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='207.0' cy='17' rx='4' ry='5.3' fill='%23bae6fd'/%3E%3Cellipse cx='205.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M230 2 Q253.0 15 276 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='250.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='253.0' cy='17' rx='4' ry='5.3' fill='%23ef4444'/%3E%3Cellipse cx='251.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3Cpath d='M276 2 Q299.0 15 322 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3Crect x='296.5' y='8.5' width='5' height='3.6' rx='1' fill='%237d6e98'/%3E%3Cellipse cx='299.0' cy='17' rx='4' ry='5.3' fill='%2322c55e'/%3E%3Cellipse cx='297.8' cy='15.3' rx='1.1' ry='1.8' fill='%23ffffff' fill-opacity='.75'/%3E%3C/svg%3E") 0 0 / 322px 30px repeat-x;
  will-change: transform;
}
html.xmas .xmas-lights { display: block; }
.xmas-lights::before, .xmas-lights::after, .xmas-lights > span {
  content: ''; position: absolute; inset: 0; background-size: 322px 30px; background-repeat: repeat-x; will-change: opacity;
}
.xmas-lights::before {
  background-image:
    radial-gradient(circle at 23px 17px, rgba(239, 68, 68, 0.75), transparent 14px),
    radial-gradient(circle at 161px 17px, rgba(192, 132, 252, 0.7), transparent 14px),
    radial-gradient(circle at 299px 17px, rgba(34, 197, 94, 0.7), transparent 14px);
  animation: xmasHalo 2.3s ease-in-out infinite alternate;
}
.xmas-lights::after {
  background-image:
    radial-gradient(circle at 69px 17px, rgba(251, 191, 36, 0.75), transparent 14px),
    radial-gradient(circle at 207px 17px, rgba(186, 230, 253, 0.7), transparent 14px);
  animation: xmasHalo 2.9s ease-in-out -1.1s infinite alternate;
}
.xmas-lights > span {
  background-image:
    radial-gradient(circle at 115px 17px, rgba(34, 197, 94, 0.7), transparent 14px),
    radial-gradient(circle at 253px 17px, rgba(239, 68, 68, 0.75), transparent 14px);
  animation: xmasHalo 3.4s ease-in-out -2.2s infinite alternate;
}
@keyframes xmasHalo { from { opacity: .15; } to { opacity: 1; } }
/* Bulbs used by the intro (only while it plays) */
.xmas-bulb { position: absolute; top: 9px; width: 8px; height: 13px; margin-left: -4px; }
.xmas-bulb::before { content: ''; position: absolute; left: 1.5px; top: 0; width: 5px; height: 3.5px; border-radius: 1px; background: #7d6e98; }
.xmas-bulb i {
  position: absolute; left: 0; top: 3px; width: 8px; height: 10px; border-radius: 50% 50% 48% 48% / 40% 40% 60% 60%;
  background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000) 100%);
}
.xmas-bulb::after {
  content: ''; position: absolute; left: 50%; top: 8px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%); opacity: .7;
}

/* ---------- Winter sale banner: frosted campaign look (texts, code, countdown untouched) ---------- */
html.xmas .promo-bar {
  position: relative; overflow: hidden;
  background: linear-gradient(110deg, #5b21b6 0%, #7c3aed 30%, #a855f7 62%, #c026d3 100%);
  box-shadow: inset 0 -1px 0 rgba(186, 230, 253, .35);
}
html.xmas .promo-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 11px),
    radial-gradient(260px 60px at 8% 0%, rgba(186, 230, 253, .28), transparent 70%),
    radial-gradient(260px 60px at 92% 100%, rgba(186, 230, 253, .2), transparent 70%);
}
html.xmas .promo-bar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 7px; pointer-events: none;
  background: var(--snowcap) repeat-x; background-size: 160px 7px; transform: scaleY(-1); opacity: .45;
}
html.xmas .promo-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
}
html.xmas .promo-tag::before { content: ''; width: 11px; height: 11px; background: var(--flake) center / contain no-repeat; }
html.xmas .promo-code {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px;
  box-shadow: 0 0 16px rgba(186, 230, 253, .18);
}
html.xmas .promo-code em { background: rgba(255, 255, 255, .22); }

/* ---------- Buttons: frosty glow + one icy shimmer on hover (gradient identity kept) ---------- */
html.xmas .btn-primary { position: relative; }
html.xmas .btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(224, 242, 254, .5) 50%, transparent);
  opacity: 0; transform: translate3d(-120%, 0, 0) skewX(-18deg);
}
html.xmas .btn-primary:hover::after { opacity: 1; transform: translate3d(230%, 0, 0) skewX(-18deg); transition: transform .8s var(--ease-out), opacity .2s ease; }
html.xmas .btn-primary:hover { box-shadow: inset 0 0 0 1px rgba(186, 230, 253, .55), inset 0 0 22px rgba(186, 230, 253, .28); }
html.xmas .btn-ghost:hover { box-shadow: 0 0 22px rgba(168, 85, 247, .32), 0 0 34px rgba(186, 230, 253, .16); }

/* ---------- Hero: aurora, mist, ice crystals ---------- */
html.xmas .hero::before {
  content: ''; position: absolute; left: -15%; right: -15%; top: -30%; height: 75%; pointer-events: none;
  background:
    radial-gradient(60% 45% at 30% 60%, rgba(168, 85, 247, .32), transparent 70%),
    radial-gradient(45% 35% at 62% 45%, rgba(186, 230, 253, .16), transparent 70%),
    radial-gradient(50% 40% at 85% 65%, rgba(217, 70, 239, .22), transparent 70%);
  opacity: .85; /* static on purpose: no continuous animation (performance) */
}
html.xmas .hero-art::before {
  content: ''; position: absolute; inset: -4%; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(closest-side at 40% 60%, rgba(244, 239, 250, .16), transparent),
    radial-gradient(closest-side at 65% 40%, rgba(186, 230, 253, .14), transparent);
  opacity: .85;
}
html.xmas .hero-art::after {
  content: ''; position: absolute; inset: -8%; pointer-events: none;
  background:
    url('../assets/season-crystal.svg') 6% 22% / 26px no-repeat,
    url('../assets/season-crystal.svg') 96% 12% / 18px no-repeat,
    url('../assets/season-crystal.svg') 90% 78% / 30px no-repeat,
    url('../assets/season-crystal.svg') 14% 90% / 16px no-repeat,
    url('../assets/season-crystal.svg') 52% 99% / 14px no-repeat;
  opacity: .8;
}

/* ---------- Logos: frost ring, Santa hat + light snow (artwork untouched) ---------- */
html.xmas .hero-logo .spin1 { border-top-color: rgba(244, 239, 250, .85); border-right-color: rgba(186, 230, 253, .35); }
html.xmas .hero-logo .spin2 { border-bottom-color: rgba(186, 230, 253, .75); border-left-color: rgba(192, 132, 252, .3); }
html.xmas .hero-logo::before {
  content: ''; position: absolute; inset: -22%; border-radius: 50%; pointer-events: none;
  border: 1px dashed rgba(186, 230, 253, .22);
  background:
    radial-gradient(circle at 50% 0%, var(--snow) 0 2px, rgba(186, 230, 253, .6) 3px, transparent 7px),
    radial-gradient(circle at 93% 30%, var(--ice) 0 1.5px, transparent 5px),
    radial-gradient(circle at 80% 88%, var(--snow) 0 2px, transparent 6px),
    radial-gradient(circle at 12% 78%, var(--ice) 0 1.5px, transparent 5px),
    radial-gradient(circle at 4% 30%, var(--snow) 0 1.5px, transparent 5px);
}
html.xmas .hero-logo::after {
  content: ''; position: absolute; left: -30%; top: -30%; width: 160%; aspect-ratio: 1; pointer-events: none;
  background: url('../assets/season-logo-deco.svg') center / 100% 100% no-repeat;
  animation: jmxFloat 6s ease-in-out infinite; will-change: transform;
}
html.xmas .hero-logo img { filter: drop-shadow(0 0 30px rgba(168, 85, 247, .5)) drop-shadow(0 0 60px rgba(186, 230, 253, .18)); }
/* CTA logo: img 130px centred in a 150px box -> deco box = 160% of 130px, offset by the 10px gap */
html.xmas .cta-logo::after {
  content: ''; position: absolute; left: -29px; top: -29px; width: 208px; height: 208px; pointer-events: none;
  background: url('../assets/season-logo-deco.svg') center / 100% 100% no-repeat;
}
html.xmas .cta-logo .dash { border-color: rgba(186, 230, 253, .4); }

/* ---------- Frozen glass ---------- */
html.xmas .topv-card {
  border-color: rgba(186, 230, 253, .45);
  box-shadow: inset 0 2px 0 0 rgba(244, 239, 250, .85), inset 0 0 28px rgba(186, 230, 253, .08);
}
html.xmas .topv-card::after,
html.xmas .stats-box::after,
html.xmas .cat-tile::after,
html.xmas .step-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(140px 60px at 100% 0%, rgba(186, 230, 253, .13), transparent 70%),
    radial-gradient(110px 50px at 0% 100%, rgba(244, 239, 250, .07), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 9px);
}
html.xmas .topv-card::after { z-index: -1; }
html.xmas .step-card { position: relative; }
html.xmas .cat-tile, html.xmas .step-card, html.xmas .pcard { box-shadow: inset 0 1px 0 var(--frost-line); }
html.xmas .cat-tile:hover, html.xmas .pcard:hover { border-color: rgba(186, 230, 253, .55); }
html.xmas .faq-item { border-bottom-color: rgba(186, 230, 253, .16); }

/* ---------- Snow resting on selected section edges ---------- */
html.xmas .stats-box::before,
html.xmas .cta-box::before,
html.xmas .feature-banner::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 20px; z-index: 3; pointer-events: none;
  background: var(--snowcap) repeat-x; background-size: 320px 20px;
  filter: drop-shadow(0 2px 3px rgba(186, 230, 253, .3));
}

/* Snow cap on product + category cards */
html.xmas .pcard, html.xmas .cat-tile { position: relative; }
html.xmas .pcard::before,
html.xmas .cat-tile::before {
  content: ''; position: absolute; left: -2px; right: -2px; top: -1px; height: 14px; z-index: 3; pointer-events: none;
  background: var(--snowcap) repeat-x; background-size: 200px 14px;
  filter: drop-shadow(0 2px 3px rgba(186, 230, 253, .35));
  opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .35s var(--ease);
}
html.xmas .pcard::before, html.xmas .cat-tile::before { opacity: 1; transform: translateY(0); }

/* ---------- Header: snow dripping from the bottom edge (light string hangs below) ---------- */
html.xmas .header::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 9px; pointer-events: none;
  background: var(--snowcap) repeat-x; background-size: 260px 9px; filter: drop-shadow(0 2px 2px rgba(186, 230, 253, .25));
}

/* ---------- Footer: snowy skyline on the horizon, snowy pines in front ---------- */
html.xmas .footer { border-top-color: rgba(186, 230, 253, .22); }
html.xmas .footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 170px; pointer-events: none;
  background:
    url('../assets/season-pines.svg') left bottom / auto 62% repeat-x,
    url('../assets/season-skyline.svg') center bottom / auto 100% repeat-x,
    radial-gradient(60% 70% at 50% 100%, rgba(168, 85, 247, .22), transparent 70%);
  opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
html.xmas .footer-inner { padding-top: 190px; }
html.xmas .footer-logo img { filter: drop-shadow(0 0 14px rgba(168, 85, 247, .5)) drop-shadow(0 0 22px rgba(186, 230, 253, .2)); }

/* ---------- Visitor toggle (round frost button, only exists during the season) ---------- */
.xmas-toggle {
  position: fixed; left: 18px; bottom: 18px; z-index: 44; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(13, 7, 22, .88); border: 1px solid var(--line-strong);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.xmas-toggle::before {
  content: ''; position: absolute; inset: 11px; opacity: .45; transition: opacity .25s ease, transform .6s var(--ease-out);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cg stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' fill='none'%3E%3Cpath d='M0-10V10M-8.7-5L8.7 5M-8.7 5L8.7-5'/%3E%3Cpath d='M-2.5-7.5L0-5L2.5-7.5M-2.5 7.5L0 5L2.5 7.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.xmas-toggle:hover { transform: translateY(-2px); border-color: var(--line-hover); }
.xmas-toggle:hover::before { transform: rotate(60deg); }
html.xmas .xmas-toggle { border-color: rgba(186, 230, 253, .55); box-shadow: 0 0 18px rgba(186, 230, 253, .22); }
html.xmas .xmas-toggle::before { opacity: 1; }

/* ---------- Boot: light string switches on bulb by bulb after the intro ---------- */
html.xmas-boot .xmas-lights { animation: xmasWipe 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes xmasWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes xmasBulbOn { from { opacity: 0; transform: translateY(-6px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes xmasFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Intro: one-time "Winter Edition" reveal ---------- */
.xmas-intro {
  --ice: #bae6fd; --snow: #f4effa;
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer;
  animation: xmasFadeIn .5s ease-out both;
  transition: opacity .7s ease;
}
/* Outro: animations are dropped so the transitions below can take over from the resting state */
.xmas-intro.xi-out { pointer-events: none; }
.xmas-intro.xi-out .xi-veil, .xmas-intro.xi-out .xi-aurora { animation: none; opacity: 0; transition: opacity .85s ease .15s; }
.xmas-intro.xi-out .xi-copy, .xmas-intro.xi-out .xi-lights { animation: none; opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .35s ease, transform .45s ease; }
.xmas-intro.xi-out .xi-skip, .xmas-intro.xi-out .xi-ring, .xmas-intro.xi-out .xi-burst, .xmas-intro.xi-out .xi-halo { animation: none; opacity: 0; transition: opacity .3s ease; }
.xi-logo.xi-logo--fly { transition: transform 1s cubic-bezier(.65, 0, .35, 1); }
.xi-logo.xi-logo--fade { animation: none; opacity: 0; transform: scale(1.12); transition: opacity .7s ease, transform .9s var(--ease-out); }
/* While the intro logo flies in, the hero logo waits underneath and fades in on landing */
html.xmas .hero-logo img, html.xmas .hero-logo::after { transition: opacity .25s ease; }
html.xmas-landing .hero-logo img, html.xmas-landing .hero-logo::after { opacity: 0; }
.xi-veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(34, 14, 58, .97), rgba(5, 2, 10, .995) 72%); }
/* Snowfall canvas sits above the intro while it plays */
html.xmas-intro-on .xmas-snow { display: block; z-index: 201; }
.xi-aurora {
  position: absolute; left: -20%; right: -20%; top: -10%; height: 70%; pointer-events: none;
  background:
    radial-gradient(50% 45% at 30% 55%, rgba(168, 85, 247, .45), transparent 70%),
    radial-gradient(40% 35% at 60% 40%, rgba(186, 230, 253, .22), transparent 70%),
    radial-gradient(45% 40% at 82% 60%, rgba(217, 70, 239, .32), transparent 70%);
  animation: xiAurora 5s ease-in-out both;
}
@keyframes xiAurora { from { transform: translate3d(-6%, -8%, 0); opacity: 0; } 40% { opacity: 1; } to { transform: translate3d(5%, 0, 0); opacity: .8; } }
.xi-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: 0 16px; }

.xi-ring { position: absolute; left: 50%; top: 110px; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(186, 230, 253, .8); box-shadow: 0 0 30px rgba(186, 230, 253, .5), inset 0 0 30px rgba(168, 85, 247, .4);
  opacity: 0; animation: xiRing 1.4s var(--ease-out) .35s both; }
.xi-ring--2 { border-color: rgba(217, 70, 239, .7); animation-delay: .6s; }
@keyframes xiRing { from { transform: scale(.3); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

.xi-burst { position: absolute; left: 50%; top: 110px; width: 0; height: 0; pointer-events: none; }
.xi-burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--snow); box-shadow: 0 0 10px var(--ice);
  opacity: 0; animation: xiBurst 1.6s var(--ease-out) .45s both; }
.xi-burst i:nth-child(3n) { width: 4px; height: 4px; background: var(--ice); }
@keyframes xiBurst { from { transform: rotate(var(--a)) translateX(20px) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateX(var(--r)) scale(.3); opacity: 0; } }

.xi-logo { position: relative; width: 220px; height: 220px; animation: xiLogo 1.1s cubic-bezier(.2, 1.4, .3, 1) .15s both; }
@keyframes xiLogo { from { transform: scale(.55) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.xi-logo img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(168, 85, 247, .7)) drop-shadow(0 0 70px rgba(186, 230, 253, .25)); }
.xi-halo { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(192, 38, 211, .5), rgba(147, 51, 234, .15) 55%, transparent 72%); filter: blur(20px);
  animation: xmasFadeIn 1.2s ease-out .2s both; }
.xi-hat { position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; pointer-events: none;
  background: url('../assets/season-logo-deco.svg') center / 100% 100% no-repeat;
  animation: xiHat 1s cubic-bezier(.3, 1.5, .5, 1) 1.05s both; transform-origin: 75% 25%; }
@keyframes xiHat { from { transform: translate3d(8%, -60%, 0) rotate(-18deg); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }

.xi-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.xi-eyebrow { font-family: var(--font-display); font-size: 13px; letter-spacing: .5em; color: var(--ice); animation: xiUp .7s var(--ease-out) 1.1s both; }
.xi-title { position: relative; margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 1;
  font-size: clamp(40px, 8vw, 96px); letter-spacing: .04em; color: var(--text-strong);
  text-shadow: 0 0 30px rgba(168, 85, 247, .6), 0 0 60px rgba(186, 230, 253, .25); }
.xi-ch { display: inline-block; animation: xiLetter .7s cubic-bezier(.2, 1.3, .4, 1) calc(1.3s + var(--i) * 45ms) both; }
@keyframes xiLetter { from { transform: translate3d(0, 60%, 0) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.xi-sub { font-size: 18px; color: var(--soft-2); animation: xiUp .7s var(--ease-out) 2.1s both; }
@keyframes xiUp { from { transform: translate3d(0, 14px, 0); opacity: 0; } to { transform: none; opacity: 1; } }

.xi-lights { position: relative; width: 540px; max-width: 86vw; height: 30px; margin-top: 6px; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='30'%3E%3Cpath d='M0 2 Q18 13 36 2' fill='none' stroke='%23574873' stroke-width='1.3'/%3E%3C/svg%3E") repeat-x;
  animation: xmasFadeIn .5s ease-out 2.2s both; }
.xi-lights .xmas-bulb { animation: xmasBulbOn .45s var(--ease-out) calc(2.4s + var(--i) * 70ms) both; }

.xi-skip { position: absolute; right: 24px; bottom: 24px; padding: 9px 16px; border-radius: 8px; cursor: pointer;
  font: 600 12px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--soft-2);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); animation: xmasFadeIn .5s ease-out .8s both; }
.xi-skip:hover { color: #fff; border-color: rgba(186, 230, 253, .6); }

@media (max-width: 720px) {
  .xi-logo { width: 160px; height: 160px; }
  .xi-ring, .xi-burst { top: 80px; }
  .xi-sub { font-size: 15px; }
}

@media (max-width: 720px) {
  html.xmas .footer::before { height: 120px; }
  html.xmas .footer-inner { padding-top: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html.xmas .hero-logo::after,
  .xmas-lights::before, .xmas-lights::after, .xmas-lights > span { animation: none; }
  html.xmas .btn-primary:hover::after { transition: none; opacity: 0; }
}
/* ===== /SEASON ===== */
