:root {
  --bg: #05090d;
  --bg-soft: #0a1620;
  --surface: #0c1822;
  --surface-2: #101f2b;
  --line: rgba(218, 229, 238, .1);
  --line-strong: rgba(218, 229, 238, .22);
  --text: #f5f7f8;
  --muted: #9aa8b3;
  --acid: #ef3e4a;
  --acid-dark: #c92835;
  --orange: #ef3e4a;
  --danger: #ff6470;
  --shell: min(1140px, calc(100% - 40px));
}

body {
  background:
    radial-gradient(circle at 15% 18%, rgba(239, 62, 74, .045), transparent 20rem),
    var(--bg);
}

.site-header {
  height: 72px;
  background: rgba(3, 7, 10, .96);
  border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.brand {
  font-size: .95rem;
  letter-spacing: .11em;
}

.brand-mark {
  width: 38px;
  height: 40px;
  color: #fff;
  background: var(--acid);
  clip-path: polygon(50% 0, 94% 22%, 94% 72%, 50% 100%, 6% 72%, 6% 22%);
  box-shadow: 0 0 24px rgba(239, 62, 74, .24);
}

.site-nav { gap: 32px; }
.site-nav a {
  position: relative;
  color: #aeb8bf;
  font-size: .76rem;
  font-weight: 500;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -12px;
  height: 1px;
  background: var(--acid);
  transition: left .2s ease, right .2s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { left: 0; right: 0; }
.site-nav .nav-cta {
  padding: 9px 15px;
  color: #fff;
  border: 1px solid var(--acid);
  background: transparent;
}
.site-nav .nav-cta:hover { color: #fff; background: var(--acid); }
.site-nav .nav-cta::after { display: none; }

.hero {
  min-height: 620px;
  height: calc(100vh - 72px);
  max-height: 820px;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 8, .92) 0%, rgba(2, 5, 8, .69) 38%, rgba(2, 5, 8, .24) 72%, rgba(2, 5, 8, .36) 100%),
    linear-gradient(0deg, rgba(3, 8, 12, .65), transparent 45%),
    url('/assets/hero-concept.webp');
  background-size: cover;
  background-position: center center;
  border-bottom: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 95%, rgba(239, 62, 74, .5) 95% 95.15%, transparent 95.15%),
    linear-gradient(0deg, rgba(6, 15, 21, .9), transparent 15%);
}
.hero::after {
  content: 'CONCEPT VISUAL · NOT GAMEPLAY';
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100vw - 1140px) / 2));
  bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--acid);
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.hero-grid {
  opacity: .12;
  background-image: radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1.5px);
  background-size: 8px 8px;
  width: 84px;
  height: 84px;
  inset: auto auto 42px 4.5%;
  mask-image: none;
}
.hero-inner {
  display: block;
  padding-block: 80px;
}
.hero-copy { max-width: 610px; }
.hero h1 {
  margin: 22px 0 20px;
  max-width: 580px;
  font-family: var(--font-body);
  font-size: clamp(2.65rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: none;
  text-shadow: 0 4px 35px rgba(0,0,0,.65);
}
.hero-copy > p {
  max-width: 540px;
  color: #d0d6da;
  font-size: 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
}
.hero .hero-note { color: #9ba5ab; }
.district-panel,
.hero-marquee { display: none; }

.status-pill {
  padding: 0 0 8px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid var(--acid);
  background: transparent;
  letter-spacing: .11em;
}
.status-dot {
  background: var(--acid);
  box-shadow: 0 0 12px rgba(239, 62, 74, .8);
}
.button {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 2px;
  border-color: var(--acid);
  background: var(--acid);
  color: #fff;
  font-size: .78rem;
  box-shadow: 0 10px 25px rgba(239, 62, 74, .12);
}
.button:hover { border-color: #ff5c66; background: #ff5c66; }
.button-ghost { border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.18); color: #fff; }
.button-ghost:hover { border-color: var(--acid); background: rgba(239,62,74,.12); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline-color: rgba(239,62,74,.55);
}

.section { padding-block: 92px; }
.hero + .section {
  position: relative;
  background: #08131b;
}
.hero + .section::before,
.manifesto::before,
.faq-section::before {
  content: '';
  position: absolute;
  width: 64px;
  height: 92px;
  left: 3%;
  top: 28px;
  opacity: .22;
  background-image: radial-gradient(circle, var(--acid) 1px, transparent 1.5px);
  background-size: 9px 9px;
}
.section-heading {
  position: relative;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  text-align: center;
}
.section-heading > .text-link { position: absolute; right: 0; }
.eyebrow {
  color: #fff;
  font-size: .72rem;
  letter-spacing: .06em;
}
.eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto 0;
  background: var(--acid);
}
.hero .eyebrow::after,
.status-pill::after,
.article .eyebrow::after,
.account-heading .eyebrow::after,
.admin-heading .eyebrow::after,
.auth-panel .eyebrow::after,
.about-intro .eyebrow::after,
.state-card .eyebrow::after { margin-left: 0; }
.section-heading h2,
.manifesto h2,
.about-intro h2,
.gallery-coming h2,
.empty-state h2 {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 650;
  line-height: 1.08;
  text-transform: none;
}
.text-link, .back-link { font-size: .76rem; text-decoration-color: var(--acid); }

.news-grid {
  gap: 18px;
  border: 0;
}
.news-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  background: linear-gradient(145deg, #0d1b26, #09131b);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}
.news-card::after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(239,62,74,.18);
  border-radius: 50%;
}
.news-card h3 {
  margin-top: 42px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: none;
}
.news-card .eyebrow,
.news-card .text-link { color: var(--acid); }
.news-card .eyebrow::after { display: none; }

.manifesto {
  position: relative;
  border: 0;
  background: #050b10;
}
.manifesto-grid {
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  padding-block: 100px;
}
.manifesto-grid > div:first-child {
  min-height: 330px;
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(5,9,13,.1), rgba(5,9,13,.82)),
    url('/assets/hero-concept.webp') center 62% / cover;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.manifesto-grid > div:first-child h2 {
  max-width: 370px;
  margin-top: 32px;
  color: #fff;
  text-shadow: 0 3px 25px #000;
}
.manifesto-copy { align-self: center; }
.manifesto-copy > p { color: #b6c0c7; font-size: 1rem; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
  border: 0;
}
.principles > div {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.principles span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  border: 1px solid rgba(239,62,74,.7);
  color: var(--acid);
  font-family: var(--font-body);
}
.principles strong { font-size: .78rem; }
.principles p { color: #81909a; font-size: .72rem; line-height: 1.55; }

.page-hero {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 105px max(20px, calc((100vw - 1140px) / 2)) 75px;
  overflow: hidden;
  background: linear-gradient(125deg, #091722 0%, #071018 65%, #10151a 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: 'OD';
  position: absolute;
  right: 6%;
  bottom: -95px;
  color: rgba(239,62,74,.045);
  font-size: 15rem;
  font-weight: 800;
}
.page-hero h1,
.article h1,
.account-heading h1,
.admin-heading h1,
.auth-panel h1,
.state-card h1 {
  margin: 22px 0 18px;
  font-family: var(--font-body);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  text-transform: none;
}
.page-hero p { color: #aeb9c0; }

.empty-state,
.gallery-coming,
.gallery-card,
.account-card,
.admin-form,
.table-wrap {
  border-color: rgba(255,255,255,.09);
  background: #0b1720;
  box-shadow: 0 22px 55px rgba(0,0,0,.16);
}
.empty-icon,
.status-banner { border-color: rgba(239,62,74,.4); color: var(--acid); }
.gallery-coming { padding: 36px; }
.coming-visual {
  background:
    linear-gradient(145deg, rgba(5,10,14,.1), rgba(5,10,14,.55)),
    url('/assets/hero-concept.webp') center / cover;
}
.coming-visual span { color: rgba(239,62,74,.12); }
.coming-visual div { border-color: rgba(239,62,74,.3); }
.media-concept,
.media-development { color: #ff8991; }

.about-grid { gap: 70px; }
.status-banner { background: rgba(239,62,74,.06); }
.status-list article > span,
.auth-switch a,
.table-status.status-published,
.news-card h3 a:hover,
.footer-grid a:hover { color: var(--acid); }
.faq-section {
  position: relative;
  background: #091620;
  border-top-color: rgba(255,255,255,.07);
}
.faq-grid { border-color: rgba(255,255,255,.08); }
.faq-grid article { background: rgba(5,10,14,.22); }

.auth-art {
  background:
    linear-gradient(145deg, rgba(2,6,9,.18), rgba(2,6,9,.8)),
    url('/assets/hero-concept.webp') 60% center / cover;
}
.auth-od { color: rgba(239,62,74,.12); }
.auth-lines { border-color: rgba(239,62,74,.35); }
.auth-panel { background: #0a151e; }
.form input,
.form textarea,
.form select { background: #050b10; }
.account-avatar { background: var(--acid); color: #fff; }
.admin-stats article { background: #0a151e; }
.table-actions button { color: #ff8e96; }

.site-footer {
  padding-top: 58px;
  background: #081520;
  border-top-color: rgba(255,255,255,.07);
}
.footer-grid { padding-bottom: 45px; }
.footer-bottom { border-top-color: rgba(255,255,255,.07); }

@media (max-width: 980px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-grid > div:first-child { min-height: 280px; }
  .section-heading > .text-link { position: static; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; }
  .site-nav { top: 66px; background: #050a0e; }
  .site-nav a::after { bottom: 7px; left: 14px; right: calc(100% - 34px); }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { left: 14px; right: calc(100% - 48px); }
  .hero { min-height: 610px; height: calc(100svh - 66px); background-position: 61% center; }
  .hero::after { right: 14px; bottom: 18px; font-size: .58rem; }
  .hero-inner { padding-block: 66px 90px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-copy > p { max-width: 95%; font-size: .94rem; }
  .hero .button-row { flex-direction: column; align-items: stretch; max-width: 280px; }
  .section { padding-block: 70px; }
  .section-heading { align-items: flex-start; text-align: left; }
  .section-heading .eyebrow::after { margin-left: 0; }
  .manifesto-grid { padding-block: 70px; gap: 30px; }
  .manifesto-grid > div:first-child { min-height: 245px; padding: 28px; }
  .principles { grid-template-columns: 1fr; }
  .principles > div { min-height: auto; text-align: left; display: grid; grid-template-columns: 48px 1fr; }
  .principles span { grid-row: span 2; }
  .principles p { grid-column: 2; }
  .page-hero { padding-top: 75px; }
  .page-hero h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
