* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  --bg: #090c11;
  --panel: #101722;
  --panel-2: #0d131d;
  --border: #26354a;
  --text: #f2f6fb;
  --muted: #9aa8ba;
  --blue: #3f8cff;
  --blue-soft: #6aa7ff;
  --header: rgba(8, 11, 16, 0.92);
  --shadow: rgba(0, 0, 0, 0.35);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #c7d0dc;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

nav a:hover,
.report-link:hover,
.ban-link:hover { color: var(--blue-soft); }

.brand-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 102px;
  height: 64px;
  overflow: visible;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 96px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(63,140,255,.24));
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(52,116,211,.18), transparent 35%),
    linear-gradient(135deg, #0b1119 0%, #07090d 65%, #101a27 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 65%, var(--bg));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 74px 0 92px;
}

.hero-logo-layout {
  display: grid;
  grid-template-columns: minmax(380px,.95fr) minmax(420px,1.05fr);
  gap: 48px;
  align-items: center;
}

.hero-logo-art img {
  display: block;
  width: 100%;
  max-width: 610px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 25px 70px rgba(0,0,0,.42);
}

.hero-text { min-width: 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: clamp(2.6rem,7vw,5.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-text h1 { font-size: clamp(2.5rem,5vw,5rem); }

h1 span { color: var(--blue); }

.tagline {
  margin-bottom: 18px;
  font-size: clamp(1.2rem,2.4vw,1.8rem);
  font-weight: 700;
  color: #dce7f6;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.button,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: .18s ease;
}

.button.primary {
  min-height: 46px;
  padding: 0 22px;
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 30px rgba(63,140,255,.16);
}

.button.primary:hover,
.copy-btn:hover { transform: translateY(-1px); }

.subpage {
  min-height: calc(100vh - 140px);
  padding: 90px 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(63,140,255,.10), transparent 30%),
    var(--bg);
}

.page-title {
  font-size: clamp(2.5rem,6vw,4.8rem);
  margin-bottom: 14px;
}

.page-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 36px;
}

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

.server-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
  background: linear-gradient(180deg,var(--panel),var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 30px var(--shadow);
}

.server-card:hover { border-color: #3d5574; }

.server-number {
  margin-bottom: 18px;
  color: var(--blue-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.server-card h2,
.server-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.mode {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .9rem;
}

.server-address {
  margin-top: auto;
  margin-bottom: 12px;
  color: #dce8f7;
  font-family: Consolas,"Courier New",monospace;
  font-size: .92rem;
}

.copy-btn {
  width: 100%;
  min-height: 40px;
  background: #182539;
  color: #dce9fb;
  border: 1px solid #2f4564;
}

.copy-btn:hover { background: #1e3150; }

.connect-help {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  background: #0d131b;
  border-radius: 6px;
}

.connect-help h2,
.connect-help h3 { margin-bottom: 6px; }

.connect-help p {
  margin-bottom: 0;
  color: var(--muted);
}

code {
  color: #dceaff;
  background: #151f2d;
  border: 1px solid #243449;
  padding: 3px 6px;
  border-radius: 4px;
}

.content-panel {
  max-width: 850px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.content-panel p { color: var(--muted); }

.rules-list { padding-left: 22px; }

.rules-list li {
  margin-bottom: 18px;
  color: var(--muted);
}

.rules-list strong { color: var(--text); }

.report-layout {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr);
  gap: 24px;
  align-items: start;
}

.report-form,
.report-note {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.report-form {
  display: grid;
  gap: 18px;
}

.report-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: .9rem;
}

.report-form label span {
  color: var(--muted);
  font-weight: 400;
}

.report-form input,
.report-form select,
.report-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #31435b;
  border-radius: 5px;
  background: #0b1119;
  color: var(--text);
  font: inherit;
}

.report-form textarea { resize: vertical; }

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
  outline: 1px solid var(--blue);
  border-color: var(--blue);
}

.report-note p { color: var(--muted); }

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue-soft);
}

.small-note {
  font-size: .88rem;
  opacity: .75;
}

footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #07090d;
  color: #7f8c9d;
  font-size: .84rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap p { margin-bottom: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  transform: translate(-50%,15px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 16px;
  border: 1px solid #35577f;
  border-radius: 5px;
  background: #101a27;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: .2s ease;
}

.toast.show {
  transform: translate(-50%,0);
  opacity: 1;
}

/* v1.3 */
.report-link { color: #8eb9ff; }
.ban-link { color: #c7d0dc; }

.live-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.live-server-card { min-height: 360px; }

.gt-banner-link {
  display: block;
  width: 100%;
  margin: 6px 0 20px;
  border: 1px solid #2f4564;
  border-radius: 5px;
  overflow: hidden;
  background: #080b10;
  line-height: 0;
}

.gt-banner-link:hover { border-color: var(--blue); }

.gt-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #080b10;
}

.server-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #2f4564;
  border-radius: 5px;
  background: #111b29;
  color: #dce9fb;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 800;
  transition: .18s ease;
}

.gt-btn:hover {
  background: #1e3150;
  border-color: #45678f;
  transform: translateY(-1px);
}

.status-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .84rem;
  text-align: center;
}

.status-note strong { color: #dce8f7; }

@media (max-width: 1100px) {
  nav { gap: 12px; }
  nav a { font-size: .74rem; }
}

@media (max-width: 980px) {
  .hero-logo-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-logo-art img { max-width: 650px; }

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

  .live-grid { grid-template-columns: 1fr; }
  .live-server-card { min-height: 0; }
  .report-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  nav a {
    white-space: nowrap;
    font-size: .72rem;
  }

  .brand-logo {
    width: 94px;
    height: 56px;
  }

  .brand-logo img {
    width: 90px;
    height: 52px;
  }

  .hero { min-height: 540px; }

  .subpage { padding: 66px 0; }

  .footer-wrap { flex-direction: column; }
}

@media (max-width: 520px) {
  .server-actions { grid-template-columns: 1fr; }
}


/* v1.4 - Homepage News & Updates */
.news-section {
  padding: 82px 0 52px;
  background: var(--bg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.archive-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem,4vw,3.2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.section-heading > p:last-child,
.archive-panel > div:first-child > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #111a27, #0d131d);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 34px var(--shadow);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
}

.news-date {
  padding-top: 4px;
  color: var(--blue-soft);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.news-content h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.news-content p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
}

.archive-section {
  padding: 30px 0 86px;
  background: var(--bg);
}

.archive-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .7fr);
  align-items: center;
  gap: 36px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(16,23,34,.72), rgba(13,19,29,.72));
  border: 1px solid var(--border);
  border-radius: 8px;
}

.archive-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  background: rgba(7,10,15,.6);
  border: 1px dashed #334761;
  border-radius: 6px;
}

