/* ============================================================
   applenexo – Global Stylesheet
   Premium Royal Gold & Midnight Navy | applenexo.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Design Tokens ── */
  --bg-dark:       #060a14;
  --bg-soft:       #090e1c;
  --surface:       #0e1526;
  --surface-2:     #131c30;

  /* Borders */
  --border:        rgba(212,175,55,.18);
  --border-soft:   rgba(212,175,55,.10);
  --border-violet: rgba(109,40,217,.22);

  /* Accent palette – Royal Gold */
  --accent-primary: #d4af37;
  --accent-dim:     rgba(212,175,55,.11);
  --accent-glow:    rgba(212,175,55,.32);
  --accent-light:   #f5e06e;
  --accent-dark:    #b8860b;

  /* Secondary – Midnight Violet glow */
  --violet:        #7c3aed;
  --violet-dim:    rgba(124,58,237,.12);
  --violet-glow:   rgba(124,58,237,.28);

  /* Text – warm ivory */
  --text:          #f0ead8;
  --text-2:        rgba(240,234,216,.70);
  --muted:         rgba(185,168,110,.82);
  --error:         #f43f5e;
  --success:       #34d399;

  /* UI tokens */
  --radius:        20px;
  --radius-md:     14px;
  --radius-sm:     9px;
  --radius-pill:   99px;
  --shadow-soft:   0 8px 40px rgba(0,0,0,.55);
  --glow-soft:     0 0 32px rgba(212,175,55,.16);
  --glow-hover:    0 0 48px rgba(212,175,55,.28);

  /* Typography */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;

  /* Layout */
  --page-x:        clamp(1.25rem, 6vw, 5rem);
  --section-y:     clamp(4rem, 9vw, 7rem);

  /* Transitions */
  --ease: cubic-bezier(.25,.46,.45,.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(ellipse at 6% -10%, rgba(212,175,55,.22) 0%, transparent 42%),
    radial-gradient(ellipse at 96% 4%, rgba(124,58,237,.14) 0%, transparent 36%),
    radial-gradient(ellipse at 52% 108%, rgba(212,175,55,.12) 0%, transparent 46%),
    var(--bg-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.72;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--font-body); cursor: pointer; }
ul, ol { list-style: none; }

/* ── NOISE OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* ── AURORA ── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .42;
  animation: aurora-drift 28s ease-in-out infinite alternate;
}
.aurora-blob-1 {
  width: 720px; height: 500px;
  top: -180px; left: -120px;
  background: radial-gradient(ellipse, rgba(212,175,55,.22) 0%, transparent 72%);
}
.aurora-blob-2 {
  width: 580px; height: 420px;
  top: 10px; right: -150px;
  background: radial-gradient(ellipse, rgba(124,58,237,.14) 0%, transparent 70%);
  animation-delay: -11s;
  animation-duration: 21s;
}
.aurora-blob-3 {
  width: 460px; height: 340px;
  bottom: 6%; left: 30%;
  background: radial-gradient(ellipse, rgba(212,175,55,.08) 0%, transparent 68%);
  animation-delay: -18s;
  animation-duration: 32s;
}
@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(2.5%, 2%) scale(1.05); }
}

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--page-x);
  height: 72px;
  background: rgba(6,10,20,.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 48px rgba(0,0,0,.35), inset 0 -1px 0 rgba(212,175,55,.06);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(212,175,55,.15) 0%, rgba(6,10,20,.90) 100%);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,175,55,.28);
  box-shadow:
    0 0 18px rgba(212,175,55,.22),
    0 0 36px rgba(124,58,237,.10);
  flex-shrink: 0;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav-logo-icon img {
  width: 26px; height: 26px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(212,175,55,.45));
  transition: transform .28s var(--ease), filter .28s var(--ease);
}
.nav-logo:hover .nav-logo-icon {
  box-shadow:
    0 0 28px rgba(212,175,55,.40),
    0 0 56px rgba(212,175,55,.15);
  border-color: rgba(212,175,55,.45);
}
.nav-logo:hover .nav-logo-icon img {
  transform: rotate(12deg) scale(1.06);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  line-height: 1;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--accent-primary);
  font-weight: 400;
  font-size: 1.3rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .22s var(--ease);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  border-radius: 2px;
  transition: width .26s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent-primary); }
.nav-links a.active::after { width: 100%; }

/* Age pill */
.nav-pill {
  font-size: .68rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-dim);
  border: 1px solid rgba(212,175,55,.22);
  padding: .32rem .9rem;
  border-radius: var(--radius-pill);
  letter-spacing: .08em;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .25s var(--ease);
}

