:root {
  --bg: #030913;
  --bg-soft: #07101d;
  --surface: rgba(10, 21, 36, 0.78);
  --surface-2: rgba(12, 28, 48, 0.9);
  --surface-3: rgba(18, 62, 104, 0.92);
  --surface-4: rgba(255, 255, 255, 0.04);
  --line: rgba(180, 220, 255, 0.09);
  --line-strong: rgba(180, 220, 255, 0.18);
  --text: #f5f8ff;
  --muted: #a2b4cc;
  --brand: #56b7ff;
  --brand-strong: #1d7fe0;
  --brand-soft: rgba(86, 183, 255, 0.16);
  --accent: #91ffd1;
  --success: #dcffe8;
  --danger: #ffb0b0;
  --site-backdrop-image: url("images/site-backdrop-overlay.jpg");
  --site-backdrop-opacity: 0.34;
  --site-backdrop-position: center top;
  --site-backdrop-size: cover;
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --wrap: min(1240px, calc(100% - 40px));
  --header-height: 92px;
  --ease: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(97, 191, 255, 0.18), transparent 24%),
    radial-gradient(circle at 68% -6%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #07111d 0%, #030913 48%, #02070f 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 88%);
  z-index: -2;
}

body::after {
  background:
    radial-gradient(circle at 16% 0%, rgba(86, 183, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(5, 13, 24, 0.22), rgba(5, 13, 24, 0.38)),
    var(--site-backdrop-image) var(--site-backdrop-position) / var(--site-backdrop-size) no-repeat;
  opacity: var(--site-backdrop-opacity);
  z-index: -3;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header .wrap > *,
.dashboard-stage > *,
.dashboard-layout > *,
.dashboard-grid > *,
.stat-band > *,
.showcase-grid > *,
.systems-grid > *,
.steps-grid > *,
.reviews-grid > *,
.faq-layout > *,
.contact-grid > *,
.page-grid > *,
.legal-grid > *,
.games-grid > *,
.footer-grid > *,
.form-row > *,
.game-body > *,
.section-intro > *,
.page-intro > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 8, 16, 0.62);
  backdrop-filter: blur(18px);
  overflow-x: clip;
}

.site-header .wrap {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 18px;
}

.brand > span,
.footer-brand > .brand > span {
  display: block;
  min-width: 0;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand span span,
.footer-brand span span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform var(--ease), opacity var(--ease), top var(--ease), background var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 20px;
}

.nav-toggle span:nth-child(2) {
  top: 28px;
}

.nav-toggle span:nth-child(3) {
  top: 36px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 28px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 28px;
  transform: translateX(-50%) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.pill {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  transition: var(--ease);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  color: rgba(245, 248, 255, 0.74);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  justify-self: end;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.pill:hover,
.pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero,
.page-hero {
  padding: 62px 0 26px;
  overflow-x: clip;
}

.section {
  padding: 64px 0;
  overflow-x: clip;
}

.section-block {
  position: relative;
  overflow-x: clip;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(90, 184, 255, 0.16), rgba(10, 29, 50, 0.74));
  color: #eef7ff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  box-shadow: 0 0 16px rgba(145, 255, 209, 0.52);
}

.hero-home .wrap {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-home .wrap::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -110px;
  width: 760px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.24), rgba(86, 183, 255, 0.18) 34%, transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-home {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  overflow-x: clip;
}

.hero-title,
.page-title,
.section-title,
.page-hero h1 {
  margin: 18px 0 18px;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.page-title,
.section-title,
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
}

.hero-subcopy,
.page-copy,
.section-copy,
.page-hero p,
.panel p,
.legal-panel p,
.legal-panel li,
.faq-a,
.note,
.game-body p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions,
.actions,
.badges,
.metric-row,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
  justify-content: center;
}

.btn,
.btn.alt,
.btn.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 18px 42px rgba(29, 127, 224, 0.32);
}

.btn.alt {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.btn.ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn:hover,
.btn.alt:hover,
.btn.ghost:hover,
.btn:focus-visible,
.btn.alt:focus-visible,
.btn.ghost:focus-visible {
  transform: translateY(-2px);
}

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

.metric-pill,
.tag,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #dce8f7;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: center;
}

.eyebrow,
.pill,
.btn,
.btn.alt,
.btn.ghost,
.metric-pill,
.tag,
.badge,
.faq-q,
.footer-col a,
.footer-col span,
.note,
.game-body p,
.legal-panel p,
.legal-panel li {
  overflow-wrap: anywhere;
}

