/* IronSyndicate RP — premium serious-RP theme */

:root {
  --bg: #09090b;
  --bg-2: #0c0c0f;
  --bg-3: #111115;
  --panel: #131318;
  --panel-2: #17171d;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #e9e9ee;
  --text-dim: #b5b5be;
  --text-muted: #7d7d87;
  --accent: #c9a24a;          /* muted gold */
  --accent-2: #e6c068;
  --crimson: #a81a1a;          /* deep red */
  --crimson-2: #d93a3a;
  --ember: #ff7a3c;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 30px 80px rgba(0, 0, 0, 0.75);
  --max: 1200px;
  --head: "Cinzel", "Playfair Display", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(168, 26, 26, 0.20), transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 20%, rgba(201, 162, 74, 0.08), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #06060a 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Background texture layers ----- */
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 1000px 600px at 20% 90%, rgba(168, 26, 26, 0.08), transparent 60%);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #a81a1a, #6e1111);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(168, 26, 26, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #c12323, #7f1616);
  box-shadow: 0 14px 40px rgba(168, 26, 26, 0.4), inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border-color: var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 162, 74, 0.06);
}

/* ----- Nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(10, 10, 12, 0.66);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  display: inline-flex; width: 36px; height: 36px;
  filter: drop-shadow(0 2px 8px rgba(168,26,26,0.35));
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--head);
  letter-spacing: 0.24em;
}
.brand-line-1 { font-size: 12px; color: var(--accent); }
.brand-line-2 { font-size: 16px; color: #fff; font-weight: 700; }

.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a {
  padding: 6px 0;
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-2);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 3px auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 100px 0 140px;
  min-height: min(100dvh, 880px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10% -5% -5% -5%;
  background:
    radial-gradient(ellipse 800px 500px at 80% 30%, rgba(201, 162, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 900px 600px at 10% 80%, rgba(168, 26, 26, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 60%);
  filter: blur(0.5px);
  z-index: -1;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 700px at 50% 50%, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson-2);
  box-shadow: 0 0 12px var(--crimson-2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .6; }
}

.hero-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  max-width: 1000px;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.hero-title .accent {
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 50%, #7a5b20);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 740px;
  margin: 0 0 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  max-width: 820px;
}
.stat {
  padding: 18px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; gap: 4px;
}
.stat strong {
  font-family: var(--head);
  font-weight: 700;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  display: flex; justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  display: block; width: 2px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ----- Sections ----- */
.section {
  position: relative;
  padding: 110px 0;
  z-index: 1;
}
.section-alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #0b0b0e 0%, #0a0a0d 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.section-sub {
  color: var(--text-dim);
  max-width: 720px;
  font-size: 17px;
  margin: 0;
}
.section-head {
  margin-bottom: 56px;
  max-width: 820px;
}

.lede {
  font-size: 18px;
  color: var(--text);
  margin: 0 0 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.grid-2-tight { gap: 40px; }

.bullets { list-style: none; padding: 0; margin: 24px 0 0; }
.bullets li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--text-dim);
}
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 14px; height: 2px; background: var(--accent);
  box-shadow: 0 0 12px rgba(201,162,74,0.4);
}

