@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg: hsl(222 40% 6%);
  --bg-2: hsl(222 38% 9%);
  --bg-3: hsl(222 30% 13%);
  --card: hsl(222 38% 9% / 0.94);
  --card-solid: hsl(222 38% 9%);
  --text: hsl(210 20% 96%);
  --muted: hsl(215 18% 62%);
  --border: hsl(222 30% 18%);
  --primary: hsl(356 88% 58%);
  --primary-2: hsl(356 80% 42%);
  --primary-soft: hsl(356 88% 58% / 0.14);
  --secondary: hsl(220 40% 14%);
  --accent: hsl(356 60% 18%);
  --shadow-green: 0 20px 60px -18px hsl(356 88% 55% / 0.55), 0 0 0 1px hsl(356 88% 58% / 0.25);
  --shadow-soft: 0 8px 26px -14px hsl(0 0% 0% / 0.55);
  --shadow-card: 0 20px 48px -20px hsl(0 0% 0% / 0.7);
  --shadow-pop: 0 34px 90px -22px hsl(0 0% 0% / 0.8);
  --radius: 18px;
  --container: min(1120px, calc(100vw - 32px));
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 15% 0%, hsl(356 60% 22% / 0.5), transparent 60%),
    radial-gradient(900px 700px at 100% 100%, hsl(220 60% 18% / 0.55), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(hsl(210 20% 96% / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsl(210 20% 96% / 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, transparent 0, black 16vh, black calc(100% - 10vh), transparent 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: hsl(222 40% 6% / 0.72);
  border-bottom: 1px solid hsl(222 30% 18% / 0.75);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid hsl(356 88% 58% / 0.4);
  box-shadow: 0 0 0 1px hsl(356 88% 58% / 0.15), 0 0 30px hsl(356 88% 58% / 0.3);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  margin-top: 6px;
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(215 18% 62%);
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 10px hsl(356 88% 58%);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--primary);
  color: hsl(210 20% 98%);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  box-shadow: var(--shadow-green);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: hsl(222 38% 9% / 0.8);
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
  animation: fade-in 280ms ease-out both;
}

.mobile-menu .nav {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.mobile-menu .nav-link {
  border-radius: 12px;
  padding: 14px 16px;
  background: transparent;
}

.mobile-menu .nav-link.is-active {
  background: var(--primary);
  color: hsl(210 20% 98%);
}

.mobile-menu .nav-link.is-active::after {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(222 40% 6% / 0.35), hsl(222 40% 6% / 0.72), var(--bg));
}

.hero-content {
  padding: 110px 0 124px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid hsl(356 88% 58% / 0.3);
  background: hsl(356 88% 58% / 0.1);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--primary);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 18px hsl(356 88% 58% / 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-title,
.page-title {
  margin: 26px 0 20px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero-title {
  font-size: clamp(56px, 9vw, 98px);
}

.page-title {
  font-size: clamp(44px, 6vw, 70px);
}

.text-gradient {
  background: linear-gradient(120deg, hsl(356 90% 68%), hsl(356 90% 48%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.neon-text {
  text-shadow: 0 0 22px hsl(356 90% 60% / 0.55);
}

.hero-copy,
.page-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: transform 160ms ease, border-color 160ms ease, opacity 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: hsl(210 20% 98%);
  box-shadow: var(--shadow-green);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 12px;
}

.stat-rail {
  margin: 34px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card,
.panel,
.info-card,
.article-card,
.game-card,
.cta-card,
.cookie-card,
.age-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 16px 14px;
  backdrop-filter: blur(12px);
}

.stat-value {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  margin-top: 6px;
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.reassurance {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 600 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section {
  padding: 88px 0;
}

.section.tight {
  padding: 72px 0;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--primary);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.section-note {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.games-grid.library {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-link,
.library-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.game-link:hover,
.library-card:hover {
  transform: translateY(-4px);
  border-color: hsl(356 88% 58% / 0.6);
}

.card-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--bg-3);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
  opacity: 0.92;
}

.game-link:hover .card-media img,
.library-card:hover .card-media img {
  transform: scale(1.05);
}

.card-media .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card-solid), hsl(222 38% 9% / 0.1) 56%, transparent);
}

.card-media .index-chip,
.card-media .category-chip,
.card-media .age-chip,
.card-media .play-chip {
  position: absolute;
  top: 16px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: hsl(222 38% 9% / 0.94);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.card-media .index-chip {
  left: 16px;
  color: var(--primary);
}

.card-media .category-chip {
  left: 16px;
  color: var(--primary);
}

.card-media .age-chip {
  right: 16px;
  color: var(--text);
}

.card-media .play-chip {
  right: 16px;
  color: var(--primary);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  color: var(--muted);
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.card-title {
  margin: 10px 0 10px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  flex: 1;
}

.card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: hsl(222 38% 9% / 0.7);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.chip.primary {
  border-color: hsl(356 88% 58% / 0.4);
  color: var(--primary);
}

.slot-symbol {
  position: relative;
  z-index: 1;
  font-size: 1em;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.symbol-blue { color: hsl(205 70% 60%); }
.symbol-teal { color: hsl(195 50% 55%); }
.symbol-gold { color: hsl(38 85% 65%); }
.symbol-orange { color: hsl(22 85% 60%); }
.symbol-violet { color: hsl(280 60% 70%); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.feature-card {
  background: var(--card-solid);
  padding: 28px;
  transition: background 180ms ease;
}

.feature-card:hover {
  background: hsl(222 38% 9% / 0.62);
}

.feature-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: hsl(356 88% 58% / 0.1);
  border: 1px solid hsl(356 88% 58% / 0.3);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.feature-index {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: hsl(215 18% 62% / 0.6);
}

.feature-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
}

.feature-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-solid);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.faq-num {
  flex: 0 0 auto;
  color: hsl(356 88% 58% / 0.6);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.28em;
}

.faq-title {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.35;
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid hsl(356 88% 58% / 0.3);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.faq-item.is-open .faq-toggle {
  background: var(--primary);
  color: hsl(210 20% 98%);
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-panel-inner {
  padding: 0 22px 20px 60px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 54px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--card-solid), var(--bg), var(--card-solid));
  border: 1px solid hsl(356 88% 58% / 0.4);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -140px auto auto 50%;
  width: 600px;
  height: 600px;
  translate: -50% 0;
  border-radius: 50%;
  background: hsl(356 88% 58% / 0.2);
  filter: blur(70px);
  pointer-events: none;
}

.cta-card .section-kicker,
.cta-card .section-title,
.cta-card .section-note {
  position: relative;
}

.cta-card .section-note {
  max-width: 560px;
}

.footer {
  margin-top: 88px;
  border-top: 1px solid var(--border);
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  margin-bottom: 36px;
}

.footer-copy {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  max-width: 560px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links h4 {
  margin: 0 0 16px;
  color: var(--primary);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  color: var(--muted);
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-wrap {
  padding: 54px 0 24px;
}

.article-shell {
  max-width: 760px;
}

.article-shell .page-lead {
  max-width: none;
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--primary);
}

.prose-card {
  margin-top: 34px;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-solid);
  box-shadow: var(--shadow-soft);
  color: hsl(215 18% 72%);
  line-height: 1.8;
  font-size: 14px;
}

.prose-card h2 {
  margin: 34px 0 10px;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--text);
}

.prose-card p {
  margin: 0 0 14px;
}

.prose-card ul,
.prose-card ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.prose-card li {
  margin: 0 0 8px;
}

.prose-card strong {
  color: var(--text);
}

.prose-card em {
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

.prose-footnote {
  margin-top: 32px;
  color: var(--primary);
  font: 700 11px/1.6 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notice-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: hsl(222 38% 9% / 0.9);
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.page-hero {
  padding: 50px 0 24px;
}

.inline-header {
  margin-bottom: 44px;
}

.body-no-scroll {
  overflow: hidden;
}

.overlay,
.age-overlay,
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: hsl(222 40% 6% / 0.82);
  backdrop-filter: blur(12px);
}

.overlay.is-open,
.age-overlay.is-open,
.cookie-overlay.is-open {
  display: flex;
}

.age-card,
.cookie-card {
  width: min(100%, 440px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  border-color: hsl(356 88% 58% / 0.4);
}

.card-topline {
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 16px hsl(356 88% 58%);
}

.age-card-inner,
.cookie-card-inner {
  padding: 28px;
}

.age-head,
.cookie-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.age-copy h2,
.cookie-copy h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.15;
}

.age-copy h2 {
  font-size: 32px;
  margin: 16px 0 12px;
}

.age-copy p,
.cookie-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.age-actions {
  margin: 24px 0 16px;
  display: grid;
  gap: 10px;
}

.cookie-title {
  margin: 0 0 6px;
  font-size: 20px;
}

.cookie-actions {
  margin-top: 18px;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: hsl(356 88% 58% / 0.1);
  border: 1px solid hsl(356 88% 58% / 0.3);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: 0 0 auto;
}

.smallprint {
  margin-top: 14px;
  color: var(--muted);
  font: 600 10px/1.5 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.page-notice {
  max-width: 500px;
  margin: 18px auto 0;
  text-align: center;
}

.game-page {
  padding: 34px 0 18px;
}

.game-hero {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-solid);
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}

.game-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.game-hero-copy {
  padding: 34px;
}

.game-hero-copy .section-kicker {
  margin-bottom: 14px;
}

.game-hero-image {
  position: relative;
  min-height: 280px;
}

.game-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, var(--card-solid), hsl(222 38% 9% / 0.25), transparent);
}

.game-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.game-card {
  padding: 24px;
}

.game-panel {
  display: grid;
  gap: 20px;
}

.game-balance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.balance-pill,
.win-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.balance-pill {
  background: var(--bg-3);
}

.win-pill {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
  box-shadow: var(--shadow-green);
}

.balance-value,
.win-value {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.balance-label,
.win-label {
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: hsl(215 18% 62%);
}

.win-label {
  color: hsl(210 20% 98% / 0.8);
}

.slot-cabinet {
  position: relative;
  border-radius: 28px;
  padding: 22px;
  border: 2px solid hsl(22 70% 42% / 0.6);
  background: linear-gradient(to bottom, hsl(222 45% 14%), hsl(222 55% 7%));
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.slot-cabinet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, hsl(0 0% 100% / 0.15), transparent 60%);
  pointer-events: none;
}

.cabinet-bolts {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(22 85% 55%);
  box-shadow: 0 0 12px hsl(22 85% 55% / 0.8);
}

.cabinet-bolts.one { top: 8px; left: 8px; }
.cabinet-bolts.two { top: 8px; right: 8px; }
.cabinet-bolts.three { bottom: 8px; left: 8px; }
.cabinet-bolts.four { bottom: 8px; right: 8px; }

.slot-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid hsl(356 88% 58% / 0.3);
  background: hsl(222 38% 9% / 0.6);
  color: var(--primary);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.reels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 14px;
}

.reel {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 2px solid hsl(22 70% 50%);
  background: linear-gradient(135deg, hsl(36 38% 94%), hsl(36 25% 82%));
  display: grid;
  place-items: center;
  font-size: 58px;
  color: hsl(222 50% 12%);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.6);
  position: relative;
  overflow: hidden;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, hsl(0 0% 100% / 0.7), transparent 60%);
}

.payline {
  position: relative;
  height: 1px;
  background: hsl(22 85% 55% / 0.4);
}

.payline::before,
.payline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  translate: 0 -50%;
  border-radius: 50%;
  background: hsl(22 85% 55%);
  box-shadow: 0 0 10px hsl(22 85% 55%);
}

.payline::before { left: 0; }
.payline::after { right: 0; }

.payline-label {
  text-align: center;
  padding-top: 8px;
  color: hsl(22 85% 70%);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.paytable {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: hsl(222 38% 9% / 0.4);
  border: 1px solid var(--border);
}

.paytable-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 12px;
}

.paytable-icon {
  font-size: 22px;
}

.paytable-payout {
  font: 700 9px/1 var(--mono);
  color: var(--muted);
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.bet-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: hsl(222 38% 9% / 0.8);
  border: 1px solid var(--border);
}

.circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-solid);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.circle-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
  box-shadow: var(--shadow-green);
}