.dashboard-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.home-dashboard {
  padding-top: 12px;
}

.home-stats {
  padding-top: 0;
}

.panel,
.media-card,
.dashboard-card,
.showcase-card,
.score-card,
.step-card,
.mini-card,
.review-card,
.faq-box,
.form-box,
.page-card,
.game-card,
.legal-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 24, 42, 0.92), rgba(6, 15, 27, 0.98));
  box-shadow: var(--shadow);
}

.dashboard-card::before,
.showcase-card::before,
.score-card::before,
.page-card::before,
.legal-panel::before,
.game-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.28), transparent 55%);
}

.dashboard-card {
  padding: 24px;
}

.dashboard-rail {
  display: grid;
  gap: 18px;
  align-content: start;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.dashboard-top strong,
.showcase-card h3,
.score-card h3,
.step-card h3,
.review-card h3,
.page-card h3,
.game-body h3,
.legal-panel h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dashboard-top span,
.micro-label,
.section-lead {
  color: var(--muted);
  font-size: 0.95rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
  align-items: stretch;
}

.dashboard-visual {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dashboard-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.mini-card,
.game-note {
  padding: 18px 18px 20px;
}

.mini-card strong,
.stat-card strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.mini-card p,
.stat-card p,
.review-card p,
.showcase-card p,
.score-card p,
.step-card p,
.page-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.mini-card a,
.showcase-card a,
.review-card a,
.page-card a,
.legal-panel a,
.form-box a {
  overflow-wrap: anywhere;
}

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

.stat-band {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 21, 38, 0.9), rgba(7, 18, 30, 0.98));
  box-shadow: var(--shadow);
}

.stat-card strong {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.section-intro,
.page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-intro > div:first-child,
.page-intro > div:first-child {
  max-width: 700px;
}

.section-intro p,
.page-intro p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-card,
.score-card,
.step-card,
.review-card,
.page-card,
.legal-panel,
.form-box,
.faq-box,
.game-card {
  padding: 24px;
}

.faq-box .section-title,
.form-box .section-title,
.page-grid .page-title,
.legal-grid .legal-panel h2 {
  line-height: 1;
}

.showcase-card img,
.page-card img {
  width: 100%;
  margin-top: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.score-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(15, 74, 128, 0.94), rgba(5, 15, 31, 0.98));
}

.dashboard-score {
  justify-content: flex-start;
  min-height: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(22, 88, 150, 0.96), rgba(7, 24, 45, 0.98));
}

.score-pill {
  align-self: flex-start;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  color: #eef7ff;
}

.score-value {
  margin: 40px 0 12px;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.score-split {
  margin: 26px 0 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.score-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.score-copy p {
  margin: 0;
}

.dashboard-score .score-value {
  margin: 0;
}

.dashboard-score .metric-row {
  gap: 10px;
}

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

.dashboard-rail-grid .mini-card {
  height: 100%;
}

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

.contact-grid .systems-grid,
.faq-layout .systems-grid,
.page-grid .systems-grid,
.form-box .systems-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card::after,
.step-card::after,
.review-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 183, 255, 0.16), transparent 70%);
  pointer-events: none;
}

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

.step-card {
  min-height: 340px;
  padding-top: 164px;
  background:
    linear-gradient(180deg, rgba(10, 19, 55, 0.92), rgba(34, 95, 193, 0.92));
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  right: -18px;
  top: 36px;
  font-size: clamp(8rem, 18vw, 12rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.18);
}

.step-icon {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-weight: 700;
}

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

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #06111d;
  background: linear-gradient(135deg, #ffffff, #93ebff);
}

