/* ════════════════════════════════════════════════
   WILLOWSHADE SMP — Design System
   Palette: Deep forest void with glowing willow greens
   Type: Cinzel Decorative (display) + Nunito (body)
   Signature: Animated firefly particles on hero canvas
   ════════════════════════════════════════════════ */

:root {
  /* Palette */
  --void:          #050e05;
  --deep:          #08160a;
  --forest:        #0e2410;
  --moss:          #183a1b;
  --bark:          #2a6a2a;
  --leaf:          #47b047;
  --glow:          #75e475;
  --mist:          #b4f0b4;
  --frost:         #e6ffe6;

  /* Text */
  --t-hi:   #e8ffe8;
  --t-md:   #9ecf9e;
  --t-lo:   #587860;

  /* Glass */
  --glass-bg:      rgba(12, 34, 14, 0.60);
  --glass-edge:    rgba(70, 160, 70, 0.18);
  --glass-hover:   rgba(18, 50, 20, 0.82);
  --glow-shadow:   0 0 28px rgba(100, 220, 100, 0.14);

  /* Shapes */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 50px;

  /* Typography */
  --display: 'Cinzel Decorative', Georgia, serif;
  --body:    'Nunito', system-ui, sans-serif;

  /* Motion */
  --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--t-hi);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--body); cursor: pointer; border: none; background: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--bark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--leaf); }

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0 1.5rem;
  background: rgba(5, 14, 5, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-edge);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  border-bottom-color: rgba(70, 160, 70, 0.32);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--glow);
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: opacity var(--ease);
}
.nav-logo:hover { opacity: 0.85; }
.logo-leaf { font-size: 1.25rem; }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-xl);
  color: var(--t-md);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover { color: var(--glow); background: rgba(70,160,70,0.1); }

.nav-discord {
  color: var(--glow) !important;
  background: rgba(70, 160, 70, 0.12);
  border: 1px solid var(--glass-edge);
}
.nav-discord:hover { background: rgba(70, 160, 70, 0.25) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--ease);
}
.hamburger:hover { background: rgba(70,160,70,0.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--glow);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 65%, #0d3a10 0%, #060f06 75%);
}

#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Atmospheric glow rings */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.12;
}
.hero-glow-1 {
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, #47b047, transparent);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-glow-2 {
  width: 300px;
  height: 200px;
  background: radial-gradient(circle, #1e6e1e, transparent);
  bottom: 10%;
  right: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.4rem;
  background: rgba(45, 106, 45, 0.22);
  border: 1px solid rgba(116, 228, 116, 0.30);
  border-radius: var(--r-xl);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* Title */
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--frost);
  letter-spacing: -0.01em;
  text-shadow: 0 0 80px rgba(116, 228, 116, 0.18);
  margin-bottom: 0.2em;
}

.title-accent { color: var(--glow); }

.title-smp {
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.45em;
  color: var(--mist);
  opacity: 0.7;
  text-shadow: none;
  margin-top: 0.2em;
}

/* Subtitle */
.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--t-md);
  max-width: 560px;
  margin: 1.25rem auto 2.25rem;
  line-height: 1.75;
}
.br-desk { display: none; }

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--r-xl);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(140deg, #2a6a2a 0%, #47b047 100%);
  color: #fff;
  box-shadow: 0 4px 22px rgba(70, 165, 70, 0.45);
}
.btn-primary:hover { box-shadow: 0 8px 35px rgba(70, 165, 70, 0.65); }

.btn-ghost {
  background: rgba(70, 160, 70, 0.10);
  color: var(--glow);
  border: 1.5px solid rgba(116, 228, 116, 0.35);
}
.btn-ghost:hover { background: rgba(70, 160, 70, 0.22); border-color: var(--glow); }

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.82rem; }

/* Stats bar */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.9rem 0;
  background: rgba(12, 30, 14, 0.60);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.8rem;
}

.hstat-val {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--glow);
  line-height: 1.2;
}
.hstat-lbl {
  font-size: 0.68rem;
  color: var(--t-lo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.hstat-sep {
  width: 1px;
  height: 32px;
  background: var(--glass-edge);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--t-lo);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* ════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════ */
.sec { padding: 6rem 1.5rem; }
.sec-alt { background: var(--deep); }

.container { max-width: 1180px; margin: 0 auto; }

.sec-head { margin-bottom: 3rem; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.6rem;
}

.sec-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--frost);
  line-height: 1.15;
}