/* ── UTILITY ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-primary);
}

.section-body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.80;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .22s var(--ease);
  cursor: pointer;
  border: none;
  letter-spacing: .025em;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(0) scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }
.btn:focus-visible {
  outline: 2px solid rgba(212,175,55,.75);
  outline-offset: 3px;
}

/* Primary – royal gold gradient */
.btn-primary {
  background: linear-gradient(135deg, #f5e06e 0%, #d4af37 40%, #b8860b 80%, #7c3aed 140%);
  color: #060a14;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow:
    0 0 24px rgba(212,175,55,.28),
    0 0 56px rgba(212,175,55,.10),
    0 4px 24px rgba(0,0,0,.40);
  font-weight: 700;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.18) 48%, transparent 100%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 36px rgba(212,175,55,.45),
    0 0 72px rgba(212,175,55,.18),
    0 8px 32px rgba(0,0,0,.45);
  color: #040811;
}
.btn-primary:hover::before {
  opacity: 1;
  animation: shimmer .9s var(--ease) both;
}
@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(212,175,55,.12);
}

/* Gold – darker variant */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 55%, #7c3aed 130%);
  color: #f0ead8;
  border: 1px solid rgba(212,175,55,.30);
  box-shadow:
    0 0 22px rgba(212,175,55,.25),
    0 0 48px rgba(212,175,55,.10);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 36px rgba(212,175,55,.42),
    0 0 72px rgba(212,175,55,.16);
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition:
    border-color .26s var(--ease),
    transform .26s var(--ease),
    box-shadow .26s var(--ease);
}
.card:hover {
  border-color: rgba(212,175,55,.32);
  transform: translateY(-3px);
  box-shadow:
    0 16px 48px rgba(0,0,0,.45),
    0 0 0 1px rgba(212,175,55,.06);
}
.card-accent-top {
  position: relative;
  overflow: hidden;
}
.card-accent-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-light), var(--accent-primary), transparent);
}

/* Icon boxes */
.icon-box {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(212,175,55,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.icon-box img { width: 32px; height: 32px; object-fit: contain; }
.icon-box-gold {
  background: rgba(212,175,55,.08);
  border-color: rgba(212,175,55,.18);
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  margin: 1.5rem 0;
  border-radius: 2px;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

/* ============================================================
   HOME PAGE
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(5.5rem, 13vw, 10rem) var(--page-x) clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .20em;
  text-transform: uppercase;
  border: 1px solid var(--border-soft);
  padding: .35rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2.4rem;
  background: rgba(212,175,55,.04);
  backdrop-filter: blur(8px);
}
.hero-eyebrow span { color: var(--accent-primary); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 700;
  line-height: 1.00;
  letter-spacing: -.02em;
  margin-bottom: 1.8rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-primary);
}
.hero-gold {
  background: linear-gradient(135deg, #f5e06e 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 1.1rem;
  line-height: 1.80;
}

.hero-microcopy {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 3rem;
  letter-spacing: .04em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .42rem;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust-item svg { width: 13px; height: 13px; color: var(--accent-primary); }

/* Mini slot preview */
.hero-preview {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--page-x) clamp(3rem, 6vw, 5rem);
}
.hero-preview-card {
  background: linear-gradient(160deg, rgba(212,175,55,.06) 0%, rgba(9,14,28,.92) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow:
    0 32px 96px rgba(0,0,0,.60),
    0 0 0 1px rgba(212,175,55,.06),
    var(--glow-soft);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero-preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-light), var(--accent-primary), transparent);
}
.hero-preview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.08) 0%, transparent 65%);
  pointer-events: none;
}
.preview-label {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 600;
}
.preview-reels {
  display: flex;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.preview-reel {
  width: 76px; height: 76px;
  background: var(--bg-dark);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.preview-reel.lit {
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(212,175,55,.28);
}
.preview-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .95rem 1.15rem;
  background: var(--bg-dark);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}
.preview-balance-label { font-size: .73rem; color: var(--muted); font-weight: 500; }
.preview-balance-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.preview-spin-btn { width: 100%; margin-top: 1.1rem; justify-content: center; }

/* ── HOME SECTIONS ── */
.section { position: relative; z-index: 1; }

/* Bonus strip */
.bonus-strip {
  padding: var(--section-y) var(--page-x);
  background:
    radial-gradient(ellipse at 10% 15%, rgba(212,175,55,.10) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 25%, rgba(124,58,237,.08) 0%, transparent 40%),
    var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 1;
}
.bonus-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.bonus-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.2rem;
}
.bonus-card {
  padding: 2rem 1.6rem;
  position: relative;
  overflow: hidden;
  border-color: var(--border-soft);
  background: linear-gradient(180deg, rgba(212,175,55,.07) 0%, rgba(9,14,28,.88) 100%);
}
.bonus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 20%, rgba(212,175,55,.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .28s var(--ease);
  pointer-events: none;
}
.bonus-card:hover::after { opacity: 1; }
.bonus-tier {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: .5rem;
}
.bonus-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin: .65rem 0 .45rem;
}
.bonus-desc { color: var(--text-2); font-size: .9rem; line-height: 1.72; }