.review-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.rating {
  margin-top: 18px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.faq-layout,
.contact-grid,
.page-grid,
.legal-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-q {
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-q span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  transition: transform var(--ease);
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  transition: max-height 260ms ease, padding-bottom 260ms ease;
}

.faq-item.open .faq-a {
  padding-bottom: 18px;
}

.form-box form {
  display: grid;
  gap: 14px;
}

.contact-grid .section-title,
.faq-layout .section-title {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

.contact-grid .mini-card,
.faq-layout .mini-card {
  padding: 16px 16px 18px;
}

.contact-grid .mini-card strong,
.faq-layout .mini-card strong {
  font-size: 1.02rem;
}

.contact-grid .mini-card p,
.faq-layout .mini-card p,
.contact-grid .mini-card a,
.faq-layout .mini-card a {
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.field {
  display: grid;
  gap: 10px;
}

.field label {
  color: #e8f0fb;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(86, 183, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(86, 183, 255, 0.12);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.feedback {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
}

.feedback.show {
  display: block;
}

.feedback.ok {
  color: var(--success);
  background: rgba(39, 117, 63, 0.18);
  border-color: rgba(138, 255, 171, 0.24);
}

.feedback.err {
  color: #ffe3e3;
  background: rgba(145, 37, 37, 0.18);
  border-color: rgba(255, 176, 176, 0.24);
}

.page-hero .wrap {
  position: relative;
}

.page-copy {
  max-width: 760px;
}

.page-card ul,
.legal-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.page-card li,
.legal-panel li {
  margin-bottom: 10px;
}

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

.game-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.game-media {
  overflow: hidden;
  border-radius: 20px;
}

.game-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.game-body {
  display: grid;
  gap: 16px;
  padding-top: 20px;
  align-content: start;
}

.legal-panel h3 {
  margin: 24px 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.legal-panel p + p,
.legal-panel ul + p {
  margin-top: 14px;
}

.game-shell {
  padding: 28px 0 0;
}

.game-frame {
  min-height: calc(100vh - var(--header-height) - 166px);
  padding: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.game-frame iframe {
  width: 100%;
  min-height: calc(100vh - var(--header-height) - 166px);
  border: 0;
  display: block;
  background: #01060d;
}

.footer {
  margin-top: 36px;
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(2, 8, 15, 0.52), rgba(2, 8, 15, 0.94));
  overflow-x: clip;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.85fr;
  gap: 20px;
  margin-bottom: 22px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-copy,
.footer-col a,
.footer-col span,
.footer-col p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--text);
}

.foot-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 8, 15, 0.88);
  backdrop-filter: blur(12px);
}

.age-gate.show {
  display: flex;
}

.age-panel {
  width: min(560px, 100%);
  padding: 34px;
  text-align: center;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 24, 42, 0.98), rgba(4, 13, 24, 1));
  box-shadow: var(--shadow);
}

.age-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #05111d;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, var(--accent));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header .wrap {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }

  .header-cta {
    display: none;
  }

  .dashboard-stage,
  .showcase-grid,
  .games-grid,
  .reviews-grid,
  .steps-grid,
  .systems-grid,
  .stat-band,
  .footer-grid,
  .faq-layout,
  .contact-grid,
  .page-grid,
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-grid > :last-child,
  .dashboard-stage > :last-child {
    grid-column: 1 / -1;
  }

  .dashboard-rail {
    grid-column: 1 / -1;
  }

  .section-intro,
  .page-intro {
    flex-direction: column;
    align-items: start;
  }

  .page-title,
  .section-title,
  .page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
  }

  .faq-box .section-title,
  .form-box .section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  }
}

@media (max-width: 880px) {
  :root {
    --wrap: min(1240px, calc(100% - 24px));
    --header-height: 78px;
  }

  .site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    padding: 14px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(5, 15, 28, 0.96);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .brand span span {
    display: none;
  }

  .hero,
  .page-hero {
    padding-top: 44px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .eyebrow {
    max-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
    text-align: center;
  }

  .dashboard-stage,
  .dashboard-layout,
  .dashboard-rail-grid,
  .score-split,
  .showcase-grid,
  .games-grid,
  .reviews-grid,
  .steps-grid,
  .systems-grid,
  .stat-band,
  .footer-grid,
  .faq-layout,
  .contact-grid,
  .page-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-visual img {
    min-height: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dashboard-score .score-value {
    margin-bottom: 8px;
  }

  .score-value {
    margin-top: 26px;
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .step-card {
    min-height: 0;
    padding-top: 142px;
  }

  .step-card::before {
    right: 10px;
    top: 22px;
    font-size: clamp(6rem, 24vw, 9rem);
  }

  .contact-grid .systems-grid,
  .faq-layout .systems-grid,
  .page-grid .systems-grid,
  .form-box .systems-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 46px 0;
  }

  .hero-actions,
  .actions,
  .badges {
    flex-direction: column;
  }

  .btn,
  .btn.alt,
  .btn.ghost {
    width: 100%;
  }

  .metric-row,
  .hero-metrics,
  .tags {
    gap: 10px;
  }

  .hero-subcopy,
  .page-copy,
  .section-intro p,
  .page-intro p {
    font-size: 0.98rem;
  }

  .page-title,
  .section-title,
  .page-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .faq-box .section-title,
  .form-box .section-title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .age-panel {
    padding: 26px;
  }

  .game-frame,
  .game-frame iframe {
    min-height: calc(100vh - var(--header-height) - 150px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
