/* ============================================================
   Şansım Var — Cinematic Edition (website2)
   Dark theme · GSAP-driven · Purple #6C5CE7 · Teal #00CEC9 · Gold #FFD700
   ============================================================ */

:root {
  --primary: #6C5CE7;
  --primary-soft: #a29bfe;
  --secondary: #00CEC9;
  --gold: #FFD700;
  --gold-deep: #FFA000;
  --bg: #0A0814;
  --bg-2: #110D24;
  --bg-3: #181233;
  --ink: #F4F2FF;
  --muted: rgba(244, 242, 255, 0.6);
  --line: rgba(244, 242, 255, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1240px, 92%); margin-inline: auto; }

::selection { background: var(--gold); color: #1a1400; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--secondary)); border-radius: 99px; }

/* film-grain noise overlay */
.noise {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.7s steps(4) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.preloader-logo {
  height: 110px; width: auto;
  filter: drop-shadow(0 0 36px rgba(108, 92, 231, 0.65));
}

.preloader-count {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.preloader-bar {
  width: min(320px, 60vw);
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--gold));
}

.preloader-tag { font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); }

/* shutter panels that wipe away */
.shutter {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  pointer-events: none;
}

.shutter span {
  flex: 1;
  background: var(--bg-3);
  transform: scaleY(1);
  transform-origin: top;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9995;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.cursor-ring {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(244, 242, 255, 0.4);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.cursor-ring.is-hover {
  width: 72px; height: 72px;
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 9994;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--gold));
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.5s, padding 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 13px 0;
  background: rgba(10, 8, 20, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.08rem;
}

.nav-brand img {
  height: 54px; width: auto;
  filter: drop-shadow(0 0 14px rgba(108, 92, 231, 0.55));
}

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}

.lang-switch a, .lang-switch span { padding: 5px 13px; border-radius: 999px; color: var(--muted); transition: 0.3s; }
.lang-switch .active { background: var(--primary); color: #fff; box-shadow: 0 0 18px rgba(108, 92, 231, 0.6); }
.lang-switch a:not(.active):hover { color: var(--ink); }

/* magnetic button */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  will-change: transform;
}

.btn .btn-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  transition: transform 0.5s var(--ease);
}

.btn > * { position: relative; z-index: 1; }

.btn-gold .btn-fill { background: linear-gradient(120deg, var(--gold), var(--gold-deep)); }
.btn-gold { color: #221a00; box-shadow: 0 10px 40px -8px rgba(255, 200, 0, 0.55); }
.btn-gold:hover .btn-fill { transform: scale(1.08); }

.btn-outline { border: 1px solid rgba(244, 242, 255, 0.25); color: var(--ink); }
.btn-outline .btn-fill { background: rgba(244, 242, 255, 0.08); transform: scaleX(0); transform-origin: left; }
.btn-outline:hover .btn-fill { transform: scaleX(1); }

.nav-cta { padding: 10px 24px; font-size: 0.85rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1002; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.4s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999; /* below .nav so the hamburger stays clickable while open */
  background: rgba(10, 8, 20, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}

.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 36px); pointer-events: auto; }

.mobile-menu a {
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 700;
  padding: 10px;
  color: var(--muted);
  transition: color 0.3s, letter-spacing 0.3s;
}

.mobile-menu a:hover { color: var(--gold); letter-spacing: 0.04em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* giant glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 { width: 55vw; height: 55vw; background: radial-gradient(circle, rgba(108,92,231,0.4), transparent 65%); top: -18%; left: -12%; }
.orb-2 { width: 44vw; height: 44vw; background: radial-gradient(circle, rgba(0,206,201,0.28), transparent 65%); bottom: -20%; right: -10%; }
.orb-3 { width: 30vw; height: 30vw; background: radial-gradient(circle, rgba(255,215,0,0.16), transparent 65%); top: 30%; right: 22%; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 242, 255, 0.04);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 0 rgba(0, 206, 201, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 206, 201, 0.7); }
  70% { box-shadow: 0 0 0 11px rgba(0, 206, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 206, 201, 0); }
}

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .char { display: inline-block; transform: translateY(115%); }

