:root {
  --bg: #0b1016;
  --bg-2: #111923;
  --bg-3: #172230;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --panel: rgba(14, 22, 30, 0.86);
  --text: #f5f7fb;
  --muted: #b8c2cf;
  --muted-2: #8e9bac;
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.24);
  --green: #78d24b;
  --green-2: #b9ef5f;
  --amber: #f5b236;
  --cyan: #50c7f7;
  --red: #e44d55;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 6%, rgba(120, 210, 75, 0.12), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(245, 178, 54, 0.10), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #0e151d 42%, #091017 100%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, p, a, span, strong, dd, dt {
  overflow-wrap: anywhere;
}

.header-inner > *,
.hero-layout > *,
.split-grid > *,
.systems-layout > *,
.showcase-layout > *,
.cta-card > *,
.footer-inner > * {
  min-width: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 200;
  background: #fff;
  color: #111923;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(11, 16, 22, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.32));
}
.brand span { font-size: 1.04rem; }
.brand strong { color: var(--green-2); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.18rem;
  color: rgba(255,255,255,.82);
  font-size: .93rem;
  font-weight: 800;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transition: color 160ms ease, transform 160ms ease, background 160ms ease;
}
.main-nav a:hover { color: #fff; transform: translateY(-1px); }
.nav-cta {
  color: #0c141b !important;
  padding: 0 .95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 12px 30px rgba(120, 210, 75, .20);
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 72px) 0 92px;
  isolation: isolate;
}
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-bg {
  background: url("../img/break-dance-wide.jpg") center / cover no-repeat;
  filter: saturate(1.03) contrast(1.05);
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 16, 23, .96) 0%, rgba(9, 16, 23, .82) 42%, rgba(9, 16, 23, .44) 100%),
    linear-gradient(180deg, rgba(9, 16, 23, .15) 0%, rgba(9, 16, 23, .95) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 400px);
  align-items: end;
  gap: clamp(2rem, 4vw, 4.2rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-weight: 950;
  font-size: .78rem;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 860px;
  margin-bottom: 1.2rem;
  font-size: clamp(3.1rem, 7vw, 6.85rem);
  line-height: .9;
  letter-spacing: -.075em;
  text-wrap: balance;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
h3 {
  margin-bottom: .55rem;
  font-size: 1.22rem;
  line-height: 1.18;
  letter-spacing: -.025em;
}
p {
  color: var(--muted);
  line-height: 1.68;
}
.lead {
  max-width: 720px;
  color: #e5ebf2;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.62;
}
.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 156px;
  padding: .92rem 1.18rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #0d151b;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  box-shadow: 0 18px 42px rgba(120, 210, 75, .22);
}
.button-secondary {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.sim-panel {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(22, 32, 43, .88), rgba(10, 16, 23, .88));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}
.panel-topline {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #0c141b;
  background: var(--amber);
  border-radius: 999px;
  padding: .42rem .7rem;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sim-panel h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.quick-stats {
  display: grid;
  gap: .7rem;
  margin: 0;
}
.quick-stats div {
  display: grid;
  gap: .15rem;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}
.quick-stats dt {
  color: var(--muted-2);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.quick-stats dd {
  margin: 0;
  color: #fff;
  font-weight: 850;
  line-height: 1.35;
}

.section { padding: 104px 0; }
.dark-block {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    #0c131b;
  border-block: 1px solid rgba(255,255,255,.08);
}
.section-heading {
  max-width: 820px;
  margin-bottom: 2.2rem;
}
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p, .section-copy p { max-width: 720px; }

.mode-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.mode-card,
.roadmap-card,
.gameplay-card,
.menu-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.mode-card,
.roadmap-card {
  padding: 1.25rem;
}
.mode-card span,
.roadmap-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--green-2);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mode-card p,
.roadmap-card p { margin-bottom: 0; }

.split-grid,
.systems-layout,
.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.8rem);
}
.image-stack { position: relative; }
.image-main {
  width: 100%;
  aspect-ratio: 1.12 / .78;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.floating-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: .2rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(9, 16, 23, .82);
  backdrop-filter: blur(14px);
}
.floating-note strong { color: #fff; }
.floating-note span { color: var(--muted); line-height: 1.45; }
.check-list {
  display: grid;
  gap: .72rem;
  margin-top: 1.6rem;
}
.check-list p {
  position: relative;
  min-height: 48px;
  margin: 0;
  padding: .85rem .95rem .85rem 2.55rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #e7eef6;
  line-height: 1.45;
}
.check-list p::before {
  content: "✓";
  position: absolute;
  left: .9rem;
  top: .75rem;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  color: #0b1218;
  background: var(--green-2);
  font-size: .78rem;
  font-weight: 950;
}

.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gameplay-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.gameplay-card div { padding: 1.2rem; min-width: 0; }
.gameplay-card p { margin-bottom: 0; }

.systems-layout { align-items: start; }
.systems-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,.055);
  box-shadow: var(--shadow);
}
.systems-table div {
  display: grid;
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.systems-table div:last-child { border-bottom: 0; }
.systems-table strong { color: #fff; }
.systems-table span { color: var(--muted); line-height: 1.5; }

.showcase-layout { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.menu-preview-card {
  border-radius: var(--radius-xl);
  padding: .75rem;
  background: linear-gradient(145deg, rgba(120,210,75,.12), rgba(255,255,255,.06));
}
.menu-preview-card img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - .55rem);
  border: 1px solid rgba(255,255,255,.14);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 1rem;
}
.gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #111923;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.12); }

.cta-section { padding-top: 48px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 0%, rgba(120,210,75,.20), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.cta-card p { margin-bottom: 0; }
.cta-actions { margin-top: 0; justify-content: flex-end; }


.legal-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(80, 199, 247, .08), transparent 30%),
    radial-gradient(circle at 16% 0%, rgba(120, 210, 75, .10), transparent 34%);
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.legal-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.legal-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #0c141b;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-radius: 999px;
  padding: .42rem .72rem;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.legal-card h3 {
  margin-bottom: 1.35rem;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}
.legal-block {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.legal-block strong {
  display: block;
  margin-bottom: .35rem;
  color: #fff;
}
.legal-block p {
  margin-bottom: 0;
  color: var(--muted);
}
.legal-block a {
  color: var(--green-2);
  font-weight: 850;
}
.legal-note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 178, 54, .28);
  border-radius: 16px;
  background: rgba(245, 178, 54, .09);
  color: #f8e7c1;
  line-height: 1.55;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #080d12;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
}
.footer-brand img { width: 46px; height: 46px; }
.site-footer p { margin: 0; font-size: .92rem; }
.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}
.footer-links a:hover { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .sim-panel {
    max-width: 620px;
  }
}

