:root {
  --bg: #111827;
  --panel: rgba(24, 35, 58, 0.9);
  --panel-strong: rgba(28, 39, 68, 0.98);
  --line: rgba(255, 203, 99, 0.34);
  --text: #fff9ec;
  --muted: #c9d8e2;
  --gold: #ffd66b;
  --cyan: #5bd8ff;
  --orange: #ff8a3d;
  --purple: #b388ff;
  --green: #72d39d;
  --red: #ef7f7f;
  --stone: #263a57;
  --iron: #142033;
  --ember: #c76432;
}

.site-shell {
  background:
    linear-gradient(180deg, rgba(22, 35, 63, 0.86), rgba(17, 24, 39, 0.98) 70%),
    url("./images/nova4-2.png") center top / cover fixed;
}

.landing-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(10, 18, 33, 0.42), rgba(17, 24, 39, 0.94)),
    url("./images/galaxy.png") center / cover;
  background-color: #111827;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 2px solid rgba(255, 214, 107, 0.62);
  background: linear-gradient(180deg, rgba(45, 61, 98, 0.98), rgba(20, 32, 57, 0.98));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Audiowide", sans-serif;
  color: var(--text);
}

.site-brand img {
  width: 42px;
  height: 42px;
}

.site-brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  color: #ddecf3;
  font-weight: 800;
}

.site-nav a,
.site-pill,
.site-button,
.site-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 214, 107, 0.28);
  border-radius: 8px;
  background: rgba(17, 31, 56, 0.5);
}

.site-nav a:hover,
.site-pill:hover,
.site-button-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.site-button {
  border-color: rgba(255, 214, 107, 0.72);
  background: linear-gradient(180deg, #ff9b44, #d36628);
  color: #171a24;
  font-weight: 900;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.site-button-secondary {
  color: var(--text);
  background: linear-gradient(180deg, #1688a7, #0d5a78);
}

.site-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  overflow-x: hidden;
}

.gateway-main {
  width: min(980px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 54px 0;
}

.gateway-card {
  width: 100%;
  padding: clamp(26px, 5vw, 54px);
  border: 2px solid rgba(255, 214, 107, 0.56);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(34, 52, 84, 0.82), rgba(15, 27, 50, 0.9)),
    rgba(17, 31, 56, 0.9);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.08), 0 28px 60px rgba(0, 0, 0, 0.42);
}

.gateway-logo {
  width: clamp(96px, 16vw, 144px);
  height: clamp(96px, 16vw, 144px);
  margin: 0 auto 20px;
  padding: 18px;
  border: 2px solid rgba(255, 214, 107, 0.6);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(21, 133, 166, 0.78), rgba(26, 42, 73, 0.9));
}

.gateway-logo img {
  width: 100%;
  height: 100%;
}

.gateway-main h1,
.page-hero h1 {
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(6, 10, 18, 0.42);
}

.gateway-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.gateway-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
  text-align: left;
}

.page-hero {
  padding: clamp(48px, 8vw, 94px) 0 34px;
}

.page-hero.center {
  text-align: center;
}

.page-copy {
  max-width: 760px;
  color: #f4fbff;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.page-hero.center .page-copy {
  margin-left: auto;
  margin-right: auto;
}

.site-grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.site-card,
.feature-card-unified,
.article-card,
.download-card {
  min-width: 0;
  padding: 22px;
  border: 2px solid rgba(255, 214, 107, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(40, 60, 92, 0.95), rgba(17, 31, 56, 0.96));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(0, 0, 0, 0.26);
}

.site-card:hover,
.article-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.site-card .kicker,
.article-kicker,
.tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 900;
}

.site-card strong,
.feature-card-unified strong,
.article-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.25rem;
}