.archive-empty span {
  color: var(--blue-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.archive-empty strong { color: #e5edf8; }
.archive-empty small { color: var(--muted); }

@media (max-width: 760px) {
  .news-section { padding-top: 62px; }
  .news-card { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .archive-panel { grid-template-columns: 1fr; padding: 24px; }
}


/* v1.5 contact + functional report form */
.email-link { font-weight: 700; word-break: break-word; }
.required-marker { color: #ff6b6b; font-weight: 800; }
.form-required-note { margin: 2px 0 0; font-size: .84rem; opacity: .75; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; }
.form-status.success { color: #7ee787; }
.form-status.error { color: #ff7b72; }
.report-form button[disabled] { opacity: .65; cursor: wait; }
.report-form select[name="rule"] { line-height: 1.3; }

/* v1.7 - AllianceGamerz cinematic site background */
html {
  background: #070b10;
}

body {
  background-color: #070b10;
  background-image:
    linear-gradient(rgba(5, 9, 14, .42), rgba(5, 9, 14, .64)),
    url("ag-site-background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

/* Keep the existing =AG= artwork as the primary site logo. */
.site-header {
  background: rgba(5, 10, 16, .86);
  border-bottom: 1px solid rgba(44, 159, 255, .34);
  box-shadow: 0 8px 28px rgba(0,0,0,.30);
}

nav a {
  transition: color .18s ease, text-shadow .18s ease;
}
nav a:hover,
.report-link:hover,
.ban-link:hover {
  color: #79bdff;
  text-shadow: 0 0 14px rgba(63,140,255,.34);
}

.hero {
  background: linear-gradient(180deg, rgba(5,10,16,.18) 0%, rgba(5,10,16,.42) 70%, rgba(5,10,16,.72) 100%);
}
.hero::before {
  opacity: .16;
}
.hero-overlay {
  background: linear-gradient(to bottom, transparent 55%, rgba(7,11,16,.76));
}
.hero-logo-art img {
  box-shadow: 0 25px 70px rgba(0,0,0,.48), 0 0 35px rgba(36,126,218,.10);
}

.subpage,
.news-section,
.archive-section {
  background: transparent;
}

.subpage {
  background-image: radial-gradient(circle at 75% 0%, rgba(63,140,255,.10), transparent 34%);
}

.server-card,
.content-panel,
.report-note,
.news-card,
.archive-panel {
  background: linear-gradient(180deg, rgba(12,22,33,.90), rgba(7,14,22,.92));
  border-color: rgba(48,113,171,.58);
  box-shadow: 0 16px 38px rgba(0,0,0,.30);
  backdrop-filter: blur(4px);
}

.connect-help,
.archive-empty,
.gt-banner-link {
  background: rgba(6,12,19,.86);
  border-color: rgba(48,113,171,.45);
}

footer {
  background: rgba(4,8,13,.94);
  border-top: 1px solid rgba(44,159,255,.22);
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
    background-size: auto 100vh;
    background-position: center top;
  }
}

/* v2.0 - Tactical dashboard redesign */
:root {
  --cyan: #19b8ff;
  --cyan-soft: #79d2ff;
  --hud: rgba(4, 16, 26, .88);
  --hud-2: rgba(7, 23, 36, .90);
  --hud-border: rgba(24, 181, 255, .62);
}
body { background-image: linear-gradient(rgba(2,8,13,.12),rgba(2,8,13,.34)),url("ag-site-background.png"); }

.cinematic-top { min-height: 300px; position: relative; }
.masthead { min-height: 300px; display:flex; align-items:flex-start; justify-content:space-between; position:relative; padding-top:18px; }
.hero-brand { width: 390px; height: 225px; overflow:hidden; display:block; background:#05090e; box-shadow:0 0 55px rgba(0,0,0,.78); border-radius:4px; }
.hero-brand img { width:100%; height:100%; object-fit:cover; display:block; }
.masthead-copy { margin-top: 42px; text-align:right; letter-spacing:.17em; color:#d9e9f7; text-shadow:0 2px 12px #000; }
.cod-title { font-size:1.05rem; padding-bottom:5px; border-bottom:1px solid rgba(25,184,255,.55); }
.cod-years { font-size:.72rem; margin-top:5px; }
.cod-years i { display:inline-block; width:5px; height:5px; margin:0 9px 2px; border-radius:50%; background:var(--cyan); }
.generation { margin-top:78px; font-size:.75rem; line-height:1.75; }
.generation::after { content:""; display:block; width:80px; height:2px; margin:10px 0 0 auto; background:var(--cyan); }

.home-nav { position:sticky; top:0; background:rgba(2,10,17,.94); border-top:1px solid var(--cyan); border-bottom:1px solid var(--cyan); }
.home-nav .nav-wrap { min-height:50px; }
.home-nav .brand-logo { display:none; }
.home-nav nav { width:100%; gap:0; justify-content:stretch; }
.home-nav nav a { flex:1 1 auto; min-height:48px; display:flex; align-items:center; justify-content:center; padding:0 12px; border-right:1px solid rgba(255,255,255,.055); font-size:.72rem; }
.home-nav nav a:first-child { border-left:1px solid rgba(255,255,255,.055); }
.home-nav nav a.active,.home-nav nav a:hover { color:#dff5ff; background:linear-gradient(180deg,rgba(19,139,210,.38),rgba(6,50,79,.4)); box-shadow:inset 0 -2px 0 var(--cyan),0 0 22px rgba(25,184,255,.12); }

.home-dashboard { padding:20px 0 18px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(310px,.85fr); gap:14px; }
.hud-panel { background:linear-gradient(145deg,var(--hud-2),var(--hud)); border:1px solid var(--hud-border); border-radius:6px; box-shadow:0 14px 35px rgba(0,0,0,.35),inset 0 0 35px rgba(24,181,255,.025); backdrop-filter:blur(4px); }
.welcome-panel { padding:22px 24px 14px; }
.welcome-panel .eyebrow { display:inline; color:#e9f5ff; font-size:1.3rem; letter-spacing:.08em; }
.welcome-panel h1 { display:inline; margin-left:8px; font-size:1.75rem; letter-spacing:.01em; color:#eaf4fc; }
.welcome-panel h1 span { color:var(--cyan); }
.welcome-panel p { margin:14px 0; color:#d3dde6; line-height:1.55; font-size:.95rem; }
.welcome-panel .motto { color:var(--cyan); font-size:1.05rem; font-weight:800; font-style:italic; }
.infrastructure-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; padding-top:16px; border-top:1px solid rgba(121,210,255,.18); }
.infrastructure-item { min-width:0; padding:12px; border:1px solid rgba(77,150,193,.42); border-radius:5px; background:rgba(7,25,38,.58); text-align:center; }
.infrastructure-item img { display:block; width:100%; height:145px; margin:0 auto 8px; object-fit:contain; filter:drop-shadow(0 0 12px rgba(25,184,255,.18)); }
.infrastructure-copy h2 { margin:0 0 6px; color:var(--cyan-soft); font-size:.82rem; line-height:1.25; letter-spacing:.055em; text-transform:uppercase; text-shadow:0 0 10px rgba(22,139,255,.24); }
.welcome-panel .infrastructure-copy p { margin:0; color:#c9d7e2; font-size:.76rem; line-height:1.45; }
.quick-panel { padding:14px; }
.quick-panel h2,.panel-title h2 { margin:0 0 10px; color:var(--cyan); font-size:.9rem; letter-spacing:.07em; }
.quick-links { display:grid; gap:10px; }
.quick-links a { display:flex; justify-content:space-between; align-items:center; min-height:33px; padding:0 12px; border:1px solid rgba(77,150,193,.48); border-radius:3px; background:rgba(11,37,55,.7); text-decoration:none; color:#dbe8f2; font-size:.78rem; }
.quick-links a:hover { border-color:var(--cyan); background:rgba(17,64,91,.75); }
.quick-links b { color:var(--cyan); font-size:1.3rem; }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:10px; }
.value-card { min-height:105px; padding:10px 16px; text-align:center; }
.value-icon { height:30px; color:#5ac5ff; font-size:1.2rem; letter-spacing:-.25em; }
.value-card h2 { margin:0; color:var(--cyan); font-size:1rem; }
.value-card p { margin:2px 0 0; color:#d4dee7; font-size:.76rem; line-height:1.35; }
.lower-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(310px,.85fr); gap:14px; margin-top:10px; }
.news-dashboard,.network-panel { padding:12px 14px; }
.panel-title { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:6px; border-bottom:1px solid rgba(255,255,255,.08); }
.panel-title h2 { margin:0; }
.panel-title span,.panel-title a { color:var(--cyan); font-size:.62rem; font-weight:800; text-decoration:none; letter-spacing:.05em; }
.news-row { display:grid; grid-template-columns:95px 190px 1fr; gap:10px; padding:8px 0; color:#cbd6df; font-size:.72rem; border-bottom:1px solid rgba(255,255,255,.07); }
.news-row strong { color:#edf6fc; }
.archive-inline { display:flex; gap:18px; padding-top:8px; font-size:.7rem; color:#9fb0bf; }
.archive-inline strong { color:var(--cyan); }
.network-panel p { color:#c7d4df; font-size:.78rem; line-height:1.45; }
.network-count { margin:10px 0 5px; }
.network-count strong { color:var(--cyan); font-size:1.8rem; margin-right:6px; }
.hud-button { display:block; margin-top:12px; padding:8px 10px; border:1px solid rgba(77,150,193,.55); border-radius:3px; text-align:center; text-decoration:none; color:#dff4ff; font-size:.68rem; font-weight:800; letter-spacing:.04em; background:rgba(12,46,67,.75); }
.hud-button:hover { border-color:var(--cyan); }
.home-page footer { padding:14px 0; background:rgba(2,8,13,.96); border-top:1px solid rgba(25,184,255,.28); }
.home-page .footer-wrap { align-items:center; color:#b7c3ce; font-size:.7rem; }

/* Carry the v2 tactical treatment across the existing inner pages without changing their content. */
body:not(.home-page) .site-header { border-top:1px solid rgba(25,184,255,.35); border-bottom:1px solid rgba(25,184,255,.48); }
body:not(.home-page) .brand-logo img { filter:drop-shadow(0 0 12px rgba(25,184,255,.35)); }
body:not(.home-page) .subpage { min-height:calc(100vh - 130px); }
body:not(.home-page) .page-title { color:#edf8ff; text-shadow:0 0 24px rgba(25,184,255,.12); }
body:not(.home-page) .page-title::after { content:""; display:block; width:90px; height:2px; margin-top:14px; background:var(--cyan); }
body:not(.home-page) .server-card,body:not(.home-page) .content-panel,body:not(.home-page) .report-form,body:not(.home-page) .report-note { border-color:var(--hud-border); background:linear-gradient(145deg,rgba(7,23,36,.92),rgba(4,16,26,.92)); }
body:not(.home-page) .copy-btn,body:not(.home-page) .gt-btn { border-color:rgba(61,143,194,.6); background:rgba(11,42,62,.8); }

@media (max-width:1000px){
  .cinematic-top,.masthead{min-height:250px}.hero-brand{width:320px;height:190px}.generation{margin-top:50px}
  .home-nav nav a{font-size:.63rem;padding:0 7px}.dashboard-grid,.lower-grid{grid-template-columns:1fr}.values-grid{grid-template-columns:1fr 1fr 1fr}
}

/* Community online counter */
.community-online-section {
  padding: 0 0 24px;
}
.community-online-panel {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:9px 16px;
  border:1px solid rgba(77,150,193,.42);
  border-radius:5px;
  background:rgba(7,25,38,.72);
  box-shadow:inset 0 0 20px rgba(25,184,255,.035);
  color:#c9d7e2;
  font-size:.78rem;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.community-online-dot {
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:50%;
  background:#35cd73;
  box-shadow:0 0 4px rgba(65,245,125,.75),0 0 8px rgba(35,205,83,.30);
}
.community-online-title {
  color:var(--cyan-soft);
  font-weight:800;
  letter-spacing:.075em;
}
#communityOnlineCount {
  color:#f2f6fb;
  font-size:1rem;
}

@media (max-width:760px){
  .cinematic-top,.masthead{min-height:210px}.masthead{padding-top:12px}.hero-brand{width:245px;height:150px}.masthead-copy{margin-top:22px}.generation{display:none}.cod-title{font-size:.8rem}.cod-years{font-size:.58rem}
  .home-nav .nav-wrap{padding:0;flex-direction:row}.home-nav nav{overflow-x:auto;justify-content:flex-start}.home-nav nav a{flex:0 0 auto;padding:0 14px}
  .values-grid{grid-template-columns:1fr}.infrastructure-grid{grid-template-columns:1fr}.infrastructure-item img{height:165px}.news-row{grid-template-columns:1fr;gap:2px}.home-page .footer-wrap{align-items:flex-start}
}
@media (max-width:520px){.hero-brand{width:200px;height:125px}.masthead-copy{display:none}.cinematic-top,.masthead{min-height:170px}.welcome-panel h1{display:block;margin:3px 0 0}.welcome-panel .eyebrow{font-size:.9rem}}

/* v2.0.1 visual cleanup: clean background branding + blend hero art into backdrop */
.hero-logo-art img {
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 48%, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 48%, #000 58%, rgba(0,0,0,.92) 70%, transparent 100%);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.42));
}


/* v2.0.2 - clean cinematic masthead */
.cinematic-top { min-height: 280px; }
.masthead { min-height: 280px; justify-content: flex-start; padding-top: 12px; }
.hero-brand {
  width: 410px;
  height: 255px;
  overflow: visible;
  display: block;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.hero-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.58)) drop-shadow(0 0 12px rgba(25,184,255,.18));
}
.masthead-copy { display:none !important; }

@media (max-width:1000px){
  .cinematic-top,.masthead{min-height:235px}
  .hero-brand{width:350px;height:220px}
}
@media (max-width:760px){
  .cinematic-top,.masthead{min-height:200px}
  .hero-brand{width:300px;height:188px}
}
@media (max-width:520px){
  .cinematic-top,.masthead{min-height:170px}
  .hero-brand{width:250px;height:157px}
}


/* v2.0.3 - fill taller viewports + full hero logo on every page */

/* Keep the footer at the bottom of taller browser windows instead of
   leaving unused document space below it. */
body.home-page,
body.inner-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.home-page > main,
body.inner-page > main {
  flex: 1 0 auto;
}

body.home-page > footer,
body.inner-page > footer {
  flex: 0 0 auto;
}

/* Give the homepage content a little more vertical breathing room. */
.home-dashboard {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* Full transparent =AG= hero logo at the upper-left of every inner page. */
.inner-cinematic-top {
  min-height: 190px;
  flex: 0 0 auto;
  position: relative;
}

.inner-masthead {
  min-height: 190px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 10px;
}

.inner-hero-brand {
  display: block;
  width: 300px;
  height: 180px;
  text-decoration: none;
}

.inner-hero-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  filter:
    drop-shadow(0 10px 24px rgba(0,0,0,.58))
    drop-shadow(0 0 12px rgba(25,184,255,.18));
}

/* The full hero logo now handles the branding above the nav on inner pages,
   so avoid showing a second logo inside the navigation bar. */
.inner-page .site-header .brand-logo {
  display: none;
}

.inner-page .site-header .nav-wrap {
  justify-content: center;
}

.inner-page .site-header nav {
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .inner-cinematic-top,
  .inner-masthead { min-height: 165px; }
  .inner-hero-brand { width: 265px; height: 155px; }
}

@media (max-width: 760px) {
  .home-dashboard { padding-bottom: 34px; }
  .inner-cinematic-top,
  .inner-masthead { min-height: 145px; }
  .inner-hero-brand { width: 235px; height: 138px; }

  .inner-page .site-header .nav-wrap {
    align-items: flex-start;
  }

  .inner-page .site-header nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .inner-cinematic-top,
  .inner-masthead { min-height: 125px; }
  .inner-hero-brand { width: 205px; height: 120px; }
}


/* v2.0.4 - subtler inner-page titles */
.inner-page .page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.65rem);
    color: #7d8790;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, .78),
        0 0 18px rgba(0, 0, 0, .30);
}

@media (max-width: 760px) {
    .inner-page .page-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }
}


/* v2.0.5 - corrected selector for inner-page titles */
body:not(.home-page) h1.page-title {
    font-size: clamp(2.15rem, 4.4vw, 3.45rem) !important;
    color: #737d86 !important;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-shadow:
        0 2px 2px rgba(0, 0, 0, .82),
        0 0 12px rgba(0, 0, 0, .28) !important;
}

@media (max-width: 760px) {
    body:not(.home-page) h1.page-title {
        font-size: clamp(1.95rem, 8vw, 2.75rem) !important;
    }
}

/* Automatic Enforcement - final hover/title alignment */
body:not(.home-page) .server-card h2,
body:not(.home-page) .server-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

body:not(.home-page) .connect-help h2,
body:not(.home-page) .connect-help h3 {
  margin-bottom: 6px;
}

body:not(.home-page) .copy-btn:hover,
body:not(.home-page) .gt-btn:hover {
  background: rgba(22,139,255,.18);
  border-color: #168bff;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(22,139,255,.28),
    0 0 18px rgba(22,139,255,.48),
    inset 0 0 14px rgba(22,139,255,.10);
  transform: translateY(-1px);
}

.home-page .quick-panel h2,
.home-page .panel-title h2,
.home-page .value-card h2 {
  color: #79bdff;
  text-shadow: 0 0 12px rgba(22,139,255,.32);
}

/* Automatic Enforcement - electric navigation titles */
.site-header nav a,
.home-nav nav a {
  color: #d7e8f7;
  text-shadow:
    0 1px 1px rgba(0,0,0,.85),
    0 0 8px rgba(22,139,255,.16);
  transition:
    color .18s ease,
    text-shadow .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.site-header nav a:hover,
.home-nav nav a:hover {
  color: #79bdff;
  text-shadow:
    0 0 6px rgba(121,189,255,.65),
    0 0 14px rgba(22,139,255,.55);
}

.site-header nav a.active,
.home-nav nav a.active {
  color: #79bdff;
  text-shadow:
    0 0 6px rgba(121,189,255,.72),
    0 0 16px rgba(22,139,255,.62);
}

.site-header nav a.active::after,
.home-nav nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: #168bff;
  box-shadow:
    0 0 6px rgba(22,139,255,.75),
    0 0 12px rgba(22,139,255,.45);
}

/* Automatic Enforcement - electric contact email */
.email-link {
  color: #d7e8f7;
  text-shadow: 0 0 8px rgba(22,139,255,.14);
  transition: color .18s ease, text-shadow .18s ease;
}

.email-link:hover {
  color: #79bdff;
  text-shadow:
    0 0 6px rgba(121,189,255,.68),
    0 0 14px rgba(22,139,255,.58);
}



/* Homepage social media links */
.home-page .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.home-page .footer-social > span {
  margin-right: 2px;
  color: #79bdff;
  font-weight: 800;
  letter-spacing: .075em;
}

.home-page .footer-social .social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(77,150,193,.42);
  border-radius: 3px;
  background: rgba(7,25,38,.62);
  color: #d7e8f7;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-page .footer-social .social-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: currentColor;
}

.home-page .footer-social .social-link:hover {
  color: #79bdff;
  border-color: #168bff;
  background: rgba(17,64,91,.72);
  box-shadow: 0 0 12px rgba(22,139,255,.30);
  transform: translateY(-1px);
}

.home-page .footer-social .social-link:focus-visible {
  outline: 2px solid #79bdff;
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .home-page .footer-social {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
