:root {
  --bg: #080808;
  --bg-soft: #111111;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-2: rgba(24, 24, 24, 0.94);
  --text: #f5efe2;
  --muted: #c7b58e;
  --gold: #d4a63c;
  --gold-bright: #ffd977;
  --gold-soft: rgba(212, 166, 60, 0.22);
  --line: rgba(255, 220, 138, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, rgba(212,166,60,0.12), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(255,217,119,0.08), transparent 24%),
    linear-gradient(180deg, #050505, #0b0b0b 45%, #070707);
  color: var(--text);
  display: flex;
  flex-direction: column;
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { opacity: 0.9; }
img { max-width: 100%; display: block; }
.page-wrap { flex: 1; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6,6,6,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px; align-items: center;
  padding: 14px 0;
}
.brand-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; }
.brand-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,217,119,0.28), rgba(212,166,60,0.1));
  border: 1px solid rgba(255,217,119,0.35);
  box-shadow: 0 0 24px rgba(212,166,60,0.18);
}
.brand-text { letter-spacing: 0.06em; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 34px;
  border-radius: 999px; color: #221600; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 18px rgba(255, 215, 98, 0.25);
}
.age-badge.big { width: 76px; height: 76px; font-size: 1.25rem; margin: 0 auto 8px; }
.header-disclaimer { margin: 0; color: var(--muted); font-size: 0.92rem; text-align: right; }
.hero-section { padding: 48px 0 22px; }
.glow-shell { position: relative; }
.glow-shell::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,217,119,0.18), transparent 34%, rgba(212,166,60,0.14));
  filter: blur(12px); z-index: -1;
}
.hero-card, .panel, .info-card, .legal-card, .cookie-card, .age-gate-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(14,14,14,0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-card { padding: 56px 38px; text-align: center; overflow: hidden; }
.hero-card::after {
  content: ''; position: absolute; inset: auto 15% -100px; height: 180px;
  background: radial-gradient(circle, rgba(212,166,60,0.34), transparent 62%);
  z-index: -1;
}
.eyebrow { display: inline-block; color: var(--gold-bright); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 14px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p, li { line-height: 1.7; color: #e9dcc0; }
.btn {
  border: 0; cursor: pointer; border-radius: 999px; padding: 14px 22px; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary {
  color: #261700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 28px rgba(212,166,60,0.25);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.pulse-btn { animation: buttonPulse 2.8s infinite; }
@keyframes buttonPulse { 0%,100%{ box-shadow:0 10px 28px rgba(212,166,60,0.18);} 50%{ box-shadow:0 10px 32px rgba(255,217,119,0.35);} }
.featured-section { padding: 10px 0 28px; }
.featured-frame {
  position: relative; width: min(650px, 100%); margin: 0 auto; aspect-ratio: 1/1; padding: 14px;
  border-radius: 34px; overflow: hidden;
  background: linear-gradient(145deg, rgba(255,217,119,0.26), rgba(66,47,10,0.55));
  box-shadow: 0 0 0 1px rgba(255,217,119,0.22), 0 0 42px rgba(212,166,60,0.18), var(--shadow);
}
.featured-frame::before, .featured-frame::after {
  content: ''; position: absolute; inset: 10px; border-radius: 28px; pointer-events: none;
  border: 1px solid rgba(255,217,119,0.35);
}
.featured-frame::after { inset: 18px; border-color: rgba(255,217,119,0.16); }
.shimmer-frame::marker { content: none; }
.shimmer-frame::before {}
.shimmer-frame .featured-image {
  width: 100%; height: 100%; object-fit: cover; border-radius: 24px;
  border: 1px solid rgba(255,217,119,0.16);
}
.featured-frame > .featured-image { position: relative; z-index: 1; }
.featured-frame::selection { background: transparent; }
.featured-frame .featured-image { background: #100d07; }
.featured-frame::after { box-shadow: inset 0 0 24px rgba(255,217,119,0.06); }
.featured-frame::before { z-index: 2; }
.featured-frame::after { z-index: 2; }
.featured-frame::after,
.featured-frame::before,
.featured-frame .featured-image { pointer-events: none; }
.featured-frame::before { overflow: hidden; }
.featured-frame::after {}
.featured-frame::before { }
.featured-frame::before,
.featured-frame::after {}
.featured-frame::before { }
.featured-frame.shimmer-frame::selection { background: transparent; }
.shimmer-frame { isolation: isolate; }
.shimmer-frame::after { content:''; }
.shimmer-frame::before { }
.shimmer-frame::after,
.shimmer-frame::before {}
.shimmer-frame::before { border: 1px solid rgba(255,217,119,0.35); }
.shimmer-frame::after { border: 1px solid rgba(255,217,119,0.16); }
.shimmer-frame::selection { background: transparent; }
.shimmer-frame .featured-image { z-index: 1; position: relative; }
.shimmer-frame::before,
.shimmer-frame::after { z-index: 2; }
.shimmer-frame::after {
  content: '';
  position: absolute;
  top: -20%; left: -35%;
  width: 30%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: rotate(18deg);
  animation: shimmer 5.5s linear infinite;
  border: 0;
}
@keyframes shimmer { from { left: -35%; } to { left: 125%; } }
.demo-section { padding: 12px 0 28px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr); gap: 24px; align-items: start; }
.panel { padding: 24px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.panel-head.compact { margin-bottom: 14px; }
.balance-pill {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,217,119,0.08); color: var(--muted);
  border: 1px solid rgba(255,217,119,0.12); white-space: nowrap;
}
.slot-machine {
  position: relative; padding: 22px; border-radius: 28px; background: linear-gradient(180deg, #0d0d0d, #17130b);
  border: 1px solid rgba(255,217,119,0.15); overflow: hidden; min-height: 414px;
}
.slot-machine::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,217,119,0.1), transparent 36%);
  pointer-events: none;
}
.reels { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.slot-cell {
  position: relative; min-height: 112px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(31,31,31,0.96), rgba(12,12,12,0.96));
  border: 1px solid rgba(255,217,119,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 10px 22px rgba(0,0,0,0.22);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.slot-cell::after {
  content: ''; position: absolute; inset: auto 12px 0; height: 40px;
  background: radial-gradient(circle, rgba(255,217,119,0.18), transparent 72%);
  pointer-events: none;
}
.slot-cell .symbol {
  font-size: clamp(2.2rem, 4vw, 3rem);
  filter: drop-shadow(0 0 12px rgba(255,217,119,0.18));
  transition: transform .3s ease, opacity .3s ease, filter .3s ease;
}
.slot-cell.spinning .symbol { animation: reelSpin .42s linear infinite; opacity: 0.86; }
@keyframes reelSpin { 0% { transform: translateY(-18px) scale(0.96); } 50% { transform: translateY(14px) scale(1.04); } 100% { transform: translateY(-18px) scale(0.96); } }
.slot-cell.win {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255,217,119,0.55);
  box-shadow: inset 0 0 0 1px rgba(255,217,119,0.18), 0 0 24px rgba(255,217,119,0.18), 0 14px 32px rgba(0,0,0,0.25);
}
.slot-cell.win .symbol { animation: winPulse .9s ease-in-out 3; filter: drop-shadow(0 0 18px rgba(255,217,119,0.52)); }
@keyframes winPulse { 0%,100%{ transform:scale(1);} 50%{ transform:scale(1.16);} }
.payline {
  position: absolute; left: 28px; right: 28px; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,217,119,0.95), transparent);
  opacity: 0; transform: scaleX(0.4); transition: opacity .25s ease, transform .25s ease;
  filter: blur(0.2px); box-shadow: 0 0 18px rgba(255,217,119,0.42); z-index: 3;
}
.payline.active { opacity: 1; transform: scaleX(1); animation: lineFlash .9s ease 2; }
.payline-0 { top: 78px; }
.payline-1 { top: 206px; }
.payline-2 { top: 334px; }
@keyframes lineFlash { 0%,100%{ opacity:.35; } 50%{ opacity:1; } }
.sparkle-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spark {
  position: absolute; width: 10px; height: 10px; border-radius: 999px;
  background: radial-gradient(circle, rgba(255,247,207,0.95), rgba(255,217,119,0.3) 55%, transparent 70%);
  animation: sparkleMove 1.2s ease forwards;
}
@keyframes sparkleMove { 0% { opacity: 0; transform: translateY(8px) scale(0.4); } 15%{ opacity:1; } 100% { opacity: 0; transform: translateY(-38px) scale(1.6); } }
.game-status {
  margin: 18px 0 16px; padding: 14px 16px; min-height: 58px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--muted);
}
.game-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.game-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 0.94rem; }
.stats-list { display: grid; gap: 14px; }
.stat-item {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.stat-item strong { font-size: 1.1rem; color: var(--gold-bright); }
.badges-section, .info-section, .responsible-section, .legal-section { padding: 14px 0 30px; }
.section-heading { text-align: center; margin-bottom: 22px; }
.card-grid { display: grid; gap: 18px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.info-card, .legal-card { padding: 22px; }
.info-card { position: relative; overflow: hidden; }
.info-card::before {
  content: ''; position: absolute; inset: -30% auto auto -10%; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,217,119,0.08), transparent 68%);
}
.resource-card { display: block; }
.legal-card { max-width: 860px; margin: 0 auto; }
.site-footer {
  margin-top: auto; border-top: 1px solid var(--line);
  background: rgba(6,6,6,0.92); padding: 26px 0 34px;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr 1fr; gap: 20px; }
.footer-brand, .footer-title { font-weight: 800; margin-bottom: 12px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cookie-banner, .age-gate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center;
  padding: 18px; background: rgba(0,0,0,0.4);
}
.age-gate { place-items: center; }
.cookie-card { max-width: 620px; padding: 18px; }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
.age-gate-card { max-width: 460px; text-align: center; padding: 26px; }
.check-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 16px 0 18px; }
[hidden] { display: none !important; }
@media (max-width: 960px) {
  .demo-grid, .four-up, .three-up, .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .header-disclaimer { text-align: center; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 20px, 1120px); }
  .hero-card { padding: 34px 20px; }
  .panel { padding: 18px; }
  .slot-machine { padding: 14px; min-height: 344px; }
  .slot-cell { min-height: 88px; border-radius: 18px; }
  .payline-0 { top: 56px; }
  .payline-1 { top: 157px; }
  .payline-2 { top: 258px; }
  .game-actions, .game-meta, .panel-head, .cookie-actions { flex-direction: column; }
  .demo-grid, .four-up, .three-up, .footer-grid { grid-template-columns: 1fr; }
}