.text-gold {
  background: linear-gradient(110deg, #FFE873 15%, var(--gold) 38%, #fff6bd 50%, var(--gold) 62%, var(--gold-deep) 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer { to { background-position: -200% center; } }

.text-aurora {
  background: linear-gradient(110deg, var(--primary-soft), var(--secondary) 50%, var(--primary-soft));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero-meta { display: flex; gap: 44px; }

.hero-meta .item .top { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.hero-meta .item .sub { font-size: 0.8rem; color: var(--muted); }

/* ---- 3D tilt phone ---- */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }

.phone-tilt { transform-style: preserve-3d; will-change: transform; }

.phone {
  width: 308px;
  height: 632px;
  border-radius: 50px;
  background: linear-gradient(160deg, #1c1838, #0d0a1e);
  padding: 13px;
  box-shadow:
    0 60px 130px -30px rgba(0, 0, 0, 0.85),
    0 0 80px -20px rgba(108, 92, 231, 0.5),
    inset 0 0 0 1.5px rgba(244, 242, 255, 0.12);
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  background: linear-gradient(175deg, #161130 0%, #0e0a20 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 98px; height: 27px;
  border-radius: 999px;
  background: #05030d;
  z-index: 5;
}

.app-header {
  padding: 52px 18px 18px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(90, 79, 207, 0.9));
  border-radius: 0 0 28px 28px;
}

.app-header .greeting { font-size: 0.7rem; opacity: 0.75; }
.app-header .username { font-size: 0.95rem; font-weight: 700; }

.app-points {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.78rem;
  font-weight: 600;
}

.app-points .coin { color: var(--gold); display: inline-block; animation: coinSpin 3s ease-in-out infinite; }

@keyframes coinSpin { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }

.app-body { flex: 1; padding: 15px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; }

.app-section-title { font-size: 0.72rem; font-weight: 700; color: var(--ink); }

.lottery-card {
  background: rgba(244, 242, 255, 0.05);
  border: 1px solid rgba(244, 242, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lottery-thumb {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.lt-purple { background: linear-gradient(135deg, #a29bfe, var(--primary)); }
.lt-teal   { background: linear-gradient(135deg, #81ecec, var(--secondary)); }
.lt-gold   { background: linear-gradient(135deg, #ffeaa7, var(--gold-deep)); }

.lottery-info { flex: 1; min-width: 0; }
.lottery-info .lt-title { font-size: 0.72rem; font-weight: 700; }
.lottery-info .lt-meta { font-size: 0.62rem; color: var(--muted); }

.lt-bar { margin-top: 6px; height: 5px; border-radius: 999px; background: rgba(244,242,255,0.1); overflow: hidden; }
.lt-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--secondary), var(--primary)); }

.lt-join {
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--primary);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(108, 92, 231, 0.55);
}

.app-winner-banner {
  margin-top: auto;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #221a00;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: winnerGlow 2.4s ease-in-out infinite;
}

@keyframes winnerGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(255, 170, 0, 0.35); }
  50% { box-shadow: 0 8px 44px rgba(255, 170, 0, 0.7); }
}

/* floating glass chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(24, 18, 51, 0.75);
  border: 1px solid rgba(244, 242, 255, 0.14);
  backdrop-filter: blur(14px);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  z-index: 3;
  will-change: transform;
}

.chip-1 { top: 10%; left: -17%; }
.chip-2 { top: 44%; right: -21%; }
.chip-3 { bottom: 9%; left: -11%; }

/* hero bottom ribbon marquee */
.hero-ribbon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 16px 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-soft) 30%, var(--secondary) 60%, var(--primary));
  transform: rotate(-1.6deg) scale(1.04);
  overflow: hidden;
  box-shadow: 0 -10px 60px rgba(108, 92, 231, 0.4);
}

.ribbon-track {
  display: flex;
  gap: 48px;
  width: max-content;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0a1d;
  white-space: nowrap;
  animation: ribbonScroll 22s linear infinite;
}

@keyframes ribbonScroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS shared
   ============================================================ */
section { position: relative; padding: 130px 0; }

.section-head { max-width: 720px; margin-bottom: 80px; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 22px;
}

.section-tag::before { content: ''; width: 36px; height: 1.5px; background: var(--secondary); }
.section-head.center .section-tag::after { content: ''; width: 36px; height: 1.5px; background: var(--secondary); }

.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-head h2 .line { display: block; overflow: hidden; }
.section-head h2 .line > span { display: block; }

.section-head p { margin-top: 20px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }

/* ============================================================
   HORIZONTAL SCROLL — HOW IT WORKS
   ============================================================ */
.hsection { padding: 0; }

.hs-pin {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hs-track {
  display: flex;
  gap: 5vw;
  padding-inline: 8vw;
  will-change: transform;
}

.hs-intro {
  flex-shrink: 0;
  width: 36vw;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hs-intro .section-head { margin-bottom: 28px; }

.hs-hint { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }
.hs-hint .arrow { font-size: 1.4rem; animation: nudge 1.6s ease-in-out infinite; }

@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

.hs-card {
  flex-shrink: 0;
  width: min(440px, 80vw);
  min-height: 64vh;
  border-radius: 32px;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(244, 242, 255, 0.05), rgba(244, 242, 255, 0.015));
  backdrop-filter: blur(8px);
}

.hs-card::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  right: -90px; bottom: -90px;
  pointer-events: none;
}

.hs-card.c1::after { background: var(--primary); }
.hs-card.c2::after { background: var(--secondary); }
.hs-card.c3::after { background: var(--gold-deep); }

.hs-num {
  font-size: clamp(4.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(244, 242, 255, 0.22);
  color: transparent;
  margin-bottom: auto;
}

.hs-icon { font-size: 3.2rem; margin: 36px 0 20px; filter: drop-shadow(0 0 24px rgba(255, 215, 0, 0.35)); }

.hs-card h3 { font-size: 1.65rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.hs-card p { color: var(--muted); line-height: 1.8; font-size: 0.98rem; }

.hs-card .hs-kicker {
  position: absolute;
  top: 52px; right: 44px;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

/* ============================================================
   FEATURES — spotlight cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: 26px;
  padding: 42px 34px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(244, 242, 255, 0.045), rgba(244, 242, 255, 0.01));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
  will-change: transform;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(108, 92, 231, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.feature-card:hover { transform: translateY(-10px); border-color: rgba(108, 92, 231, 0.5); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), #4b3fd1);
  box-shadow: 0 0 32px -6px rgba(108, 92, 231, 0.8);
  transition: transform 0.5s var(--ease-spring);
}

.feature-card:nth-child(3n+2) .feature-icon { background: linear-gradient(135deg, var(--secondary), #009d99); box-shadow: 0 0 32px -6px rgba(0, 206, 201, 0.7); }
.feature-card:nth-child(3n) .feature-icon { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); box-shadow: 0 0 32px -6px rgba(255, 180, 0, 0.7); }

.feature-card:hover .feature-icon { transform: scale(1.14) rotate(-8deg); }

.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ============================================================
   WHEEL — scroll-driven spin
   ============================================================ */
.wheel-section {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(108, 92, 231, 0.14), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg) 100%);
  overflow: hidden;
}

.wheel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.wheel-stage { position: relative; width: min(440px, 82vw); aspect-ratio: 1; margin-inline: auto; }

.wheel-glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.18), rgba(108, 92, 231, 0.1) 45%, transparent 70%);
  filter: blur(28px);
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.wheel {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold) 0 45deg, var(--primary) 45deg 90deg,
    var(--secondary) 90deg 135deg, #a29bfe 135deg 180deg,
    var(--gold-deep) 180deg 225deg, #5A4FCF 225deg 270deg,
    #00a8a4 270deg 315deg, #8d7ff5 315deg 360deg
  );
  border: 13px solid #211a44;
  box-shadow:
    0 0 0 5px rgba(255, 215, 0, 0.85),
    0 40px 110px -16px rgba(0, 0, 0, 0.8),
    inset 0 0 70px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.wheel-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: 86px; height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #cfc7ff);
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.wheel-pointer {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 38px solid var(--gold);
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.7));
  z-index: 3;
}

