:root {
  --bg: #090909;
  --bg-soft: #121212;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-2: rgba(27, 27, 27, 0.96);
  --line: rgba(255, 214, 102, 0.18);
  --text: #f7f1de;
  --muted: #cdbd8a;
  --gold: #d5aa3b;
  --gold-strong: #ffdf7d;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(213, 170, 59, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 223, 125, 0.08), transparent 30%),
    linear-gradient(180deg, #050505 0%, #0d0b08 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-header,
.page-main,
.site-footer {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1d1a10, #2a2411);
  color: var(--gold-strong);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,223,125,0.18), 0 12px 30px rgba(213,170,59,0.2);
}
.brand-stack { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; letter-spacing: 0.01em; }
.brand-sub { color: var(--muted); font-size: 0.92rem; }
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex: 1;
}
.age-pill {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,223,125,0.35);
  background: rgba(255,223,125,0.08);
  font-weight: 800;
}
.header-disclaimer {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.4;
}
.page-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 12px 0 42px;
}
.section-card,
.mini-card,
.info-card,
.support-card,
.stats-panel,
.game-panel,
.art-frame {
  background: linear-gradient(180deg, rgba(22,22,22,0.96), rgba(10,10,10,0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.section-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: auto auto -140px -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,170,59,0.35), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,223,125,0.08);
  color: var(--gold-strong);
  border: 1px solid rgba(255,223,125,0.15);
  margin-bottom: 14px;
  font-size: 0.85rem;
}
.hero-copy h1,
.text-page h1 { margin: 0 0 12px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 0.98; }
.hero-copy p,
.section-heading p,
.info-card p,
.support-card p,
.text-page p { color: #ddd1ae; line-height: 1.65; }
.primary-btn,
.secondary-btn {
  min-height: 48px;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.primary-btn {
  background: linear-gradient(180deg, #f0c85d, #b8861f);
  color: #1a1201;
  box-shadow: 0 12px 24px rgba(184,134,31,0.24);
}
.secondary-btn {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}
.primary-btn:hover,
.secondary-btn:hover { transform: translateY(-1px); }
.primary-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; position: relative; z-index: 2; }
.pulse-orb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  position: relative;
}
.pulse-orb-wrap::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,223,125,0.4), rgba(213,170,59,0.06) 48%, transparent 70%);
  animation: pulseGlow 3.2s infinite ease-in-out;
}
.hero-mini-card {
  position: relative;
  z-index: 1;
  width: min(100%, 260px);
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(22,22,22,0.96), rgba(10,10,10,0.96));
  border: 1px solid rgba(255,223,125,0.22);
  text-align: center;
  display: grid;
  gap: 10px;
}
.hero-label { color: var(--gold-strong); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.section-heading { margin-bottom: 18px; }
.section-heading h2,
.stats-panel h3,
.info-card h3,
.support-card h3 { margin: 0 0 8px; }
.compact-heading { margin-bottom: 20px; }
.art-frame {
  padding: 10px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}
.shimmer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,223,125,0.2) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 4.5s infinite linear;
}
.featured-art { border-radius: 24px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
#demo-game { scroll-margin-top: 96px; }
.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}
.game-panel,
.stats-panel { border-radius: 26px; padding: 22px; }
.panel-top-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.metric-chip,
.stat-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.metric-chip span,
.stat-item span { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.metric-chip strong,
.stat-item strong { font-size: 1.05rem; }
.message-chip strong { font-size: 0.95rem; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot-cell {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: clamp(2rem, 6vw, 2.8rem);
  background: linear-gradient(180deg, rgba(255,223,125,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,223,125,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  min-height: 86px;
}
.slot-cell.spinning { animation: slotFlash .16s linear infinite; }
.slot-grid.has-win .slot-cell.winner {
  position: relative;
  border-color: rgba(255,223,125,0.95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 0 0 1px rgba(255,223,125,0.35), 0 0 24px rgba(255,223,125,0.3);
  animation: winnerPulse .8s ease-in-out infinite;
}
.slot-grid.has-win .slot-cell.winner::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,223,125,0.45);
  pointer-events: none;
}
.game-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.stats-panel { display: flex; flex-direction: column; gap: 10px; }
.trust-grid,
.info-grid,
.support-grid {
  display: grid;
  gap: 18px;
}
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.info-grid { grid-template-columns: repeat(2, 1fr); }
.support-grid { grid-template-columns: repeat(4, 1fr); }
.mini-card,
.info-card,
.support-card {
  border-radius: 24px;
  padding: 22px;
}
.support-link {
  display: block;
  min-height: 100%;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.support-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,223,125,0.34);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 22px rgba(213,170,59,0.12);
}
.support-link h3::after {
  content: " ↗";
  color: var(--gold-strong);
  font-size: 0.9em;
}
.site-footer {
  margin-top: auto;
  padding: 20px 0 28px;
  display: grid;
  gap: 16px;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
}
.footer-links a:hover { color: var(--gold-strong); }
.age-gate,
.cookie-banner {
  position: fixed;
  z-index: 80;
}
.age-gate {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2,2,2,0.82);
  backdrop-filter: blur(8px);
}
.age-gate.visible { display: flex; }
.overlay-card {
  width: min(100%, 480px);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24,24,24,0.98), rgba(10,10,10,0.98));
  border: 1px solid rgba(255,223,125,0.18);
  box-shadow: var(--shadow);
}
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--muted); }
.cookie-banner {
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(calc(100% - 24px), 920px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(14,14,14,0.98);
  border: 1px solid rgba(255,223,125,0.18);
  box-shadow: var(--shadow);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.subpage-main { padding-top: 20px; }
.text-page { max-width: 860px; }
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes pulseGlow {
  0%,100% { transform: scale(0.92); opacity: 0.68; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes slotFlash {
  0% { transform: translateY(0); }
  50% { transform: translateY(2px); opacity: 0.74; }
  100% { transform: translateY(0); }
}
@keyframes winnerPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.03); }
}
@media (max-width: 980px) {
  .hero-section,
  .game-shell,
  .trust-grid,
  .support-grid,
  .info-grid,
  .panel-top-row {
    grid-template-columns: 1fr;
  }
  .header-meta {
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 720px) {
  .site-header,
  .page-main,
  .site-footer { width: min(calc(100% - 20px), var(--max)); }
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 8px;
  }
  .header-meta { align-items: flex-start; }
  .section-card,
  .mini-card,
  .info-card,
  .support-card,
  .stats-panel,
  .game-panel { padding: 18px; border-radius: 22px; }
  .game-actions,
  .cookie-banner,
  .footer-links,
  .footer-contact { flex-direction: column; align-items: flex-start; }
  .cookie-banner { bottom: 12px; }
}
