/* CityConflict: Global Wars – Landing Page */

@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090b0e;
  --bg-2: #0f1216;
  --surface: #14181d;
  --surface-2: #1b2027;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f4;
  --muted: #9ba5b0;
  --gold: #fdb20f;
  --gold-soft: #fcc64e;
  --gold-dim: rgba(253, 178, 15, 0.14);
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --chamfer: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #111;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --btn-bg: var(--gold);
  --btn-fg: #121212;
  font-weight: 700;
}
.btn-primary:hover { --btn-bg: var(--gold-soft); }

.btn-discord { --btn-bg: var(--discord); --btn-fg: #fff; }
.btn-discord:hover { --btn-bg: var(--discord-hover); }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.16); }

.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.95rem; --chamfer: 9px; }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 1.2rem; }

.store-badge {
  display: inline-block;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.store-badge img { height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(9, 11, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.main-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.main-nav a:not(.btn):hover { color: var(--text); }

.lang-switch {
  display: flex;
  border: 1px solid var(--line-strong);
}
.lang-switch a {
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
}
.lang-switch a[aria-current="true"] { background: var(--gold); color: #121212; }
.lang-switch a:not([aria-current="true"]):hover { color: var(--text); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 120px;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.94) 0%, rgba(9, 11, 14, 0.7) 40%, rgba(9, 11, 14, 0.2) 75%, rgba(9, 11, 14, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 11, 14, 0) 35%),
    linear-gradient(180deg, rgba(9, 11, 14, 0.7) 0%, rgba(9, 11, 14, 0) 22%);
}

.hero-content { max-width: 680px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(253, 178, 15, 0.35);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(253, 178, 15, 0.6);
  animation: ping 2s infinite;
}

.hero-title {
  margin-top: 22px;
}
.hero-title .title-a {
  display: block;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--text);
}
.hero-title .title-b {
  display: block;
  margin-top: 4px;
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #c4cad1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-desc {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #cdd3d9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: #c3cad1;
}
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list .icon { color: var(--gold); width: 1.05em; height: 1.05em; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.scroll-cue .icon { animation: bob 2s ease-in-out infinite; }

/* ---------- Stats ---------- */

.stats {
  position: relative;
  margin-top: -56px;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(20, 24, 29, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}
.stat {
  padding: 26px 16px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 140px) 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vw, 88px);
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.section-title {
  margin-top: 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.section-desc {
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- Showcase ---------- */

.showcase-list {
  display: grid;
  gap: clamp(72px, 10vw, 130px);
}

.showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.showcase.is-reversed .showcase-media { order: 2; }

.showcase-media {
  position: relative;
  padding: 10px;
}
.showcase-media::before,
.showcase-media::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.showcase-media::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.showcase-media::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.showcase-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.showcase:hover .showcase-frame img { transform: scale(1.04); }
.showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 14, 0) 60%, rgba(9, 11, 14, 0.45) 100%);
}

.showcase-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.showcase-badge .icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(253, 178, 15, 0.3);
}

.showcase-title {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
.showcase-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.feature-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
}
.feature-chips .icon { width: 1em; height: 1em; color: var(--gold); }

/* ---------- Platforms ---------- */

.platforms { background: var(--bg-2); border-block: 1px solid var(--line); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.platform-card:hover { border-color: rgba(253, 178, 15, 0.4); transform: translateY(-4px); }
.platform-card .platform-icon {
  width: 56px;
  height: 56px;
  padding: 13px;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(253, 178, 15, 0.3);
}
.platform-card .watermark {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.platform-card h3 { margin-top: 22px; font-size: 1.8rem; }
.platform-card p { margin: 10px 0 28px; color: var(--muted); }
.platform-card .btn,
.platform-card .store-badge { margin-top: auto; }

/* ---------- Community ---------- */

.community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.community-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.96) 0%, rgba(9, 11, 14, 0.85) 45%, rgba(20, 24, 70, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 11, 14, 0) 25%),
    linear-gradient(180deg, var(--bg-2) 0%, rgba(9, 11, 14, 0) 25%);
}

.community-inner { max-width: 640px; }
.community-logo {
  width: 72px;
  height: 72px;
  padding: 16px;
  color: #fff;
  background: var(--discord);
  margin-bottom: 28px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.community .section-title { margin-top: 14px; }
.community .section-desc { margin: 18px 0 0; color: #c3cad1; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  color: #fff;
  background: rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(88, 101, 242, 0.7);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 36px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color 0.2s, border-color 0.2s;
}
.social-links a:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--text); }

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  isolation: isolate;
  text-align: center;
  overflow: hidden;
}
.final-cta .final-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(9, 11, 14, 0.55) 0%, var(--bg) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 11, 14, 0) 40%);
}
.final-logo { width: min(360px, 80%); height: auto; margin: 0 auto 36px; }
.final-cta .section-title { margin: 0 auto; max-width: 760px; }
.final-cta .section-desc { margin-top: 14px; }
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: #07080a;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-top .brand img { height: 36px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a { text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Rechtsseiten ---------- */

.legal-page .site-header {
  background: rgba(9, 11, 14, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.legal {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(253, 178, 15, 0.07) 0%, rgba(9, 11, 14, 0) 70%),
    var(--bg);
}
.legal-inner { max-width: 820px; }

.legal-head { margin-bottom: 40px; }
.legal-head .section-title { margin-top: 14px; }
.legal-note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }

.legal-toc {
  margin-bottom: 48px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
}
.legal-toc strong {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }

.legal-body { margin-bottom: 48px; color: #c9cfd6; }
.legal-body section { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  color: var(--text);
}
.legal-body section:first-child h2,
.legal-body > h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-body li { margin: 4px 0; }
.legal-body li::marker { color: var(--gold); }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--gold); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body a:hover { color: var(--gold-soft); }
.legal-box {
  padding: 18px 20px;
  background: var(--gold-dim);
  border: 1px solid rgba(253, 178, 15, 0.3);
}

.icon-flip { transform: scaleX(-1); }

@media (max-width: 600px) {
  .legal-toc ol { columns: 1; }
}

/* ---------- Reveal-Animationen (nur mit JS) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(253, 178, 15, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(253, 178, 15, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 178, 15, 0); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Responsive ---------- */

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

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(9, 11, 14, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav .lang-switch { align-self: flex-start; margin: 18px 0; }
  .main-nav .btn { width: 100%; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }

  .showcase { grid-template-columns: 1fr; }
  .showcase.is-reversed .showcase-media { order: 0; }

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

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand img { height: 32px; }

  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(9, 11, 14, 0.85) 45%, rgba(9, 11, 14, 0.35) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .store-badge { margin: 0 auto; }
  .scroll-cue { display: none; }

  .stats { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n + 2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; }

  .community-actions .btn,
  .final-actions .btn { width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
