/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #07091a;
  color: #e6e9f5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
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; }

/* ===== VARIABLES ===== */
:root {
  --bg: #07091a;
  --bg-2: #0e1230;
  --bg-3: #161a3d;
  --card: rgba(20, 24, 56, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #e6e9f5;
  --text-dim: #9ca3c7;
  --primary: #ffcc00;
  --primary-2: #ff9500;
  --purple: #a855f7;
  --cyan: #22d3ee;
  --green: #25d366;
  --grad: linear-gradient(135deg, #ffcc00 0%, #ff6b00 50%, #a855f7 100%);
  --grad-2: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  --shadow-glow: 0 0 40px rgba(255, 204, 0, 0.25);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ===== UTILS ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent { color: var(--primary); }
.inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.inline-link:hover { color: #ffe88a; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #0a0a14;
  box-shadow: 0 8px 30px rgba(255, 204, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255, 204, 0, 0.55); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== BACKGROUND GLOWS ===== */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
}
body::before { top: -200px; left: -200px; width: 600px; height: 600px; background: rgba(168, 85, 247, 0.25); }
body::after { bottom: -200px; right: -200px; width: 600px; height: 600px; background: rgba(255, 149, 0, 0.18); }

/* ===== PURPLE LIGHTNING FX ===== */
.lightning-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.lightning-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 91% 22%, rgba(216, 180, 254, 0.22), transparent 18%),
    radial-gradient(circle at 84% 50%, rgba(124, 58, 237, 0.2), transparent 23%),
    radial-gradient(circle at 9% 46%, rgba(168, 85, 247, 0.14), transparent 18%);
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: lightningSkyFlash 6.2s infinite steps(1, end);
}
.lightning-svg {
  position: absolute;
  overflow: visible;
  opacity: 0;
  filter: url(#purpleLightningGlow);
  mix-blend-mode: screen;
  animation: lightningReveal 6.2s infinite steps(1, end);
}
.lightning-main {
  width: 260px;
  height: 960px;
  top: -70px;
  right: 1.5%;
  transform: rotate(5deg);
  animation-delay: 0.1s;
}
.lightning-side-left {
  width: 150px;
  height: 620px;
  top: 130px;
  left: 3%;
  transform: rotate(-13deg) scale(0.84);
  animation-delay: 2.15s;
}
.lightning-side-right {
  width: 130px;
  height: 520px;
  top: 42%;
  right: 22%;
  transform: rotate(20deg) scale(0.72);
  animation-delay: 3.6s;
}
.lightning-core,
.lightning-hot {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.lightning-core {
  stroke: #b76cff;
  stroke-width: 8;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.92))
    drop-shadow(0 0 18px rgba(192, 132, 252, 0.98))
    drop-shadow(0 0 38px rgba(147, 51, 234, 0.9))
    drop-shadow(0 0 74px rgba(59, 130, 246, 0.44));
  animation: lightningDraw 6.2s infinite cubic-bezier(.2,.9,.2,1);
}
.lightning-hot {
  stroke: #fff9ff;
  stroke-width: 2.4;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 1))
    drop-shadow(0 0 10px rgba(233, 213, 255, 0.95));
  animation: lightningDraw 6.2s infinite cubic-bezier(.2,.9,.2,1), lightningHotFlicker 6.2s infinite steps(1, end);
}
.branch {
  stroke-width: 5;
  opacity: 0.9;
}
.branch-a { animation-delay: 0.05s; }
.branch-b { animation-delay: 0.1s; }
.branch-c { animation-delay: 0.16s; }
@keyframes lightningDraw {
  0%, 7.7% { stroke-dashoffset: 980; opacity: 0; }
  8.1% { stroke-dashoffset: 720; opacity: 1; }
  8.7%, 9.35% { stroke-dashoffset: 0; opacity: 1; }
  9.7%, 10.2% { opacity: 0.18; }
  10.65%, 11.25% { opacity: 1; stroke-dashoffset: 0; }
  12%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes lightningReveal {
  0%, 7.5%, 12.2%, 100% { opacity: 0; }
  8%, 9.4% { opacity: 1; }
  10.45%, 11.35% { opacity: 0.92; }
}
@keyframes lightningHotFlicker {
  0%, 7.8%, 12.1%, 100% { stroke-width: 1.4; }
  8.15%, 8.4% { stroke-width: 4; }
  8.7%, 9.15% { stroke-width: 2.6; }
  10.7%, 11.1% { stroke-width: 3.4; }
}
@keyframes lightningSkyFlash {
  0%, 7.7%, 9.8%, 12.4%, 100% { opacity: 0.18; }
  8.1%, 8.55% { opacity: 0.78; }
  8.9%, 9.25% { opacity: 0.42; }
  10.65%, 11.25% { opacity: 0.62; }
}
@supports not (filter: url(#purpleLightningGlow)) {
  .lightning-svg { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lightning-field,
  .lightning-svg,
  .lightning-core,
  .lightning-hot { animation: none; }
  .lightning-svg { opacity: 0.45; }
  .lightning-core,
  .lightning-hot {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(7, 9, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: padding .3s;
}
.navbar.scrolled { padding: 10px 0; background: rgba(7, 9, 26, 0.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: auto;
  height: 46px;
  max-width: 210px;
  object-fit: contain;
}
.footer-logo-img {
  height: 58px;
  max-width: 240px;
}
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #0a0a14;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
}
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
}
.nav-links { display: flex; gap: 28px; }
.mobile-auth-link { display: none; }
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dim);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta { padding: 10px 18px; }
.nav-register { box-shadow: none; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: transform .25s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-top: 100px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slide {
  display: none;
  animation: fadeIn .6s ease;
}
.slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
.slide-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 20px;
}
.slide-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(30px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 18px 0;
}
.slide-content p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 28px;
}
.promo-terms {
  max-width: 580px;
  max-height: 260px;
  overflow-y: auto;
  padding: 14px 16px;
  margin-bottom: 24px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.promo-terms strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
}
.promo-terms ol {
  padding-left: 18px;
  list-style: decimal;
}
.promo-terms li { margin-bottom: 6px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 1.5s infinite;
}
.badge-purple { color: #d4b3ff; background: rgba(168,85,247,.12); border-color: rgba(168,85,247,.3); }
.badge-gold { color: #ffe88a; background: rgba(255,232,138,.1); border-color: rgba(255,232,138,.3); }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.4);opacity:.6;} }

/* Hero visuals (CSS-only artwork — biar nggak butuh image) */
.slide-visual {
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f4a 0%, #0e1230 100%);
  border: 1px solid var(--card-border);
}
.slide-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,204,0,.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(168,85,247,.5), transparent 50%);
}
.slide-visual::after {
  content: '🎮';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 160px;
  filter: drop-shadow(0 0 30px rgba(255, 204, 0, 0.5));
}
.visual-2::after { content: '💎'; }
.visual-3::after { content: '👑'; }

.hero-banner-visual {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  background: #07091a;
  box-shadow: 0 22px 70px rgba(124, 58, 237, 0.35);
}
.hero-banner-visual::before,
.hero-banner-visual::after { content: none; }
.hero-banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-visual {
  aspect-ratio: 4 / 3;
  max-width: 520px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.18), #07091a 72%);
  box-shadow: 0 22px 70px rgba(124, 58, 237, 0.28);
}
.promo-visual::before,
.promo-visual::after { content: none; }
.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-dots {
  display: flex; gap: 10px; justify-content: center;
  padding: 30px 0;
}
.slider-dots button {
  width: 40px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  transition: background .2s;
}
.slider-dots button.active { background: var(--grad); }

/* ===== HOME INTRO ===== */
.home-intro {
  position: relative;
  z-index: 1;
  padding: 24px 0 10px;
}
.home-intro-inner {
  max-width: 980px;
  padding: 24px 28px;
  background:
    linear-gradient(135deg, rgba(20, 24, 56, 0.68), rgba(10, 13, 34, 0.78)),
    radial-gradient(circle at 88% 20%, rgba(168, 85, 247, 0.16), transparent 36%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.home-intro-inner p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.8;
}
.home-intro-inner p + p {
  margin-top: 14px;
}

/* ===== STATS ===== */
.stats { padding: 30px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 13px; margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05), transparent); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.5px;
}
.section-head p { color: var(--text-dim); max-width: 560px; margin: 12px auto 0; }

