:root {
  --bg: #08080b;
  --bg-soft: #0d0d12;
  --surface: #121219;
  --surface-2: #17171f;
  --surface-3: #1d1d27;
  --text: #f6f6f8;
  --muted: #a7a7b5;
  --muted-2: #777786;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --red: #ff3038;
  --red-bright: #ff5960;
  --red-dark: #a70008;
  --green: #41df8c;
  --amber: #ffbf4b;
  --blue: #59a7ff;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-red: 0 20px 55px rgba(255, 48, 56, 0.22);
  --container: 1180px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 4%, rgba(255, 48, 56, 0.10), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { display: block; }
::selection { color: #fff; background: rgba(255, 48, 56, 0.65); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 12px 16px; border-radius: 10px; background: #fff; color: #111; font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 2000; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--red-dark), var(--red-bright)); box-shadow: 0 0 14px var(--red); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-height);
  background: rgba(8, 8, 11, 0.62);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(8, 8, 11, 0.92); border-color: var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { filter: drop-shadow(0 8px 18px rgba(255, 48, 56, .25)); }
.brand-name { font-size: 1.03rem; font-weight: 900; letter-spacing: .035em; }
.brand-name strong { color: var(--red); }
.brand-name > span { color: var(--muted); font-size: .78em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  position: relative; padding: 10px 12px; color: var(--muted); border-radius: 10px;
  font-size: .91rem; font-weight: 700; transition: color .2s ease, background .2s ease;
}
.site-nav > a:not(.nav-discord)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  border-radius: 99px; background: var(--red); transform: scaleX(0); transition: transform .2s ease;
}
.site-nav > a:hover, .site-nav > a.active { color: var(--text); background: rgba(255,255,255,.04); }
.site-nav > a.active::after { transform: scaleX(1); }
.nav-discord { margin-left: 6px; color: #fff !important; background: linear-gradient(135deg, var(--red), var(--red-dark)) !important; box-shadow: 0 10px 26px rgba(255,48,56,.17); }
.nav-discord:hover { transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative; min-height: 100svh; padding: calc(var(--header-height) + 72px) 0 68px;
  display: grid; align-items: center; isolation: isolate; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -3; opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; inset: auto 0 0; height: 42%;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.hero-glow-one { width: 44rem; height: 44rem; top: -16rem; right: -12rem; background: radial-gradient(circle, rgba(255,48,56,.24), transparent 67%); }
.hero-glow-two { width: 28rem; height: 28rem; left: -12rem; bottom: -8rem; background: radial-gradient(circle, rgba(255,118,80,.10), transparent 70%); }
.hero-layout { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(44px, 7vw, 100px); }
.eyebrow, .section-kicker { color: #ff9297; font-size: .79rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 9px 12px;
  border: 1px solid rgba(255,48,56,.22); border-radius: 999px; background: rgba(255,48,56,.07);
  letter-spacing: .06em; text-transform: none; font-size: .83rem;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255,191,75,.10), 0 0 18px rgba(255,191,75,.7); }
.live-dot.online { background: var(--green); box-shadow: 0 0 0 5px rgba(65,223,140,.10), 0 0 18px rgba(65,223,140,.7); }
.live-dot.offline { background: var(--red); box-shadow: 0 0 0 5px rgba(255,48,56,.10), 0 0 18px rgba(255,48,56,.7); }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(3.15rem, 6.4vw, 6rem); line-height: .94; letter-spacing: -.065em; }
.hero h1 span { background: linear-gradient(100deg, #fff 4%, #ffb5b8 34%, var(--red-bright) 70%, #ff8f72 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.78; }
.hero-text strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 850; font-size: .93rem; line-height: 1; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .icon-button:focus-visible, .nav-toggle:focus-visible, summary:focus-visible { outline: 3px solid rgba(255,89,96,.45); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--red-bright), var(--red-dark)); box-shadow: var(--shadow-red); }
.button-primary:hover { box-shadow: 0 22px 65px rgba(255,48,56,.31); }
.button-secondary { color: #fff; border-color: var(--line-strong); background: rgba(255,255,255,.055); }
.button-secondary:hover { border-color: rgba(255,48,56,.35); background: rgba(255,48,56,.09); }
.button-small { min-height: 42px; padding: 10px 14px; font-size: .86rem; }
.button-light { color: #a40008; background: #fff; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.12); }
.button-outline-light:hover { background: rgba(255,255,255,.11); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted-2); font-size: .84rem; }
.quick-facts span { display: inline-flex; align-items: baseline; gap: 5px; }
.quick-facts b { color: var(--text); }

.server-console {
  position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(28,28,38,.94), rgba(12,12,17,.94)); box-shadow: var(--shadow);
}
.server-console::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 30%, rgba(255,48,56,.22) 75%, transparent); filter: blur(.2px); }
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 18px; }
.console-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.console-brand img { border-radius: 15px; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.console-brand div { min-width: 0; }
.console-kicker { display: block; margin-bottom: 3px; color: var(--muted-2); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.console-brand strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.02rem; }
.status-pill, .mini-status { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: .75rem; font-weight: 850; white-space: nowrap; }
.status-pill { padding: 8px 11px; color: #ffe4b3; background: rgba(255,191,75,.08); border: 1px solid rgba(255,191,75,.18); }
.status-pill .status-dot, .mini-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px currentColor; }
.status-pill.online, .mini-status.online { color: #d9ffea; background: rgba(65,223,140,.08); border-color: rgba(65,223,140,.2); }
.status-pill.online .status-dot, .mini-status.online span { background: var(--green); }
.status-pill.offline, .mini-status.offline { color: #ffd7d9; background: rgba(255,48,56,.08); border-color: rgba(255,48,56,.2); }
.status-pill.offline .status-dot, .mini-status.offline span { background: var(--red); }
.status-pill.loading .status-dot, .mini-status.loading span { animation: pulse 1.2s ease infinite; }
.server-scene { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #14141c; }
.server-scene > img { width: 100%; height: 100%; object-fit: cover; }
.scene-label { position: absolute; left: 18px; right: 18px; bottom: 17px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(7,7,10,.63); backdrop-filter: blur(12px); }
.scene-label span { display: block; margin-bottom: 3px; color: #ff9599; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.scene-label strong { font-size: 1.02rem; }
.console-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.console-stats > div { padding: 14px 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.console-stats span, .join-address span, .address-box span, .edition-data > span, .status-hero > div > span, .status-metrics span { display: block; color: var(--muted-2); font-size: .73rem; font-weight: 700; }
.console-stats strong { display: block; margin-top: 4px; font-size: 1.22rem; }
.console-stats small { color: var(--muted); font-size: .72em; }
.console-stats strong span, .status-metrics strong span { display: inline; color: inherit; font-size: inherit; font-weight: inherit; }
.join-address { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 10px; padding: 13px 14px 13px 16px; border: 1px solid rgba(255,48,56,.22); border-radius: 16px; background: linear-gradient(120deg, rgba(255,48,56,.10), rgba(255,255,255,.025)); }
.join-address strong { display: block; margin-top: 3px; font-size: .93rem; overflow-wrap: anywhere; }
.icon-button { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.06); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.icon-button:hover { background: rgba(255,48,56,.13); transform: translateY(-1px); }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 25px; height: 40px; border: 1px solid var(--line-strong); border-radius: 99px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 7px; border-radius: 99px; background: var(--red); transform: translateX(-50%); animation: scrollCue 1.8s ease infinite; }

.section { padding: 112px 0 0; }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading h2 { margin: 9px 0 15px; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.section-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading-row > div { max-width: 720px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 235px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(24,24,32,.92), rgba(13,13,18,.95)); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { border-color: rgba(255,48,56,.28); transform: translateY(-5px); box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid rgba(255,48,56,.2); border-radius: 15px; color: #ff6a70; background: rgba(255,48,56,.09); }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 0 0 9px; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.68; font-size: .93rem; }

.status-section { position: relative; }
.status-section::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 48px; height: 580px; background: radial-gradient(ellipse at center, rgba(255,48,56,.08), transparent 68%); }
.status-overview { display: grid; grid-template-columns: .92fr 1.08fr; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(25,25,34,.96), rgba(12,12,17,.98)); overflow: hidden; box-shadow: var(--shadow); }
.status-hero { display: flex; align-items: center; gap: 18px; min-height: 176px; padding: 28px; border-right: 1px solid var(--line); }
.status-orb { width: 76px; height: 76px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,191,75,.2); border-radius: 50%; color: var(--amber); background: rgba(255,191,75,.07); box-shadow: inset 0 0 28px rgba(255,191,75,.05); }
.status-orb.online { color: var(--green); border-color: rgba(65,223,140,.25); background: rgba(65,223,140,.07); }
.status-orb.offline { color: var(--red); border-color: rgba(255,48,56,.25); background: rgba(255,48,56,.07); }
.status-orb.loading { animation: orbPulse 1.5s ease infinite; }
.status-orb svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.status-hero strong { display: block; margin: 3px 0; font-size: 1.55rem; }
.status-hero small { color: var(--muted-2); font-size: .75rem; }
.status-metrics { display: grid; grid-template-columns: 1fr 1fr; }
.status-metrics > div { min-height: 88px; display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.status-metrics > div:nth-child(2n) { border-right: 0; }
.status-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
.status-metrics strong { margin-top: 4px; font-size: 1.08rem; }
.edition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.edition-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.edition-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }
.edition-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-weight: 950; }
.java-icon { color: #ffb4b7; border: 1px solid rgba(255,48,56,.2); background: rgba(255,48,56,.09); }
.bedrock-icon { color: #a8d1ff; border: 1px solid rgba(89,167,255,.2); background: rgba(89,167,255,.09); }
.edition-top > div:nth-child(2) span { color: var(--muted-2); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.edition-top h3 { margin: 2px 0 0; font-size: 1.08rem; }
.mini-status { padding: 7px 10px; color: #ffe4b3; border: 1px solid rgba(255,191,75,.18); background: rgba(255,191,75,.07); }
.address-box { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 14px 14px 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.03); }
.address-box strong { display: block; margin-top: 3px; font-size: .94rem; overflow-wrap: anywhere; }
.address-box small { display: block; margin-top: 3px; color: var(--muted); font-size: .73rem; }
.edition-data { display: flex; justify-content: space-between; gap: 18px; margin-top: 16px; padding: 0 2px; }
.edition-data > span { display: flex; gap: 6px; }
.edition-data strong { color: var(--text); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr .92fr; gap: 16px; }
.team-card, .team-join { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-2), var(--surface)); }
.team-card { position: relative; overflow: hidden; }
.team-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -90px; bottom: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(255,48,56,.17), transparent 70%); }
.team-avatar { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 21px; font-size: 1.25rem; font-weight: 950; box-shadow: 0 17px 34px rgba(0,0,0,.25); }
.owner-avatar { color: #fff; background: linear-gradient(135deg, #ff5a61, #8c0006); }
.admin-avatar { color: #fff; background: linear-gradient(135deg, #f99058, #b32117); }
.team-role { display: inline-flex; padding: 6px 9px; border: 1px solid rgba(255,48,56,.16); border-radius: 999px; color: #ff999d; background: rgba(255,48,56,.07); font-size: .72rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.team-card h3, .team-join h3 { margin: 13px 0 10px; font-size: 1.45rem; }
.team-card p, .team-join p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.team-focus { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.team-focus span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .72rem; font-weight: 700; }
.team-join { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(255,48,56,.13), rgba(23,23,31,.98)); }
.team-join .button { align-self: flex-start; margin-top: 24px; }

.rules-section { position: relative; }
.rules-list { border-top: 1px solid var(--line); }
.rule-item { display: grid; grid-template-columns: 85px 1fr; gap: 22px; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.rule-item > span { color: rgba(255,89,96,.75); font-size: 1.9rem; font-weight: 950; letter-spacing: -.04em; }
.rule-item h3 { margin: 0 0 7px; font-size: 1.15rem; }
.rule-item p { max-width: 860px; margin: 0; color: var(--muted); line-height: 1.72; }
.rules-note { margin: 20px 0 0; padding: 16px 18px; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; color: var(--muted); background: rgba(255,48,56,.06); font-size: .88rem; }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-card { display: grid; grid-template-columns: 160px 1fr; min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.news-featured { grid-column: 1 / -1; grid-template-columns: 42% 1fr; min-height: 370px; }
.news-art { position: relative; min-height: 100%; display: grid; place-items: center; overflow: hidden; }
.news-art::before, .news-art::after { content: ""; position: absolute; transform: rotate(45deg); border-radius: 18px; }
.news-art::before { width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.news-art::after { width: 94px; height: 94px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.16); }
.news-art span { position: relative; z-index: 2; font-size: 1.35rem; font-weight: 950; letter-spacing: .03em; }
.news-art-one { background: radial-gradient(circle at 30% 25%, rgba(255,144,148,.35), transparent 25%), linear-gradient(135deg, #5d0005, #ef2932 55%, #220004); }
.news-art-two { background: linear-gradient(135deg, #111827, #2563a6 55%, #0e2542); }
.news-art-three { background: linear-gradient(135deg, #2c160c, #ce4a2b 55%, #4a0b0b); }
.news-content { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.news-content time { color: var(--muted-2); font-size: .76rem; font-weight: 700; }
.news-category { align-self: flex-start; margin-top: 13px; padding: 5px 8px; border: 1px solid rgba(255,48,56,.18); border-radius: 99px; color: #ff9ca0; background: rgba(255,48,56,.06); font-size: .67rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.news-content h3 { margin: 12px 0 10px; font-size: 1.28rem; }
.news-featured h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.08; }
.news-content p { margin: 0; color: var(--muted); line-height: 1.68; font-size: .91rem; }
.news-content p strong { color: var(--text); }
.news-content > a { margin-top: 22px; color: #ff9a9e; font-size: .87rem; font-weight: 850; }
.news-content > a span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.news-content > a:hover span { transform: translateX(4px); }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 80px; }
.faq-layout .section-heading { position: sticky; top: calc(var(--header-height) + 30px); margin-bottom: 0; }
.text-link { display: inline-block; margin-top: 22px; color: #ff8e93; font-size: .9rem; font-weight: 800; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: clip; }
.faq-item summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-item summary span::before, .faq-item summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--muted); transform: translate(-50%,-50%); transition: transform .2s ease; }
.faq-item summary span::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] summary span::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-item[open] summary { color: #ff9da1; }
.faq-item > div { padding: 0 20px 20px; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.72; font-size: .92rem; }
.faq-item p strong { color: var(--text); }

.join-section { padding: 112px 0; }
.join-panel { position: relative; min-height: 315px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(34px, 6vw, 70px); overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, #9f0008 0%, #f52c35 46%, #a60008 100%); box-shadow: var(--shadow-red); }
.join-panel > *:not(.join-pattern) { position: relative; z-index: 2; }
.join-pattern { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, black, transparent 75%); }
.join-panel::after { content: "RG"; position: absolute; right: -20px; bottom: -85px; color: rgba(255,255,255,.075); font-size: 16rem; line-height: 1; font-weight: 950; letter-spacing: -.1em; }
.join-panel .section-kicker { color: #ffd4d6; }
.join-panel h2 { max-width: 720px; margin: 9px 0 13px; font-size: clamp(2.15rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.join-panel p { max-width: 650px; margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; }
.join-buttons { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }

.site-footer { padding: 62px 0 24px; border-top: 1px solid var(--line); background: #07070a; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, .7fr); gap: 40px; }
.footer-brand p { max-width: 340px; margin: 18px 0 8px; color: var(--muted); font-size: .9rem; }
.footer-discord { color: #ff858a; font-size: .85rem; font-weight: 750; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { margin: 0 0 7px; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-column a { color: var(--muted); font-size: .87rem; transition: color .2s ease; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .75rem; }

.toast { position: fixed; z-index: 3000; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 17px; border: 1px solid rgba(65,223,140,.22); border-radius: 13px; color: #e4fff0; background: rgba(16,39,27,.94); box-shadow: 0 16px 45px rgba(0,0,0,.35); backdrop-filter: blur(12px); opacity: 0; transform: translate(-50%, 24px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 19px; height: 19px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.noscript { position: fixed; z-index: 4000; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border: 1px solid rgba(255,191,75,.24); border-radius: 12px; color: #fff0cf; background: #33240b; text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .09s; }
.reveal-delay-2 { transition-delay: .18s; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes orbPulse { 50% { box-shadow: 0 0 35px rgba(255,191,75,.12); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

@media (max-width: 1060px) {
  .site-nav > a { padding-inline: 9px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-join { grid-column: 1 / -1; min-height: 260px; }
  .faq-layout { gap: 48px; }
  .join-panel { align-items: flex-start; flex-direction: column; }
  .join-buttons { min-width: 0; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .container { width: min(var(--container), calc(100% - 30px)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; left: 15px; right: 15px; top: calc(var(--header-height) + 8px);
    display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 18px;
    background: rgba(12,12,17,.98); box-shadow: var(--shadow); opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav > a { padding: 13px 14px; }
  .site-nav > a::after { display: none; }
  .nav-discord { margin: 4px 0 0; text-align: center; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 62px); }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .quick-facts { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .scroll-cue { display: none; }
  .status-overview { grid-template-columns: 1fr; }
  .status-hero { border-right: 0; border-bottom: 1px solid var(--line); }
  .edition-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-heading { position: static; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 3; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .brand-name { font-size: .94rem; }
  .brand img { width: 40px; height: 40px; }
  .hero { padding-bottom: 35px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  .eyebrow { font-size: .74rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .quick-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
  .quick-facts span:last-child { grid-column: 1 / -1; }
  .server-console { padding: 12px; border-radius: 24px; }
  .console-top { padding-bottom: 12px; }
  .console-brand img { width: 50px; height: 50px; }
  .console-kicker { display: none; }
  .console-brand strong { font-size: .88rem; }
  .status-pill { padding: 7px 9px; font-size: .68rem; }
  .server-scene { border-radius: 18px; }
  .scene-label { left: 10px; right: 10px; bottom: 10px; padding: 11px 12px; }
  .console-stats { grid-template-columns: 1fr 1fr; }
  .console-stats > div { padding: 12px; }
  .console-stats strong { font-size: 1rem; }
  .section { padding-top: 84px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .feature-grid, .team-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .team-join { grid-column: auto; }
  .status-hero { min-height: 150px; padding: 20px; }
  .status-orb { width: 62px; height: 62px; }
  .status-metrics > div { padding: 17px; }
  .edition-card { padding: 18px; }
  .edition-top { grid-template-columns: auto 1fr; }
  .edition-top .mini-status { grid-column: 1 / -1; justify-self: start; }
  .address-box { align-items: center; }
  .edition-data { flex-direction: column; gap: 8px; }
  .rule-item { grid-template-columns: 48px 1fr; gap: 12px; }
  .rule-item > span { font-size: 1.35rem; }
  .news-card, .news-featured { grid-template-columns: 1fr; }
  .news-art { min-height: 180px; }
  .news-featured .news-art { min-height: 230px; }
  .news-content { padding: 22px; }
  .faq-item summary { font-size: .91rem; }
  .join-section { padding: 84px 0; }
  .join-panel { padding: 34px 24px; border-radius: 24px; }
  .join-panel::after { font-size: 10rem; }
  .join-buttons { width: 100%; flex-direction: column; }
  .join-buttons .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
