:root {
  --bg: #1a060b;
  --bg-soft: #341018;
  --panel: rgba(53, 17, 26, 0.9);
  --panel-soft: rgba(27, 9, 15, 0.88);
  --line: rgba(255, 212, 186, 0.14);
  --text: #fff7f5;
  --muted: #ddc7ce;
  --accent: #2ea8ff;
  --accent-strong: #79d7ff;
  --accent-blue: #c3efff;
  --accent-rose: #ff7b86;
  --success: #84f0a7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  font-family: "Verdana", "Geneva", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 10%, rgba(121, 215, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(166, 71, 87, 0.2), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(196, 138, 74, 0.12), transparent 28%),
    linear-gradient(155deg, #170408 0%, #321018 46%, #100206 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background: url("images/bg.jpg") center / cover no-repeat;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

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

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 120;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #06111f;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(25, 6, 12, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-title {
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

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

.button-primary {
  color: #04131d;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 28px rgba(46, 168, 255, 0.28);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(195, 239, 255, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(46, 168, 255, 0.1);
  border-color: rgba(121, 215, 255, 0.2);
}

.hero {
  padding: 4.6rem 0 5.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.75rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-strong);
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.page-banner h1 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead,
.page-banner p {
  margin: 1.4rem 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  list-style: none;
}

.hero-promise li,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stack,
.story-cards {
  display: grid;
  gap: 1rem;
}

.hero-panel,
.feature-card,
.story-card,
.game-card,
.contact-card,
.form-shell,
.policy-card,
.legal-shell,
.mini-card,
.notice-band {
  background: linear-gradient(180deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.contact-card,
.form-shell,
.notice-band,
.legal-shell {
  border-radius: var(--radius-lg);
}

.hero-panel {
  padding: 1.7rem;
}

.hero-panel h2,
.section-head h2,
.story-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel p,
.story-copy p,
.contact-card p,
.section-head p,
.feature-card p,
.story-card p,
.game-card p,
.policy-card p,
.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.stat-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 239, 255, 0.12);
}

.stat-card strong {
  display: block;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.stat-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mini-card:hover,
.mini-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(121, 215, 255, 0.42);
}

.mini-card__label {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: 5rem 0;
}

.section-band {
  padding-top: 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head p:last-child {
  max-width: 65ch;
}

.feature-grid,
.catalog-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.story-card,
.policy-card {
  padding: 1.45rem;
  border-radius: var(--radius-md);
}

.feature-card h3,
.story-card h3,
.game-card h3,
.game-card h2,
.policy-card h3,
.footer-card h3,
.legal-shell h2 {
  margin: 0 0 0.8rem;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.game-card h3 {
  margin-bottom: 0;
}

.game-card p {
  margin: 0;
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem;
}

.notice-band h2 {
  margin: 0;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.notice-band p:last-child {
  max-width: 46ch;
  margin: 0;
}

.story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.story-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--accent-blue);
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.game-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.game-card__body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
}

.faq-item {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  position: relative;
  padding-right: 2rem;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-strong);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.contact-card,
.form-shell {
  padding: 1.6rem;
}

.contact-list,
.footer-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.contact-list a,
.footer-list a,
.legal-shell a {
  color: var(--accent-blue);
}

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

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.contact-form span {
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 239, 255, 0.14);
  border-radius: 18px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(121, 215, 255, 0.35);
  outline-offset: 2px;
  border-color: rgba(121, 215, 255, 0.45);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--success);
  font-size: 0.95rem;
}

.policy-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.policy-card:hover,
.policy-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(110, 197, 255, 0.45);
}

.page-banner {
  padding: 4rem 0 1.4rem;
}

.page-banner h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-shell {
  padding: 1.8rem;
}

.legal-highlight {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(121, 215, 255, 0.26);
  border-radius: 20px;
  background: rgba(46, 168, 255, 0.08);
  color: var(--text);
  margin-bottom: 15px
}

.legal-shell section + section {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.legal-shell ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.game-frame-main {
  padding: 0;
}

.game-frame-wrap {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #02060c;
}

.game-view {
  display: block;
  width: 100%;
  height: calc(100vh - 183px);
  min-height: 72vh;
  border: 0;
  background: #000000;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(19, 4, 9, 0.76);
}

.site-footer--compact {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-card {
  padding: 0.25rem 0;
}

.footer-card p,
.footer-card li {
  color: var(--muted);
}

.footer-brandmark {
  margin-bottom: 1rem;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.footer-note p {
  margin: 0;
  color: var(--muted);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 12, 0.78);
  backdrop-filter: blur(10px);
}

.age-verified .age-gate {
  display: none;
}

.age-gate__panel {
  width: min(680px, 100%);
  padding: 2rem;
  border: 1px solid rgba(121, 215, 255, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(121, 215, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(52, 16, 24, 0.96), rgba(20, 5, 10, 0.97));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 0 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #06111f;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.age-gate__panel h2 {
  margin: 0 0 0.85rem;
  font-family: "Arial Narrow", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.age-gate__panel p {
  margin: 0;
  color: var(--muted);
}

.age-gate__list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .story-grid,
  .contact-grid,
  .footer-grid,
  .feature-grid,
  .catalog-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-mini-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .notice-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(31, 7, 14, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .nav-action {
    width: 100%;
    justify-content: center;
  }

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

  .game-view {
    height: calc(100vh - 171px);
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 1rem, 1180px);
  }

  .hero,
  .section,
  .page-banner {
    padding-top: 3.4rem;
  }

  .hero-panel,
  .contact-card,
  .form-shell,
  .legal-shell,
  .age-gate__panel {
    padding: 1.35rem;
  }

  .hero-actions,
  .age-gate__actions,
  .footer-note {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero h1,
  .page-banner h1 {
    letter-spacing: 0.05em;
  }

  .game-view {
    height: 78vh;
    min-height: 78vh;
  }
}
