:root {
  --bg: #0e0905;
  --bg-soft: #17100a;
  --surface: rgba(28, 17, 9, 0.88);
  --surface-strong: rgba(34, 20, 10, 0.96);
  --text: #fff6ea;
  --muted: #d8bf9a;
  --border: rgba(255, 186, 92, 0.18);
  --gold: #ffd16a;
  --orange: #ff8a3d;
  --orange-strong: #f76d1a;
  --success: #ffd889;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, rgba(255, 170, 66, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(247, 109, 26, 0.14), transparent 30%),
    linear-gradient(180deg, #0c0704 0%, #140d07 48%, #0d0704 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.main-content { flex: 1; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow-content { width: min(860px, calc(100% - 32px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(10, 6, 4, 0.76);
  border-bottom: 1px solid rgba(255, 185, 98, 0.14);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.logo-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  filter: drop-shadow(0 8px 20px rgba(255, 161, 66, 0.35));
}
.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}
.age-badge,
.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #140b06;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 145, 55, 0.35);
}
.header-disclaimer {
  margin: 0;
  max-width: 520px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-section { position: relative; padding: 48px 0 18px; }
.hero-glow {
  position: absolute;
  inset: 26px 7% auto;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 175, 76, 0.24) 0%, rgba(255, 155, 50, 0.08) 42%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-card,
.content-card,
.game-card,
.stats-card,
.info-card,
.cookie-card,
.age-gate-card,
.artwork-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(35, 21, 10, 0.92), rgba(19, 11, 6, 0.96));
  box-shadow: var(--shadow);
}
.hero-card { padding: 36px; overflow: hidden; }
.hero-card::after,
.artwork-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 229, 177, 0.08) 50%, transparent 78%);
}
.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 168, 66, 0.12);
  color: var(--success);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-card h1 { margin: 16px 0 4px; font-size: clamp(2rem, 5vw, 3.6rem); }
.hero-card h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 3.6vw, 2.4rem); color: var(--gold); }
.hero-card p { margin: 0; max-width: 720px; color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.hero-actions { margin-top: 24px; }
.section-title-row { margin: 0 0 18px; }
.section-title-row h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title-row p { margin: 0; color: var(--muted); }
.artwork-section,
.demo-section,
.trust-section,
.info-section,
.responsible-section,
.page-content { padding: 22px 0; }
.artwork-frame { padding: 16px; overflow: hidden; }
.featured-art { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; }
.shimmer-frame::before {
  content: "";
  position: absolute;
  top: -30%; left: -40%;
  width: 38%; height: 160%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,225,163,0.35), rgba(255,255,255,0));
  animation: shimmer 5s linear infinite;
}
.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 22px;
}
.game-card,
.stats-card,
.content-card { padding: 28px; }
.game-topbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.mini-label { display: block; color: var(--muted); font-size: 0.8rem; margin-bottom: 6px; }
.slot-machine {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 194, 115, 0.14);
  background: linear-gradient(180deg, rgba(13, 8, 5, 0.94), rgba(20, 12, 6, 0.98));
}