.bonus-timer-row { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.bonus-timer-pill {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: rgba(6,10,20,.75);
  box-shadow: 0 0 40px rgba(212,175,55,.05);
  backdrop-filter: blur(8px);
}
.bonus-timer-label {
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 600;
}
.bonus-timer-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bonus-timer-value.low-time {
  animation: luxury-flicker 1.1s ease-in-out infinite;
}
@keyframes luxury-flicker {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 12px rgba(212,175,55,.18)); }
  50% { filter: brightness(1.5) drop-shadow(0 0 24px rgba(212,175,55,.38)); }
}

.bonus-actions { display: flex; justify-content: center; gap: 1rem; }
.bonus-toast {
  text-align: center;
  margin-top: 1.1rem;
  min-height: 1.25em;
  font-size: .92rem;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.bonus-toast.show { opacity: 1; transform: none; }

.bonus-redeem-spinning {
  animation: bonus-redeem-spin .85s var(--ease) both;
}
@keyframes bonus-redeem-spin {
  0% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-2px) rotate(14deg); }
  70% { transform: translateY(0) rotate(-10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* About strip */
.about-strip { padding: var(--section-y) var(--page-x); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.about-body p { color: var(--text-2); margin-bottom: 1.1rem; font-size: .97rem; }
.about-body p:last-child { margin-bottom: 0; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.5;
}
.stat-box:hover {
  border-color: rgba(212,175,55,.28);
  box-shadow: 0 0 32px rgba(212,175,55,.07);
}
.stat-box-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .45rem;
}
.stat-box-label { font-size: .78rem; color: var(--muted); line-height: 1.42; }

/* Features */
.features {
  padding: var(--section-y) var(--page-x);
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  max-width: 1120px;
  margin: 0 auto;
}
.feature-card { padding: 2.2rem 1.9rem; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 1.1rem 0 .65rem;
}
.feature-card p { font-size: .9rem; color: var(--text-2); line-height: 1.72; }

/* How */
.how { padding: var(--section-y) var(--page-x); }
.how-inner { max-width: 1120px; margin: 0 auto; }
.how-header { max-width: 560px; margin-bottom: 3.5rem; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(16.67% + 16px); right: calc(16.67% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), rgba(212,175,55,.2), var(--accent-primary));
}
.how-step { text-align: center; }
.how-step-num {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(212,175,55,.18);
}
.how-step-num {
  background: var(--surface);
  color: var(--accent-primary);
  -webkit-text-fill-color: var(--accent-primary);
}
.how-step h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .55rem; }
.how-step p { font-size: .88rem; color: var(--text-2); }

/* Support */
.support {
  padding: var(--section-y) var(--page-x);
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
}
.support-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.support-links-grid { display: flex; flex-direction: column; gap: 1.1rem; }
.support-link-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all .24s var(--ease);
}
.support-link-card:hover {
  background: var(--surface-2);
  border-color: var(--border);
  transform: translateX(5px);
  box-shadow: 0 0 20px rgba(212,175,55,.06);
}
.support-link-name { font-weight: 600; font-size: .95rem; margin-bottom: .15rem; }
.support-link-desc { font-size: .8rem; color: var(--muted); }
.support-link-arrow { margin-left: auto; color: var(--muted); font-size: .9rem; transition: color .2s var(--ease); }
.support-link-card:hover .support-link-arrow { color: var(--accent-primary); }

/* CTA Banner */
.cta-banner { margin: var(--section-y) auto; max-width: 1120px; padding: 0 var(--page-x); }
.cta-banner-inner {
  background: linear-gradient(135deg, rgba(212,175,55,.08) 0%, rgba(9,14,28,.96) 55%, rgba(124,58,237,.05) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-light), var(--accent-primary), transparent);
}
.cta-banner-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .9rem;
}
.cta-banner h2 em { font-style: italic; font-weight: 400; color: var(--accent-primary); }
.cta-banner p { color: var(--text-2); max-width: 480px; margin: 0 auto 2.4rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) var(--page-x) clamp(3.5rem, 6vw, 5rem);
}
.about-hero .section-title { max-width: 640px; margin: .5rem auto 1.25rem; }
.about-hero .section-body { margin: 0 auto; text-align: center; }

