:root {
  --bg: #081018;
  --bg-soft: #0d1822;
  --card: rgba(15, 27, 38, 0.78);
  --card-strong: rgba(12, 24, 34, 0.95);
  --text: #ecfaff;
  --muted: #9db5c6;
  --line: rgba(103, 242, 255, 0.14);
  --primary: #67f2ff;
  --primary-2: #1a8bff;
  --success: #82ffd3;
  --warning: #fef08a;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(26,139,255,0.22), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(103,242,255,0.12), transparent 24%),
    linear-gradient(180deg, #07111a 0%, #081018 38%, #0b1621 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { -webkit-tap-highlight-color: transparent; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 11, 18, 0.72);
  border-bottom: 1px solid rgba(103, 242, 255, 0.10);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: 48px; height: 48px; border-radius: 16px; box-shadow: 0 0 30px rgba(103, 242, 255, 0.22); overflow: hidden; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }
.header-meta { display: flex; align-items: center; gap: 12px; max-width: 760px; }
.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #041018;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(103,242,255,.28);
}
.header-disclaimer { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

.hero { padding: 44px 0 20px; }
.hero-card,
.section-card,
.stat-card,
.trust-card,
.info-card,
.rg-card,
.feature-frame,
.game-panel,
.stats-panel,
.modal-card,
.cookie-banner {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: auto auto -70px -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,242,255,0.28), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-card::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,139,255,0.24), transparent 64%);
  pointer-events: none;
}
.hero-card > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(103,242,255,.09);
  color: var(--primary);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.02; margin: 18px 0 14px; max-width: 12ch; }
.hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 58ch; margin: 0 0 24px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.primary-btn,
.secondary-btn {
  position: relative;
  z-index: 2;
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.primary-btn { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #041018; box-shadow: 0 16px 34px rgba(26,139,255,.26); }
.secondary-btn { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid rgba(255,255,255,.08); }
.primary-btn:hover,
.secondary-btn:hover { transform: translateY(-1px); }
.primary-btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.hero-side { display: grid; gap: 16px; align-content: center; }
.kpi-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kpi-card { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.kpi-card span { display: block; color: var(--muted); font-size: .86rem; margin-bottom: 8px; }
.kpi-card strong { font-size: 1.22rem; }

.section { padding: 18px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0; }
.section-heading p { color: var(--muted); margin: 0; max-width: 58ch; line-height: 1.7; }
.feature-frame { position: relative; border-radius: 28px; padding: 16px; overflow: hidden; }
.feature-frame::before {
  content: '';
  position: absolute;
  inset: -120% 35% auto -10%;
  height: 240%;
  width: 32%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(22deg);
  animation: shimmer 4.4s linear infinite;
  pointer-events: none;
}
.feature-art { aspect-ratio: 1 / 1; display: block; width: 100%; object-fit: cover; border-radius: 24px; border: 1px solid rgba(255,255,255,.1); }
@keyframes shimmer { from { transform: translateX(-220%) rotate(22deg); } to { transform: translateX(420%) rotate(22deg); } }

.game-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.game-panel,
.stats-panel { border-radius: 28px; padding: 22px; }
.demo-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.balance-chip { display: inline-flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.balance-chip strong { color: var(--success); }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.06);
}
.slot-cell {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 3rem);
  background: rgba(6, 14, 22, 0.95);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, opacity .16s ease;
}
.slot-cell.spinning { animation: pulseSpin .42s linear infinite; opacity: .88; }
.slot-cell.win {
  border-color: rgba(130,255,211,.76);
  box-shadow: 0 0 0 1px rgba(130,255,211,.22), 0 0 24px rgba(130,255,211,.22);
  background: linear-gradient(180deg, rgba(130,255,211,.12), rgba(6,14,22,.96));
  transform: translateY(-2px);
}
@keyframes pulseSpin { 0% { transform: translateY(-1px) scale(1); } 50% { transform: translateY(1px) scale(1.03); } 100% { transform: translateY(-1px) scale(1); } }
.game-controls { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.game-meta { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.mini-card { padding: 14px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.mini-card span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.result-box { min-height: 58px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; margin-top: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: var(--warning); font-weight: 700; }

.stats-grid,
.trust-grid,
.info-grid,
.rg-grid { display: grid; gap: 16px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card,
.trust-card,
.info-card,
.rg-card { border-radius: 24px; padding: 22px; }
.stat-card span,
.trust-card span,
.rg-card span { color: var(--muted); display: block; margin-bottom: 10px; font-size: .88rem; }
.stat-card strong { font-size: 1.4rem; }
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.trust-card h3,
.info-card h3,
.rg-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.trust-card p,
.info-card p,
.rg-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.info-grid { grid-template-columns: repeat(4, 1fr); }
.rg-grid { grid-template-columns: repeat(4, 1fr); }
.rg-card a { color: var(--primary); font-weight: 700; }

.site-footer { margin-top: 24px; border-top: 1px solid rgba(103,242,255,0.1); background: rgba(5, 10, 16, 0.92); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0 34px;
}
.footer-brand { font-weight: 800; margin-bottom: 10px; font-size: 1.06rem; }
.footer-copy { color: var(--muted); margin: 0 0 12px; max-width: 56ch; }
.footer-contact { display: grid; gap: 6px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 16px; }
.footer-links a { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 12px 14px; }

.page-hero { padding: 40px 0 12px; }
.page-card { border-radius: 28px; padding: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-card h1 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.page-card h2 { margin-top: 28px; font-size: 1.2rem; }
.page-card p,
.page-card li { color: var(--muted); line-height: 1.8; }
.page-card ul { padding-left: 20px; }

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(2, 7, 12, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.age-gate.active { display: flex; }
.modal-card { width: min(480px, 100%); border-radius: 30px; padding: 28px; text-align: center; }
.modal-card h2 { margin: 0 0 10px; font-size: 2rem; }
.modal-card p { color: var(--muted); line-height: 1.7; margin: 0 0 18px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); margin-bottom: 18px; }
.check-row input { margin-top: 3px; accent-color: var(--primary); }
.full-btn { width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(680px, calc(100% - 24px));
  border-radius: 24px;
  padding: 16px;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-copy { color: var(--muted); line-height: 1.65; }
.cookie-copy strong { display: block; color: var(--text); margin-bottom: 4px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }

@media (max-width: 960px) {
  .hero-card,
  .game-layout,
  .footer-grid,
  .info-grid,
  .trust-grid,
  .rg-grid,
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .hero-card { padding: 26px; }
}

@media (max-width: 720px) {
  .header-row,
  .header-meta,
  .demo-top,
  .cookie-inner,
  .cookie-actions { flex-direction: column; align-items: flex-start; }

  .hero-card,
  .game-layout,
  .footer-grid,
  .info-grid,
  .trust-grid,
  .rg-grid,
  .stats-grid,
  .game-meta,
  .kpi-strip,
  .footer-links { grid-template-columns: 1fr; }

  .hero { padding-top: 24px; }
  .hero-card,
  .game-panel,
  .stats-panel,
  .page-card,
  .feature-frame { border-radius: 24px; }
  .slot-grid { gap: 10px; padding: 12px; }
  .slot-cell { border-radius: 18px; }
  .cookie-banner { bottom: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .primary-btn,
  .cookie-actions .secondary-btn { width: 100%; }
}
