/* ==========================================================================
   ZokStick landing page v2 – styles
   Mobile-first. Sections follow the order of index.html.
   ========================================================================== */

/* ---------- 0. Self-hosted fonts (SIL Open Font License, see /fonts) ---------- */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lilita-one-latin-400-normal.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; }
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lilita-one-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-ext-800-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-ext-900-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- 1. Design tokens ---------- */
:root {
  --blue-900: #020a5c;
  --blue-800: #04138a;
  --blue-700: #0a22b8;
  --blue-600: #0d33d9;
  --blue-500: #1f4dff;
  --blue-400: #3d7bff;
  --cyan: #5fe1ff;
  --yellow: #ffd21f;
  --gold: #f5b400;
  --orange: #ff7a1a;
  --purple: #8b5cf6;
  --white: #ffffff;
  --text-soft: #c3d0ff;

  --card-border: rgba(120, 160, 255, 0.35);
  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 32px;

  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 64px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --beat: .465s;              /* one beat of the theme (~129 BPM) */

  /* Screenshot crop: hides the Android status bar (top) and nav bar (bottom)
     in the raw captures. For clean screenshots set --crop-top: 0% and
     --shot-ratio to the image's own width / height. */
  --crop-top: 3.2%;
  --shot-ratio: 1080 / 2135;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--blue-800); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  line-height: 1.55;
  background: var(--blue-800);
  -webkit-font-smoothing: antialiased;
}
/* Fixed page background (more reliable than background-attachment: fixed on mobile) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, #2a5bff 0%, transparent 60%),
    linear-gradient(180deg, var(--blue-600) 0%, var(--blue-700) 35%, var(--blue-800) 75%, var(--blue-900) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: 80px 0; position: relative; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section__lead { color: var(--text-soft); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); color: var(--yellow); text-transform: uppercase; letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }

/* Floating sparkles – uses the official sparkle sprites */
.sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sparkle { position: absolute; width: 18px; opacity: 0; animation: twinkle var(--d, 6s) ease-in-out var(--delay, 0s) infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(.5) rotate(0deg); }
  50% { opacity: .85; transform: translateY(-26px) scale(1) rotate(20deg); }
}
main, .footer { position: relative; z-index: 1; }