.site-card p,
.feature-card-unified p,
.article-card p,
.article-body p,
.download-card p {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 18px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.article-body {
  max-width: 860px;
  margin: 0 auto 44px;
  padding: clamp(22px, 4vw, 42px);
  border: 2px solid rgba(255, 214, 107, 0.38);
  border-radius: 8px;
  background: rgba(17, 31, 56, 0.92);
}

.article-body h2,
.article-body h3 {
  color: var(--gold);
  margin-top: 1.5em;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.starmap-frame-link {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
}

* {
  box-sizing: border-box;
}

html {
  background: #111827;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Exo 2", Arial, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.platform-shell {
  background:
    linear-gradient(180deg, rgba(18, 30, 53, 0.16), #111827 72%),
    url("./images/galaxy.png") center top / cover fixed;
}

.mmo-shell,
.aroc-shell {
  background:
    linear-gradient(180deg, rgba(15, 24, 43, 0.28), rgba(17, 24, 39, 0.96) 76%),
    url("./images/nova4-2.png") center top / cover fixed;
}

.cheerful-shell {
  background-color: #142039;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(16px);
}

.mmo-topbar {
  border-bottom: 2px solid rgba(255, 214, 107, 0.58);
  background:
    linear-gradient(180deg, rgba(43, 60, 91, 0.96), rgba(17, 28, 49, 0.96));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  max-width: 100%;
  min-width: 0;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-panel {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 132px) 0 48px;
}

.mmo-hero,
.aroc-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: end;
  padding: clamp(70px, 9vw, 126px) 0 38px;
}

.mmo-hero {
  position: relative;
}

.mmo-hero-art {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.96), rgba(5, 8, 12, 0.54) 52%, rgba(5, 8, 12, 0.82)),
    url("./images/Aphelion_Drift_White_Logo.png") right 9% center / min(44vw, 560px) no-repeat,
    url("./images/galaxy.png") center / cover;
  border-bottom: 1px solid rgba(217, 184, 112, 0.32);
}

.mmo-hero-copy {
  max-width: 760px;
  min-width: 0;
}

.hero-media {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.94) 0%, rgba(8, 11, 16, 0.64) 44%, rgba(8, 11, 16, 0.2) 100%),
    url("./images/nova4-2.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: #d6e3df;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
button {
  border: 1px solid var(--line);
  min-height: 44px;
  padding: 11px 18px;
  color: var(--text);
  background: rgba(18, 35, 58, 0.92);
  font-weight: 800;
  cursor: pointer;
}

.primary-action,
button {
  border-color: rgba(255, 214, 107, 0.66);
  background: linear-gradient(180deg, #1688a7, #0d5a78);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16);
}

.secondary-action:hover,
.primary-action:hover,
button:hover {
  border-color: var(--gold);
}

.launcher-panel,
.community-terminal,
.scroll-panel,
.hub-module,
.auth-card,
.notice-panel {
  border: 1px solid rgba(255, 214, 107, 0.48);
  background:
    linear-gradient(180deg, rgba(36, 55, 86, 0.95), rgba(16, 27, 48, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.36);
}

.classic-hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  place-items: center;
  padding: clamp(70px, 9vw, 120px) 0 54px;
  text-align: center;
}

.classic-hero-bg {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 24, 45, 0.36), rgba(13, 24, 45, 0.9)),
    linear-gradient(90deg, rgba(13, 24, 45, 0.92), rgba(13, 24, 45, 0.36), rgba(13, 24, 45, 0.92)),
    url("./images/nova4-2.png") center / cover;
  border-bottom: 2px solid rgba(255, 214, 107, 0.48);
}

.hero-crest {
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 214, 107, 0.55);
  background: linear-gradient(180deg, rgba(16, 136, 167, 0.55), rgba(28, 39, 68, 0.86));
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(0, 0, 0, 0.38);
}

.hero-crest img {
  width: 92px;
  height: 92px;
}

.classic-hero h1 {
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(5, 10, 18, 0.46);
}

.classic-hero .hero-copy {
  margin-left: auto;
  margin-right: auto;
  color: #f4fbff;
}

.hero-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  width: min(760px, 100%);
  margin-top: 34px;
}

.choice-card {
  min-width: 0;
  min-height: 180px;
  padding: 24px;
  border: 2px solid rgba(255, 214, 107, 0.5);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 55, 86, 0.96), rgba(15, 28, 52, 0.96));
  text-align: left;
  overflow-wrap: anywhere;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.08), 0 20px 36px rgba(0, 0, 0, 0.32);
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.choice-card span,
.adventure-band article > span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.choice-card strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 1.55rem;
}