/* ── Glass card base ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.glass:hover {
  border-color: rgba(70, 160, 70, 0.38);
  box-shadow: var(--glow-shadow);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.about-card {
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.about-icon { font-size: 2.8rem; }
.about-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--glow);
  letter-spacing: 0.02em;
}
.about-card p { font-size: 0.92rem; color: var(--t-md); line-height: 1.7; }
.about-card strong { color: var(--mist); font-weight: 700; }

/* ════════════════════════════════════════════════
   SERVERS
   ════════════════════════════════════════════════ */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.server-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Card top header */
.scard-top {
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--glass-edge);
}
.scard-public  { background: linear-gradient(145deg, rgba(22,65,25,0.7), rgba(12,34,14,0.4)); }
.scard-private { background: linear-gradient(145deg, rgba(20,40,80,0.55), rgba(10,22,44,0.4)); }

.scard-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-xl);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(116, 228, 116, 0.12);
  border: 1px solid rgba(116, 228, 116, 0.28);
  color: var(--mist);
  margin-bottom: 0.8rem;
}
.scard-badge-priv {
  background: rgba(100, 160, 240, 0.12);
  border-color: rgba(100, 160, 240, 0.28);
  color: #a8ccf8;
}

.scard-top h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--frost);
  margin-bottom: 0.5rem;
}
.scard-top p { font-size: 0.88rem; color: var(--t-md); }

/* Card body */
.scard-body { padding: 1.5rem 1.75rem; flex: 1; }

.sinfo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(70, 160, 70, 0.08);
}

.sinfo-key {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-lo);
  min-width: 52px;
  flex-shrink: 0;
}

.sinfo-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--t-hi);
}
.sinfo-locked { color: var(--t-lo); font-style: italic; }

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.8rem;
  background: rgba(42, 106, 42, 0.22);
  border: 1px solid rgba(70, 160, 70, 0.25);
  border-radius: var(--r-sm);
  color: var(--glow);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--ease);
}
.copy-chip:hover { background: rgba(42, 106, 42, 0.42); border-color: var(--leaf); }
.chip-copy-icon { font-size: 0.75rem; opacity: 0.65; }

/* Feature tags */
.stags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.stags span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  background: rgba(42, 106, 42, 0.15);
  border: 1px solid rgba(70, 160, 70, 0.18);
  border-radius: var(--r-xl);
  color: var(--t-md);
}
.stags-priv span {
  background: rgba(40, 80, 150, 0.15);
  border-color: rgba(80, 140, 220, 0.2);
}

/* Card footer link */
.scard-foot {
  display: block;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid var(--glass-edge);
  color: var(--leaf);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: background var(--ease), color var(--ease);
}
.scard-foot:hover { background: rgba(70, 160, 70, 0.1); color: var(--glow); }
.scard-foot-discord { color: #7aabf5; }
.scard-foot-discord:hover { background: rgba(80, 130, 220, 0.1) !important; color: #a8ccf8 !important; }

/* ════════════════════════════════════════════════
   RULES
   ════════════════════════════════════════════════ */
.rules-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.rtab {
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-edge);
  color: var(--t-md);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--ease);
}
.rtab:hover { color: var(--glow); border-color: rgba(70,160,70,0.35); background: rgba(42,106,42,0.25); }
.rtab.active {
  background: rgba(42, 106, 42, 0.38);
  border-color: var(--leaf);
  color: var(--glow);
}

.rules-notice {
  padding: 0.9rem 1.25rem;
  margin-bottom: 1.75rem;
  border-radius: var(--r-sm);
  border-left: 3px solid #ffcc00;
  background: rgba(255, 200, 0, 0.07);
  color: #ffe566;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.5;
}
.rules-notice-pub {
  border-left-color: #6e9cf0;
  background: rgba(100, 148, 240, 0.07);
  color: #9ec0ff;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

.rule-cat {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rule-cat h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.88rem;
  color: var(--glow);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--glass-edge);
}
.rule-cat h4 span { font-family: var(--body); }

.rule-cat ul { list-style: none; display: flex; flex-direction: column; gap: 0.42rem; }
.rule-cat li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--t-md);
  line-height: 1.5;
}
.rule-cat li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-size: 0.75rem;
  top: 0.05em;
}