.bet-display {
  min-width: 88px;
  padding: 0 10px;
  text-align: center;
}

.bet-display .label {
  color: var(--muted);
  font: 600 9px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.bet-display .value {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 22px;
}

.roulette-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 26px;
}

.roulette-stage {
  display: grid;
  justify-items: center;
  align-content: start;
}

.wheel-wrap {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
}

.wheel-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-green);
  animation: glow-pulse 3s ease-in-out infinite;
}

.wheel-rim {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid hsl(210 20% 98% / 0.3);
}

.wheel-svg {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  transition: transform 5s cubic-bezier(0.17, 0.67, 0.16, 1);
}

.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -6px;
  translate: -50% 0;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--primary);
  filter: drop-shadow(0 4px 10px hsl(0 0% 0% / 0.35));
  z-index: 2;
}

.roulette-result {
  margin-top: 16px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.bets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.bet-option,
.number-btn,
.table-btn {
  position: relative;
  border-radius: 14px;
  border: 2px solid transparent;
  padding: 14px 14px 13px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.bet-option:hover,
.number-btn:hover,
.table-btn:hover {
  transform: translateY(-1px);
}

.bet-option.red {
  border-color: hsl(356 88% 58% / 0.4);
  background: hsl(356 88% 58% / 0.08);
  color: var(--primary);
}

.bet-option.black {
  border-color: var(--border);
  background: hsl(222 30% 6% / 0.45);
  color: var(--text);
}

.bet-option.neutral {
  border-color: hsl(220 40% 14% / 0.4);
  background: hsl(220 40% 14% / 0.1);
  color: hsl(215 18% 70%);
}

.bet-option .amount,
.table-btn .amount {
  display: block;
  margin-top: 4px;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.chip-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip-strip .label {
  color: var(--muted);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.chip-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--muted);
  cursor: pointer;
}

.chip-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
  transform: scale(1.05);
  box-shadow: var(--shadow-green);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-round {
  border-radius: 999px;
}

.number-board {
  padding: 10px;
  border-radius: 16px;
  background: hsl(222 38% 9% / 0.5);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.roulette-zero {
  width: 100%;
  margin-bottom: 6px;
  border-radius: 10px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
}

.number-btn {
  aspect-ratio: 1 / 1;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.number-btn.red {
  background: var(--primary);
  color: hsl(210 20% 98%);
}

.number-btn.black {
  background: hsl(222 50% 8%);
  color: var(--text);
  border-color: hsl(222 30% 18% / 0.5);
}

.number-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid hsl(210 20% 98%);
}

.last-results {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: hsl(222 38% 9% / 0.55);
  overflow-x: auto;
}

.last-results .label {
  color: var(--muted);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-ball {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.result-ball.red {
  background: var(--primary);
  color: hsl(210 20% 98%);
}

.result-ball.black {
  background: hsl(222 50% 8%);
  color: var(--text);
  border: 1px solid var(--border);
}

.result-ball.zero {
  background: var(--secondary);
  color: hsl(210 20% 98%);
}

.playing-table {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid hsl(356 88% 58% / 0.24);
  background:
    radial-gradient(circle at 30% 25%, hsl(356 60% 18% / 0.5), transparent 40%),
    hsl(222 45% 8%);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.table-grid {
  position: relative;
  display: grid;
  gap: 20px;
}

.table-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, hsl(210 20% 96% / 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.22;
  pointer-events: none;
}

.hand-row {
  position: relative;
  z-index: 1;
}

.hand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.hand-label {
  color: hsl(210 20% 98% / 0.8);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hand-total {
  padding: 7px 12px;
  border-radius: 999px;
  background: hsl(210 20% 98%);
  color: var(--primary);
  font: 700 12px/1 var(--mono);
}

.cards-row {
  min-height: 112px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cards-empty {
  color: hsl(210 20% 98% / 0.55);
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
}

.playing-card {
  width: 72px;
  height: 104px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: hsl(210 20% 98% / 0.98);
  color: hsl(222 50% 10%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  font-family: var(--display);
}

.playing-card.red {
  color: hsl(22 85% 50%);
}

.playing-card.hidden {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
  display: grid;
  place-items: center;
}

.playing-card .rank {
  font-size: 18px;
  line-height: 1;
}

.playing-card .suit {
  font-size: 26px;
  line-height: 1;
  align-self: center;
}

.playing-card .rank:last-child {
  align-self: end;
  transform: rotate(180deg);
}

.table-message {
  margin: 18px 0 0;
  text-align: center;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
}

.rule-list,
.summary-list {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.side-stack {
  display: grid;
  gap: 14px;
}

.side-card {
  padding: 22px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.15;
}

.side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--primary);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.green-banner {
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  color: hsl(210 20% 98%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-green);
  font: 700 10px/1.7 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.social-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.community-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px;
  color: hsl(210 20% 98%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-green);
}

.community-card::before,
.community-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.community-card::before {
  width: 220px;
  height: 220px;
  right: -50px;
  bottom: -60px;
  background: hsl(210 20% 98% / 0.12);
}

.community-card::after {
  width: 180px;
  height: 180px;
  left: -40px;
  top: -20px;
  background: hsl(220 40% 14% / 0.22);
}

.community-card .subtitle {
  position: relative;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
}

.community-card h2 {
  position: relative;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.community-card p {
  position: relative;
  max-width: 460px;
  line-height: 1.8;
  font-size: 14px;
  opacity: 0.92;
}

.community-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.community-tag {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid hsl(210 20% 98% / 0.25);
  background: hsl(210 20% 98% / 0.1);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: hsl(220 40% 14% / 0.14);
  filter: blur(20px);
}

.metric-number {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.review-grid {
  columns: 1;
  column-gap: 20px;
}

.review-card {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 22px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.review-card.alt {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
}

.review-quote {
  margin: 0 0 16px;
  line-height: 1.8;
  font-size: 14px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.review-card.alt .review-footer {
  border-top-color: hsl(210 20% 98% / 0.2);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  color: hsl(210 20% 98%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.review-card.alt .avatar {
  background: hsl(210 20% 98% / 0.16);
}

.review-name {
  font-weight: 700;
}

.review-city {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 3px;
}

.stars {
  margin-left: auto;
  color: hsl(42 90% 60%);
  letter-spacing: 2px;
  font-size: 12px;
}

.not-found {
  min-height: calc(100vh - 78px - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.not-found h1 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-size: clamp(72px, 18vw, 132px);
  line-height: 1;
}

.not-found p {
  max-width: 520px;
  margin: 0 auto 26px;
  color: var(--muted);
  line-height: 1.8;
}

.glow-ring {
  box-shadow: 0 0 0 1px hsl(356 88% 58% / 0.35), 0 0 22px hsl(356 88% 58% / 0.25);
}

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

.hidden {
  display: none !important;
}

.win-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: hsl(210 20% 98%);
  box-shadow: var(--shadow-green);
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.72; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 1px hsl(356 88% 58% / 0.35), 0 0 22px hsl(356 88% 58% / 0.25); }
  50% { box-shadow: 0 0 0 1px hsl(356 88% 58% / 0.7), 0 0 44px hsl(356 88% 58% / 0.5); }
}

.animate-fade-in {
  animation: fade-in 360ms ease-out both;
}

.animate-pop {
  animation: fade-in 360ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@media (max-width: 1100px) {
  .games-grid,
  .games-grid.library,
  .feature-grid,
  .footer-grid,
  .game-content,
  .game-hero-inner,
  .social-panel,
  .roulette-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 1px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-title-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .stat-rail {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .hero-content {
    padding: 92px 0 100px;
  }

  .section,
  .section.tight {
    padding: 72px 0;
  }

  .games-grid,
  .games-grid.library {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
  }

  .prose-card {
    padding: 24px;
  }

  .game-page {
    padding-top: 24px;
  }

  .paytable {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .numbers-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 100%);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-subtitle {
    letter-spacing: 0.2em;
  }

  .brand-title {
    font-size: 18px;
  }

  .hero-content {
    padding: 76px 0 84px;
  }

  .hero-copy,
  .page-lead {
    font-size: 15px;
  }

  .section-title {
    font-size: 34px;
  }

  .cta-card {
    padding: 34px 18px;
  }

  .footer {
    margin-top: 68px;
    padding-top: 42px;
  }

  .article-wrap {
    padding-top: 34px;
  }

  .faq-trigger {
    padding: 18px 16px;
  }

  .faq-q {
    gap: 12px;
  }

  .faq-panel-inner {
    padding: 0 16px 18px 46px;
  }

  .game-hero-copy,
  .game-card,
  .side-card,
  .community-card,
  .metric-card,
  .slot-cabinet {
    padding: 18px;
  }

  .card-title {
    font-size: 24px;
  }

  .playing-card {
    width: 62px;
    height: 92px;
  }

  .playing-card .suit {
    font-size: 22px;
  }
}