.slot-machine {
  position: relative;
  overflow: hidden;
}
.slot-machine::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255, 203, 107, 0.08) 0%, transparent 58%);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.slot-machine.is-spinning::before,
.slot-machine.has-win::before {
  opacity: 1;
  transform: scale(1);
}
.payline-overlay {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 3;
}
.payline-strike {
  position: absolute;
  height: 6px;
  transform-origin: left center;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 208, 113, 0.1), rgba(255, 241, 198, 0.95), rgba(255, 154, 53, 0.1));
  box-shadow: 0 0 24px rgba(255, 190, 82, 0.62), 0 0 10px rgba(255, 236, 186, 0.48);
  animation: paylineSweep 0.6s ease forwards;
}
.slot-cell {
  position: relative;
  overflow: hidden;
}
.slot-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 48%, transparent 100%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}
.slot-cell.spinning {
  animation: reelSpin 0.42s ease-in-out infinite;
}
.slot-cell.settle {
  animation: settlePop 0.26s ease;
}
.slot-cell.is-winning {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(255, 228, 158, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 221, 137, 0.26), 0 0 30px rgba(255, 195, 76, 0.42), inset 0 0 22px rgba(255, 213, 126, 0.16);
}
.slot-cell.is-winning::after {
  opacity: 1;
  animation: shineSweep 1.1s ease-in-out infinite;
}
.slot-cell.win-burst {
  animation: winPulse 0.95s ease-in-out 2;
  animation-delay: var(--burst-delay, 0ms);
}
.slot-row.is-win .slot-cell {
  transform: translateY(-2px);
}
@keyframes reelSpin {
  0% { transform: translateY(0) scale(1); filter: blur(0); }
  30% { transform: translateY(-6px) scale(0.98); filter: blur(0.5px); }
  60% { transform: translateY(6px) scale(1.02); filter: blur(1px); }
  100% { transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes settlePop {
  0% { transform: scale(0.92); }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes shineSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes winPulse {
  0%, 100% { transform: translateY(-3px) scale(1.02); }
  50% { transform: translateY(-6px) scale(1.08); }
}
@keyframes paylineSweep {
  0% { opacity: 0; transform: translateY(-50%) scaleX(0) var(--rotation, rotate(0deg)); }
  100% { opacity: 1; }
}
.slot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-cell {
  min-height: 110px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: clamp(2rem, 6vw, 3rem);
  background: linear-gradient(180deg, rgba(255, 206, 121, 0.1), rgba(255, 145, 55, 0.05));
  border: 1px solid rgba(255, 209, 106, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 18px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.slot-cell.spinning { animation: bounceSpin 0.45s ease; }
.slot-row.is-win .slot-cell {
  transform: translateY(-2px);
  border-color: rgba(255, 223, 145, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 221, 137, 0.2), 0 0 26px rgba(255, 195, 76, 0.35), inset 0 0 18px rgba(255, 213, 126, 0.12);
}
.game-controls { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #180f08;
  box-shadow: 0 12px 24px rgba(255, 152, 53, 0.32);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}
.btn-full { width: 100%; }
.game-message {
  margin-top: 16px;
  min-height: 28px;
  color: var(--success);
  font-weight: 700;
}
.stats-card h3,
.info-card h3,
.content-card h1,
.content-card h2 { margin-top: 0; }
.stat-list { display: grid; gap: 14px; }
.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.badge-grid,
.info-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}
.badge-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card { padding: 24px; }
.info-card p,
.content-card p { color: var(--muted); line-height: 1.75; }
.link-card { transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.link-card:hover { transform: translateY(-3px); border-color: rgba(255, 208, 113, 0.44); box-shadow: 0 0 24px rgba(255, 152, 53, 0.15); }
.single-page-grid { margin-top: 18px; }
.site-footer {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 185, 98, 0.12);
  background: rgba(8, 5, 3, 0.72);
}
.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  padding: 26px 0 32px;
  align-items: start;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.footer-copy { margin: 0; color: var(--muted); }
.footer-links { display: grid; gap: 10px; }
.footer-links a,
.footer-contact p { color: var(--muted); margin: 0; }
.cookie-banner,
.age-gate {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 60;
}
.cookie-card {
  width: min(760px, 100%);
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}
.cookie-card p { margin: 6px 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.age-gate {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 4, 3, 0.82);
  backdrop-filter: blur(12px);
}
.age-gate-card {
  width: min(420px, 100%);
  padding: 30px;
  text-align: center;
}
.age-gate-card h2 { margin: 14px 0 20px; font-size: 1.8rem; }
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}
.checkbox-line input { width: 18px; height: 18px; accent-color: var(--orange); }
.content-card h2 { margin-bottom: 6px; margin-top: 24px; }
@keyframes shimmer {
  0% { transform: translateX(-10%) rotate(18deg); }
  100% { transform: translateX(410%) rotate(18deg); }
}
@keyframes bounceSpin {
  0% { transform: translateY(0) scale(1); }
  40% { transform: translateY(-6px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}
@media (max-width: 980px) {
  .header-row,
  .header-meta,
  .footer-grid,
  .demo-grid,
  .info-grid,
  .badge-grid { grid-template-columns: 1fr; }
  .header-row,
  .header-meta { display: grid; }
  .header-meta { justify-content: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1180px); }
  .hero-card,
  .game-card,
  .stats-card,
  .content-card,
  .info-card,
  .age-gate-card { padding: 22px; }
  .slot-cell { min-height: 82px; border-radius: 16px; }
  .game-topbar { grid-template-columns: 1fr; }
  .info-grid,
  .badge-grid { grid-template-columns: 1fr; }
  .cookie-card { flex-direction: column; align-items: stretch; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

@keyframes paylineSweep {
  0% { opacity: 0; clip-path: inset(0 100% 0 0 round 999px); }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round 999px); }
}

[hidden] { display: none !important; }
body.modal-open { overflow: hidden; touch-action: none; }
.age-gate.is-visible { display: grid; }
.age-gate { pointer-events: auto; }
.age-gate-card, .age-gate-card * { pointer-events: auto; }
.age-gate-card .btn { position: relative; z-index: 2; }
