/* Braai Bible Rust: rusted sheet metal, scrap and hazard paint. Self-contained: no external fonts (CSP self-only). */
:root {
  --bg: #12100e;
  --bg-2: #1a1714;
  --plate: #221e1a;
  --plate-2: #2b2621;
  --line: #3d342b;
  --bone: #eee5d4;
  --muted: #a99b87;
  --rust: #ce422b;          /* Rust's own red */
  --rust-deep: #8e2a16;
  --ember: #ea7a2e;
  --hazard: #f0b51c;
  --ok: #8bc34a;
  --discord: #5865f2;
  --radius: 4px;
  --display: Impact, Haettenschweiler, "Franklin Gothic Heavy", "Arial Narrow Bold", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --rust-blotch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='5' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .17 0 0 0 0 .06 0 0 0 2.2 -1.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  --streaks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .006' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .14 0 0 0 0 .05 0 0 0 1.8 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--bone); background: var(--bg); font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before { /* film grain over everything */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
  background-image: var(--noise); opacity: .07; mix-blend-mode: overlay;
}
a { color: var(--ember); }
img { display: block; }
strong, b { color: #fff; }
kbd {
  font: 600 .8em var(--mono); padding: 1px 6px; border-radius: 3px;
  background: #0d0b0a; border: 1px solid var(--line); border-bottom-width: 2px; color: var(--hazard);
}
code { font-family: var(--mono); font-size: .92em; color: var(--hazard); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 4vw, 40px); background: rgba(18, 16, 14, .86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--rust-deep); }
.brand span { font: 400 22px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand b { color: var(--rust); }
.topbar nav { display: flex; gap: clamp(10px, 2.2vw, 26px); align-items: center; }
.topbar nav a {
  color: var(--muted); text-decoration: none; text-transform: uppercase; font: 600 13px/1 var(--body); letter-spacing: .12em;
}
.topbar nav a:hover { color: var(--bone); }
.topbar .nav-discord { color: #fff; background: var(--discord); padding: 8px 12px; border-radius: var(--radius); }
.topbar .nav-discord:hover { color: #fff; background: #4752c4; }

/* ---------- hero: corrugated, rusted sheet metal ---------- */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .9fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 64px) clamp(44px, 6vw, 80px);
  min-height: min(88vh, 860px);
  background: #14110f;
}
/* real Rust scene (Facepunch press kit) under a readable overlay */
.hero > .hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 10, 9, .92) 0%, rgba(12, 10, 9, .72) 38%, rgba(12, 10, 9, .25) 70%, rgba(12, 10, 9, .35) 100%),
    linear-gradient(180deg, rgba(12, 10, 9, .45) 0%, rgba(12, 10, 9, 0) 30%),
    radial-gradient(ellipse at 15% 85%, rgba(206, 66, 43, .28), transparent 55%);
}
.hero::after { /* bottom fade into the page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(18, 16, 14, .9));
}
.hero > * { position: relative; z-index: 2; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font: 700 13px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--hazard);
}
.flag { /* tiny SA flag (inline SVG data URI, allowed by img-src data:) */
  width: 24px; height: 16px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 60'%3E%3Crect width='90' height='60' fill='%23001489'/%3E%3Crect width='90' height='30' fill='%23E03C31'/%3E%3Cpath fill='%23fff' d='M0 0h12l33 22h45v16H45L12 60H0z'/%3E%3Cpath fill='%23007A4D' d='M0 0h6l36 24h48v12H42L6 60H0z'/%3E%3Cpath fill='%23FFB612' d='M0 8l30 22L0 52z'/%3E%3Cpath d='M0 13l23 17L0 47z'/%3E%3C/svg%3E") center / cover;
}
h1 { margin: 0; line-height: .86; text-transform: uppercase; font-family: var(--display); font-weight: 400; }
.h1-top { display: block; font-size: clamp(44px, 8.5vw, 104px); letter-spacing: .01em; color: var(--bone);
  text-shadow: 0 2px 0 #000, 0 10px 30px rgba(0, 0, 0, .55); }
.h1-rust {
  display: block; font-size: clamp(76px, 15vw, 188px); letter-spacing: .02em;
  color: var(--rust);
  background: var(--rust-blotch), linear-gradient(180deg, #f08a3c 0%, #ce422b 45%, #7d2412 100%);
  background-size: 300px 200px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 #0b0908) drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
}
.lead { max-width: 560px; margin: 18px 0 22px; color: #d9cdb8; font-size: clamp(16px, 1.6vw, 19px); }

.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 7px 14px 7px 12px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted);
}
.status b { color: #fff; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: #6d655b; }
.status[data-state="online"] .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(139, 195, 74, .7); animation: pulse 2s infinite; }
.status[data-state="offline"] .dot { background: var(--rust); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(139, 195, 74, .6); } 70% { box-shadow: 0 0 0 10px rgba(139, 195, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(139, 195, 74, 0); } }

.connect {
  display: flex; align-items: stretch; max-width: 600px; margin-bottom: 18px;
  background: #0c0a09; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6);
}
.connect .f1 {
  display: grid; place-items: center; padding: 0 12px; font: 700 13px var(--mono); color: #0c0a09; background: var(--hazard);
}
.connect code { flex: 1; min-width: 0; padding: 14px 14px; font-size: clamp(13px, 1.6vw, 16px); color: #f6e9cf;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.connect button {
  border: 0; padding: 0 20px; cursor: pointer; font: 700 14px var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, #e0552f, var(--rust) 55%, var(--rust-deep));
}
.connect button:hover { filter: brightness(1.1); }
.connect button.done { background: linear-gradient(180deg, #9ad15a, #6f9e36); }

.premium-note { max-width: 600px; margin: -6px 0 20px; font-size: 13.5px; line-height: 1.5; color: #cbbfa9; }
.premium-note b { color: var(--hazard); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius); text-decoration: none;
  font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-discord { color: #fff; background: var(--discord); box-shadow: 0 6px 18px rgba(88, 101, 242, .35); }
.btn-ghost { color: var(--bone); border: 1px solid #5a4d40; background: rgba(0, 0, 0, .25); }

/* next-wipe plate: bolted steel sign */
.wipe-card {
  position: relative; padding: 26px 26px 22px; text-align: center;
  background: linear-gradient(160deg, #3a332d, #23201c 60%, #1c1916);
  border: 1px solid #4a4037; border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2px 0 rgba(0, 0, 0, .4), 0 22px 50px rgba(0, 0, 0, .55);
  transform: rotate(-1.2deg);
}
.wipe-card::before { /* four rivets */
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  background:
    radial-gradient(circle at 5px 5px, #8d8174 0 2px, #2a241f 3px, transparent 4px) 0 0 / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8d8174 0 2px, #2a241f 3px, transparent 4px) 100% 0 / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8d8174 0 2px, #2a241f 3px, transparent 4px) 0 100% / 10px 10px no-repeat,
    radial-gradient(circle at 5px 5px, #8d8174 0 2px, #2a241f 3px, transparent 4px) 100% 100% / 10px 10px no-repeat;
}
.wipe-card::after { /* rust bleeding from the bolts */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 6px; opacity: .55;
  background: var(--rust-blotch); background-size: 420px 280px; mix-blend-mode: multiply;
}
.wipe-card > * { position: relative; z-index: 1; }
.wipe-label { margin: 0; font: 700 12px var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--hazard); }
.countdown { margin: 8px 0 4px; font: 400 clamp(34px, 4.2vw, 56px)/1 var(--display); letter-spacing: .03em; color: #fff;
  text-shadow: 0 3px 0 #000; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wipe-when { margin: 0; color: var(--bone); font-weight: 600; }
.wipe-kind { display: inline-block; margin: 12px 0 16px; padding: 4px 10px; border-radius: 3px; font: 700 12px var(--body);
  letter-spacing: .14em; text-transform: uppercase; color: #0c0a09; background: var(--ember); }
.wipe-meta { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px dashed #5a4d40; font-size: 14px; color: var(--muted); }
.wipe-meta b { color: var(--bone); }

/* ---------- hazard stripe ---------- */
.hazard { height: 12px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 16px, #15120f 16px 32px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .4); opacity: .92; }

/* ---------- content blocks ---------- */
main { max-width: 1120px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 32px) 24px; }
.block { margin-bottom: clamp(44px, 7vw, 76px); }
h2 {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px;
  font: 400 clamp(34px, 5vw, 52px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--bone);
}
h2 span { font: 700 14px var(--mono); color: var(--rust); letter-spacing: .1em; transform: translateY(-6px); }
h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--rust-deep), transparent); align-self: center; }
.sub { margin: 30px 0 12px; font: 700 13px var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.plate, .steps li, .stats li, .callout {
  position: relative; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 26px rgba(0, 0, 0, .35);
}

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.steps li { counter-increment: s; padding: 22px 20px 18px 20px; overflow: hidden; }
.steps li::before {
  content: counter(s); position: absolute; right: 10px; top: -14px; font: 400 110px/1 var(--display);
  color: rgba(206, 66, 43, .14);
}
.steps b { display: block; margin-bottom: 6px; font: 400 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.steps p { margin: 0; color: #d3c7b2; font-size: 15px; }
.callout { margin-top: 16px; padding: 16px 20px; border-left: 4px solid var(--hazard); color: #d9cdb8; }

.wipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plate { padding: 20px; }
.plate p { margin: 0; color: #d3c7b2; font-size: 15px; }
.plate .big { margin: 6px 0 6px; font: 400 34px/1 var(--display); text-transform: uppercase; color: #fff; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 3px; font: 700 11px var(--body) !important; letter-spacing: .16em;
  text-transform: uppercase; color: #0c0a09 !important; }
.tag-full { background: var(--rust); color: #fff !important; }
.tag-map { background: var(--ember); }
.tag-restart { background: #6d655b; color: #fff !important; }

.upcoming { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.upcoming li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg-2); }
.upcoming li:nth-child(even) { background: #1e1b17; }
.upcoming li span { font-weight: 600; }
.upcoming li em { font-style: normal; color: var(--muted); white-space: nowrap; }
.upcoming .k { display: inline-block; min-width: 46px; margin-right: 10px; padding: 1px 6px; border-radius: 3px; font: 700 11px var(--body);
  letter-spacing: .12em; text-align: center; text-transform: uppercase; vertical-align: 2px; }
.upcoming .k-full { background: var(--rust); color: #fff; }
.upcoming .k-map { background: var(--ember); color: #0c0a09; }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.stats li { padding: 18px 18px 16px; }
.stats b { display: block; font: 400 38px/1 var(--display); letter-spacing: .02em; color: var(--ember); text-transform: uppercase; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.35; }

.rules { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 10px; }
.rules li { counter-increment: r; position: relative; padding: 14px 16px 14px 64px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); color: #d3c7b2; }
.rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 16px; top: 10px;
  font: 400 30px/1 var(--display); color: var(--rust); }

.discord-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 40px; padding: 28px clamp(20px, 4vw, 40px);
  border-radius: 6px; border: 1px solid #3c3f8f;
  background: radial-gradient(ellipse at 100% 0%, rgba(88, 101, 242, .45), transparent 60%), linear-gradient(135deg, #1d1f3b, #15162a);
}
.discord-band h2 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 42px); }
.discord-band h2::after { display: none; }
.discord-band p { margin: 0; max-width: 640px; color: #c9cbe8; }

footer { padding: 22px 16px 30px; color: var(--muted); font-size: 14px; background: #0e0c0b; text-align: center; }
.foot-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.disclaimer { margin: 12px auto 0; max-width: 640px; font-size: 12px; color: #7d725f; }
footer img { border-radius: 50%; }
footer a { color: var(--ember); }

/* ---------- current map ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; }
.map-frame {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #0e3a52;
  border: 1px solid #4a4037; box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .25), 0 18px 40px rgba(0, 0, 0, .45);
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.42); transition: transform .5s; }
.map-frame:hover img { transform: scale(1.5); }
.map-frame::after { /* grid overlay like the in-game map */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 12.5% 12.5%,
              linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 12.5% 12.5%;
}
.map-frame.no-map img { display: none; }
.map-frame.no-map::before { content: "Map render appears after the next wipe"; position: absolute; inset: 0; display: grid;
  place-items: center; color: var(--muted); font-weight: 600; text-align: center; padding: 20px; }
.map-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.map-facts div { padding: 14px 16px; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid var(--line); border-radius: var(--radius); }
.map-facts dt { font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.map-facts dd { margin: 4px 0 0; font: 400 30px/1.05 var(--display); text-transform: uppercase; color: var(--ember); }
.map-info > p { color: #d3c7b2; margin: 0 0 16px; }

/* ---------- live status ---------- */
.kpis { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; }
.kpis li { padding: 14px 14px 12px; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.kpis .kl { display: block; font: 700 11px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kpis b { display: block; margin: 6px 0 2px; font: 400 34px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.kpis .ks { display: block; font-size: 12.5px; color: var(--muted); min-height: 1.2em; }
.chart-card { position: relative; margin: 0; padding: 16px 16px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.chart-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.chart-card figcaption b { font-size: 15px; }
.chart-card figcaption span { color: var(--muted); font-size: 13px; }
.key-off { display: inline-block; width: 12px; height: 10px; margin-right: 2px; vertical-align: -1px; border-radius: 2px; background: #4a443d; }
.chart { position: relative; min-height: 200px; outline: none; border-radius: 3px; }
.chart:focus-visible { box-shadow: 0 0 0 2px var(--hazard); }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.chart-empty { margin: 0; padding: 70px 0; text-align: center; color: var(--muted); }
.ptip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 10px; border-radius: 4px; background: #0c0a09;
  border: 1px solid #4a4037; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); font-size: 13px; white-space: nowrap; color: var(--muted); }
.ptip b { display: block; color: #fff; font-size: 15px; }
.ptable { margin-top: 8px; font-size: 14px; color: var(--muted); }
.ptable summary { cursor: pointer; padding: 4px 0; }
.ptable table { width: 100%; max-width: 520px; margin-top: 8px; border-collapse: collapse; }
.ptable th, .ptable td { padding: 5px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable td { color: var(--bone); font-variant-numeric: tabular-nums; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shot { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px solid var(--line); background: #000; }
.shot-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: saturate(.92) contrast(1.04); }
.shot:hover img { transform: scale(1.05); filter: saturate(1.05) contrast(1.06); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .75)); pointer-events: none; }
.shot span { position: absolute; left: 14px; bottom: 10px; z-index: 1; font: 400 24px/1 var(--display); text-transform: uppercase;
  letter-spacing: .03em; color: #fff; text-shadow: 0 2px 0 #000; }
.shot-big span { font-size: 34px; }
.credit { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- sunset band with the Discord call ---------- */
.band { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 440px;
  padding: clamp(48px, 7vw, 90px) clamp(16px, 5vw, 64px); background: #1a0f12; }
.band > .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(12, 10, 9, .88) 0%, rgba(12, 10, 9, .6) 42%, rgba(12, 10, 9, .05) 75%); }
.band-inner { position: relative; z-index: 2; max-width: 600px; }
.band h2 { margin: 6px 0 12px; font-size: clamp(40px, 6vw, 72px); color: #fff; text-shadow: 0 3px 0 #000; }
.band h2::after { display: none; }
.band p { color: #e5dccb; margin: 0 0 22px; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #0c0a09; color: var(--bone);
  width: min(1280px, 94vw); max-height: 92vh; overflow: auto; }
.lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.lightbox img { width: 100%; height: auto; }
.lightbox p { margin: 0; padding: 12px 16px 14px; color: #d3c7b2; }
#lb-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 26px; line-height: 1; color: #fff; background: rgba(0, 0, 0, .65); }
#lb-close:hover { background: var(--rust); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(12, 10, 9, .55) 0%, rgba(12, 10, 9, .8) 45%, rgba(12, 10, 9, .92) 100%); }
  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-frame { max-width: 560px; }
  .wipe-card { transform: none; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .topbar nav a:not(.nav-discord) { display: none; }
  .steps, .wipe-grid { grid-template-columns: 1fr; }
  .discord-band { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis b { font-size: 30px; }
  .shot-big { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .band::before { background: linear-gradient(180deg, rgba(12, 10, 9, .35) 0%, rgba(12, 10, 9, .85) 55%); }
  .band { align-items: flex-end; min-height: 520px; }
}
@media (max-width: 420px) {
  .brand span { font-size: 19px; }
  .connect .f1 { display: none; }
  .connect code { white-space: normal; overflow-wrap: anywhere; font-size: 13px; padding: 12px; }
  .connect button { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status[data-state="online"] .dot { animation: none; }
  .btn, .shot img, .map-frame img { transition: none; }
}