/* ---------- 3. Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(6, 22, 140, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 30px rgba(0, 0, 40, .35); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; width: min(1160px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; transition: transform .25s var(--ease-pop); }
.brand:hover { transform: scale(1.06) rotate(-2deg); }
.brand__logo { height: 48px; width: auto; }

.nav {
  position: fixed; top: var(--header-h); left: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 4px; padding: 14px;
  background: rgba(8, 26, 150, .97); backdrop-filter: blur(14px);
  border: 1px solid var(--card-border); border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,40,.5);
  transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .3s var(--ease-pop), opacity .25s, visibility .25s;
}
.nav.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
.nav a { padding: 12px 16px; border-radius: 14px; font-weight: 800; transition: background .2s, color .2s; }
.nav a:hover, .nav a.is-active { background: rgba(255,255,255,.1); color: var(--yellow); }
.nav__cta { background: linear-gradient(180deg, #ffe14d, var(--gold)); color: #4a2e00 !important; text-align: center; margin-top: 6px; box-shadow: 0 4px 0 #b37f00; }
.nav__cta:hover { background: linear-gradient(180deg, #ffe970, #ffc21a) !important; }

.burger { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 3px; border-radius: 3px; background: #fff; transition: transform .3s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 4. Buttons & small UI ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.cta-row--center { justify-content: center; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; border-radius: 18px;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05;
  transition: transform .2s var(--ease-pop), filter .2s;
}
.store-btn small { display: block; font-family: var(--font-body); font-weight: 800; font-size: .7rem; letter-spacing: .5px; text-transform: uppercase; opacity: .9; }
.store-btn svg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
.store-btn--play { background: linear-gradient(180deg, #ffe24a 0%, var(--gold) 100%); color: #4a2e00; box-shadow: 0 5px 0 #b37f00, 0 10px 30px rgba(255, 200, 0, .4); animation: glow-y 2.8s ease-in-out infinite; }
.store-btn--apple { background: linear-gradient(180deg, var(--blue-400) 0%, var(--blue-500) 100%); color: #fff; box-shadow: 0 5px 0 #0b2aa8, 0 10px 30px rgba(60, 130, 255, .4); border: 1px solid rgba(255,255,255,.25); }
.store-btn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.06); }
.store-btn:active { transform: translateY(2px); }
@keyframes glow-y {
  0%, 100% { box-shadow: 0 5px 0 #b37f00, 0 10px 30px rgba(255, 200, 0, .3); }
  50% { box-shadow: 0 5px 0 #b37f00, 0 10px 42px rgba(255, 210, 0, .7); }
}

.tag { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-weight: 900; font-size: .68rem; letter-spacing: .8px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag--soon { background: rgba(95, 225, 255, .18); color: var(--cyan); border: 1px solid rgba(95, 225, 255, .5); }

.coin { display: inline-block; width: 1em; height: 1em; border-radius: 50%; vertical-align: -0.12em; background: radial-gradient(circle at 35% 30%, #fff3a8, var(--yellow) 45%, #d98e00); box-shadow: inset 0 0 0 2px rgba(180, 110, 0, .5); }

.card {
  background: linear-gradient(180deg, rgba(40, 70, 210, .55), rgba(16, 36, 150, .55));
  border: 2px solid var(--card-border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 50, .25), inset 0 1px 0 rgba(255,255,255,.15);
}

/* ---------- 5. Screenshots / phone frames ---------- */
.shot { position: relative; aspect-ratio: var(--shot-ratio); overflow: hidden; border-radius: inherit; background: var(--blue-700); }
.shot img { width: 100%; height: auto; transform: translateY(calc(var(--crop-top) * -1)); }
.phone { margin: 0; padding: 7px; border-radius: 34px; background: linear-gradient(145deg, #1a2a7a, #070f45); box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 30px 60px rgba(0, 0, 40, .55); }
.phone .shot { border-radius: 28px; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: 18px 0 90px; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero__glow { position: absolute; inset: -10% -20% auto; height: 80%; background: radial-gradient(closest-side, rgba(95, 225, 255, .22), transparent); pointer-events: none; }
.hero__grid { display: grid; gap: 34px; align-items: center; }
.hero__copy { text-align: center; }

/* Official logo: never stretched – width scales, height follows */
.hero__logo { margin: 0 auto 4px; width: min(78vw, 360px); }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 14px 26px rgba(0, 0, 60, .45)); animation: logo-float 5s ease-in-out infinite; transition: opacity .25s; }
@keyframes logo-float { 50% { transform: translateY(-6px); } }
.hero__logo img.is-swapping { opacity: .35; }

.hero__tagline { font-family: var(--font-display); font-size: clamp(1.45rem, 5.6vw, 2.1rem); color: var(--yellow); margin: 6px 0 8px; text-shadow: 0 3px 0 rgba(0,0,60,.45); }
.hero__sub { color: var(--text-soft); max-width: 480px; margin-inline: auto; font-size: 1.05rem; }
.hero .cta-row { justify-content: center; }
.hero__status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 800; color: var(--text-soft); margin: 0 0 14px; }
.dot-live { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,210,31,.7); animation: ping 2s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,210,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,31,0); } }