.choice-card p {
  color: var(--muted);
  line-height: 1.5;
}

.game-choice {
  background:
    linear-gradient(180deg, rgba(255, 138, 61, 0.22), rgba(15, 28, 52, 0.96)),
    linear-gradient(180deg, rgba(36, 55, 86, 0.96), rgba(15, 28, 52, 0.96));
}

.aroc-choice {
  background:
    linear-gradient(180deg, rgba(91, 216, 255, 0.2), rgba(15, 28, 52, 0.96)),
    linear-gradient(180deg, rgba(36, 55, 86, 0.96), rgba(15, 28, 52, 0.96));
}

.notice-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -22px 0 44px;
  border: 2px solid rgba(255, 214, 107, 0.5);
  background: rgba(255, 214, 107, 0.4);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.notice-ribbon article {
  min-height: 94px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(34, 51, 82, 0.98), rgba(16, 27, 48, 0.98));
}

.notice-ribbon span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}

.notice-ribbon strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 1.35rem;
}

.classic-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.feature-scroll {
  border-width: 2px;
  border-radius: 8px;
}

.adventure-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 42px 0;
}

.adventure-band article,
.faction-strip article {
  min-height: 190px;
  padding: 22px;
  border: 2px solid rgba(255, 214, 107, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(38, 58, 87, 0.96), rgba(17, 31, 56, 0.96));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.07);
}

.adventure-band strong,
.faction-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 1.18rem;
}

.adventure-band p,
.adventure-band article > span:last-child,
.faction-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.faction-strip {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 28px;
}

.faction-strip > div {
  padding: 10px 0;
}

.faction-strip h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

.launcher-panel {
  align-self: end;
}

.launcher-header {
  padding: 18px;
  border-bottom: 1px solid rgba(217, 184, 112, 0.26);
  background: rgba(0, 0, 0, 0.22);
}

.launcher-header span,
.launcher-row span,
.terminal-line span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.launcher-header strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 1.15rem;
}

.launcher-row,
.terminal-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid rgba(154, 196, 196, 0.14);
}

.launcher-row strong,
.terminal-line strong {
  color: var(--text);
  white-space: nowrap;
}

.status-good {
  color: var(--green) !important;
}

.mmo-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: -10px 0 42px;
}

.stone-tab {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(217, 184, 112, 0.35);
  background:
    linear-gradient(180deg, rgba(37, 50, 60, 0.92), rgba(12, 18, 25, 0.94));
  box-shadow: inset 0 3px 0 rgba(217, 184, 112, 0.16);
}

.stone-tab:hover,
.hub-module:hover {
  border-color: rgba(139, 217, 232, 0.72);
  transform: translateY(-1px);
}

.stone-tab span {
  color: var(--orange);
  font-weight: 800;
}

.stone-tab strong {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 1.25rem;
}

.stone-tab p,
.hub-module span,
.notice-panel span,
.muted-copy {
  color: var(--muted);
  line-height: 1.5;
}

.two-column-board,
.hub-board,
.auth-layout {
  display: grid;
  gap: 18px;
}

.two-column-board {
  grid-template-columns: 1fr 1fr;
}

.scroll-panel,
.hub-module {
  padding: 22px;
}

.panel-title {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(217, 184, 112, 0.22);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 42px 0 18px;
  border: 1px solid rgba(217, 184, 112, 0.32);
  background: rgba(217, 184, 112, 0.32);
}

.feature-band article {
  padding: 24px;
  background: rgba(16, 27, 48, 0.94);
}

.feature-band strong {
  display: block;
  color: var(--gold);
  font-size: 1.12rem;
}

.feature-band span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.5;
}