.wheel-lights span {
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  animation: lightBlink 1.1s ease-in-out infinite;
}

@keyframes lightBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.wheel-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.wheel-copy > p { color: var(--muted); line-height: 1.85; margin-bottom: 34px; }

.wheel-points { display: flex; flex-direction: column; gap: 14px; }

.wheel-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(244, 242, 255, 0.035);
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}

.wheel-point:hover { border-color: rgba(255, 215, 0, 0.5); background: rgba(255, 215, 0, 0.05); transform: translateX(8px); }

.wheel-point .ico {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 22px -4px rgba(255, 190, 0, 0.65);
}

/* ============================================================
   WINNERS — double marquee
   ============================================================ */
.winners-section { padding-bottom: 60px; }

.winners-marquee {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track { display: flex; gap: 18px; width: max-content; will-change: transform; }

.winner-chip {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 26px 13px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(244, 242, 255, 0.05), rgba(244, 242, 255, 0.015));
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.winner-chip .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.winner-chip b { color: var(--gold); font-weight: 700; }

/* ============================================================
   STATS — big number strip
   ============================================================ */
.stats-section { border-block: 1px solid var(--line); padding: 90px 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; text-align: center; }

.stat-cell .counter {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-soft), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-cell:nth-child(even) .counter { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; }

.stat-cell .stat-label { margin-top: 10px; font-size: 0.92rem; color: var(--muted); }

/* ============================================================
   ABOUT / SEO PROSE
   ============================================================ */
.seo-prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.seo-prose p + p { margin-top: 20px; }
.seo-prose strong { color: var(--ink); font-weight: 600; }
.seo-prose h3 { color: var(--ink); font-size: 1.15rem; font-weight: 700; margin: 34px 0 12px; }
.seo-prose ul { margin: 12px 0; padding-left: 22px; }
.seo-prose li { margin-bottom: 8px; list-style: disc; }
.seo-prose a:hover { text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(244, 242, 255, 0.04), rgba(244, 242, 255, 0.01));
  overflow: hidden;
  transition: border-color 0.4s;
}