.music-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.22); font-weight: 900; font-size: .92rem; transition: background .2s, border-color .2s; }
.music-btn:hover { background: rgba(255,255,255,.18); }
.music-btn__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: #4a2e00; font-size: 1rem; }
.music-btn__bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.music-btn__bars i { width: 3px; background: var(--yellow); border-radius: 2px; animation: eq var(--beat) ease-in-out infinite alternate; }
.music-btn__bars i:nth-child(2) { animation-delay: -.15s; }
.music-btn__bars i:nth-child(3) { animation-delay: -.3s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.music-btn[aria-pressed="true"] { border-color: var(--yellow); background: rgba(255,210,31,.14); }
.music-btn[aria-pressed="true"] .music-btn__bars { display: inline-flex; }

/* Hero visual */
.hero__visual { position: relative; height: 440px; max-width: 400px; width: 100%; margin: 0 auto; }
.parallax { position: absolute; inset: 0; will-change: transform; }
.hero__visual .phone { position: absolute; width: 176px; }
.phone--front { left: 50%; top: 10px; translate: -18% 0; rotate: 6deg; animation: bob 6s ease-in-out infinite; }
.phone--back { left: 50%; top: 50px; translate: -96% 0; rotate: -8deg; opacity: .8; animation: bob 6s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero__burst { position: absolute; z-index: 3; width: 240px; left: -6%; bottom: 20px; opacity: .3; pointer-events: none; animation: burst-pulse 3s ease-in-out infinite; }
@keyframes burst-pulse { 50% { opacity: .42; transform: scale(1.05); } }
.mascot { position: absolute; z-index: 4; width: 160px; left: 2%; bottom: 0; filter: drop-shadow(0 16px 20px rgba(0,0,40,.45)); transform-origin: 50% 100%; animation: idle 3.2s ease-in-out infinite; }
@keyframes idle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }

/* Dance mode – only while the theme plays. JS toggles .beat-l / .beat-r on each beat. */
.hero.is-dancing .mascot { animation: none; transition: transform calc(var(--beat) * .9) var(--ease-pop); }
.hero.is-dancing .mascot.beat-l { transform: translateY(-26px) rotate(-9deg) scale(1.04, .97); }
.hero.is-dancing .mascot.beat-r { transform: translateY(-26px) rotate(9deg) scale(1.04, .97); }
.hero.is-dancing .mascot.beat-down { transform: translateY(0) scale(1.07, .93); transition-duration: .12s; }
.hero.is-dancing .hero__burst { animation-duration: var(--beat); opacity: .75; }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 7. About ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__copy p { color: var(--text-soft); font-size: 1.05rem; }
.about__copy strong { color: #fff; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.06); }
.checks li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: #4a2e00; font-weight: 900; font-size: .85rem; }
.checks b { color: var(--yellow); font-weight: 900; }
.about__shots { display: flex; justify-content: center; padding: 20px 0; }
.about__shots .phone { width: 46%; max-width: 230px; transition: transform .4s var(--ease-pop); }
.phone--tilt-l { rotate: -6deg; z-index: 1; }
.phone--tilt-r { rotate: 6deg; margin-left: -8%; margin-top: 40px; }
.about__shots .phone:hover { transform: translateY(-10px) scale(1.03); z-index: 3; }

/* ---------- 8. Features ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature { padding: 24px 22px; transition: transform .3s var(--ease-pop), border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(255, 210, 31, .7); box-shadow: 0 18px 40px rgba(0,0,50,.35), 0 0 0 4px rgba(255,210,31,.12); }
.feature h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--text-soft); margin: 0; }
.feature p b { color: #fff; }
.feature__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 14px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.4); }
.feature__icon img { width: auto; height: 34px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.icon--yellow { background: linear-gradient(180deg, #ffe46b, var(--gold)); }
.icon--orange { background: linear-gradient(180deg, #ffb066, var(--orange)); }
.icon--fire { background: linear-gradient(180deg, #ffa84d, #ff5a1a); }
.icon--cyan { background: linear-gradient(180deg, #9cefff, #26b8e6); }
.icon--blue { background: linear-gradient(180deg, #6f9dff, var(--blue-500)); }
.icon--purple { background: linear-gradient(180deg, #c3a8ff, var(--purple)); }
/* Softly pulsing Fever glow */
.feature--fever { background: linear-gradient(160deg, rgba(255,122,26,.35), rgba(16,36,150,.6) 60%); border-color: rgba(255,140,60,.6); animation: fever 2.6s ease-in-out infinite; }
@keyframes fever {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,50,.25), 0 0 0 0 rgba(255,110,30,0); }
  50% { box-shadow: 0 10px 30px rgba(0,0,50,.25), 0 0 34px 2px rgba(255,110,30,.45); }
}
.feature--fever .feature__icon img { animation: flicker 1.3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flicker { 50% { transform: scale(1.08, 1.12) rotate(-3deg); } }

/* ---------- 9. Gallery ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex-shrink: 0; padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: .92rem; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.15); transition: all .2s; }
.filter:hover { background: rgba(255,255,255,.15); }
.filter.is-active { background: var(--yellow); color: #4a2e00; border-color: var(--yellow); box-shadow: 0 4px 0 #b37f00; }

.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(20px, calc((100vw - 1160px) / 2)) 30px; scrollbar-width: none; outline: none; }
.carousel::-webkit-scrollbar { display: none; }
.shot-card { flex: 0 0 auto; width: 62vw; max-width: 250px; scroll-snap-align: center; text-align: center; transition: transform .35s var(--ease-pop), opacity .5s, translate .6s var(--ease-pop); }
.shot-card .shot { border-radius: 26px; border: 3px solid rgba(255,255,255,.22); box-shadow: 0 20px 40px rgba(0,0,40,.45); transition: border-color .3s, box-shadow .3s; }
.shot-card:hover { transform: translateY(-8px); }
.shot-card:hover .shot { border-color: var(--yellow); box-shadow: 0 24px 50px rgba(0,0,40,.5), 0 0 30px rgba(255,210,31,.35); }
.shot-card__label { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-size: 1.15rem; }
.shot-card.is-hidden { display: none; }
/* scroll reveal for screenshots */
.js .shot-card { opacity: 0; translate: 0 30px; }
.js .shot-card.is-in { opacity: 1; translate: 0 0; }

.carousel-btn { display: none; position: absolute; top: 45%; z-index: 2; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3); font-size: 2rem; line-height: 1; padding-bottom: 4px; backdrop-filter: blur(8px); transition: background .2s, transform .2s var(--ease-pop); }
.carousel-btn:hover { background: var(--yellow); color: #4a2e00; transform: scale(1.08); }
.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(2, 8, 60, .92); backdrop-filter: blur(10px); padding: 20px; opacity: 0; transition: opacity .25s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-height: calc(100svh - 110px); width: auto; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: zoom-in .3s var(--ease-pop); }
@keyframes zoom-in { from { transform: scale(.9); opacity: 0; } }
.lightbox figcaption { font-weight: 800; color: var(--text-soft); text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.3); font-size: 1.4rem; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: #4a2e00; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 2rem; padding-bottom: 4px; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* ---------- 10. Why it feels different ---------- */
.why__grid { display: grid; gap: 40px; align-items: center; }
.why-list { display: grid; gap: 12px; margin-top: 24px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-s); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: background .2s, transform .3s var(--ease-pop); }
.why-item:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.why-item > span { font-size: 1.6rem; line-height: 1; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 2px; }
.why-item p { margin: 0; color: var(--text-soft); font-size: .97rem; }

