/* Self-hosted Google Fonts (SIL Open Font License): Chakra Petch, Lilita One, Outfit. latin + latin-ext only. */
/* Chakra Petch 500 latin-ext */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/chakra-petch-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Chakra Petch 500 latin */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/chakra-petch-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Chakra Petch 600 latin-ext */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Chakra Petch 600 latin */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Chakra Petch 700 latin-ext */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Chakra Petch 700 latin */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Lilita One 400 latin-ext */
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lilita-one-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Lilita One 400 latin */
@font-face { font-family: 'Lilita One'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lilita-one-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 300 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/outfit-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 300 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/outfit-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 400 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/outfit-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 400 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/outfit-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 500 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/outfit-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 500 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/outfit-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 600 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/outfit-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 600 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/outfit-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit 700 latin-ext */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/outfit-variable-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Outfit 700 latin */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/outfit-variable-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =====================================================================
   THE AVE RP — Holiday Store
   Palette pulled from the logo: midnight navy, glacier ice, candy red,
   holly green and bulb gold.
   ===================================================================== */
:root {
  --bg: #060a15;
  --bg-2: #0a1122;
  --panel: rgba(16, 28, 52, 0.55);
  --panel-solid: #0e1830;
  --line: rgba(160, 215, 255, 0.12);
  --line-2: rgba(160, 215, 255, 0.22);
  --text: #eaf4ff;
  --muted: #8ea6c4;
  --ice: #3fb8ff;
  --ice-2: #8fdcff;
  --ice-3: #d8f3ff;
  --red: #e8263f;
  --red-2: #ff5a72;
  --green: #2ed47a;
  --gold: #ffc94a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --glow-ice: 0 0 0 1px rgba(63, 184, 255, 0.35), 0 10px 40px -8px rgba(63, 184, 255, 0.55);
  --f-display: "Lilita One", "Impact", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hud: "Chakra Petch", "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
main { min-height: 100vh; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
.hidden { display: none !important; }
/* Content spans the window, keeping a gutter that scales with screen width. */
.wrap { width: min(1840px, 100% - clamp(28px, 4vw, 80px)); margin-inline: auto; }
.wrap-narrow { width: min(1400px, 100% - clamp(28px, 4vw, 80px)); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ice); color: #001; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only, .hero-title .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.noscript-nav { position: relative; z-index: 5; padding: 90px 0 0; text-align: center; color: var(--ice-2); }
.noscript-nav a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; border-radius: 6px; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050812; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ice), #1b6ea6); border-radius: 10px; border: 2px solid #050812; }

/* =====================================================================
   Loader
   ===================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, #10284a 0%, #060a15 70%);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
/* The loader is opaque, so skip painting the expensive layers behind it (blurred
   auroras, snow canvases). They keep their layout, so nothing shifts on reveal. */
body.is-loading > :not(.loader) { visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-logo { width: 220px; height: auto; animation: loaderBob 1.6s var(--ease) infinite alternate; filter: drop-shadow(0 10px 30px rgba(63, 184, 255, 0.45)); }
.loader-bar { width: 220px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.loader-bar span {
  display: block; height: 100%; width: 40%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px);
  animation: loaderRun 1.1s ease-in-out infinite, candyMove 0.6s linear infinite;
}
.loader-text { margin: 0; font-family: var(--f-hud); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--ice-2); }
@keyframes loaderBob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-10px) rotate(2deg); } }
@keyframes loaderRun { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@keyframes candyMove { to { background-position: 28px 0; } }

/* =====================================================================
   Sky / background
   ===================================================================== */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(120% 80% at 50% -10%, #12305a 0%, transparent 60%),
  radial-gradient(60% 50% at 90% 70%, rgba(120, 18, 40, 0.35) 0%, transparent 70%),
  radial-gradient(50% 40% at 0% 100%, rgba(20, 90, 70, 0.25) 0%, transparent 70%),
  linear-gradient(#071022, #050811 60%, #04060d); }
.aurora { position: absolute; filter: blur(70px); opacity: 0.5; mix-blend-mode: screen; border-radius: 50%; }
.aurora.a1 { width: 70vw; height: 30vw; left: -10vw; top: -8vw; background: radial-gradient(closest-side, rgba(46, 212, 122, 0.55), transparent); animation: aur1 22s ease-in-out infinite alternate; }
.aurora.a2 { width: 60vw; height: 28vw; left: 55vw; top: 4vw; background: radial-gradient(closest-side, rgba(63, 184, 255, 0.55), transparent); animation: aur2 26s ease-in-out infinite alternate; }
.aurora.a3 { width: 50vw; height: 24vw; left: 30vw; top: 40vh; background: radial-gradient(closest-side, rgba(232, 38, 63, 0.35), transparent); animation: aur1 30s ease-in-out infinite alternate-reverse; }
@keyframes aur1 { 0% { transform: translate(0, 0) scale(1) rotate(-6deg); } 100% { transform: translate(12vw, 6vh) scale(1.25) rotate(8deg); } }
@keyframes aur2 { 0% { transform: translate(0, 0) scale(1.1) rotate(10deg); } 100% { transform: translate(-14vw, 10vh) scale(0.9) rotate(-6deg); } }
.stars { position: absolute; inset: 0; background-image:
  radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 30% 70%, #cfe 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 55% 15%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 70% 45%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 85% 25%, #dff 50%, transparent 51%),
  radial-gradient(1px 1px at 92% 80%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 45% 90%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 18% 55%, #fff 50%, transparent 51%);
  background-size: 420px 420px; opacity: 0.5; animation: twinkleSky 6s ease-in-out infinite alternate; }
@keyframes twinkleSky { to { opacity: 0.2; } }
.snow-canvas { position: fixed; inset: 0; pointer-events: none; }
.snow-canvas.back { z-index: -1; }
.snow-canvas.front { z-index: 60; filter: blur(1.5px); opacity: 0.55; }

/* sparkle trail */
.spark {
  position: fixed; z-index: 70; width: 6px; height: 6px; margin: -3px 0 0 -3px; pointer-events: none; border-radius: 50%;
  background: var(--hue); box-shadow: 0 0 8px 2px var(--hue);
  animation: spark 0.9s ease-out forwards;
}
@keyframes spark { to { transform: translate(var(--dx), 26px) scale(0); opacity: 0; } }

/* =====================================================================
   Announcement bar
   ===================================================================== */
.announce {
  position: relative; z-index: 51; overflow: hidden; height: 38px;
  background: repeating-linear-gradient(-45deg, #b5142c 0 18px, #d01d36 18px 36px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--f-hud); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.announce-track { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee 40s linear infinite; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-track span { padding: 0 34px; white-space: nowrap; display: inline-flex; align-items: center; gap: 34px; }
.announce-track span::after { content: "✦"; color: #ffe08a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   Header
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(rgba(6, 12, 26, 0.82), rgba(6, 12, 26, 0.66));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 58px; width: auto; filter: drop-shadow(0 4px 14px rgba(63, 184, 255, 0.4)); transition: transform 0.4s var(--spring); }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav-link {
  position: relative; padding: 10px 14px; border-radius: 10px; font-family: var(--f-hud); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: #c6d8ee; transition: color 0.2s, background 0.2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--ice)); transform: scaleX(0); transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
#soundBtn .i-off { display: none; }
#soundBtn.off .i-on { display: none; }
#soundBtn.off .i-off { display: block; opacity: 0.6; }
.pill-btn {
  height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pill-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
.pill-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pill-btn img { width: 24px; height: 24px; border-radius: 50%; }
.m-only { display: none !important; }
.discord-btn:hover { background: rgba(88, 101, 242, 0.25); border-color: rgba(88, 101, 242, 0.6); }
.login-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #6b7d96; box-shadow: 0 0 0 3px rgba(107, 125, 150, 0.2); }
.login-btn.authed .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(46, 212, 122, 0.25), 0 0 10px var(--green); }
.basket-btn {
  position: relative; height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; border-radius: 14px;
  background: linear-gradient(135deg, #ff4b63, #b5122b); font-weight: 700; font-family: var(--f-hud); letter-spacing: 0.03em;
  box-shadow: 0 8px 26px -8px rgba(232, 38, 63, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.basket-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(232, 38, 63, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.basket-btn svg { width: 22px; height: 22px; fill: #fff; }
.basket-btn .badge {
  position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
  background: #fff; color: var(--red); font-size: 0.75rem; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transform: scale(0); transition: transform 0.35s var(--spring);
}
.basket-btn .badge.show { transform: scale(1); }
.basket-btn.bump { animation: bump 0.6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.15) rotate(-4deg); } 60% { transform: scale(0.96) rotate(3deg); } 100% { transform: scale(1); } }
.burger { display: none; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger span + span { margin-top: 4px; }
.burger { flex-direction: column; justify-content: center; }

/* Icicles */
.icicles { position: absolute; left: 0; right: 0; top: 100%; height: 34px; pointer-events: none; display: flex; justify-content: space-between; padding: 0 6px; overflow: visible; }
.icicle {
  position: relative; width: var(--w); height: var(--h); flex: none;
  background: linear-gradient(180deg, rgba(225, 246, 255, 0.95), rgba(140, 210, 245, 0.55) 60%, rgba(140, 210, 245, 0));
  clip-path: polygon(0 0, 100% 0, 55% 100%, 45% 100%);
  filter: drop-shadow(0 0 4px rgba(140, 210, 255, 0.6));
  transform-origin: top; animation: icicleGrow 1.2s var(--ease) both; animation-delay: var(--d);
}
.drip { position: absolute; top: calc(var(--h) - 2px); left: 50%; width: 4px; height: 6px; margin-left: -2px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(210, 240, 255, 0.95); box-shadow: 0 0 6px rgba(140, 210, 255, 0.9); opacity: 0; animation: drip 4s ease-in infinite; animation-delay: var(--dd); }
@keyframes icicleGrow { from { transform: scaleY(0); } }
@keyframes drip { 0%, 70% { transform: translateY(0) scale(0.4); opacity: 0; } 75% { opacity: 1; transform: translateY(0) scale(1); } 100% { transform: translateY(120px); opacity: 0; } }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --bh: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 22px;
  border-radius: 14px; font-weight: 700; font-family: var(--f-hud); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--spring), box-shadow 0.25s, background 0.25s, border-color 0.25s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled], .btn.loading { opacity: 0.6; pointer-events: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { --bh: 54px; padding: 0 28px; font-size: 1rem; }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: 0.8rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-ice {
  color: #04203a; border: 0;
  background: linear-gradient(180deg, #e6f8ff 0%, #8fdcff 40%, #3fb8ff 100%);
  box-shadow: 0 10px 30px -8px rgba(63, 184, 255, 0.8), inset 0 -3px 0 rgba(0, 60, 120, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.8);
}
.btn-ice::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn-ice:hover::before { transform: translateX(120%); }
.btn-ice:hover { box-shadow: 0 16px 40px -8px rgba(63, 184, 255, 0.95), inset 0 -3px 0 rgba(0, 60, 120, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.8); }
.btn-ice::after { /* snow cap */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 9'%3E%3Cpath d='M0 0h60v3c-4 0-6 5-11 4s-6-4-11-3-6 5-12 4-5-5-10-4-6 4-10 3S1 3 0 4z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 60px 9px repeat-x;
  filter: drop-shadow(0 1px 1px rgba(0, 60, 120, 0.25));
}
.btn-ghost { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); }
.btn-red { background: linear-gradient(180deg, #ff6a80, #d01d36); border: 0; box-shadow: 0 10px 26px -8px rgba(232, 38, 63, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-discord { background: #4f5bda; border: 0; box-shadow: 0 10px 26px -8px rgba(88, 101, 242, 0.8); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 38px); display: flex; align-items: center; padding: 110px 0 130px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px;
  background: rgba(46, 212, 122, 0.1); border: 1px solid rgba(46, 212, 122, 0.35); color: #b9f5d2;
  font-family: var(--f-hud); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s ease-out infinite; }
.pulse.blue { background: #5865f2; }
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero-title { margin: 18px 0 14px; font-family: var(--f-display); font-weight: 400; line-height: 0.88; font-size: clamp(3.6rem, 8.4vw, 7.6rem); letter-spacing: 0.01em; }
.hero-title span { display: block; }
.t-ice {
  background: linear-gradient(180deg, #ffffff 0%, #c9efff 35%, #4cbcff 70%, #1b7fd0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 #0b3a66) drop-shadow(0 14px 30px rgba(63, 184, 255, 0.45));
}
.t-candy {
  background: repeating-linear-gradient(-55deg, #ff3550 0 16px, #ffffff 16px 32px);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 #6b0718) drop-shadow(0 14px 30px rgba(232, 38, 63, 0.45));
  animation: candyText 6s linear infinite;
}
@keyframes candyText { to { background-position: -150px 0; } }
.hero-sub { max-width: 600px; font-size: 1.14rem; color: #b8cbe2; margin: 0 0 30px; }
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.countdown {
  display: inline-flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 36, 66, 0.7), rgba(10, 18, 36, 0.7)); border: 1px solid var(--line);
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.cd-label { font-family: var(--f-hud); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.cd-boxes { display: flex; align-items: center; gap: 8px; }
.cd-box {
  min-width: 70px; text-align: center; padding: 8px 6px 6px; border-radius: 12px; position: relative;
  background: linear-gradient(180deg, #13284a, #0a1730); border: 1px solid rgba(143, 220, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cd-box::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, 0.35); }
.cd-box b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1.1; color: #fff; text-shadow: 0 0 18px rgba(63, 184, 255, 0.6); font-variant-numeric: tabular-nums; }
.cd-box b.flip { animation: flip 0.45s var(--ease); }
@keyframes flip { 0% { transform: rotateX(80deg); opacity: 0.2; } 100% { transform: none; opacity: 1; } }
.cd-box small { font-family: var(--f-hud); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cd-sep { font-family: var(--f-display); font-size: 1.6rem; color: var(--red-2); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 0.88rem; color: #c6d8ee; }
.stat b { color: #fff; font-family: var(--f-hud); }
.stat svg { width: 16px; height: 16px; fill: var(--green); }

/* logo stage */
.hero-art { position: relative; perspective: 1200px; }
.logo-stage {
  --px: 0; --py: 0;
  position: relative; width: min(880px, 100%); margin-inline: auto; aspect-ratio: 1285 / 1078;
  transform: rotateY(calc(var(--px) * 14deg)) rotateX(calc(var(--py) * -12deg)); transform-style: preserve-3d;
}
.halo { position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 184, 255, 0.45), rgba(63, 184, 255, 0.08) 60%, transparent 72%); filter: blur(10px); animation: halo 5s ease-in-out infinite alternate; }
@keyframes halo { to { transform: scale(1.08); opacity: 0.75; } }
.ring { position: absolute; left: 50%; top: 52%; border-radius: 50%; border: 1px dashed rgba(143, 220, 255, 0.28); transform: translate(-50%, -50%) rotateX(72deg); }
.ring.r1 { width: 108%; aspect-ratio: 1; animation: ring 40s linear infinite; }
.ring.r2 { width: 84%; aspect-ratio: 1; border-color: rgba(255, 90, 114, 0.25); border-style: dotted; border-width: 2px; animation: ring 28s linear infinite reverse; }
@keyframes ring { to { transform: translate(-50%, -50%) rotateX(72deg) rotate(360deg); } }
.logo-wrap {
  position: absolute; inset: 0; transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -14px), 60px);
  animation: logoIn 1.4s var(--spring) both 0.2s;
}
body.is-loading .logo-wrap { animation-play-state: paused; }
/* <picture> wrappers are layout-transparent; the hero img floats with its siblings */
picture { display: contents; }
.logo-wrap > *, .logo-wrap > picture > img { animation: float 6s ease-in-out infinite; }
@keyframes logoIn { 0% { opacity: 0; transform: translateY(-80px) scale(0.7) rotate(-6deg); filter: blur(12px); } 100% { opacity: 1; filter: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero-logo { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(63, 184, 255, 0.25)); user-select: none; -webkit-user-drag: none; }
.logo-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../img/logo-mask.webp") center / 100% 100% no-repeat; mask: url("../img/logo-mask.webp") center / 100% 100% no-repeat;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.0) 42%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 58%, transparent 65%);
  background-size: 300% 100%; background-position: 150% 0; mix-blend-mode: overlay;
  animation: float 6s ease-in-out infinite, shine 5.5s ease-in-out infinite 1.5s;
}
@keyframes shine { 0%, 55% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.bulbs { position: absolute; inset: 0; pointer-events: none; }
.bulb {
  position: absolute; left: var(--x); top: var(--y); width: 4.2%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, var(--c) 0%, color-mix(in srgb, var(--c) 40%, transparent) 45%, transparent 100%);
  animation: bulb var(--t) ease-in-out infinite; animation-delay: var(--dl);
}
.bulb::after { content: ""; position: absolute; inset: -110%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent); }
@keyframes bulb { 0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.7); } 45% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); } 60% { opacity: 0.85; } }
.logo-floor { position: absolute; left: 12%; right: 12%; bottom: -6%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(63, 184, 255, 0.35), transparent); filter: blur(12px); animation: floorPulse 6s ease-in-out infinite; }
@keyframes floorPulse { 50% { transform: scaleX(0.85); opacity: 0.6; } }

/* string lights */
.lights { position: absolute; left: 0; right: 0; top: 18px; height: 70px; pointer-events: none; z-index: 2; }
.lights svg { width: 100%; height: 100%; overflow: visible; }
.lights .wire { fill: none; stroke: #0d2b1f; stroke-width: 2.4; }
.light-bulb { transform-box: fill-box; transform-origin: 50% 0; animation: swing 3s ease-in-out infinite alternate; }
.light-bulb .glass { animation: glow 2.4s ease-in-out infinite; animation-delay: inherit; }
.light-bulb .halo-l { opacity: 0.55; animation: glowHalo 2.4s ease-in-out infinite; animation-delay: inherit; }
@keyframes swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes glowHalo { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.05; } }
.lights.chase .light-bulb .glass, .lights.chase .light-bulb .halo-l { animation-duration: 0.8s; }

.scroll-cue { position: absolute; left: 50%; bottom: 40px; width: 28px; height: 46px; margin-left: -14px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.35); z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.drift { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 140px; pointer-events: none; }

/* =====================================================================
   Sections
   ===================================================================== */
.section { position: relative; padding: 100px 0; }
/* Below-the-fold blocks are laid out and painted only when they near the viewport.
   `auto` remembers each block's real size once rendered, so scrolling doesn't jump. */
/* (Not the footer: its snow drift hangs above it and would be clipped.) */
#how, #faq, .p-faq, .p-related { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-hud); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ice-2);
}
.eyebrow span { display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(232, 38, 63, 0.18); border: 1px solid rgba(232, 38, 63, 0.45); color: #ff9aa9; letter-spacing: 0.1em; }
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--ice)); }
.eyebrow::after { transform: scaleX(-1); }
.sec-head h2 { margin: 14px 0 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: 0.01em; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.sec-head h2 em { font-style: normal; background: linear-gradient(180deg, #fff, #8fdcff 50%, #3fb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { margin: 0 auto; max-width: 560px; color: var(--muted); font-size: 1.05rem; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* =====================================================================
   Featured
   ===================================================================== */
.featured {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, rgba(232, 38, 63, 0.16), rgba(16, 28, 52, 0.7) 45%, rgba(63, 184, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow); min-height: 380px;
}
.featured::before { /* candy cane border */
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 3px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, #fff 14px 28px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.85; animation: candyMove 1.4s linear infinite; background-size: 200% 200%;
}
.feat-media { position: relative; overflow: hidden; min-height: 300px; }
.feat-media > img, .feat-media > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.featured:hover .feat-media > img, .featured:hover .feat-media > svg { transform: scale(1.05); }
.feat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(10, 18, 36, 0.9)); }
.feat-body { position: relative; padding: 44px 44px 40px 20px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feat-body h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.feat-body .rich { color: #b8cbe2; }
.feat-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.feat-timer { font-family: var(--f-hud); font-weight: 600; font-size: 0.85rem; color: #ffd27a; letter-spacing: 0.06em; display: inline-flex; gap: 8px; align-items: center; }
.feat-mini { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.feat-mini button { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); font-size: 0.82rem; transition: all 0.2s; }
.feat-mini button.on, .feat-mini button:hover { background: rgba(63, 184, 255, 0.18); border-color: var(--ice); color: #fff; }

/* =====================================================================
   Toolbar / tabs
   ===================================================================== */
.toolbar {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 10px; margin-bottom: 30px; border-radius: 18px; background: rgba(8, 15, 30, 0.78); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.8);
}
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; white-space: nowrap;
  font-family: var(--f-hud); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; color: #a9bfd9; transition: color 0.25s;
}
.tab:hover { color: #fff; }
.tab.active { color: #04203a; }
.tab .count { font-size: 0.72rem; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); }
.tab.active .count { background: rgba(4, 32, 58, 0.15); }
.tab-ind {
  position: absolute; z-index: 0; top: 0; height: 42px; border-radius: 12px; pointer-events: none;
  background: linear-gradient(180deg, #e6f8ff, #8fdcff 45%, #3fb8ff); box-shadow: 0 6px 20px -6px rgba(63, 184, 255, 0.8);
  transition: left 0.45s var(--spring), width 0.45s var(--spring);
}
.tools { display: flex; gap: 10px; flex: 0 0 auto; }
.search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s; }
.search:focus-within { border-color: var(--ice); box-shadow: 0 0 0 4px rgba(63, 184, 255, 0.15); }
.search svg { width: 18px; height: 18px; fill: var(--muted); }
.search input { width: 190px; border: 0; outline: 0; background: none; }
.search input::placeholder { color: #6f86a5; }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding: 0 36px 0 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); outline: 0; cursor: pointer; }
.select select option { background: var(--panel-solid); }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* =====================================================================
   Package cards
   ===================================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 24px; perspective: 1400px; }
.card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --tc: var(--ice);
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); cursor: pointer;
  background: linear-gradient(180deg, rgba(22, 38, 70, 0.85), rgba(10, 18, 36, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  animation: cardIn 0.7s var(--ease) both; animation-delay: var(--d, 0ms);
}
.card.tilting { transition: transform 0.08s linear, box-shadow 0.4s, border-color 0.4s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
.card:hover { border-color: color-mix(in srgb, var(--tc) 55%, transparent); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px color-mix(in srgb, var(--tc) 30%, transparent), 0 0 50px -10px color-mix(in srgb, var(--tc) 55%, transparent); }
.card::after { /* glare */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.18), transparent 45%);
}
.card:hover::after { opacity: 1; }
.card.t-rare { --tc: var(--green); }
.card.t-epic { --tc: var(--red-2); }
.card.t-legendary { --tc: var(--gold); }
.card.t-legendary::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, #ffe8a3, var(--gold), transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 4s linear infinite;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --ang: 360deg; } }
.card-media { position: relative; aspect-ratio: 400 / 260; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; transform: translateZ(20px); }
.card-media > img, .card-media > svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media > img, .card:hover .card-media > svg { transform: scale(1.07); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(10, 18, 36, 0.55)); }
.tier {
  position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-family: var(--f-hud); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(6, 12, 26, 0.6); backdrop-filter: blur(6px);
  border: 1px solid color-mix(in srgb, var(--tc) 70%, transparent); box-shadow: 0 0 16px -4px var(--tc);
}
.tier::before { content: "◆ "; color: var(--tc); }
.ribbon {
  position: absolute; right: -36px; top: 18px; z-index: 2; width: 140px; padding: 5px 0; text-align: center; transform: rotate(45deg);
  background: repeating-linear-gradient(-45deg, var(--red) 0 8px, #ff4b63 8px 16px); font-family: var(--f-hud); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.1em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.limited { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-size: 0.72rem; font-weight: 700; font-family: var(--f-hud); letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255, 201, 74, 0.92); color: #3a2400; }
.card-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 18px; transform: translateZ(30px); }
.card-cat { font-family: var(--f-hud); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.08; letter-spacing: 0.01em; }
.card-desc { margin: 0; color: #93a9c6; font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }

.add-btn {
  position: relative; width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff6a80, #d01d36); box-shadow: 0 10px 24px -8px rgba(232, 38, 63, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--spring), box-shadow 0.3s, width 0.4s var(--ease);
}
.add-btn svg { width: 22px; height: 22px; fill: #fff; transition: transform 0.4s var(--spring); }
.add-btn:hover { transform: translateY(-3px) rotate(-6deg); }
.add-btn:hover svg { transform: scale(1.12); }
.add-btn.done { background: linear-gradient(180deg, #4df09a, #18a85a); box-shadow: 0 10px 24px -8px rgba(46, 212, 122, 0.9); }
.add-btn .spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; animation: spin 0.7s linear infinite; }
.in-basket-tag { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; background: rgba(46, 212, 122, 0.92); color: #032; font-size: 0.7rem; font-weight: 800; font-family: var(--f-hud); letter-spacing: 0.1em; }

/* skeleton */
.skel { border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); min-height: 380px; position: relative; }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(143, 220, 255, 0.08) 50%, transparent 70%); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-ico { font-size: 4rem; animation: float 4s ease-in-out infinite; }
.empty h3 { color: var(--text); font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; margin: 10px 0 6px; }

/* flying gift into basket */
.fly { position: fixed; z-index: 90; width: 46px; height: 46px; pointer-events: none; display: grid; place-items: center; font-size: 30px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }

/* =====================================================================
   How it works / perks
   ===================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-wire { position: absolute; left: 12%; right: 12%; top: -12px; width: 76%; height: 40px; pointer-events: none; }
.steps-wire path { fill: none; stroke: rgba(143, 220, 255, 0.35); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.step {
  --rx: 0deg; --ry: 0deg; position: relative; padding: 52px 22px 24px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, rgba(22, 38, 70, 0.75), rgba(10, 18, 36, 0.8)); border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.5s var(--ease), border-color 0.3s, opacity 0.9s var(--ease);
}
.step:hover { border-color: rgba(63, 184, 255, 0.4); }
.step-num { position: absolute; left: 50%; top: -1px; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ff6a80, #c4152f); font-family: var(--f-display); font-size: 1.3rem; box-shadow: 0 0 0 5px var(--bg), 0 0 24px rgba(232, 38, 63, 0.7); }
.step-ico { font-size: 2.4rem; margin-bottom: 6px; display: inline-block; transition: transform 0.5s var(--spring); }
.step:hover .step-ico { transform: scale(1.2) rotate(-8deg); }
.step h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.perk b { font-size: 1.6rem; line-height: 1; }
.perk h4 { margin: 0 0 4px; font-size: 1rem; }
.perk p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: linear-gradient(180deg, rgba(22, 38, 70, 0.6), rgba(10, 18, 36, 0.7)); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.faq details[open] { border-color: rgba(63, 184, 255, 0.4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 8px; background: rgba(63, 184, 255, 0.15); color: var(--ice-2); font-size: 1.2rem; transition: transform 0.35s var(--spring), background 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); background: rgba(232, 38, 63, 0.25); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 20px; color: #a9bfd9; }
.faq details p a { color: var(--ice-2); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   Footer
   ===================================================================== */
.footer { position: relative; margin-top: 60px; padding: 70px 0 30px; background: linear-gradient(180deg, #0a1328, #050810); }
.footer-snow { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 60px; fill: #0a1328; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 340px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer h5, .footer .f-h { margin: 0 0 12px; font-family: var(--f-hud); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--ice-2); }
.footer-cols a { display: block; padding: 4px 0; color: #b8cbe2; transition: color 0.2s, transform 0.2s; }
.footer-cols a:hover { color: #fff; transform: translateX(4px); }
.footer-cta p { color: var(--muted); margin: 0 0 14px; }
.footer-legal { padding-top: 22px; display: grid; gap: 6px; }
.footer-legal p { margin: 0; color: #637a99; font-size: 0.82rem; }
.footer-legal a { color: #93a9c6; text-decoration: underline; }

/* =====================================================================
   Drawer
   ===================================================================== */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(2, 5, 12, 0.6); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.scrim.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(440px, 100%); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f1c36, #080f20); border-left: 1px solid var(--line-2); box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(105%); transition: transform 0.5s var(--ease); outline: 0;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.sleigh { display: inline-block; animation: sleigh 2.4s ease-in-out infinite; }
@keyframes sleigh { 50% { transform: translateX(4px) translateY(-3px) rotate(-6deg); } }
.drawer-user { padding: 12px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.drawer-user:empty { display: none; }
.drawer-user b { color: #fff; }
.drawer-user button { margin-left: auto; color: var(--ice-2); font-size: 0.82rem; text-decoration: underline; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; margin-bottom: 10px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); animation: lineIn 0.5s var(--ease) both;
}
@keyframes lineIn { from { opacity: 0; transform: translateX(20px); } }
.line.removing { animation: lineOut 0.35s var(--ease) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; margin: 0; } }
.line-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.line-thumb img, .line-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.line h4 { margin: 0 0 4px; font-size: 0.98rem; line-height: 1.2; }
.line .lp { color: var(--muted); font-size: 0.85rem; }
.line-ctl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-ctl .rm { font-size: 0.78rem; color: #ff8a9a; }
.line-ctl .rm:hover { text-decoration: underline; }
.qty { display: inline-flex; align-items: center; border-radius: 10px; border: 1px solid var(--line-2); overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.qty button { width: 32px; height: 32px; font-size: 1.1rem; transition: background 0.2s; }
.qty button:hover { background: rgba(255, 255, 255, 0.1); }
.qty input { width: 38px; height: 32px; border: 0; background: none; text-align: center; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 28px; height: 28px; }
.qty.sm input { width: 30px; height: 28px; font-size: 0.88rem; }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.drawer-empty .big { font-size: 4rem; display: inline-block; animation: float 4s ease-in-out infinite; }
.drawer-empty h4 { color: var(--text); font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; margin: 10px 0 6px; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: rgba(0, 0, 0, 0.2); }
.codes summary { cursor: pointer; color: var(--ice-2); font-size: 0.88rem; list-style: none; }
.codes summary::-webkit-details-marker { display: none; }
.codes summary::before { content: "🎟️ "; }
.code-form { display: flex; gap: 8px; margin-top: 10px; }
.code-form input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); outline: 0; }
.code-form input:focus { border-color: var(--ice); }
.applied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.applied span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(46, 212, 122, 0.15); border: 1px solid rgba(46, 212, 122, 0.4); font-size: 0.8rem; }
.applied button { color: #ff8a9a; font-weight: 700; }
.totals { display: grid; gap: 6px; font-size: 0.92rem; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { color: #fff; font-size: 1.15rem; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.totals .grand b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.secure-note { margin: 0; text-align: center; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.secure-note a { color: var(--ice-2); text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   Policy pages
   ===================================================================== */
.legal-hero { padding: 120px 0 0; }
.legal-title { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.legal-meta { margin: 0 0 22px; font-family: var(--f-hud); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal-intro { margin: 0; font-size: 1.15rem; line-height: 1.65; color: #d4e3f5; }
.legal-body { padding-top: 36px; }
.legal-toc { margin-bottom: 36px; padding: 20px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(22, 38, 70, 0.6), rgba(10, 18, 36, 0.7)); border: 1px solid var(--line); }
.legal-toc h2 { margin: 0 0 10px; font-family: var(--f-hud); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice-2); }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { padding: 3px 0; break-inside: avoid; color: var(--muted); }
.legal-toc a { color: #b8cbe2; }
.legal-toc a:hover { color: #fff; }
.legal section { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 80px) + 20px); }
.legal section:first-child { border-top: 0; padding-top: 0; }
.legal h2 { margin: 0 0 12px; font-size: 1.45rem; font-weight: 700; color: #fff; }
.legal p, .legal li { color: #c3d4e8; line-height: 1.7; font-size: 1.02rem; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a, .legal-intro a, .legal-more a { color: var(--ice-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover, .legal-more a:hover { color: #fff; }
.legal code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.legal-more { margin: 30px 0 0; color: var(--muted); }
.legal-head > * { max-width: 960px; }
/* Wide screens: sticky contents sidebar + article at a readable line length */
.legal-layout { display: grid; grid-template-columns: 300px minmax(0, 960px); gap: clamp(32px, 4vw, 72px); align-items: start; }
.legal-layout .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-layout .legal-toc { position: static; margin-bottom: 30px; }
}

/* =====================================================================
   Modals
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(2, 5, 12, 0.7); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal.show { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 24px; outline: 0;
  background: linear-gradient(180deg, #11203e, #0a1226); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(30px) scale(0.96); transition: transform 0.45s var(--spring);
}
.modal.show .modal-card { transform: none; }
.modal-x { position: absolute; right: 14px; top: 14px; z-index: 3; background: rgba(6, 12, 26, 0.6); }
.modal-pkg { display: grid; grid-template-columns: 1fr 1fr; }
.pkg-media { position: relative; min-height: 300px; }
.pkg-media > img, .pkg-media > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pkg-info { padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.pkg-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pkg-tags span { padding: 4px 10px; border-radius: 8px; font-family: var(--f-hud); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); }
.pkg-info h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1.02; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; }
.pkg-price b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: var(--ice-2); }
.pkg-price s { color: #6f86a5; }
.pkg-price small { color: var(--muted); }
.rich { color: #b8cbe2; font-size: 0.98rem; }
.rich p { margin: 0 0 10px; }
.rich ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.rich li { position: relative; padding-left: 26px; }
.rich li::before { content: "❄"; position: absolute; left: 2px; top: 0; color: var(--ice); }
.rich a { color: var(--ice-2); text-decoration: underline; }
.rich img { border-radius: 10px; margin: 8px 0; }
.pkg-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; align-items: center; }
.pkg-actions .qty button { width: 40px; height: 50px; }
.pkg-actions .qty input { height: 50px; width: 44px; }
.pkg-actions .btn { flex: 1; }
.modal-sm { width: min(440px, 100%); padding: 38px 32px 30px; text-align: center; }
.modal-sm h3 { margin: 6px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; }
.modal-sm p { color: #b8cbe2; margin: 0 0 20px; }
.modal-sm .small { margin: 14px 0 0; }
.login-art { font-size: 3.6rem; animation: float 4s ease-in-out infinite; }
.login-art.big { font-size: 5rem; }

/* =====================================================================
   Toasts
   ===================================================================== */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 99; display: grid; gap: 10px; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(14, 26, 50, 0.95); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px);
  animation: toastIn 0.5s var(--spring) both; font-size: 0.94rem;
}
.toast.out { animation: toastOut 0.35s var(--ease) forwards; }
.toast .ti { font-size: 1.4rem; }
.toast.ok { border-color: rgba(46, 212, 122, 0.5); }
.toast.err { border-color: rgba(255, 90, 114, 0.6); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.95); } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-inner { justify-content: space-between; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; left: 12px; right: 12px; top: calc(100% + 10px); padding: 10px; border-radius: 16px;
    background: rgba(8, 15, 30, 0.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: toastIn 0.35s var(--spring);
  }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .steps, .perks { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 40px; }
  .steps-wire { display: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hero-art { order: -1; }
  .logo-stage { width: min(520px, 92%); }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .stat-chips { justify-content: center; }
  .featured { grid-template-columns: 1fr; }
  .feat-media::after { background: linear-gradient(180deg, transparent 60%, rgba(10, 18, 36, 0.9)); }
  .feat-body { padding: 10px 24px 30px; }
  .modal-pkg { grid-template-columns: 1fr; }
  .pkg-media { min-height: 220px; aspect-ratio: 400 / 260; }
  .footer-inner { grid-template-columns: 1fr; }
  .toolbar { position: relative; top: 0; }
  .tools { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .wrap { width: calc(100% - 28px); }
  .brand img { height: 46px; }
  .basket-total { display: none; }
  .pill-btn span:not(.dot) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .pill-btn { padding: 0 11px; }
  .pill-btn .m-only { display: block !important; }
  .login-btn { position: relative; }
  .login-btn .dot { position: absolute; right: 6px; top: 6px; width: 7px; height: 7px; }
  #soundBtn { display: none; }
  .section { padding: 70px 0; }
  .cd-box { min-width: 56px; }
  .cd-box b { font-size: 1.5rem; }
  .cd-sep { font-size: 1.2rem; }
  .steps, .perks { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .btn-lg { --bh: 50px; padding: 0 20px; }
  .snow-canvas.front { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* keep tilt working on revealed elements */
.step.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }

/* =====================================================================
   Prices & discount cut
   ===================================================================== */
.price { --pc: var(--tc, var(--ice)); display: flex; flex-direction: column; line-height: 1.1; gap: 2px; }
.price s { position: relative; width: max-content; color: #7d93b1; font-size: 0.88rem; text-decoration: none; }
.price s::after { /* animated red slash through the original price */
  content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #ff3b5c, #ff8095); transform: rotate(-8deg) scaleX(0); transform-origin: left;
  animation: cut 0.6s 0.3s var(--ease) forwards; box-shadow: 0 0 6px rgba(255, 59, 92, 0.7);
}
@keyframes cut { to { transform: rotate(-8deg) scaleX(1); } }
.price-now { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; color: #fff; text-shadow: 0 0 20px color-mix(in srgb, var(--pc) 60%, transparent); }
.price s + .price-now b { color: #ff6f86; text-shadow: 0 0 20px rgba(255, 59, 92, 0.5); }
.price small { color: var(--muted); font-size: 0.78rem; font-family: var(--f-hud); }
.off {
  display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: 7px; font-family: var(--f-hud); font-weight: 700; font-size: 0.74rem;
  color: #fff; background: linear-gradient(180deg, #ff5a72, #c4152f); box-shadow: 0 4px 12px -2px rgba(232, 38, 63, 0.7); animation: offPop 0.5s 0.5s var(--spring) both;
}
@keyframes offPop { from { transform: scale(0) rotate(-20deg); } }
.price-lg b { font-size: 2.3rem; }
.price-lg s { font-size: 1rem; }
.price-xl b { font-size: 3rem; }
.price-xl s { font-size: 1.15rem; }
.price-xl .off { height: 28px; font-size: 0.9rem; padding: 0 10px; }
.price-sm b { font-size: 1.25rem; }
.price-sm s { font-size: 0.78rem; }
.price-sm small { display: none; }

/* cards: whole card is a link, buttons sit above it */
.card { cursor: default; }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card .add-btn { position: relative; z-index: 4; }
.card-link:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; }
.sale-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 700; font-family: var(--f-hud);
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #c4152f, #ff4b63); box-shadow: 0 4px 14px rgba(232, 38, 63, 0.5);
  max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.in-basket-tag { top: auto; bottom: 46px; }
.tab-sale { color: #ff9aa9; }
.tab-ind.sale { background: linear-gradient(180deg, #ff8095, #ff3b5c 50%, #c4152f); box-shadow: 0 6px 20px -6px rgba(232, 38, 63, 0.9); }
.tab-sale.active { color: #fff; }
.nav-sale { color: #ff9aa9 !important; }
.chip-sale { background: rgba(232, 38, 63, 0.14); border-color: rgba(255, 90, 114, 0.5); color: #ffc2cc; }
.chip-sale .pulse { background: var(--red-2); }
.feat-media { display: block; }
.feat-off { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 8px 14px; border-radius: 12px; font-family: var(--f-display); font-size: 1.6rem; color: #fff; background: linear-gradient(180deg, #ff5a72, #c4152f); box-shadow: 0 10px 24px -6px rgba(232, 38, 63, 0.8); transform: rotate(-6deg); }
.feat-text { margin: 0; color: #b8cbe2; font-size: 1.05rem; }
.tag-sale { background: rgba(232, 38, 63, 0.18) !important; border-color: rgba(255, 90, 114, 0.6) !important; color: #ffc2cc; }
.totals .saved { color: #7dffb5; font-weight: 600; }
.lp s { color: #6f86a5; }
.cd-box.sm { min-width: 52px; padding: 6px 4px 4px; }
.cd-box.sm b { font-size: 1.45rem; }
.cd-box.sm small { font-size: 0.58rem; }

/* =====================================================================
   Sale strip (home) + campaign popup
   ===================================================================== */
.sale-strip-wrap { position: relative; margin-top: -40px; z-index: 2; }
.sale-strip {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 26px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 59, 92, 0.35), transparent 50%), linear-gradient(135deg, #2a0a18, #12203e 70%);
  border: 1px solid rgba(255, 90, 114, 0.45); box-shadow: 0 20px 60px -20px rgba(232, 38, 63, 0.6);
}
.sale-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px); background-size: 200% 100%; animation: candyMove 1s linear infinite; }
.ss-left { display: flex; align-items: center; gap: 16px; }
.ss-flame { font-size: 2.6rem; animation: flame 1.2s ease-in-out infinite alternate; filter: drop-shadow(0 0 14px rgba(255, 120, 60, 0.8)); }
@keyframes flame { to { transform: scale(1.12) rotate(4deg); } }
.ss-name { font-family: var(--f-hud); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: #ffc2cc; }
.ss-val { font-size: 1.05rem; color: #d6e4f5; }
.ss-val b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; color: #fff; margin-right: 6px; text-shadow: 0 0 20px rgba(255, 59, 92, 0.7); }
.ss-more { font-size: 0.82rem; color: var(--muted); }
.ss-timer { display: flex; align-items: center; gap: 12px; }
.ss-timer small, .sale-timer small { font-family: var(--f-hud); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--muted); }

.modal-sale {
  width: min(430px, 100%); padding: 36px 30px 26px; text-align: center; overflow: hidden;
  background: radial-gradient(100% 70% at 50% 0%, rgba(232, 38, 63, 0.35), transparent 70%), linear-gradient(180deg, #16203d, #0a1226);
  border-color: rgba(255, 90, 114, 0.5); box-shadow: 0 0 0 1px rgba(255, 90, 114, 0.2), 0 30px 80px -10px rgba(232, 38, 63, 0.55);
}
.sale-burst { position: absolute; left: 50%; top: -160px; width: 520px; height: 520px; margin-left: -260px; pointer-events: none; opacity: 0.22;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.6) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); animation: spinBurst 30s linear infinite; }
@keyframes spinBurst { to { transform: rotate(360deg); } }
.sale-logo { position: relative; width: 120px; height: auto; margin: 0 auto 10px; filter: drop-shadow(0 8px 20px rgba(63, 184, 255, 0.4)); }
.sale-chip { position: relative; display: inline-block; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(143, 220, 255, 0.35); background: rgba(63, 184, 255, 0.12); font-family: var(--f-hud); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice-2); }
.sale-big { position: relative; margin: 10px 0 2px; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 12vw, 4.4rem); line-height: 1; color: #fff; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.sale-big em { font-style: normal; color: #ff3b5c; text-shadow: 0 0 30px rgba(255, 59, 92, 0.7), 0 6px 0 #5a0717; }
.sale-scope { position: relative; font-family: var(--f-hud); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; }
.sale-text { position: relative; color: #b8cbe2; margin: 10px 0 16px; font-size: 0.95rem; }
.sale-timer { position: relative; display: grid; justify-items: center; gap: 8px; margin-bottom: 18px; }
.sale-timer:empty { display: none; }
.sale-no { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.sale-no:hover { color: #fff; text-decoration: underline; }

/* =====================================================================
   Product page
   ===================================================================== */
.sec-head.left { text-align: left; margin-bottom: 36px; }
.sec-head.left .eyebrow::before { display: none; }
.sec-head.left p { margin: 0; }
.p-hero { position: relative; padding: 96px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--f-hud); font-size: 0.85rem; letter-spacing: 0.04em; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs b { color: var(--ice-2); font-weight: 600; }
.p-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }

/* gallery */
.gallery { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.g-main {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #0a1226;
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(63, 184, 255, 0.12);
}
.g-main::before { /* candy-cane frame */
  content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 3px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px); background-size: 200% 200%; animation: candyMove 1.6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8;
}
.g-frame { position: absolute; inset: 0; animation: gIn 0.6s var(--ease); }
@keyframes gIn { from { opacity: 0; transform: scale(1.04); filter: blur(6px); } }
.g-frame > img, .g-frame > svg, .g-frame video, .g-frame iframe, .g-video, .g-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.g-video { cursor: pointer; }
.g-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; display: grid; place-items: center; border-radius: 50%; font-size: 1.8rem; padding-left: 6px; color: #fff; background: linear-gradient(180deg, #ff5a72, #c4152f); box-shadow: 0 0 0 8px rgba(255, 59, 92, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--spring); }
.g-video:hover .g-play { transform: scale(1.1); }
.g-play.sm { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 0.8rem; padding-left: 3px; box-shadow: none; }
.g-main .tier { z-index: 5; }
.g-off { position: absolute; right: 16px; top: 16px; z-index: 5; padding: 6px 12px; border-radius: 10px; font-family: var(--f-display); font-size: 1.3rem; color: #fff; background: linear-gradient(180deg, #ff5a72, #c4152f); box-shadow: 0 8px 20px -6px rgba(232, 38, 63, 0.8); transform: rotate(5deg); }
.g-arrow { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: #fff; background: rgba(6, 12, 26, 0.6); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.15); opacity: 0.9; transition: opacity 0.3s, transform 0.3s var(--spring), background 0.2s; }
.g-arrow.prev { left: 14px; }
.g-arrow.next { right: 14px; }
.g-arrow:hover { background: var(--ice); color: #04203a; transform: scale(1.08); }
.g-count { position: absolute; right: 14px; bottom: 14px; z-index: 5; padding: 4px 10px; border-radius: 8px; background: rgba(6, 12, 26, 0.65); font-family: var(--f-hud); font-size: 0.78rem; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; }
.g-thumb { position: relative; flex: 0 0 112px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: 0.55; transition: opacity 0.25s, border-color 0.25s, transform 0.25s var(--spring); }
.g-thumb > img, .g-thumb > svg { width: 100%; height: 100%; object-fit: cover; }
.g-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.g-thumb.on { opacity: 1; border-color: var(--ice); box-shadow: 0 0 18px -4px var(--ice); }

/* info column */
.p-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.p-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: 0.01em; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); }
.p-intro { font-size: 1.06rem; }
.p-intro p:last-child { margin-bottom: 0; }
.p-pricebox { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.p-sale { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ps-name { padding: 5px 12px; border-radius: 99px; background: linear-gradient(90deg, #c4152f, #ff4b63); font-family: var(--f-hud); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 16px -4px rgba(232, 38, 63, 0.7); }
.ps-time { font-family: var(--f-hud); font-weight: 600; font-size: 0.85rem; color: #ffd27a; font-variant-numeric: tabular-nums; }
.p-buy { display: flex; gap: 12px; align-items: center; }
.p-buy .qty button { width: 40px; height: 54px; }
.p-buy .qty input { width: 44px; height: 54px; }
.p-add { flex: 1; }
.p-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.85rem; color: var(--muted); }
.spec { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22, 38, 70, 0.6), rgba(10, 18, 36, 0.7)); }
.spec-head { padding: 12px 18px; font-family: var(--f-hud); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--ice-2); border-bottom: 1px solid var(--line); background: rgba(63, 184, 255, 0.06); }
.spec-row { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 14px; padding: 11px 18px; font-size: 0.92rem; }
.spec-row + .spec-row { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.spec-row span { color: var(--muted); }
.spec-row b { font-weight: 600; }

/* highlights strip */
.p-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 40px; }
.hl { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s var(--ease), opacity 0.9s var(--ease); }
.hl:hover { border-color: rgba(255, 90, 114, 0.45); }
.hl-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 1.3rem; background: rgba(232, 38, 63, 0.14); border: 1px solid rgba(255, 90, 114, 0.4); }
.hl h4 { margin: 0 0 2px; font-size: 1rem; }
.hl p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* product FAQ + related */
.faq-n { margin-right: 14px; font-family: var(--f-hud); font-weight: 700; color: #ff8095; }
.faq-a { padding: 0 22px 20px 58px; }
.faq-a p { color: #a9bfd9; margin: 0; }
.rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rel-nav { display: flex; gap: 8px; margin-bottom: 40px; }
.rel-nav .icon-btn { font-size: 1.5rem; }
.rel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: thin; perspective: 1400px; }
.rel-track .card { scroll-snap-align: start; }
.p-missing { padding: 140px 0 80px; }
.p-missing h2 { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; margin: 10px 0; }

/* sticky buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px 0; background: rgba(6, 12, 26, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, 0.8); transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.buybar.show { transform: none; }
.buybar::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px); background-size: 200% 100%; animation: candyMove 1s linear infinite; }
.buybar-inner { display: flex; align-items: center; gap: 14px; }
.bb-thumb { width: 64px; height: 42px; flex: none; border-radius: 8px; overflow: hidden; }
.bb-thumb img, .bb-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.bb-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 18px; }
.bb-name > b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-name .price { flex-direction: row; align-items: center; gap: 8px; }
body[data-page="product"] .toasts { bottom: 90px; }

@media (max-width: 1100px) {
  .p-grid { gap: 30px; }
}
@media (max-width: 900px) {
  .sale-strip-wrap { margin-top: 0; }
  .sale-strip { justify-content: center; text-align: center; }
  .ss-left { flex-direction: column; gap: 6px; }
  .p-hero { padding-top: 90px; }
  .p-grid { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
  .rel-head { align-items: flex-start; }
  .rel-nav { display: none; }
}
@media (max-width: 640px) {
  .p-title { font-size: 2.3rem; }
  .price-xl b { font-size: 2.4rem; }
  .p-pricebox { flex-direction: column; align-items: flex-start; }
  .p-sale { align-items: flex-start; }
  .bb-name > b { display: none; }
  .g-thumb { flex-basis: 84px; }
  .g-arrow { opacity: 1; width: 38px; height: 38px; }
  .faq-a { padding-left: 22px; }
  .rel-track { grid-auto-columns: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  .price s::after { transform: rotate(-8deg) scaleX(1); }
}

/* preview-mode notice (example catalog) */
.demo-note { margin: -16px auto 28px; max-width: 760px; text-align: center; padding: 12px 18px; border-radius: 14px; background: rgba(255, 201, 74, 0.1); border: 1px dashed rgba(255, 201, 74, 0.5); color: #ffe6ad; font-size: 0.92rem; }
.p-hero .demo-note { margin: 0 0 22px; max-width: none; }

/* product gallery: arrows always visible, video thumbs */
.g-main:hover .g-arrow { opacity: 1; }
.g-thumb.is-video::after { content: ""; position: absolute; inset: 0; background: rgba(6, 12, 26, 0.25); }
.g-thumb > video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.g-thumb .g-play { z-index: 1; }
.g-vthumb { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(63, 184, 255, 0.35), transparent 60%), linear-gradient(135deg, #12305a, #0a1226); }
.g-video .g-vthumb { z-index: 0; }

/* package details: plain text blocks */
.p-details { padding-top: 60px; }
.d-list { display: grid; gap: 14px; }
.d-block { padding: 22px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(22, 38, 70, 0.6), rgba(10, 18, 36, 0.7)); border: 1px solid var(--line); transition: border-color 0.3s, opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.d-block:hover { border-color: rgba(63, 184, 255, 0.35); }
.d-block h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.d-num { font-family: var(--f-hud); font-weight: 700; font-size: 0.9rem; color: #ff8095; letter-spacing: 0.06em; }
.d-block .rich p:last-child { margin-bottom: 0; }

/* hero countdown: date line + finished state */
.cd-when { font-family: var(--f-hud); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }
.cd-when:empty { display: none; }
.countdown.cd-done .cd-label { color: #7dffb5; }