.aroc-hero {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.community-terminal {
  padding: 8px 0;
}

.hub-board {
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 44px;
}

.hub-module.large {
  grid-row: span 2;
}

.link-module h2 {
  margin-bottom: 14px;
}

.auth-layout {
  grid-template-columns: 0.8fr 1.2fr;
  padding: 72px 0;
  align-items: start;
}

.auth-intro {
  padding-top: 20px;
}

.auth-intro h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.auth-intro p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.08rem;
}

.auth-forms {
  display: grid;
  gap: 16px;
}

.notice-panel {
  margin-top: 22px;
  padding: 18px;
}

.notice-panel strong {
  display: block;
  color: var(--gold);
  margin-bottom: 7px;
}

.auth-body {
  display: grid;
  place-items: center;
}

.auth-gate {
  width: min(560px, calc(100% - 32px));
}

.auth-card {
  padding: clamp(24px, 5vw, 40px);
}

.auth-card h1 {
  font-size: clamp(2rem, 8vw, 4rem);
}

.stack-form {
  margin-top: 24px;
}

.quiet-link {
  display: inline-block;
  color: var(--cyan);
  font-weight: 800;
}

.portal-main {
  padding: 44px 0;
}

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

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 48px;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-band article {
  min-height: 116px;
  padding: 22px;
  background: rgba(9, 14, 20, 0.92);
}

.metric {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}

.service-tile,
.admin-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.service-tile {
  min-height: 220px;
  padding: 24px;
}

.service-tile:hover {
  border-color: rgba(217, 184, 112, 0.66);
  background: rgba(17, 27, 38, 0.94);
}

.tile-kicker {
  display: block;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.service-tile strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 1.35rem;
}

.service-tile p,
.split-section p,
.admin-banner p {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.feed-list {
  display: grid;
  gap: 12px;
}

.feed-item {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(18, 32, 56, 0.82);
  border-radius: 8px;
}

.feed-item strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.feed-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 40px auto 0;
  padding: 24px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.admin-main {
  padding: 48px 0;
}

.admin-banner {
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

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

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(154, 196, 196, 0.28);
  background: rgba(3, 8, 12, 0.72);
  color: var(--text);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.audit-panel {
  margin-top: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.audit-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.audit-entry {
  padding: 12px;
  border: 1px solid rgba(154, 196, 196, 0.18);
  background: rgba(3, 8, 12, 0.55);
  color: var(--muted);
}

.audit-entry strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .status-band,
  .grid-section,
  .split-section,
  .admin-grid,
  .mmo-hero,
  .aroc-hero,
  .mmo-nav-grid,
  .two-column-board,
  .classic-board,
  .feature-band,
  .adventure-band,
  .faction-strip,
  .hub-board,
  .auth-layout,
  .notice-ribbon,
  .gateway-links,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .site-topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-panel {
    min-height: 68vh;
  }

  .mmo-hero,
  .aroc-hero,
  .classic-hero {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  main,
  .site-footer {
    width: calc(100% - 80px);
    max-width: 1180px;
  }

  .topbar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-main,
  .gateway-main {
    width: calc(100% - 32px);
  }

  .site-topbar {
    padding: 14px 16px;
  }

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

  .site-nav a {
    min-width: 0;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .classic-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
    line-height: 1.02;
  }

  .classic-hero .hero-copy,
  .page-copy,
  .choice-card p {
    width: calc(100% - 36px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero {
    overflow: hidden;
  }

  .mmo-hero,
  .aroc-hero {
    min-height: auto;
    padding-top: 72px;
  }

  .classic-hero {
    min-height: auto;
    padding-top: 58px;
  }

  .mmo-hero-art {
    background:
      linear-gradient(90deg, rgba(5, 8, 12, 0.96), rgba(5, 8, 12, 0.66) 58%, rgba(5, 8, 12, 0.9)),
      url("./images/Aphelion_Drift_White_Logo.png") right -70px bottom 130px / 260px no-repeat,
      url("./images/galaxy.png") center / cover;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    font-size: 0.8rem;
  }

  .nav-links a {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .brand {
    align-self: flex-start;
  }

  .launcher-row,
  .terminal-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero-crest {
    width: 104px;
    height: 104px;
  }

  .hero-crest img {
    width: 72px;
    height: 72px;
  }
}