.beat { padding: 34px 20px; border-radius: var(--radius-l); text-align: center; background: radial-gradient(circle at 50% 30%, rgba(80, 140, 255, .35), rgba(10, 30, 150, .5)); border: 2px solid var(--card-border); position: relative; overflow: hidden; }
.beat__arrows { display: flex; align-items: center; gap: 8px; }
.beat__arrow { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(180deg, #5fd0ff, #1f8fe6); font-size: 1.4rem; box-shadow: 0 4px 0 #0e5aa8; transition: transform .12s, box-shadow .12s, filter .12s; }
.beat__arrow.is-hit { transform: translateY(3px) scale(1.12); box-shadow: 0 1px 0 #0e5aa8, 0 0 24px var(--cyan); filter: brightness(1.25); }
.beat__sync { flex: 1; min-width: 0; width: 100%; opacity: .75; transition: opacity .15s, filter .15s; }
.beat.is-flash .beat__sync { opacity: 1; filter: drop-shadow(0 0 10px var(--cyan)) brightness(1.3); }
.beat__pattern { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 30px 0; }
.beat__pattern .dot { width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.beat__pattern .dash { width: 54px; height: 8px; border-radius: 4px; background: #fff; }
.beat__pattern i { opacity: .35; transition: opacity .15s, transform .15s; }
.beat__pattern i.is-on { opacity: 1; transform: scale(1.15); box-shadow: 0 0 16px rgba(255,255,255,.8); }
.beat__meter { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.beat__label { font-family: var(--font-display); letter-spacing: 3px; color: var(--text-soft); margin-right: 6px; }
.pip { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--yellow); transition: background .15s, transform .2s var(--ease-pop); }
.pip.is-on { background: radial-gradient(circle at 35% 30%, #fff3a8, var(--yellow) 60%, var(--gold)); transform: scale(1.1); }
.beat__bonus { font-family: var(--font-display); font-size: 1.6rem; color: var(--yellow); margin: 18px 0 0; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .35s var(--ease-pop); text-shadow: 0 0 20px rgba(255,210,31,.6); }
.beat.is-bonus .beat__bonus { opacity: 1; transform: scale(1); }

/* ---------- 11. Characters ---------- */
.char-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.char { padding: 16px 12px 20px; text-align: center; transition: transform .3s var(--ease-pop), border-color .3s; }
.char:hover { transform: translateY(-6px); border-color: var(--yellow); }
.char--duck { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,210,31,.2), 0 14px 30px rgba(0,0,50,.3); }
.char__art { width: 100%; max-width: 160px; aspect-ratio: 1; margin: 0 auto 8px; border-radius: 18px; transition: transform .3s var(--ease-pop); }
.char:hover .char__art { transform: scale(1.06) translateY(-3px); }
.char--duck .char__art { animation: idle 3.2s ease-in-out infinite; }
.char h3 { margin-bottom: 4px; }
.char__perk { color: var(--text-soft); font-size: .92rem; min-height: 2.8em; margin-bottom: 12px; }
.char__price { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; background: var(--blue-500); font-family: var(--font-display); font-size: 1.05rem; box-shadow: 0 3px 0 #0b2aa8; }
.char__price--free { background: var(--yellow); color: #4a2e00; box-shadow: 0 3px 0 #b37f00; }
.more-note { text-align: center; color: var(--text-soft); margin: 18px 0 0; }

/* ---------- 12. Stick skins showcase ---------- */
.skins { padding-bottom: 60px; --skin-h: 270px; }
.skin-rail {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px max(20px, calc((100vw - 1160px) / 2)) 30px;
  scrollbar-width: none; outline: none;
}
.skin-rail::-webkit-scrollbar { display: none; }
.skin {
  flex: 0 0 30vw; max-width: 140px; margin: 0;
  scroll-snap-align: center; text-align: center;
  perspective: 700px;
}
.skin__tilt {
  position: relative; height: var(--skin-h); display: flex; justify-content: center; align-items: center;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
/* Soft colored glow behind each skin */
.skin__tilt::before {
  content: ""; position: absolute; inset: 18% 10%; border-radius: 50%;
  background: var(--glow); filter: blur(34px); opacity: .32;
  transition: opacity .3s, transform .3s;
}
.skin img {
  position: relative; height: var(--skin-h); width: auto; max-width: none;
  filter: drop-shadow(0 14px 18px rgba(0,0,40,.45));
  animation: skin-float 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -.55s);
  transition: scale .35s var(--ease-pop);
}
@keyframes skin-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.skin:hover .skin__tilt::before, .skin.is-center .skin__tilt::before { opacity: .62; transform: scale(1.12); }
.skin:hover img { scale: 1.05; }
.skin figcaption { margin-top: 18px; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .5px; white-space: nowrap; transition: color .2s; }
.skin:hover figcaption, .skin.is-center figcaption { color: var(--yellow); }

.skin-dots { display: flex; justify-content: center; gap: 6px; }
.skin-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.skin-dots span.is-on { width: 24px; background: var(--yellow); }

/* ---------- 13. Missions & events ---------- */
.mission-grid { display: grid; gap: 16px; }
.mission { padding: 22px; display: flex; flex-direction: column; }
.mission header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.mission h3 { font-size: 1.6rem; margin: 0; text-transform: uppercase; }
.mission header span { color: var(--text-soft); font-size: .88rem; }
.mission ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.mission li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: .97rem; }
.mission footer { padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.2); font-weight: 800; }
.mission footer b { color: var(--yellow); font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-left: 4px; }

.event { margin-top: 22px; padding: 26px 22px; background: linear-gradient(140deg, rgba(95,225,255,.18), rgba(30,60,200,.55) 50%, rgba(139,92,246,.3)); }
.event__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.event__head h3 { font-size: 1.8rem; margin: 0; }
.event > p { color: var(--text-soft); margin: 8px 0 22px; }
.track__bar { height: 14px; border-radius: 8px; background: rgba(0,0,60,.4); overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.track__bar span { display: block; height: 100%; width: 100%; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 10px, transparent 10px 20px); animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: 28px 0; } }
.track__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.step { text-align: center; padding: 12px 6px; border-radius: 14px; background: rgba(255,255,255,.06); }
.step b { display: block; font-family: var(--font-display); font-weight: 400; color: var(--yellow); font-size: 1.15rem; }
.step span { font-size: .82rem; color: var(--text-soft); }
.step--star { background: rgba(255,210,31,.12); border: 1px solid rgba(255,210,31,.4); }

.note-strip { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-s); background: rgba(0,0,60,.3); border: 1px solid rgba(255,210,31,.45); }
.note-strip span { font-size: 1.5rem; line-height: 1; }
.note-strip p { margin: 0; color: var(--text-soft); font-size: .95rem; }
.note-strip b { color: #fff; }

/* ---------- 14. Final CTA ---------- */
.final-cta__inner { padding: 0; overflow: hidden; text-align: center; border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(40,80,230,.6), rgba(10,30,150,.6)); border: 2px solid rgba(255,210,31,.4); box-shadow: 0 30px 60px rgba(0,0,40,.4); }
.final-cta__art { width: 100%; height: auto; }
.final-cta__body { padding: 30px 22px 36px; }
.final-cta p { color: var(--text-soft); font-size: 1.08rem; max-width: 520px; margin-inline: auto; }

/* ---------- 15. Footer ---------- */
.footer { padding: 50px 0 28px; margin-top: 40px; background: rgba(0, 4, 50, .5); border-top: 1px solid rgba(255,255,255,.08); }
.footer__inner { display: grid; gap: 26px; justify-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer__logo { height: 70px; width: auto; }
.footer__studio { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800; color: var(--text-soft); text-transform: uppercase; letter-spacing: 1px; transition: transform .25s var(--ease-pop); }
.footer__studio img { height: 52px; width: auto; }
.footer__studio:hover { transform: scale(1.05); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer__links a { color: var(--text-soft); font-weight: 800; transition: color .2s; }
.footer__links a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; }
.socials[hidden] { display: none; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); transition: background .2s, transform .2s var(--ease-pop); }
.socials a:hover { background: var(--yellow); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer__copy { text-align: center; color: var(--text-soft); opacity: .8; font-size: .85rem; margin: 30px 0 0; }

/* ---------- 16. Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 0; width: max-content; max-width: calc(100vw - 32px); text-align: center; padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--blue-700); font-weight: 900; box-shadow: 0 14px 40px rgba(0,0,40,.4); transform: translateY(120px); opacity: 0; visibility: hidden; transition: transform .4s var(--ease-pop), opacity .3s, visibility .3s; pointer-events: none; }
.toast.is-show { transform: none; opacity: 1; visibility: visible; }

/* ---------- 17. Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease-pop); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 560px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-card { width: 220px; }
  .skin { flex-basis: 120px; }
}

@media (min-width: 768px) {
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .char-grid { grid-template-columns: repeat(4, 1fr); }
  .carousel-btn { display: block; }
  .filters { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr auto auto; justify-items: start; text-align: left; align-items: center; }
  .final-cta__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; text-align: left; }
  .final-cta__art { height: 100%; object-fit: cover; }
  .final-cta__body { padding: 36px 40px; }
  .final-cta .cta-row--center { justify-content: flex-start; }
  .final-cta p { margin-inline: 0; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .section { padding: 110px 0; }
  .brand__logo { height: 58px; }

  .burger { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav a { padding: 10px 14px; }
  .nav__cta { margin: 0 0 0 8px; padding: 10px 20px !important; }

  .hero__grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .hero__copy { text-align: left; }
  .hero__logo { margin: 0 0 4px -10px; width: 400px; }   /* close to the logo's native 407px – stays sharp */
  .hero__sub { margin-inline: 0; }
  .hero .cta-row { justify-content: flex-start; }
  .hero__visual { height: 560px; max-width: 500px; }
  .hero__visual .phone { width: 228px; }
  .mascot { width: 200px; }
  .hero__burst { width: 300px; }

  .about__grid, .why__grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .event { padding: 32px 36px; }

  /* All 8 skins visible on one row */
  .skin-rail { justify-content: center; overflow: visible; gap: 8px; }
  .skin { flex: 0 0 auto; width: 128px; }
  .skins { --skin-h: 340px; }
  .skin-dots { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .shot-card { opacity: 1; transform: none; translate: none; }
  .sparkles { display: none; }
  .parallax { transform: none !important; }
}
