:root {
  --bg: #090613;
  --bg-alt: #120b24;
  --card: rgba(17, 12, 34, 0.92);
  --card-strong: #17102d;
  --line: rgba(255,255,255,0.08);
  --text: #f7f1ff;
  --muted: #bbaed8;
  --purple: #6f35ff;
  --blue: #2ac6ff;
  --gold: #efca6a;
  --gold-soft: rgba(239, 202, 106, 0.35);
  --success: #8cf5d6;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(111,53,255,0.24), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(42,198,255,0.18), transparent 18%),
    linear-gradient(180deg, #080510 0%, #0b0717 45%, #090613 100%);
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-main { flex: 1; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 5, 14, 0.8);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 78px;
}
.brand-block { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(239,202,106,0.18), rgba(42,198,255,0.2));
  border: 1px solid rgba(239,202,106,0.35);
  box-shadow: 0 0 24px rgba(239,202,106,0.15), inset 0 0 22px rgba(255,255,255,0.04);
  color: var(--gold);
}
.brand-text { letter-spacing: 0.04em; font-size: 0.95rem; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 54px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(239,202,106,0.45); color: var(--gold); font-weight: 800;
  background: rgba(239,202,106,0.08);
}
.header-disclaimer { margin: 0; text-align: right; color: var(--muted); font-size: 0.92rem; }
.hero-section { position: relative; padding: 72px 0 36px; }
.hero-glow {
  position: absolute; inset: 30px 10% auto; height: 260px;
  background: radial-gradient(circle, rgba(111,53,255,0.4), rgba(42,198,255,0.17) 42%, transparent 72%);
  filter: blur(32px); pointer-events: none;
}
.hero-card, .game-card, .stats-card, .badge-card, .info-card, .support-card, .content-card, .age-card, .cookie-content {
  background: linear-gradient(180deg, rgba(28,18,52,0.92), rgba(12,8,23,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  position: relative; z-index: 1; padding: 36px; max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: sheen 9s linear infinite;
  pointer-events: none;
}
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.hero-card h1, .section-heading h2, .page-hero h1 { margin: 0 0 10px; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.95; }
.hero-brand { color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.btn {
  border: 0; border-radius: 16px; cursor: pointer; font-weight: 800; letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary {
  color: #0a0910; background: linear-gradient(135deg, var(--gold), #ffe5a0 46%, var(--blue));
  box-shadow: 0 10px 28px rgba(42,198,255,0.18), 0 10px 34px rgba(239,202,106,0.2);
}
.btn-outline {
  background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid rgba(255,255,255,0.12);
}
.btn-large { min-width: 220px; padding: 16px 24px; }
.featured-art-section { padding: 12px 0 54px; display: flex; justify-content: center; }
.art-frame {
  position: relative; width: min(650px, 100%); aspect-ratio: 1 / 1; border-radius: 28px; padding: 16px;
  background: linear-gradient(135deg, rgba(239,202,106,0.18), rgba(255,224,155,0.08));
  border: 1px solid rgba(239,202,106,0.28);
  box-shadow: 0 0 0 2px rgba(239,202,106,0.14), 0 0 0 10px rgba(239,202,106,0.06), 0 0 32px rgba(239,202,106,0.18);
  overflow: hidden;
}
.art-frame::before, .art-frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: 22px; border: 1px solid rgba(239,202,106,0.35); pointer-events: none;
}
.art-frame::after { inset: 18px; border-color: rgba(255,235,180,0.28); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.shimmer-frame::selection { background: transparent; }
.shimmer-frame > img { position: relative; z-index: 1; }
.shimmer-frame::marker { content: ''; }
.shimmer-frame .sparkle { display:none; }
.shimmer-frame::before { z-index: 2; }
.shimmer-frame::after { z-index: 2; }
.shimmer-frame span { display:none; }
.shimmer-frame:after { box-shadow: inset 0 0 20px rgba(255,255,255,0.06); }
.shimmer-frame::selection { color: inherit; }
.shimmer-frame::before,
.shimmer-frame::after { pointer-events: none; }
.shimmer-frame::before {
  animation: frameSweep 8s ease-in-out infinite;
}
.demo-game-section { padding: 0 0 30px; }
.section-heading { margin-bottom: 22px; }
.game-layout {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr); gap: 22px; align-items: start;
}
.game-card, .stats-card { padding: 20px; }
.balance-row {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 16px;
}
.meta-label { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.slot-shell {
  position: relative; padding: 14px; border-radius: 24px; background: radial-gradient(circle at top, rgba(42,198,255,0.08), transparent 42%), rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.slot-shell::before,
.slot-shell::after {
  content: ""; position: absolute; inset: 10px; border-radius: 20px; pointer-events: none; opacity: 0;
}
.slot-shell::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 28%, transparent 72%, rgba(42,198,255,0.08));
  transition: opacity .25s ease;
}
.slot-shell::after {
  inset: -10% 18%;
  background: linear-gradient(180deg, transparent, rgba(42,198,255,0.12), rgba(239,202,106,0.12), transparent);
  filter: blur(18px);
  transform: translateY(-120%);
}
.slot-shell.is-spinning::before { opacity: 1; }
.slot-shell.is-spinning::after { opacity: 1; animation: shellRush 1.2s linear infinite; }
.slot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative;
}
.slot-cell {
  position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center; font-size: clamp(1.7rem, 4.6vw, 2.5rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 0 18px rgba(255,255,255,0.04), 0 8px 22px rgba(0,0,0,0.22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform, filter;
}
.slot-cell::before {
  content: ""; position: absolute; inset: -22% 18% 52% 18%; border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  opacity: .55;
}
.slot-cell::after {
  content:""; position:absolute; inset:auto -10% -55% -10%; height: 65%; background: radial-gradient(circle at center, rgba(42,198,255,0.2), transparent 65%);
  opacity:.7;
}
.slot-cell.spinning {
  animation: slotSpin .28s cubic-bezier(.22,.61,.36,1) infinite;
  animation-delay: var(--spin-delay, 0ms);
}
.slot-cell.settle { animation: settlePop .3s ease; }
.slot-cell.win {
  border-color: rgba(239,202,106,0.82);
  box-shadow: 0 0 20px rgba(239,202,106,0.32), 0 0 34px rgba(42,198,255,0.18), inset 0 0 22px rgba(239,202,106,0.14);
  transform: translateY(-2px) scale(1.02);
}
.slot-symbol {
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
  text-shadow: 0 0 16px rgba(42,198,255,0.18);
}
.slot-cell.spinning .slot-symbol {
  opacity: .58;
  transform: translateY(8px) scale(.88);
  filter: blur(1.2px);
}
.line-overlay { position:absolute; inset:0; pointer-events:none; }
.line-beam {
  position:absolute; left:6%; right:6%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(239,202,106,0.95), rgba(42,198,255,0.85), transparent);
  box-shadow: 0 0 18px rgba(239,202,106,0.38);
  animation: lineFlash .85s ease;
}
.result-box {
  min-height: 56px; margin: 16px 0; display:flex; align-items:center; justify-content:center; text-align:center;
  border-radius: 16px; background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); color: var(--success); font-weight: 700;
}
.game-actions { display:flex; gap: 12px; flex-wrap: wrap; }
.pulse-btn { animation: pulse 2.2s ease-in-out infinite; }
.stats-card h3 { margin-top: 0; }
.stats-list { display: grid; gap: 14px; }
.stat-item {
  display:flex; justify-content:space-between; gap: 10px; padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
}
.stat-item span { color: var(--muted); }
.trust-badges-section, .info-blocks, .support-grid {
  display:grid; gap: 18px;
}
.trust-badges-section { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 22px 0 34px; }
.badge-card, .info-card, .support-card { padding: 22px; }
.info-blocks { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 4px 0 40px; }
.responsible-play-section { padding-bottom: 44px; }
.support-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.inner-page { padding: 36px 0 48px; }
.slim-hero { margin-bottom: 20px; }
.legal-copy { padding: 30px; line-height: 1.75; }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: rgba(5,4,10,0.92); }
.footer-grid {
  padding: 28px 0 30px; display:grid; gap: 18px; grid-template-columns: 1.4fr 1fr 1fr;
}
.footer-links { margin: 0; padding: 0; list-style: none; display:grid; gap: 10px; }
.cookie-banner, .age-gate {
  position: fixed; inset: auto 16px 16px 16px; z-index: 40;
}
.cookie-banner[hidden], .age-gate[hidden] { display: none !important; }
.cookie-content {
  max-width: 760px; margin-left:auto; padding: 18px 20px; display:flex; gap: 16px; align-items:center; justify-content:space-between;
}
.cookie-actions { display:flex; gap: 10px; flex-wrap: wrap; }
.age-gate {
  inset: 0; background: rgba(3,3,8,0.82); backdrop-filter: blur(10px); display:grid; place-items:center; padding: 18px;
}
.age-card { width:min(460px, 100%); padding: 28px; text-align:center; }
.age-pill {
  width:72px; height:72px; margin: 0 auto 16px; display:grid; place-items:center; border-radius: 50%;
  background: rgba(239,202,106,0.12); color: var(--gold); font-weight: 900; font-size: 1.3rem; border:1px solid rgba(239,202,106,0.3);
}
.age-check { display:flex; gap: 10px; justify-content:center; align-items:center; margin: 18px 0; color: var(--muted); }
.sparkle {
  position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events:none;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(239,202,106,0.75) 45%, transparent 70%);
  box-shadow: 0 0 14px rgba(239,202,106,0.5);
  animation: sparkle 900ms ease forwards;
}
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(150%); } }
@keyframes frameSweep { 0%, 100% { opacity:.65; } 50% { opacity:1; box-shadow: inset 0 0 36px rgba(255,255,255,0.06), 0 0 14px rgba(239,202,106,0.18); } }
@keyframes slotSpin {
  0% { transform: translateY(-18px) scaleY(1.08); }
  50% { transform: translateY(0) scaleY(.96); }
  100% { transform: translateY(18px) scaleY(1.08); }
}
@keyframes settlePop {
  0% { transform: translateY(-10px) scale(1.08); }
  65% { transform: translateY(4px) scale(.96); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes shellRush {
  from { transform: translateY(-120%); }
  to { transform: translateY(120%); }
}
@keyframes pulse { 0%,100% { box-shadow: 0 10px 28px rgba(42,198,255,0.18), 0 10px 34px rgba(239,202,106,0.2); } 50% { box-shadow: 0 0 0 6px rgba(239,202,106,0.07), 0 10px 32px rgba(42,198,255,0.26), 0 10px 38px rgba(239,202,106,0.26); } }
@keyframes lineFlash { from { opacity: 0; transform: scaleX(.7); } 30% { opacity:1; } to { opacity:0; transform: scaleX(1.04); } }
@keyframes sparkle {
  from { opacity:0; transform: translate3d(0, 0, 0) scale(.6); }
  40% { opacity:1; }
  to { opacity:0; transform: translate3d(var(--drift-x, 0px), var(--drift-y, -24px), 0) scale(1.2); }
}
@media (max-width: 980px) {
  .game-layout, .footer-grid, .support-grid, .trust-badges-section { grid-template-columns: 1fr 1fr; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-disclaimer { grid-column: 1 / -1; text-align: left; padding-bottom: 14px; }
}
@media (max-width: 720px) {
  .hero-card, .game-card, .stats-card, .badge-card, .info-card, .support-card, .content-card { padding: 20px; }
  .info-blocks, .support-grid, .trust-badges-section, .footer-grid, .game-layout { grid-template-columns: 1fr; }
  .balance-row { grid-template-columns: 1fr; }
  .cookie-content { flex-direction: column; align-items: stretch; }
  .brand-text { font-size: .86rem; }
  .header-inner { gap: 10px; }
}