.about-mission {
  position: relative; z-index: 1;
  padding: 0 var(--page-x) var(--section-y);
}
.about-mission-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem);
}
.about-mission-card p { color: var(--text-2); font-size: .97rem; margin-bottom: 1rem; max-width: 760px; }
.about-mission-card p:last-child { margin-bottom: 0; }

.about-pillars {
  position: relative; z-index: 1;
  padding: var(--section-y) var(--page-x);
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  max-width: 1120px;
  margin: 3rem auto 0;
}
.pillar-card { padding: 2.1rem 1.7rem; }
.pillar-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: .95rem 0 .55rem; }
.pillar-card p { font-size: .88rem; color: var(--text-2); line-height: 1.68; }

.about-commitment {
  position: relative; z-index: 1;
  padding: var(--section-y) var(--page-x);
}
.commitment-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.commit-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.commit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-size: .9rem;
  color: var(--text-2);
  transition: border-color .22s var(--ease);
}
.commit-item:hover { border-color: rgba(212,175,55,.28); }
.commit-dot {
  width: 8px; height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .48rem;
  box-shadow: 0 0 8px rgba(212,175,55,.40);
}
.about-cta { position: relative; z-index: 1; }

/* ============================================================
   PLAY PAGE
   ============================================================ */
.play-header {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) var(--page-x) 2rem;
}
.play-header p.disclaimer-tag {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}
.play-header .section-title { max-width: 540px; margin: .5rem auto 0; }

.play-stats {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding: 2rem var(--page-x) 2.5rem;
}
.play-stat { text-align: center; }
.play-stat-label {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .3rem;
  font-weight: 600;
}
.play-stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.01em;
}

.play-main {
  position: relative; z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--page-x) 6rem;
}
.game-card { margin-bottom: 1.5rem; }
.game-top {
  background: linear-gradient(150deg, rgba(212,175,55,.06) 0%, rgba(9,14,28,.96) 100%);
  padding: 2.25rem;
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.win-message {
  min-height: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5e06e, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity .3s;
  margin-bottom: 1rem;
}
.win-message.show { opacity: 1; }

.reels { display: flex; justify-content: center; gap: .8rem; }
.reel {
  width: 88px; height: 88px;
  background: var(--bg-dark);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.reel.spinning .reel-sym { animation: sym-blur .07s steps(1) infinite; }
.reel.win-reel {
  border-color: var(--accent-primary);
  box-shadow: 0 0 24px rgba(212,175,55,.32);
  animation: reel-pulse .5s ease 3;
}
@keyframes reel-pulse {
  0%,100% { box-shadow: 0 0 24px rgba(212,175,55,.30); }
  50% { box-shadow: 0 0 48px rgba(124,58,237,.22); }
}
@keyframes sym-blur { to {} }

.game-controls { padding: 1.75rem 2.25rem; }
.bet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.bet-row-label { font-size: .73rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.bet-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.bet-opt {
  padding: .36rem .92rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-weight: 500;
}
.bet-opt:hover, .bet-opt.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-dim);
}

.spin-row { display: flex; justify-content: center; }
.spin-btn-el { min-width: 210px; justify-content: center; font-size: 1rem; }
.spin-icon-el { display: inline-block; transition: transform .2s; }

.paytable {
  padding: 1.5rem 2.25rem 2rem;
  border-top: 1px solid var(--border-soft);
}
.paytable h3 { font-size: .7rem; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.paytable-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.pay-item { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--text-2); }
.pay-mult { color: var(--accent-primary); font-weight: 600; }

.play-disclaimer {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.7rem;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.68;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) var(--page-x) clamp(3rem, 6vw, 4.5rem);
}
.contact-hero .section-title { max-width: 520px; margin: .5rem auto 1.25rem; }
.contact-hero .section-body { margin: 0 auto; }

.contact-main {
  position: relative; z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--page-x) 6rem;
}
.contact-info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; margin-bottom: 2.5rem; }
.contact-info-card { padding: 2rem; }
.contact-info-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: .9rem 0 .3rem; }
.contact-info-card .info-sub { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.contact-info-card .info-val { font-size: .92rem; color: var(--accent-primary); font-weight: 600; text-decoration: none; }
.contact-info-card a.info-val:hover { text-decoration: underline; }

.form-wrap { margin-bottom: 1.5rem; }
.form-wrap-header { padding: 2.1rem 2.6rem 1.6rem; border-bottom: 1px solid var(--border-soft); }
.form-wrap-header h2 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: .35rem; }
.form-wrap-header p { font-size: .9rem; color: var(--text-2); }
.form-body { padding: 2.1rem 2.6rem 2.6rem; }