/* ===== GAME GRID ===== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.game-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 204, 0, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 30px rgba(255, 204, 0, 0.15);
}
.game-thumb {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.game-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--thumb-bg, linear-gradient(135deg, #1e3a8a, #6d28d9));
  opacity: .9;
}
.game-thumb-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.5));
}
.game-thumb-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.38));
}
.game-tag {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 10px;
  background: var(--grad);
  color: #0a0a14;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 999px;
  z-index: 2;
}
.game-info {
  padding: 14px;
  text-align: center;
  border-top: 1px solid var(--card-border);
}
.game-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.game-info span { color: var(--text-dim); font-size: 12px; }

/* ===== PRODUK TERLARIS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s, border-color .2s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(255,204,0,.2), rgba(168,85,247,.2));
  border: 1px solid var(--card-border);
  overflow: hidden;
  padding: 6px;
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card h3 { font-size: 15px; font-weight: 700; }
.product-card .product-sub { font-size: 12px; color: var(--text-dim); }
.product-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 10px;
}
.price-now {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.price-old { font-size: 14px; color: var(--text-dim); text-decoration: line-through; }
.product-discount {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  background: rgba(37, 211, 102, 0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform .2s;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px 22px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(168, 85, 247, .4); }
.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, .4));
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 13px; }

/* ===== TESTIMONI ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.testi-stars { color: var(--primary); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.testi p { color: var(--text-dim); margin-bottom: 18px; font-size: 14px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800;
  color: #0a0a14;
}
.testi-user strong { display: block; font-size: 14px; }
.testi-user span { color: var(--text-dim); font-size: 12px; }

/* ===== FAQ ===== */
.faq-section { padding-top: 30px; }
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  overflow: hidden;
  background: rgba(20, 24, 56, 0.78);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  flex: 0 0 auto;
}
.faq-item[open] summary {
  color: var(--primary);
  background: rgba(255, 204, 0, 0.09);
  border-bottom: 1px solid rgba(255, 204, 0, 0.16);
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p {
  padding: 17px 20px 20px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  margin: 40px 0;
  position: relative;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(255, 204, 0, 0.08), rgba(168, 85, 247, 0.08)),
    var(--bg-2);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 6px;
}
.cta-inner p { color: var(--text-dim); }

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 0;
  background: rgba(7, 9, 26, 0.6);
  border-top: 1px solid var(--card-border);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-desc { color: var(--text-dim); margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer ul li a:hover { color: var(--text); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chip {
  padding: 4px 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ===== MODAL ===== */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 200;
  align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .25s;
}
.modal.show { display: flex; }
.modal-content {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 20px;
  display: grid; place-items: center;
}
.modal-close:hover { background: rgba(255,255,255,.15); }
.modal-header { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.modal-game-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 32px;
  background: linear-gradient(135deg, rgba(255,204,0,.2), rgba(168,85,247,.2));
  border: 1px solid var(--card-border);
  overflow: hidden;
  padding: 7px;
}
.modal-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-header h3 { font-size: 20px; font-family: 'Orbitron', sans-serif; }
.modal-header p { color: var(--text-dim); font-size: 13px; }
.modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.modal-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0,0,0,.3);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.modal-input:focus { outline: none; border-color: var(--primary); }
.nominal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.nominal-item {
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  text-align: left;
  transition: all .2s;
}
.nominal-item:hover { border-color: rgba(255,204,0,.3); }
.nominal-item.active {
  border-color: var(--primary);
  background: rgba(255, 204, 0, 0.1);
  box-shadow: 0 0 0 1px var(--primary);
}
.nominal-item strong { display: block; font-size: 14px; }
.nominal-item span { font-size: 13px; color: var(--primary); font-weight: 600; }
.modal-footer {
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}
.modal-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.modal-total strong {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  color: var(--primary);
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  padding: 118px 0 70px;
  display: grid;
  align-items: center;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 44px;
  align-items: center;
}
.auth-copy h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  margin: 16px 0;
}
.auth-copy p {
  max-width: 600px;
  color: var(--text-dim);
  font-size: 16px;
}
.auth-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 680px;
}
.auth-highlight {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.auth-highlight strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 4px;
}
.auth-highlight span {
  color: var(--text-dim);
  font-size: 12px;
}
.auth-card {
  padding: 30px;
  background: rgba(14, 18, 48, 0.86);
  border: 1px solid rgba(255, 204, 0, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.auth-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 26px;
  margin-bottom: 8px;
}
.auth-card > p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 22px;
}
.auth-form { display: grid; gap: 14px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font: inherit;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
}
.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
}
.auth-check input { margin-top: 3px; }
.auth-switch {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 14px;
  text-align: center;
}
.auth-switch a {
  color: var(--primary);
  font-weight: 800;
}
.auth-consent {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.auth-consent a {
  color: var(--primary);
  font-weight: 800;
}
.auth-note {
  margin-top: 14px;
  padding: 12px;
  color: var(--text-dim);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}

/* ===== SUPPORT PAGE ===== */
.support-page {
  min-height: 100vh;
  padding: 130px 0 90px;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 58, 237, 0.18), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(255, 138, 0, 0.12), transparent 28%);
}
.support-shell {
  display: grid;
  grid-template-columns: minmax(0, 780px);
}
.support-content {
  padding: 36px;
  background: rgba(14, 18, 48, 0.72);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.support-content h1 {
  margin: 18px 0 16px;
  max-width: 720px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}
.support-lead,
.support-note-main,
.support-tip {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}
.support-note-main { margin-top: 8px; }
.support-points {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}
.support-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.support-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}
.support-point h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.support-point h2 span {
  color: var(--text);
  font-weight: 600;
}
.support-point p {
  color: var(--text-dim);
  font-size: 15px;
}
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.support-actions .btn {
  min-width: 180px;
}
.support-tip {
  font-size: 14px;
}