/* ----- Portrait card ----- */
.card-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 500px 400px at 20% 10%, rgba(201,162,74,0.12), transparent 60%),
    radial-gradient(ellipse 500px 600px at 80% 90%, rgba(168,26,26,0.18), transparent 60%),
    linear-gradient(135deg, #141419 0%, #0d0d12 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.card-portrait::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px);
  opacity: 0.35;
}
.card-portrait::after {
  content: "";
  position: absolute; inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  border: 1px dashed rgba(201,162,74,0.22);
  pointer-events: none;
}
.card-portrait-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px;
}
.portrait-tag {
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  opacity: 0.85;
}
.portrait-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.portrait-foot {
  display: flex; gap: 8px; align-items: center;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----- Features grid ----- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.feature {
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 30% 30%, rgba(201,162,74,0.18), transparent 60%);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.feature p { color: var(--text-dim); margin: 0; font-size: 14.5px; }

/* ----- Steps ----- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--head);
  font-size: 42px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 74, 0.55);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--head);
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}
.step p { color: var(--text-dim); margin: 0 0 18px; }

.connect-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-2);
  background: rgba(0,0,0,0.3);
}
.connect-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.connect-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
}
.connect-row code {
  padding: 6px 10px;
  background: #0a0a0e;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--accent);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}
.copy-btn {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.hint { font-size: 12px; color: var(--text-muted); margin: 10px 0 0; }

/* ----- Status card ----- */
.status-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 400px 240px at 80% 0%, rgba(201,162,74,0.12), transparent 60%),
    linear-gradient(180deg, #15151b 0%, #0e0e12 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
}
.status-top {
  display: flex; gap: 14px; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.status-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 16px #3fb95080;
  animation: pulse 2.4s ease-in-out infinite;
}
.status-dot.offline { background: var(--crimson-2); box-shadow: 0 0 16px rgba(217,58,58,0.6); }
.status-name { font-family: var(--head); font-size: 18px; color: #fff; }
.status-state { font-size: 13px; color: var(--text-muted); }
.status-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.status-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.status-v { font-family: var(--head); color: #fff; font-size: 20px; margin-top: 4px; }
.status-ctas { display: flex; gap: 10px; }

/* ----- Rules ----- */
.rules-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.rule {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.rule:hover { transform: translateY(-4px); border-color: var(--line-2); }
.rule-n {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--crimson-2);
  background: rgba(168, 26, 26, 0.1);
  border: 1px solid rgba(168, 26, 26, 0.25);
  margin-bottom: 14px;
}
.rule h3 { font-family: var(--head); font-size: 18px; color: #fff; margin: 0 0 6px; }
.rule p { color: var(--text-dim); margin: 0; font-size: 14.5px; }
.rules-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ----- Community ----- */
.community {
  display: flex;
  justify-content: center;
}
.community-inner {
  max-width: 820px;
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(88, 101, 242, 0.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(168, 26, 26, 0.12), transparent 60%),
    linear-gradient(180deg, #15151c 0%, #0d0d13 100%);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
}
.community-inner .kicker { text-align: center; }
.community-inner .lede { max-width: 620px; margin: 0 auto 28px; }
.community-invite { font-size: 13px; color: var(--text-muted); margin-top: 18px; }
.community-invite code {
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  color: var(--accent);
  font-family: ui-monospace, Menlo, monospace;
}

/* ----- Staff ----- */
.staff-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.staff {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.staff:hover { transform: translateY(-4px); border-color: var(--line-2); }
.staff-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,162,74,0.35), transparent 60%),
    linear-gradient(135deg, #1a1a20 0%, #0e0e13 100%);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  position: relative;
}
.staff-avatar::after { content: attr(data-initials); }
.staff-role {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.staff-name { font-family: var(--head); font-size: 18px; color: #fff; margin-bottom: 10px; }
.staff-bio { color: var(--text-dim); font-size: 14px; margin: 0; }

/* ----- FAQ ----- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq details[open] { background: rgba(255,255,255,0.01); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--head);
  font-size: 18px;
  color: #fff;
  padding: 6px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--head);
  color: var(--accent);
  transition: transform .2s;
  font-size: 22px;
}
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text-dim); margin: 10px 0 4px; font-size: 15px; }

/* ----- Footer ----- */
.footer {
  position: relative; z-index: 1;
  padding: 80px 0 30px;
  background: linear-gradient(180deg, #08080b 0%, #050507 100%);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--text-muted); font-size: 14px; max-width: 340px; margin: 0; }
.footer-col h4 {
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; font-size: 14px; color: var(--text-dim); }
.footer-col a:hover { color: var(--accent); }
.footer-muted { color: var(--text-muted); }
.footer-bar {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bar p { margin: 0; }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .staff-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open .nav-links {
    display: flex;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,12,0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav.open .nav-links a {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }
  .nav.open .nav-cta {
    display: flex;
    position: absolute; top: 72px; left: 0; right: 0;
    padding: 14px 24px;
    gap: 10px;
    background: rgba(10,10,12,0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(calc(7 * 48px));
  }
  .hero { padding: 60px 0 100px; }
  .section { padding: 80px 0; }
  .features, .rules-grid, .staff-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bar { flex-direction: column; gap: 6px; }
  .section-head { margin-bottom: 36px; }
  .community-inner { padding: 40px 22px; }
  .status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Reduce motion for those who prefer it */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