.field-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; margin-bottom: 1.35rem; }
.field { display: flex; flex-direction: column; gap: .44rem; margin-bottom: 1.35rem; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: .78rem; color: var(--text-2); letter-spacing: .05em; font-weight: 500; }
.field label .req { color: var(--accent-primary); margin-left: 1px; }
.field input, .field textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .86rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 400;
  outline: none;
  width: 100%;
  transition: border-color .22s, box-shadow .22s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
.field input.invalid, .field textarea.invalid { border-color: var(--error); }
.field textarea { min-height: 155px; resize: none; line-height: 1.68; }
.field-error { font-size: .76rem; color: var(--error); display: none; }
.field-error.show { display: block; }

.submit-row { display: flex; justify-content: flex-end; margin-top: 1.85rem; }
.success-note {
  display: none;
  background: rgba(52,211,153,.06);
  border: 1px solid rgba(52,211,153,.22);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--success);
  text-align: center;
  margin-top: 1.25rem;
}
.success-note.show { display: block; }

.rp-note {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}
.rp-note a { color: var(--accent-primary); text-decoration: none; }
.rp-note a:hover { text-decoration: underline; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  position: relative; z-index: 1;
  text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) var(--page-x) clamp(3rem, 6vw, 4.5rem);
}
.legal-hero .section-title { max-width: 600px; margin: .5rem auto 1.25rem; }
.legal-hero .section-body { margin: 0 auto; }

.legal-main {
  position: relative; z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--page-x) 6rem;
  display: grid;
  gap: 1.35rem;
}
.legal-card { padding: 2rem 2.2rem; }
.legal-card h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; margin-bottom: .75rem; }
.legal-card p, .legal-card li { color: var(--text-2); font-size: .93rem; line-height: 1.80; }
.legal-card ul { list-style: disc; margin-left: 1.25rem; }
.legal-card a { color: var(--accent-primary); text-decoration: none; }
.legal-card a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER (shared)
   ============================================================ */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border-soft);
  padding: 4rem var(--page-x) 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6,10,20,.60) 100%);
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-disclaimer {
  font-size: .77rem;
  color: var(--muted);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 2.5rem;
  max-width: 680px;
  line-height: 1.70;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand-tagline {
  font-size: .84rem;
  color: var(--muted);
  margin-top: .85rem;
  max-width: 240px;
  line-height: 1.65;
}
.footer-col-title {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .84rem; color: var(--muted); text-decoration: none; transition: color .22s var(--ease); }
.footer-col a:hover { color: var(--accent-primary); }

.footer-socials { display: flex; gap: .65rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-socials a {
  font-size: .72rem;
  color: var(--muted);
  text-decoration: none;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all .22s var(--ease);
  font-weight: 500;
}
.footer-socials a:hover {
  color: var(--accent-primary);
  border-color: var(--border-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.footer-copy { font-size: .78rem; color: var(--muted); }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
  transition: border-color .2s, color .2s;
}
.age-badge:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* SSL trust badge */
.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  padding: .3rem .8rem;
  border-radius: var(--radius-pill);
  transition: border-color .2s, color .2s;
}
.ssl-badge svg { color: var(--accent-primary); }
.ssl-badge:hover {
  border-color: var(--border);
  color: var(--text-2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .features-grid, .how-steps { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
  .bonus-grid { grid-template-columns: 1fr; }
  .about-grid, .support-inner, .commitment-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(6,10,20,.97);
    backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--border-soft);
    padding: 1.5rem var(--page-x);
    gap: 1.2rem;
    z-index: 499;
  }
  .nav-toggle { display: flex; }
  .features-grid, .how-steps { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .contact-info-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-duo { grid-template-columns: 1fr; }
  .form-body { padding: 1.5rem; }
  .form-wrap-header { padding: 1.5rem; }
  .legal-card { padding: 1.5rem 1.3rem; }
  .reels { gap: .5rem; }
  .reel { width: 64px; height: 64px; font-size: 1.75rem; }
  .preview-reel { width: 58px; height: 58px; font-size: 1.5rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .bonus-timer-pill { flex-direction: column; align-items: flex-start; }
  .bonus-actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .reel { width: 54px; height: 54px; font-size: 1.5rem; }
  .reels { gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .aurora-blob { animation: none !important; }
  .reveal { transition: none !important; transform: none !important; opacity: 1 !important; }
  .bonus-timer-value.low-time { animation: none !important; }
  .bonus-redeem-spinning { animation: none !important; }
  .btn-primary:hover::before { animation: none !important; }
}