/* ===== LEGAL PAGE ===== */
.legal-page {
  padding: 120px 0 80px;
}
.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px;
  background: rgba(14, 18, 48, 0.76);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}
.legal-shell h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin: 14px 0 18px;
}
.legal-shell h2 {
  margin: 30px 0 10px;
  color: var(--primary);
  font-size: 20px;
}
.legal-shell p,
.legal-shell li {
  color: var(--text-dim);
  font-size: 15px;
}
.legal-shell p { margin-bottom: 14px; }
.legal-shell ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0 18px;
}
.legal-shell li { margin-bottom: 8px; }

/* ===== RTP POPUP ===== */
.rtp-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(260px, calc(100vw - 32px));
  padding: 12px;
  background: rgba(10, 13, 34, 0.94);
  border: 1px solid rgba(255, 204, 0, 0.32);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 138, 0, 0.18);
  backdrop-filter: blur(12px);
}
.rtp-popup.is-hidden { display: none; }
.rtp-popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(14, 18, 48, 0.96);
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.rtp-popup-close:hover {
  color: var(--primary);
  border-color: rgba(255, 204, 0, 0.5);
}
.rtp-popup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.rtp-popup p {
  margin: 10px 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.rtp-popup .btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .slide-inner { grid-template-columns: 1fr; text-align: center; }
  .slide-visual { margin: 30px auto 0; max-width: 320px; }
  .slide-content p { margin-left: auto; margin-right: auto; }
  .promo-terms { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-cta { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-card { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .logo-img { height: 38px; max-width: 170px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    padding: 20px;
    border-top: 1px solid var(--card-border);
    gap: 16px;
  }
  .mobile-auth-link { display: block; }
  .hero { padding-top: 80px; }
  .section { padding: 60px 0; }
  .cta-inner { padding: 30px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .auth-page { padding-top: 96px; }
  .auth-highlights { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .support-page { padding-top: 100px; }
  .support-content { padding: 24px; }
  .support-point { grid-template-columns: 34px 1fr; }
  .support-actions .btn { width: 100%; }
  .rtp-popup {
    right: 12px;
    bottom: 12px;
    width: min(210px, calc(100vw - 24px));
    padding: 10px;
  }
  .rtp-popup p { font-size: 12px; }
  .rtp-popup .btn {
    min-height: 38px;
    font-size: 12px;
  }
  .lightning-field { opacity: 0.7; }
  .lightning-main {
    right: -4%;
    height: 560px;
    transform: rotate(15deg) scaleX(0.82);
  }
  .lightning-side { display: none; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 18px; }
  .stat-num { font-size: 24px; }
  .features { grid-template-columns: 1fr; }
  .nominal-grid { grid-template-columns: 1fr; }
}
