:root {
  --bg: #07101c;
  --bg-soft: #0d1b2d;
  --card: rgba(12, 24, 41, 0.82);
  --card-strong: rgba(8, 18, 33, 0.95);
  --text: #eef7ff;
  --muted: #9db3ca;
  --line: rgba(125, 196, 255, 0.16);
  --accent: #59c7ff;
  --accent-strong: #2a74ff;
  --success: #8ee4ff;
  --shadow: 0 24px 80px rgba(11, 29, 62, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 112, 255, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(89, 199, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #060d18 0%, #08101c 42%, #091523 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section-gap { padding: 28px 0 0; }
.card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 29, 50, 0.88), rgba(8, 18, 33, 0.9));
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(6, 13, 24, 0.72);
  border-bottom: 1px solid rgba(125, 196, 255, 0.1);
}
.header-row {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand-lockup { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(125, 227, 255, 0.3), transparent 42%), rgba(12, 29, 47, 0.9);
  border: 1px solid rgba(125, 196, 255, 0.18);
  box-shadow: inset 0 0 18px rgba(89, 199, 255, 0.08), 0 0 24px rgba(42, 116, 255, 0.2);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-text { font-weight: 800; letter-spacing: 0.02em; font-size: 1.1rem; }
.header-meta { display: flex; align-items: center; gap: 14px; min-width: 0; }
.age-badge {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid rgba(125, 196, 255, 0.25);
  background: linear-gradient(180deg, rgba(89, 199, 255, 0.25), rgba(42, 116, 255, 0.2));
  font-weight: 800;
}
.header-disclaimer { margin: 0; max-width: 680px; color: var(--muted); font-size: 0.95rem; }
.hero-section { padding: 44px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: 22px; }
.hero-copy, .hero-side { padding: 32px; }
.hero-glow {
  position: absolute; inset: auto auto -20% -10%; width: 240px; height: 240px; border-radius: 999px;
  background: radial-gradient(circle, rgba(89, 199, 255, 0.22) 0%, rgba(42, 116, 255, 0.12) 45%, transparent 72%);
  filter: blur(14px); pointer-events: none;
}
.eyebrow { display: inline-block; color: var(--success); text-transform: uppercase; font-size: 0.77rem; letter-spacing: 0.18em; margin-bottom: 12px; }
.hero-copy h1, .hero-copy h2, .section-heading h2, .info-card h3, .prose-card h1, .prose-card h2 { margin: 0; }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
.hero-copy h2 { margin-top: 10px; font-size: clamp(1.5rem, 3vw, 2.3rem); color: #bfe9ff; }
.hero-copy p { margin: 18px 0 0; color: var(--muted); max-width: 640px; font-size: 1.04rem; line-height: 1.7; }
.hero-btn { margin-top: 24px; }
.primary-btn, .ghost-btn {
  border: 0; cursor: pointer; border-radius: 999px; min-height: 50px; padding: 0 24px;
  font-weight: 800; letter-spacing: 0.02em; font-size: 0.98rem; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.primary-btn {
  color: #061120;
  background: linear-gradient(135deg, #83e8ff 0%, #4fc7ff 45%, #2a74ff 100%);
  box-shadow: 0 16px 34px rgba(35, 121, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.ghost-btn {
  color: var(--text);
  background: rgba(9, 23, 38, 0.7);
  border: 1px solid rgba(125, 196, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.primary-btn:hover, .ghost-btn:hover { transform: translateY(-2px); }
.primary-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.aura-card { display: grid; place-items: center; min-height: 100%; }
.aura-ring {
  position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(125, 196, 255, 0.25);
  box-shadow: 0 0 0 18px rgba(89, 199, 255, 0.03), 0 0 120px rgba(42, 116, 255, 0.18), inset 0 0 34px rgba(89, 199, 255, 0.1);
  animation: pulseRing 6s ease-in-out infinite;
}
.aura-content { position: relative; z-index: 1; text-align: center; max-width: 280px; }
.mini-label { display: inline-block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.aura-content p { margin: 12px 0 0; color: #d8ecff; line-height: 1.7; }
.section-heading { margin-bottom: 18px; }
.section-heading.compact { margin-bottom: 16px; }
.section-heading h2 { margin-top: 6px; font-size: clamp(1.5rem, 2.7vw, 2.25rem); }
.featured-frame { padding: 18px; }
.shimmer-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(110deg, transparent 10%, rgba(130, 230, 255, 0.8) 48%, transparent 58%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  animation: shimmer 4s linear infinite;
}
.featured-artwork { width: min(100%, 620px); aspect-ratio: 1 / 1; object-fit: cover; margin: 0 auto; border-radius: calc(var(--radius-xl) - 10px); }
.game-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr); gap: 22px; align-items: start; }
.game-card { padding: 24px; }
.game-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.balance-value { margin-top: 6px; font-size: 1.6rem; font-weight: 800; }
.slot-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; 
}
.slot-cell {
  position: relative; aspect-ratio: 1 / 1; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 35, 58, 0.98), rgba(8, 21, 38, 0.96));
  border: 1px solid rgba(125, 196, 255, 0.16);
  box-shadow: inset 0 0 24px rgba(89, 199, 255, 0.06);
}
.slot-cell::after {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,0.08), transparent 30%);
}
.slot-cell span { position: relative; z-index: 1; font-size: clamp(2rem, 4vw, 2.8rem); transform: translateY(0); }
.slot-cell.spinning span { animation: slotSpin .45s ease-in-out infinite; }
.slot-cell.win {
  border-color: rgba(130, 230, 255, 0.8);
  box-shadow: inset 0 0 32px rgba(89, 199, 255, 0.2), 0 0 30px rgba(89, 199, 255, 0.25);
}
.slot-cell.win::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(130, 230, 255, 0.38), rgba(42, 116, 255, 0.18));
  animation: winGlow 1.2s ease-in-out infinite;
}
.game-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.result-message {
  margin-top: 16px; padding: 14px 16px; min-height: 54px; border-radius: 18px;
  background: rgba(8, 20, 34, 0.7); color: #d2ebff; border: 1px solid rgba(125, 196, 255, 0.12);
}
.stats-column { display: grid; gap: 22px; }
.stats-card, .trust-card, .info-card, .support-card, .prose-card { padding: 24px; }
.stats-grid, .trust-grid, .info-grid, .support-grid { display: grid; gap: 16px; }
.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-box {
  border-radius: 20px; background: rgba(8, 20, 34, 0.72); border: 1px solid rgba(125, 196, 255, 0.12);
  padding: 18px;
}
.stat-box span { display: block; color: var(--muted); font-size: 0.92rem; }
.stat-box strong { display: block; margin-top: 8px; font-size: 1.55rem; }
.four-up, .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-card strong, .support-card strong, .info-card h3 { display: block; font-size: 1.08rem; }
.trust-card span, .support-card span, .info-card p, .prose-card p, .prose-card li { color: var(--muted); line-height: 1.7; }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card h3 { margin-bottom: 10px; }
.support-card { transition: transform .18s ease, border-color .18s ease; }
.support-card:hover { transform: translateY(-3px); border-color: rgba(125, 196, 255, 0.28); }
.static-page { padding-top: 34px; }
.prose-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.prose-card h2 { margin-top: 22px; font-size: 1.18rem; }
.prose-card ul { padding-left: 22px; }
.site-footer {
  margin-top: 44px; border-top: 1px solid rgba(125, 196, 255, 0.1);
  background: rgba(4, 10, 19, 0.88);
}
.footer-grid {
  padding: 26px 0; display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 22px; align-items: start;
}
.footer-brand { font-size: 1.15rem; font-weight: 800; }
.footer-copy, .footer-contact p { color: var(--muted); line-height: 1.7; margin: 10px 0 0; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #dceeff; }
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  opacity: 0; transform: translateY(18px); pointer-events: none; transition: .22s ease;
}
.cookie-banner.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-content {
  width: min(100%, 860px); margin: 0 auto; padding: 16px 18px; border-radius: 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between;
  border: 1px solid rgba(125, 196, 255, 0.16); background: rgba(8, 19, 33, 0.96); box-shadow: var(--shadow);
}
.cookie-content p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.small-btn { min-height: 44px; padding-inline: 18px; }
.age-gate {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(2, 7, 13, 0.82); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: .22s ease;
}
.age-gate.active { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: min(100%, 520px); padding: 28px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.98), rgba(7, 16, 28, 0.98)); border: 1px solid rgba(125, 196, 255, 0.16);
  box-shadow: var(--shadow);
}
.modal-glow {
  position: absolute; top: -30px; right: -20px; width: 160px; height: 160px; border-radius: 999px;
  background: radial-gradient(circle, rgba(89, 199, 255, 0.22), transparent 68%); filter: blur(10px);
}
.age-card h2 { position: relative; margin: 0 0 10px; font-size: 2rem; }
.age-card p { position: relative; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.checkbox-row { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #dcedff; }
.checkbox-row input { width: 20px; height: 20px; accent-color: #59c7ff; }
@keyframes shimmer { 0% { transform: translateX(-140%); } 100% { transform: translateX(140%); } }
@keyframes slotSpin { 0% { transform: translateY(-28px) scale(.94); opacity: .25; } 50% { transform: translateY(18px) scale(1.08); opacity: 1; } 100% { transform: translateY(-18px) scale(.94); opacity: .35; } }
@keyframes winGlow { 0%,100% { opacity: .45; } 50% { opacity: .95; } }
@keyframes pulseRing { 0%,100% { transform: scale(.96); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }
@media (max-width: 980px) {
  .hero-grid, .game-layout, .footer-grid, .info-grid { grid-template-columns: 1fr; }
  .header-row, .header-meta, .cookie-content { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .hero-section { padding-top: 20px; }
  .hero-copy, .hero-side, .game-card, .stats-card, .trust-card, .info-card, .support-card, .prose-card { padding: 20px; }
  .featured-frame { padding: 12px; }
  .four-up, .support-grid, .stats-grid, .info-grid { grid-template-columns: 1fr; }
  .header-disclaimer { font-size: 0.9rem; }
  .brand-lockup { align-self: flex-start; }
  .game-actions { flex-direction: column; }
  .primary-btn, .ghost-btn { width: 100%; }
  .slot-grid { gap: 10px; }
  .slot-cell { border-radius: 18px; }
}
