:root {
  color-scheme: dark;
  --ink: #13071b;
  --ink-soft: #25102b;
  --berry: #6e195f;
  --violet: #a625ff;
  --pink: #f13aab;
  --gold: #ffd44e;
  --cream: #fff6d9;
  --mint: #70f5d5;
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--ink); }

a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-body {
  background:
    radial-gradient(circle at 10% 12%, rgba(241, 58, 171, .16), transparent 24rem),
    radial-gradient(circle at 90% 24%, rgba(166, 37, 255, .16), transparent 27rem),
    linear-gradient(180deg, #1a071d 0%, #100713 80%, #08050a 100%);
}

.hero-screen {
  min-height: 100vh;
  min-height: 100svh;
}
.hero-image { filter: saturate(1.05) contrast(1.04); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 4, 19, .98) 0%, rgba(20, 5, 25, .91) 34%, rgba(29, 5, 35, .42) 67%, rgba(20, 4, 24, .18) 100%),
    linear-gradient(0deg, rgba(14, 5, 16, .92) 0%, transparent 42%);
}

.site-nav {
  border-color: rgba(255, 255, 255, .13);
  background: linear-gradient(100deg, rgba(37, 9, 42, .92), rgba(91, 17, 77, .84));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link { color: rgba(255,255,255,.7); transition: color .18s ease, background-color .18s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-active { color: #3d1021; background: linear-gradient(135deg, #fff293, #ffcc34); box-shadow: inset 0 1px rgba(255,255,255,.8); }

.eyebrow, .micro-label, .legal-eyebrow {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
  line-height: 1rem;
  text-transform: uppercase;
}
.hero-title, .section-title { letter-spacing: -.055em; }
.hero-title {
  color: transparent;
  background: linear-gradient(108deg, #fffef8 0%, #fff5cf 42%, #ffd960 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: none;
}

.primary-action, .secondary-action { transition: transform .18s ease, filter .18s ease, border-color .18s ease; }
.primary-action {
  color: #3b1020;
  background: linear-gradient(135deg, #fff38e 0%, #ffd242 48%, #ff9e32 100%);
  box-shadow: 0 12px 28px rgba(255, 154, 42, .22), inset 0 1px rgba(255,255,255,.85);
}
.primary-action:hover { filter: brightness(1.07); transform: translateY(-2px); }
.secondary-action { color: #fff4e0; border-color: rgba(255,255,255,.28); background: rgba(64, 15, 65, .58); }
.secondary-action:hover { transform: translateY(-2px); border-color: rgba(255, 218, 91, .76); }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff8df;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(38, 8, 42, .56);
  box-shadow: inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.hero-chip i { width: .5rem; height: .5rem; border-radius: 99px; background: var(--mint); box-shadow: 0 0 16px var(--mint); }

.coin { position: absolute; border-radius: 999px; pointer-events: none; background: radial-gradient(circle at 34% 28%, #fff9be 0 7%, #ffd74d 16%, #e67616 70%, #7c2614 100%); box-shadow: inset 0 0 0 4px rgba(255, 246, 164, .46), 0 12px 28px rgba(229, 93, 29, .24); }
.coin::after { content: "✦"; position: absolute; inset: 0; display: grid; place-items: center; color: #802753; font-size: 47%; font-weight: 900; }
.coin-one { width: 5rem; height: 5rem; right: 44%; top: 19%; transform: rotate(22deg); animation: drift 7s ease-in-out infinite; }
.coin-two { width: 3.2rem; height: 3.2rem; right: 15%; bottom: 15%; transform: rotate(-16deg); animation: drift 6s .8s ease-in-out infinite reverse; }
.coin-three { width: 2.6rem; height: 2.6rem; right: 50%; bottom: 22%; animation: drift 8s 1.2s ease-in-out infinite; }
@keyframes drift { 50% { translate: 0 -14px; rotate: 8deg; } }

.ticker { overflow: hidden; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); background: linear-gradient(90deg, #8e195d, #d22b86, #7d1c81); }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker-track span { padding: .85rem 1.8rem; color: #fff8e4; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { width: .35rem; height: .35rem; align-self: center; border-radius: 50%; background: #ffde58; box-shadow: 0 0 12px #ffde58; }
@keyframes marquee { to { transform: translateX(-50%); } }

.ambient-grid {
  background:
    radial-gradient(circle at 14% 5%, rgba(239, 47, 163, .16), transparent 24rem),
    radial-gradient(circle at 84% 80%, rgba(166, 37, 255, .15), transparent 24rem),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #17091c;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.glass-panel {
  border-color: rgba(255,255,255,.13);
  background: linear-gradient(140deg, rgba(93, 22, 85, .82), rgba(35, 10, 49, .86));
  box-shadow: 0 24px 54px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.12);
}

.section-cards {
  background:
    radial-gradient(ellipse 48rem 15rem at 50% 0%, rgba(173, 36, 128, .2), transparent 72%),
    linear-gradient(180deg, #1c0a1f 0%, #140817 100%);
}
.theme-intro {
  position: relative;
  display: flex;
  max-width: 61rem;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-inline: auto;
  padding-top: .8rem;
  text-align: center;
}
.theme-intro::before {
  content: "";
  position: absolute;
  top: -.05rem;
  left: 50%;
  width: 4rem;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #ff9c3f);
  box-shadow: 0 0 16px rgba(255, 205, 65, .45);
}
.theme-copy {
  max-width: 45rem;
  margin-top: .45rem;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.machine-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 330 / 445;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 1.35rem;
  background: #210c28;
  box-shadow: 0 16px 30px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.machine-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.15); border-radius: inherit; box-shadow: inset 0 -20px 36px rgba(14, 3, 18, .13), inset 0 1px rgba(255,255,255,.22); }
.machine-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .38s ease; }
.machine-card:hover { z-index: 1; border-color: rgba(255,220,92,.68); box-shadow: 0 24px 38px rgba(0,0,0,.38), 0 0 0 3px rgba(255,206,68,.08); transform: translateY(-4px); }
.machine-card:hover img { transform: scale(1.045); }
@media (min-width: 768px) {
  .theme-intro { gap: 1.35rem; padding-top: 1.2rem; }
  .machine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1280px) {
  .machine-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.section-experience { background: radial-gradient(circle at 86% 20%, rgba(230, 55, 171, .18), transparent 28rem), linear-gradient(135deg, #2b0b2c, #180719); }
.stage-visual { overflow: hidden; border-color: rgba(255,255,255,.18); background: #2c0a42; box-shadow: 0 30px 70px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.4); }
.stage-image { display: block; object-position: 50% center; }
.feature-tile { border-color: rgba(255,255,255,.13); background: rgba(35, 9, 39, .55); transition: transform .2s ease, border-color .2s ease; }
.feature-tile:hover { transform: translateY(-3px); border-color: rgba(255,214,77,.52); }
.feature-icon {
  position: relative;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 1.1rem;
  color: #3e1740;
  background: linear-gradient(145deg, #fff6af 0%, #ffd45a 48%, #ffae36 100%);
  box-shadow: 0 9px 19px rgba(255, 187, 60, .18), inset 0 1px rgba(255,255,255,.86), inset 0 -5px 9px rgba(189, 80, 28, .12);
}
.feature-icon::before { content: ""; position: absolute; width: 4.5rem; height: 1.25rem; left: -1rem; top: -.45rem; border-radius: 50%; background: rgba(255,255,255,.42); transform: rotate(-24deg); }
.feature-icon svg { position: relative; z-index: 1; width: 1.65rem; height: 1.65rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.feature-tile:nth-child(2) .feature-icon { color: #5d1952; background: linear-gradient(145deg, #ffd5f0 0%, #fa91ca 52%, #da4994 100%); box-shadow: 0 9px 19px rgba(234, 75, 157, .2), inset 0 1px rgba(255,255,255,.86), inset 0 -5px 9px rgba(144, 22, 86, .14); }
.feature-tile:nth-child(3) .feature-icon { color: #174a5d; background: linear-gradient(145deg, #d1fff4 0%, #79e8dd 50%, #3ab7d6 100%); box-shadow: 0 9px 19px rgba(51, 198, 203, .18), inset 0 1px rgba(255,255,255,.86), inset 0 -5px 9px rgba(10, 108, 151, .12); }
.feature-tile:nth-child(4) .feature-icon { color: #41275f; background: linear-gradient(145deg, #ead9ff 0%, #bd91f4 52%, #8653d2 100%); box-shadow: 0 9px 19px rgba(151, 92, 224, .2), inset 0 1px rgba(255,255,255,.86), inset 0 -5px 9px rgba(78, 35, 147, .13); }

.section-play { background: linear-gradient(180deg, #150719, #250a2a); }
.steps-wrap { counter-reset: playsteps; }
.step-card { position: relative; border-color: rgba(255,255,255,.14); background: linear-gradient(145deg, rgba(86, 20, 80, .76), rgba(33, 8, 43, .86)); }
.step-card::before { counter-increment: playsteps; content: "0" counter(playsteps); position: absolute; right: 1.2rem; top: .4rem; color: rgba(255,255,255,.09); font-size: 4rem; font-weight: 900; }
.step-dot { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 999px; color: #3a1137; font-size: 1.1rem; font-weight: 900; background: linear-gradient(135deg, #ffe570, #ff9c3f); }

.contact-surface { background: radial-gradient(circle at 12% 6%, rgba(255, 219, 88, .13), transparent 23rem), radial-gradient(circle at 92% 90%, rgba(240, 58, 171, .18), transparent 28rem), #100712; }
.contact-banner { border-color: rgba(255,255,255,.16); background: linear-gradient(115deg, rgba(93, 19, 78, .94), rgba(45, 10, 57, .9)); box-shadow: 0 28px 64px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.16); }
.contact-input { color: #fff7e7; border-color: rgba(255,255,255,.16); background: rgba(18, 5, 23, .52); }
.contact-input::placeholder { color: rgba(255,255,255,.42); }
.contact-input:focus { border-color: rgba(255,214,77,.75); box-shadow: 0 0 0 3px rgba(255,214,77,.14); }

.site-footer { color: rgba(255,255,255,.56); background: #08050a; }
.footer-link { color: rgba(255,224,146,.86); transition: color .18s ease; }
.footer-link:hover { color: #fff7d2; }

.game-hero { background: linear-gradient(135deg, #1d071f, #480d43 58%, #751a67); }
.game-hero::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(circle, #fff 1px, transparent 1.5px); background-size: 28px 28px; }
.game-feature { border-color: rgba(255,255,255,.14); background: linear-gradient(145deg, rgba(96, 23, 86, .77), rgba(25, 7, 37, .82)); }

.legal-page {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 10% 12%, rgba(241, 58, 171, .16), transparent 24rem),
    radial-gradient(circle at 90% 24%, rgba(166, 37, 255, .16), transparent 27rem),
    linear-gradient(180deg, #1a071d 0%, #100713 80%, #08050a 100%);
}
.legal-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 76%);
  pointer-events: none;
}
.legal-card {
  border-color: rgba(255,255,255,.15);
  background: linear-gradient(140deg, rgba(93, 22, 85, .86), rgba(35, 10, 49, .9));
  box-shadow: 0 28px 70px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.legal-page .legal-card.bg-white { background: linear-gradient(140deg, rgba(93, 22, 85, .86), rgba(35, 10, 49, .9)); }
.legal-page .text-slate-950,
.legal-page .text-slate-700,
.legal-page .text-slate-500 { color: inherit; }
.legal-page .text-slate-950 { color: #fff8dc; }
.legal-page .text-slate-700 { color: rgba(255,255,255,.72); }
.legal-page .text-slate-500 { color: rgba(255,224,146,.82); }
.legal-card .legal-eyebrow { color: var(--gold); }
.legal-doc h1 {
  color: transparent;
  background: linear-gradient(108deg, #fffef8 0%, #fff5cf 42%, #ffd960 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.legal-doc h2 { color: #fff6d9; }
.legal-doc h1,
.legal-doc h2,
.legal-doc h3,
.legal-doc p,
.legal-doc li { overflow-wrap: anywhere; }
.legal-doc p,
.legal-doc li { color: rgba(255,255,255,.72); }
.legal-doc address { color: #fff8dc; }
.legal-doc a { color: #ffe390; font-weight: 800; text-decoration: underline; text-underline-offset: .18em; overflow-wrap: anywhere; word-break: break-word; }
.legal-doc a:hover { color: #fff8dc; }
.legal-notice {
  border-color: rgba(255,214,77,.34);
  color: #fff7df;
  background: linear-gradient(135deg, rgba(255, 212, 78, .18), rgba(241, 58, 171, .12));
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}

@media (max-width: 640px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(18,4,19,.62) 0%, rgba(18,4,19,.86) 51%, rgba(18,4,19,.98) 100%); }
  .hero-image { object-position: 64% center; }
  .coin-one { right: 12%; top: 16%; opacity: .72; }
  .coin-two { right: 4%; bottom: 29%; }
  .coin-three { right: 72%; bottom: 35%; }
  .ticker-track span { padding-inline: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