/* Punishment card */
.rule-punish { gap: 0; }
.ptier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(70,160,70,0.08);
  font-size: 0.82rem;
  color: var(--t-md);
}

.pbadge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-xl);
  flex-shrink: 0;
}
.pbadge-warn { background: rgba(255,200,0,0.14); border: 1px solid rgba(255,200,0,0.28); color: #ffe566; }
.pbadge-kick { background: rgba(255,140,50,0.14); border: 1px solid rgba(255,140,50,0.28); color: #ffb87a; }
.pbadge-ban  { background: rgba(255,70,70,0.14);  border: 1px solid rgba(255,70,70,0.28);  color: #ff9999; }

.ptier-note { font-size: 0.75rem; color: var(--t-lo); margin-top: 0.75rem; font-style: italic; line-height: 1.4; }

.rules-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--mist);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
}
.rules-note strong { color: var(--glow); }

.hidden { display: none !important; }

/* ════════════════════════════════════════════════
   JOIN
   ════════════════════════════════════════════════ */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}

.join-step-card, .join-ip-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.75rem;
  align-items: flex-start;
}

.join-ip-card {
  border-color: rgba(70, 160, 70, 0.38);
  background: rgba(16, 50, 20, 0.72);
  box-shadow: var(--glow-shadow);
}

.jstep-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #2a6a2a, #47b047);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(70, 165, 70, 0.4);
}

.jstep-body { flex: 1; }
.jstep-body h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--frost);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}
.jstep-body p {
  font-size: 0.875rem;
  color: var(--t-md);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.jstep-body strong { color: var(--mist); }

/* IP fields */
.ip-fields { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }

.ip-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-lo);
  margin-bottom: 0.3rem;
}

.ip-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(5, 14, 5, 0.9);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--ease);
}
.ip-btn:hover { border-color: var(--leaf); background: rgba(42, 106, 42, 0.25); }
.ip-btn:active { transform: scale(0.98); }

.ip-val {
  font-family: 'Courier New', monospace;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--glow);
  letter-spacing: 0.03em;
}
.ip-hint {
  font-size: 0.65rem;
  color: var(--t-lo);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--void);
  border-top: 1px solid var(--glass-edge);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--glow);
  margin-bottom: 0.6rem;
}
.footer-tag { font-size: 0.88rem; color: var(--t-lo); margin-bottom: 1.75rem; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-links a {
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-xl);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--t-md);
  letter-spacing: 0.05em;
  transition: color var(--ease), background var(--ease);
}
.footer-links a:hover { color: var(--glow); background: rgba(70,160,70,0.1); }

.footer-host { font-size: 0.78rem; color: var(--t-lo); margin-bottom: 0.4rem; }
.footer-host strong { color: var(--leaf); }
.footer-copy { font-size: 0.72rem; color: #2c4a2e; }

/* ════════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(34, 88, 34, 0.95);
  border: 1px solid var(--leaf);
  color: var(--mist);
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-xl);
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 999;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════════════════════ */
@media (min-width: 720px) {
  .br-desk { display: inline; }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ════════════════════════════════════════════════ */
@media (max-width: 719px) {
  /* Nav collapse */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 14, 5, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-edge);
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 0.92rem; padding: 0.75rem 1rem; border-radius: var(--r-sm); }

  /* Hero */
  .hero { padding: 4.5rem 1.25rem 3.5rem; }
  .hero-stats {
    gap: 0;
    width: 100%;
  }
  .hstat { padding: 0.4rem 0.8rem; }
  .hstat-sep { height: 24px; }
  .hstat-val { font-size: 0.88rem; }

  /* Sections */
  .sec { padding: 4rem 1.25rem; }

  /* Grids → single column */
  .about-grid, .servers-grid, .rules-grid, .join-grid { grid-template-columns: 1fr; }

  /* Join cards stacked */
  .join-step-card, .join-ip-card { padding: 1.5rem; }

  /* Sinfo rows */
  .sinfo-row { flex-wrap: wrap; gap: 0.3rem; }
  .copy-chip { width: 100%; justify-content: space-between; }

  /* Hero CTAs */
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.1rem; }
  .hstat-sep { display: none; }
  .hstat { border-top: 1px solid var(--glass-edge); width: 50%; padding: 0.6rem 0.5rem; }
  .hstat:nth-child(1), .hstat:nth-child(2) { border-top: none; }
}
