:root {
  --bg: #090c0d;
  --panel: #111718;
  --panel-2: #171f20;
  --text: #f2f4ef;
  --muted: #9da7a3;
  --accent: #d63434;
  --accent-dark: #8e2020;
  --line: rgba(255,255,255,.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: transparent;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7,10,10,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-logo {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}
nav { display: flex; gap: 28px; }
nav a {
  color: #d8ddda;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
nav a:hover { color: white; }

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 24px 75px;
  background: rgba(5, 10, 10, .34);
  backdrop-filter: blur(1px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.56), rgba(0,0,0,.12) 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  right: -80px;
  top: 18%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(45deg);
}
.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(255,255,255,.07);
}
.hero-grid::after { inset: 140px; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 14px;
  color: #d9a3a3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: "Black Ops One", Impact, sans-serif;
  font-size: clamp(62px, 10vw, 132px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.025em;
}
h1 span { color: var(--accent); }
.hero-copy {
  max-width: 650px;
  color: #ccd2ce;
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}
.primary-button,
.secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.primary-button {
  color: white;
  background: var(--accent);
}
.primary-button:hover { background: #ec4242; }
.secondary-button {
  color: white;
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.35);
}
.secondary-button:hover { background: rgba(255,255,255,.11); }

.server-strip {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.server-strip div { padding: 18px 20px; border-right: 1px solid var(--line); }
.server-strip div:first-child { padding-left: 0; }
.server-strip div:last-child { border-right: 0; }
.server-strip span,
.status-details span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.server-strip strong { display: block; margin-top: 3px; font-size: 14px; }

.scroll-cue {
  position: absolute;
  right: 30px;
  bottom: 34px;
  z-index: 2;
  color: #afb7b3;
  font-size: 10px;
  letter-spacing: .25em;
  writing-mode: vertical-rl;
}

.section {
  padding: 110px 24px;
}
.section > * {
  width: min(var(--max), 100%);
  margin-left: auto;
  margin-right: auto;
}
.section-heading h2,
.rules-layout h2,
.status-card h2,
.join-card h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.045em;
}
.centered { text-align: center; }
.centered > p:last-child { max-width: 700px; margin-inline: auto; color: var(--muted); }

.intro { background: rgba(237,240,235,.93); color: #101414; }
.intro .eyebrow { color: #8c3232; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.lead { max-width: 640px; font-size: clamp(20px, 3vw, 29px); line-height: 1.42; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #c6ccca;
}
.stat-grid article { padding: 28px; background: #f6f7f4; }
.stat-grid strong {
  display: block;
  color: var(--accent-dark);
  font-size: 34px;
  line-height: 1;
}
.stat-grid span { color: #56605c; font-size: 13px; }

.dark-section { background: rgba(11,15,16,.78); backdrop-filter: blur(3px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  min-height: 270px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent);
}
.feature-card:hover { background: #141b1c; }
.feature-number { color: var(--accent); font-size: 12px; font-weight: 800; }
.feature-card h3 { margin: 65px 0 10px; font-size: 22px; }
.feature-card p { color: var(--muted); }

.rules-section { background: rgba(22,29,30,.78); backdrop-filter: blur(3px); }
.rules-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}
.muted { color: var(--muted); }
.rules-list { border-top: 1px solid var(--line); }
.rules-list article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.rules-list > article > span { color: var(--accent); font-weight: 800; }
.rules-list h3 { margin-bottom: 4px; }
.rules-list p { margin-bottom: 0; color: var(--muted); }

.status-section { background: rgba(8,11,11,.64); backdrop-filter: blur(3px); }
.status-card {
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--line);
  background: rgba(20,27,28,.9);
}
.status-line { color: #c5cbc8; }
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: #61d47a;
  box-shadow: 0 0 18px #61d47a;
}
.status-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 35px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.status-details div { padding: 20px; border-right: 1px solid var(--line); }
.status-details div:last-child { border-right: 0; }
.status-details strong { display: block; margin-top: 5px; font-size: 14px; }
.wide { width: 100%; }
.small-note { margin: 13px 0 0; color: #747e7a; font-size: 12px; }

.join-section { background: rgba(217,222,216,.92); color: #111515; }
.join-card {
  padding: clamp(35px, 7vw, 90px);
  text-align: center;
  background: #f3f5f1;
  border: 1px solid #c4cbc7;
}
.join-card .eyebrow { color: #8c3232; }
.join-card p:not(.eyebrow) { max-width: 640px; margin-inline: auto; color: #56605c; }
.centered-actions { justify-content: center; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #070909;
}
footer p { margin: 0; color: #777f7c; font-size: 12px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  padding: 12px 18px;
  transform: translate(-50%, 120px);
  opacity: 0;
  background: white;
  color: #101414;
  font-size: 13px;
  font-weight: 800;
  transition: .25s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 820px) {
  .menu-button { display: block; }
  nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    background: #0b0f10;
    border-bottom: 1px solid var(--line);
  }
  nav.open { display: flex; }
  nav a { padding: 12px 0; }
  .server-strip { grid-template-columns: repeat(2, 1fr); }
  .server-strip div:nth-child(2) { border-right: 0; }
  .server-strip div:first-child,
  .server-strip div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .rules-layout { grid-template-columns: 1fr; gap: 35px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .status-details { grid-template-columns: 1fr 1fr; }
  .status-details div:nth-child(2) { border-right: 0; }
  .status-details div:first-child,
  .status-details div:nth-child(2) { border-bottom: 1px solid var(--line); }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 24px 75px;
  background: rgba(5, 10, 10, .34);
  backdrop-filter: blur(1px);
}
  .hero-actions > * { width: 100%; }
  .server-strip { margin-top: 45px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 82px 18px; }
  .scroll-cue { display: none; }
}


#interactiveBackground {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(198, 48, 48, .20), transparent 34%),
    radial-gradient(circle at 24% 70%, rgba(45, 135, 205, .13), transparent 32%),
    linear-gradient(135deg, #071010 0%, #0c1515 50%, #100909 100%);
}

@media (prefers-reduced-motion: reduce) {
  #interactiveBackground {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(198, 48, 48, .20), transparent 34%),
    radial-gradient(circle at 24% 70%, rgba(45, 135, 205, .13), transparent 32%),
    linear-gradient(135deg, #071010 0%, #0c1515 50%, #100909 100%);
}
}


main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 50;
}

.hero,
.intro,
.dark-section,
.rules-section,
.status-section,
.join-section,
footer {
  position: relative;
}


/* ===== REDWAVE FIXED INTERACTIVE BACKGROUND V3 ===== */
html {
  min-height: 100%;
  background: #071010;
}

body {
  min-height: 100%;
  background: transparent !important;
  overflow-x: hidden;
}

#interactiveBackground {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1 !important;
  display: block !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(190, 42, 42, .24), transparent 34%),
    radial-gradient(circle at 20% 72%, rgba(45, 145, 220, .18), transparent 34%),
    linear-gradient(135deg, #061010 0%, #0b1515 52%, #120909 100%) !important;
}

.site-header,
main,
footer {
  position: relative !important;
  z-index: 3 !important;
}

.site-header {
  position: fixed !important;
  z-index: 20 !important;
}

.hero {
  background: rgba(3, 8, 8, .26) !important;
  backdrop-filter: none !important;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.58),
    rgba(0,0,0,.12) 68%,
    rgba(0,0,0,.24)
  ) !important;
}

.intro {
  background: rgba(237,240,235,.90) !important;
}

.dark-section {
  background: rgba(8,13,14,.72) !important;
  backdrop-filter: none !important;
}

.rules-section {
  background: rgba(15,22,23,.74) !important;
  backdrop-filter: none !important;
}

.status-section {
  background: rgba(5,9,10,.62) !important;
  backdrop-filter: none !important;
}

.join-section {
  background: rgba(217,222,216,.89) !important;
}

footer {
  background: rgba(7,9,9,.86) !important;
}

@media (prefers-reduced-motion: reduce) {
  #interactiveBackground {
    display: block !important;
  }
}


/* ===== REDWAVE BLENDED SECTIONS V4 ===== */

.intro {
  background: rgba(10, 16, 17, .72) !important;
  color: var(--text) !important;
  backdrop-filter: blur(6px) !important;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.intro .eyebrow {
  color: #d98f8f !important;
}

.intro .lead {
  color: #e3e7e4 !important;
}

.stat-grid {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.08);
}

.stat-grid article {
  background: rgba(14, 22, 23, .68) !important;
  color: var(--text) !important;
  backdrop-filter: blur(4px);
}

.stat-grid strong {
  color: #e05252 !important;
}

.stat-grid span {
  color: #aeb8b3 !important;
}

.join-section {
  background: rgba(8, 13, 14, .68) !important;
  color: var(--text) !important;
  backdrop-filter: blur(6px) !important;
  border-top: 1px solid rgba(255,255,255,.06);
}

.join-card {
  background: rgba(14, 22, 23, .74) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  backdrop-filter: blur(7px);
}

.join-card .eyebrow {
  color: #d98f8f !important;
}

.join-card p:not(.eyebrow) {
  color: #b6c0bb !important;
}

.join-card .secondary-button {
  color: white !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.05) !important;
}

.join-card .secondary-button:hover {
  background: rgba(255,255,255,.11) !important;
}

@media (max-width: 540px) {
  .intro,
  .join-section {
    backdrop-filter: blur(3px) !important;
  }

  .join-card {
    padding: 42px 22px !important;
  }
}
