:root {
  --bg: #0d0f18;
  --panel: #161a29;
  --panel-2: #20263a;
  --text: #f7f7fb;
  --muted: #b8bdd1;
  --gold: #f5c451;
  --gold-2: #d99b2b;
  --danger: #ff7b7b;
  --ok: #7dffbd;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245,196,81,.16), transparent 36rem),
    radial-gradient(circle at bottom right, rgba(217,155,43,.11), transparent 34rem),
    var(--bg);
  color: var(--text);
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,15,24,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--gold);
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover, .nav a:focus { color: var(--text); }
.age-badge {
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 700;
}
.disclaimer-bar {
  background: #19110a;
  color: #ffe6a3;
  border-bottom: 1px solid rgba(245,196,81,.24);
  font-size: .9rem;
  padding: 10px 16px;
  text-align: center;
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  padding: 76px 0 44px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: .82rem;
}
h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: .98;
  margin: 14px 0;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  margin: 0 0 14px;
}
h3 { margin: 0 0 12px; }
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 720px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
}
.btn-primary {
  color: #17100a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}
.btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.hero-card { min-height: 310px; }
.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.badge {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .88rem;
}
.section { padding: 54px 0; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.muted {
  color: var(--muted);
  line-height: 1.65;
}
.warning { color: #ffe6a3; }
.slot-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}
.slot-machine {
  background: #080a12;
  border: 1px solid rgba(245,196,81,.25);
  border-radius: 24px;
  padding: 20px;
}
.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.reel {
  display: grid;
  grid-template-rows: repeat(3, 72px);
  gap: 8px;
}
.symbol {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #222942, #141827);
  border: 1px solid var(--line);
  font-size: 2rem;
  transition: transform .18s ease;
}
.spinning .symbol {
  animation: pulse .22s linear infinite alternate;
}
@keyframes pulse {
  from { transform: translateY(-3px) scale(.97); opacity: .7; }
  to { transform: translateY(3px) scale(1.03); opacity: 1; }
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
select {
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.balance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.stat {
  flex: 1;
  min-width: 160px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
}
.stat strong {
  display: block;
  color: var(--gold);
  font-size: 1.35rem;
  margin-top: 4px;
}
.result {
  min-height: 28px;
  margin: 10px 0 0;
  color: var(--ok);
  font-weight: 800;
}
.result.error { color: var(--danger); }
.list {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.paytable {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  font-size: .95rem;
}
.paytable th, .paytable td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}
.paytable th { color: var(--gold); }
.form { display: grid; gap: 12px; }
.form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}
.form input, .form textarea {
  width: 100%;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.form textarea {
  min-height: 120px;
  resize: vertical;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  margin-top: 50px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.small { font-size: .88rem; }
.noscript { padding: 32px; }

@media (max-width: 860px) {
  .header-inner {
    display: grid;
    padding: 14px 0;
  }
  .hero, .slot-wrap, .footer-grid, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 44px; }
  .reel { grid-template-rows: repeat(3, 58px); }
  .symbol { font-size: 1.55rem; }
}
