:root {
  --bg: #08111f;
  --bg2: #0d1830;
  --card: rgba(11, 23, 43, 0.78);
  --card-strong: rgba(13, 28, 54, 0.95);
  --line: rgba(112, 161, 255, 0.2);
  --text: #edf4ff;
  --muted: #adc0df;
  --blue: #33b1ff;
  --blue2: #78d9ff;
  --gold: #e6c06a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  --radius: 26px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(51, 177, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(230, 192, 106, 0.12), transparent 20%),
    linear-gradient(180deg, #07111e 0%, #081522 45%, #060d18 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 14, 24, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-row { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 18px 0; }
.brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(135deg, rgba(51,177,255,.22), rgba(230,192,106,.22));
  border: 1px solid rgba(120,217,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 24px rgba(51,177,255,.18);
}
.brand-name { font-weight: 800; letter-spacing: .03em; }
.header-meta { display: flex; align-items: center; gap: 12px; max-width: 720px; }
.age-badge {
  padding: 10px 12px; border-radius: 999px; font-weight: 800; white-space: nowrap;
  border: 1px solid rgba(230,192,106,.45); color: #ffe7ab;
  background: rgba(230,192,106,.12);
  box-shadow: 0 0 20px rgba(230,192,106,.18);
}
.header-disclaimer { margin: 0; color: var(--muted); font-size: .95rem; }
.hero-section { padding: 64px 0 28px; }
.hero-card {
  position: relative; overflow: hidden;
  padding: 42px; border-radius: 34px;
  background: linear-gradient(180deg, rgba(13,28,54,.96), rgba(9,20,37,.94));
  border: 1px solid rgba(120,217,255,.16);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-glow {
  position: absolute; inset: auto auto -80px 50%; transform: translateX(-50%);
  width: 70%; height: 180px; filter: blur(44px);
  background: radial-gradient(circle, rgba(51,177,255,.32), rgba(51,177,255,0));
  pointer-events: none;
}
.eyebrow, .section-topline {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue2); font-weight: 700;
}
.hero-card h1 { margin: 12px 0 6px; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.hero-brand { margin: 0 0 14px; font-size: 1.1rem; color: #ffde87; font-weight: 700; }
.hero-text { max-width: 680px; margin: 0 0 26px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.primary-button, .secondary-button {
  border: 0; cursor: pointer; border-radius: 16px; padding: 15px 22px;
  font-size: 1rem; font-weight: 800; transition: transform .18s ease, box-shadow .2s ease, opacity .2s ease;
}
.primary-button {
  color: #03101f;
  background: linear-gradient(135deg, var(--blue2), #b8efff);
  box-shadow: 0 12px 30px rgba(51,177,255,.25), inset 0 1px 0 rgba(255,255,255,.55);
}
.secondary-button {
  color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11);
}
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button:active, .secondary-button:active { transform: translateY(0) scale(.98); }
.featured-section { padding: 12px 0 34px; }
.featured-frame {
  position: relative; width: min(650px, 100%); margin: 0 auto; aspect-ratio: 1 / 1;
  padding: 12px; border-radius: 30px;
  background: linear-gradient(135deg, rgba(230,192,106,.98), rgba(255,233,171,.7));
  box-shadow: 0 0 0 3px rgba(108,79,22,.35), 0 0 26px rgba(230,192,106,.22), var(--shadow);
}
.featured-frame::before {
  content: ""; position: absolute; inset: 7px; border-radius: 24px; pointer-events: none;
  border: 2px solid rgba(95, 67, 16, .66);
}
.featured-frame img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.shimmer-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.14) 48%, transparent 66%);
  transform: translateX(-130%); animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { transform: translateX(130%); } }
.demo-section, .trust-section, .info-section, .responsible-section, .legal-section { padding: 24px 0 40px; }
.demo-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: 24px; align-items: start; }
.game-card, .stats-card, .mini-card, .content-card, .support-card, .legal-card {
  background: linear-gradient(180deg, rgba(12,24,46,.94), rgba(8,18,32,.95));
  border: 1px solid rgba(120,217,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
}
.game-card, .stats-card, .legal-card { padding: 24px; }
.game-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.game-head h2, .stats-card h3, .section-head h2 { margin: 10px 0 8px; }
.game-head p, .stats-card p, .content-card p, .mini-card p, .legal-card p, .footer-copy { color: var(--muted); line-height: 1.7; }
.balance-card {
  min-width: 145px; padding: 14px; border-radius: 20px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
}
.balance-card span { display: block; color: var(--muted); font-size: .86rem; }
.balance-card strong { display: block; font-size: 1.8rem; margin-top: 6px; color: #c9f3ff; }
.slot-board {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: 24px; padding: 16px; border: 1px solid rgba(255,255,255,.08);
}
.slot-cell {
  position: relative; min-height: 112px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(18,35,61,.95), rgba(10,20,34,.95));
  border: 1px solid rgba(96,146,255,.16); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}
.slot-cell::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(120,217,255,.14), transparent 60%);
}
.slot-cell.spinning { animation: spinPulse .45s ease infinite alternate; }
@keyframes spinPulse { from { transform: translateY(-2px); opacity: .72; } to { transform: translateY(3px); opacity: 1; } }
.slot-cell.win {
  border-color: rgba(230,192,106,.78);
  box-shadow: 0 0 0 1px rgba(255,219,132,.2), 0 0 28px rgba(230,192,106,.22);
}
.symbol {
  position: relative; z-index: 1; font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800;
  filter: drop-shadow(0 0 12px rgba(51,177,255,.3));
}
.symbol-label {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.line-overlay {
  position: absolute; inset: 50% 10px auto 10px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(230,192,106,.95), transparent);
  box-shadow: 0 0 18px rgba(230,192,106,.4);
  transform: translateY(-50%) scaleX(0); opacity: 0; transition: all .3s ease;
}
.slot-cell.win .line-overlay { transform: translateY(-50%) scaleX(1); opacity: 1; }
.game-controls { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.pulse-button { animation: pulse 2.3s ease infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 12px 30px rgba(51,177,255,.25), inset 0 1px 0 rgba(255,255,255,.55);} 50% { box-shadow: 0 12px 36px rgba(51,177,255,.38), 0 0 0 10px rgba(51,177,255,.05), inset 0 1px 0 rgba(255,255,255,.55);} }
.game-info-strip { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.stats-list { display: grid; gap: 12px; margin-top: 18px; }
.stat-item {
  padding: 16px 18px; border-radius: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.stat-item span { color: var(--muted); }
.stat-item strong { font-size: 1.25rem; }
.cards-grid { display: grid; gap: 18px; }
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.info-grid { grid-template-columns: repeat(2, 1fr); }
.responsible-grid { grid-template-columns: repeat(4, 1fr); }
.mini-card, .content-card, .support-card { padding: 22px; }
.support-card {
  display: flex; align-items: center; justify-content: center; min-height: 118px;
  font-size: 1.1rem; font-weight: 800;
}
.support-card:hover { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(0,0,0,.24); }
.section-head { margin-bottom: 18px; }
.legal-card h1 { margin-top: 0; }
.legal-list { color: var(--muted); line-height: 1.8; }
.site-footer {
  margin-top: auto; border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(4, 11, 19, 0.92); backdrop-filter: blur(12px);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 24px; padding: 28px 0; }
.footer-brand, .footer-heading { font-weight: 800; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); }
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: none; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 22px; background: rgba(6,13,22,.95);
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow);
}
.cookie-banner.active { display: flex; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.modal-backdrop {
  position: fixed; inset: 0; display: none; place-items: center; z-index: 50;
  background: rgba(3, 8, 15, 0.76); backdrop-filter: blur(8px);
}
.modal-backdrop.active { display: grid; }
.modal-card {
  width: min(460px, calc(100% - 28px)); padding: 28px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(12,24,46,.98), rgba(8,18,32,.98));
  border: 1px solid rgba(120,217,255,.14); box-shadow: var(--shadow);
}
.checkbox-row { display: flex; gap: 12px; align-items: center; margin: 18px 0; color: var(--muted); }
.checkbox-row input { width: 20px; height: 20px; accent-color: var(--blue); }
button:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.sparkle {
  position: absolute; width: 8px; height: 8px; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, #fff3c0, rgba(255,243,192,0)); animation: sparkle 900ms ease forwards;
}
@keyframes sparkle { from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(-22px) scale(.2); opacity: 0; } }
@media (max-width: 980px) {
  .header-row, .header-meta, .footer-grid, .demo-grid, .trust-grid, .responsible-grid { grid-template-columns: 1fr; }
  .header-row, .header-meta { display: grid; }
  .demo-grid, .footer-grid, .trust-grid, .responsible-grid { display: grid; }
  .info-grid { grid-template-columns: 1fr; }
  .game-head { flex-direction: column; }
  .balance-card { width: 100%; }
}
@media (max-width: 700px) {
  .hero-card { padding: 28px 22px; }
  .slot-cell { min-height: 90px; border-radius: 18px; }
  .game-card, .stats-card, .content-card, .mini-card, .support-card, .legal-card { padding: 18px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