.faq-item.open { border-color: rgba(108, 92, 231, 0.55); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}

.faq-q .chev {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--primary-soft);
  transition: transform 0.5s var(--ease-spring), background 0.4s, color 0.4s;
}

.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--primary); color: #fff; border-color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}

.faq-a-inner { padding: 0 28px 26px; color: var(--muted); font-size: 0.94rem; line-height: 1.85; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { padding: 150px 0 160px; overflow: hidden; }

.cta-card {
  position: relative;
  border-radius: 44px;
  padding: clamp(60px, 9vw, 110px) clamp(28px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 255, 0.14);
  background:
    radial-gradient(700px 360px at 50% -10%, rgba(108, 92, 231, 0.5), transparent),
    radial-gradient(500px 300px at 90% 110%, rgba(0, 206, 201, 0.3), transparent),
    radial-gradient(400px 260px at 8% 100%, rgba(255, 180, 0, 0.18), transparent),
    var(--bg-3);
}

.cta-card h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.cta-card h2 .line { display: block; overflow: hidden; }
.cta-card h2 .line > span { display: block; }

.cta-card p { color: var(--muted); max-width: 560px; margin: 0 auto 44px; line-height: 1.8; font-size: 1.05rem; }

.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 34px;
  border-radius: 20px;
  background: var(--ink);
  color: #0c0a1d;
  text-align: left;
  box-shadow: 0 18px 60px -12px rgba(244, 242, 255, 0.35);
  will-change: transform;
  transition: box-shadow 0.4s;
}

.btn-store:hover { box-shadow: 0 24px 80px -10px rgba(255, 215, 0, 0.5); }

.btn-store .store-ico { font-size: 1.8rem; }
.btn-store small { display: block; font-size: 0.68rem; opacity: 0.65; font-weight: 600; letter-spacing: 0.08em; }
.btn-store strong { font-size: 1.05rem; font-weight: 800; }

/* confetti canvas inside CTA */
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-card > *:not(#cta-canvas) { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 80px 0 36px; background: #070510; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; margin-bottom: 60px; }

.footer-brand { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 13px; filter: drop-shadow(0 0 16px rgba(108, 92, 231, 0.5)); }

.footer p { font-size: 0.9rem; line-height: 1.8; color: var(--muted); max-width: 340px; }

.footer h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }

.footer-links { display: flex; flex-direction: column; gap: 13px; }

.footer-links a { font-size: 0.92rem; color: var(--muted); transition: color 0.3s, transform 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--gold); transform: translateX(6px); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(244, 242, 255, 0.35);
}

/* giant watermark text */
.footer-giant {
  margin-top: 50px;
  font-size: clamp(3.4rem, 13vw, 11rem);
  font-weight: 800;
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(244, 242, 255, 0.1), rgba(244, 242, 255, 0.015));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { margin-top: 50px; }
  .chip-1 { left: -2%; }
  .chip-2 { right: -4%; }
  .chip-3 { left: 2%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .wheel-grid { grid-template-columns: 1fr; gap: 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .noise { animation: none; } /* film grain repaint is costly on mobile GPUs */
  section { padding: 90px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .phone { width: 264px; height: 548px; }
  .float-chip { font-size: 0.7rem; padding: 9px 13px; }
  .chip-1 { left: 0; }
  .chip-2 { right: -4%; }
  .chip-3 { left: 2%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { gap: 26px; }

  /* how-it-works: vertical stack instead of pinned horizontal scroll */
  .hs-pin {
    height: auto;
    overflow: visible;
    display: block;
    padding: 90px 0 30px;
  }
  .hs-track {
    flex-direction: column;
    gap: 26px;
    padding-inline: 5vw;
  }
  .hs-intro { width: 100%; min-width: 0; }
  .hs-intro .section-head { margin-bottom: 0; }
  .hs-hint { display: none; }
  .hs-card { width: 100%; min-height: 0; padding: 38px 28px 34px; }
  .hs-num { font-size: 3.8rem; margin-bottom: 0; }
  .hs-icon { font-size: 2.5rem; margin: 22px 0 14px; }
  .hs-card h3 { font-size: 1.35rem; }
  .hs-card .hs-kicker { top: 38px; right: 28px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .wheel-copy h2 { font-size: 1.85rem; }
  .cta-card { border-radius: 30px; }
  .btn-store { padding: 15px 26px; }
  .footer-giant { font-size: clamp(2rem, 14.5vw, 11rem); letter-spacing: -0.05em; }
}