@media (max-width: 980px) {
  .main-nav { gap: .6rem; font-size: .89rem; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .cta-actions { justify-content: flex-start; width: 100%; }
}

@media (max-width: 1040px) {
  .main-nav { gap: .8rem; }
  .mode-grid, .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gameplay-grid { grid-template-columns: 1fr; }
  .gameplay-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: stretch;
  }
  .gameplay-card img { height: 100%; min-height: 210px; }
}

@media (max-width: 860px) {
  :root { --header-height: 76px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: calc(var(--header-height) - 2px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: .2rem;
    padding: .8rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10, 16, 23, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: .65rem .75rem; border-radius: 12px; }
  .main-nav a:hover { background: rgba(255,255,255,.08); }
  .nav-cta { justify-content: center; margin-top: .4rem; }
  .hero-layout,
  .split-grid,
  .systems-layout,
  .showcase-layout {
    grid-template-columns: 1fr;
  }
  .legal-grid { grid-template-columns: 1fr; }
  .sim-panel { max-width: 560px; }
  .section-heading, .section-copy { max-width: 100%; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .cta-actions { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand span { font-size: .96rem; }
  .brand img { width: 50px; height: 50px; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 46px) 0 74px; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 16, 23, .97), rgba(9, 16, 23, .70)),
      linear-gradient(180deg, rgba(9, 16, 23, .12), rgba(9, 16, 23, .96));
  }
  h1 { font-size: clamp(2.65rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .lead { font-size: 1.03rem; }
  .section { padding: 74px 0; }
  .mode-grid, .roadmap-grid { grid-template-columns: 1fr; }
  .gameplay-card { grid-template-columns: 1fr; }
  .gameplay-card img { height: 210px; }
  .systems-table div { grid-template-columns: 1fr; gap: .35rem; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item.large, .gallery-item.wide { grid-column: auto; grid-row: auto; }
  .button { width: 100%; min-width: 0; }
  .cta-actions, .hero-actions { width: 100%; }
}
