/* ──────────────────────────────────────────────────────────────────────────
   DNO SURVIVAL — main stylesheet
   ──────────────────────────────────────────────────────────────────────────
   1.  Tokens (:root)
   2.  Reset
   3.  Typography
   4.  Atmospheric background
   5.  Layout (container, sections)
   6.  Buttons
   7.  Lucide icons
   8.  Navigation (site header)
   9.  Footer
  10.  Cards (generic)
  11.  Status indicators (dots, pills, badges)
  12.  Home page (hero, status strip, features, field notes)
  13.  Server page
  14.  Map placeholder
  15.  News (listing + post)
  16.  Leaderboards placeholder
  17.  Profile / Tracker (dashboard)
  18.  Legacy: rules, team, join
  19.  Auth (access denied, login error)
  20.  Animations
  21.  Responsive
   ────────────────────────────────────────────────────────────────────────── */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Primary — Forest */
  --forest-900: #0a1410;
  --forest-800: #0f1f17;
  --forest-700: #1a2e22;
  --forest-600: #243d2f;
  --forest-500: #2f5240;
  --forest-400: #4a7d5e;
  --forest-300: #6fa685;

  /* Accent — Amber */
  --amber-500: #d4a04a;
  --amber-400: #e6b25c;
  --amber-600: #b07e2e;

  /* Neutral — Stone */
  --stone-100: #e8e4dc;
  --stone-300: #a8a298;
  --stone-500: #6a6660;
  --stone-900: #1a1816;

  /* Status */
  --success: #4a9d5e;
  --warning: #d4a04a;
  --danger:  #a84a3d;
  --info:    #4a7d9d;

  /* News categories */
  --cat-update:       #4a7d9d;
  --cat-content:      #d4a04a;
  --cat-event:        #7d4a9d;
  --cat-announcement: #4a7d5e;

  /* Fonts */
  --font-display: 'Russo One', 'Oswald', sans-serif; /* hero, titles */
  --font-label:   'Oswald', sans-serif;           /* nav, labels, eyebrows */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --header-h:  76px;
  --content-max: 1280px;

  --shadow-card:      0 1px 0 0 rgba(255, 255, 255, .02) inset, 0 8px 24px -12px rgba(0, 0, 0, .55);
  --shadow-card-lift: 0 1px 0 0 rgba(255, 255, 255, .04) inset, 0 16px 32px -10px rgba(0, 0, 0, .65);

  --transition: 200ms ease;
}

/* ── 2. Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--forest-900);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }

a {
  color: var(--forest-300);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--amber-400); }

button { font: inherit; }

::selection {
  background: rgba(212, 160, 74, .35);
  color: var(--stone-100);
}

/* ── 3. Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--stone-100);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--amber-500);
}

.section-heading {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1.5rem;
  color: var(--stone-100);
  position: relative;
  display: inline-block;
  padding-bottom: .6rem;
}
.section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 1px;
}

.mono { font-family: var(--font-mono); }

/* ── 4. Atmospheric background ─────────────────────────────────────────── */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 125, 94, .14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(212, 160, 74, .05) 0%, transparent 60%),
    linear-gradient(180deg, #0a1410 0%, #070d0a 100%);
}
.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' 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.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .6;
  mix-blend-mode: overlay;
}

/* ── 5. Layout ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 880px; }

.section { padding: 4rem 0; }
.section--lg { padding: 5.5rem 0; }
.section--sm { padding: 2.5rem 0; }

.page-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--forest-600);
  background: linear-gradient(180deg, rgba(15, 31, 23, .55) 0%, transparent 100%);
}
.page-header__eyebrow {
  display: block;
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  color: var(--amber-500);
  margin-bottom: .65rem;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw + .5rem, 3rem);
  margin-bottom: .5rem;
}
.page-header__sub {
  font-size: 1rem;
  color: var(--stone-300);
  max-width: 640px;
}

/* ── 6. Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--amber-500);
  color: var(--forest-900);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, .12) inset, 0 6px 14px -6px rgba(212, 160, 74, .55);
}
.btn--primary:hover {
  background: var(--amber-400);
  color: var(--forest-900);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, .14) inset, 0 10px 22px -6px rgba(212, 160, 74, .65);
}
.btn--primary:active {
  background: var(--amber-600);
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--stone-100);
  border-color: var(--forest-600);
}
.btn--ghost:hover {
  border-color: var(--forest-400);
  color: var(--amber-400);
  background: rgba(74, 125, 94, .08);
}

.btn--outline {
  background: transparent;
  color: var(--stone-300);
  border-color: var(--forest-600);
}
.btn--outline:hover {
  border-color: var(--amber-500);
  color: var(--amber-400);
}

.btn--discord {
  background: #5865f2;
  color: #fff;
  border-color: #5865f2;
}
.btn--discord:hover {
  background: #4752c4;
  color: #fff;
  transform: translateY(-1px);
}

.btn--sm {
  padding: .55rem 1rem;
  font-size: .72rem;
}

/* ── 7. Lucide icons ───────────────────────────────────────────────────── */
.icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--sm { width: 14px; height: 14px; }
.icon--lg { width: 24px; height: 24px; }
.icon--xl { width: 40px; height: 40px; }

.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(74, 125, 94, .12);
  border: 1px solid var(--forest-600);
  color: var(--amber-500);
  flex-shrink: 0;
}
.icon-bubble .icon { width: 22px; height: 22px; }

.icon-bubble--lg {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
.icon-bubble--lg .icon { width: 32px; height: 32px; }

/* ── 8. Navigation ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 20, 16, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--forest-600);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: inherit; }

.brand__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .25rem;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--stone-100);
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-label);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-left: 1.5rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-300);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav__link:hover {
  color: var(--stone-100);
  background: rgba(74, 125, 94, .08);
}
.nav__link.is-active {
  color: var(--amber-400);
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: 2px;
  height: 2px;
  border-radius: 1px;
  background: var(--amber-500);
  box-shadow: 0 0 8px rgba(212, 160, 74, .35);
}
.nav__link .icon { width: 16px; height: 16px; }

.nav__spacer { flex: 1; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: var(--amber-500);
  color: var(--forest-900);
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
}
.nav__cta:hover {
  background: var(--amber-400);
  color: var(--forest-900);
  transform: translateY(-1px);
}

.user-menu { position: relative; }

.user-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem .35rem .35rem;
  background: rgba(15, 31, 23, .6);
  border: 1px solid var(--forest-600);
  border-radius: 999px;
  color: var(--stone-100);
  cursor: pointer;
  transition: border-color var(--transition);
}
.user-menu__btn:hover { border-color: var(--forest-400); }
.user-menu__btn .icon { width: 14px; height: 14px; color: var(--stone-300); }

.user-menu__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.user-menu__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-500);
  color: var(--stone-100);
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 600;
}
.user-menu__name {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
}

.user-menu__panel {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 200px;
  background: var(--forest-800);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius);
  padding: .4rem;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .55);
  z-index: 50;
}
.user-menu.is-open .user-menu__panel { display: flex; }

.user-menu__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: .85rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  width: 100%;
}
.user-menu__item:hover {
  background: var(--forest-700);
  color: var(--amber-400);
}
.user-menu__item .icon { color: var(--stone-300); }
.user-menu__item:hover .icon { color: var(--amber-400); }

.user-menu__divider {
  height: 1px;
  background: var(--forest-600);
  margin: .25rem 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-sm);
  color: var(--stone-100);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── 9. Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  border-top: 1px solid var(--forest-600);
  background: var(--forest-800);
  padding: 3rem 0 1.5rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__brand-text {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-100);
}
.site-footer__brand-sub {
  display: block;
  font-family: var(--font-label);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: .2rem;
}

.site-footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer__links a {
  font-family: var(--font-label);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-300);
}
.site-footer__links a:hover { color: var(--amber-400); }

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--forest-700);
  font-size: .8rem;
  color: var(--stone-500);
  text-align: center;
}

/* ── 10. Cards (generic) ───────────────────────────────────────────────── */
.card {
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card--hover:hover {
  transform: translateY(-2px);
  border-color: var(--forest-500);
  box-shadow: var(--shadow-card-lift);
}
.card--dark { background: var(--forest-800); }
.card--lg   { padding: 2.25rem; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--stone-100);
}
.card__sub {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 1rem;
}

/* ── 11. Status indicators ─────────────────────────────────────────────── */
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stone-500);
  flex-shrink: 0;
}
.dot--online {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(74, 157, 94, .55);
  animation: pulse-dot 2s ease-in-out infinite;
}
.dot--offline { background: var(--danger); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(74, 125, 94, .14);
  border: 1px solid var(--forest-600);
  color: var(--forest-300);
  white-space: nowrap;
}
.badge--linked { color: var(--success); border-color: rgba(74, 157, 94, .35); }
.badge--pending { color: var(--amber-400); border-color: rgba(212, 160, 74, .35); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--forest-600);
  background: rgba(15, 31, 23, .6);
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-300);
}
.status-pill--online  { color: var(--success); border-color: rgba(74, 157, 94, .35); }
.status-pill--offline { color: var(--danger);  border-color: rgba(168, 74, 61, .35); }

/* ── 12. Home page ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 60vh;
  padding: 5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 35%, rgba(74, 125, 94, .22) 0%, transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(10, 20, 16, .95) 0%, transparent 50%);
  z-index: -1;
}

.hero__logo {
  height: 280px;
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .6));
}

.hero__tagline {
  font-family: var(--font-label);
  font-size: clamp(.85rem, 1.4vw + .4rem, 1.1rem);
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: .9rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--stone-300);
  max-width: 540px;
  margin: 0 auto;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--stone-500);
  font-family: var(--font-label);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.hero__scroll .icon {
  width: 18px;
  height: 18px;
  animation: scroll-bounce 2.4s ease-in-out infinite;
}

.status-strip {
  background: var(--forest-800);
  border-top: 1px solid var(--forest-600);
  border-bottom: 1px solid var(--forest-600);
  padding: 1.5rem 0;
}
.status-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.status-strip__state {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-label);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.status-strip__state--online  { color: var(--success); }
.status-strip__state--offline { color: var(--danger); }

.status-strip__count {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--stone-100);
}
.status-strip__count strong { color: var(--amber-400); }

.status-strip__server {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--stone-300);
  word-break: break-word;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--amber-600);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .65);
}
.feature__title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-100);
}
.feature__desc {
  color: var(--stone-300);
  font-size: .95rem;
  line-height: 1.65;
}

.field-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.field-notes-foot {
  margin-top: 2.5rem;
  text-align: center;
}

/* ── 13. Server page ───────────────────────────────────────────────────── */
.server-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.server-status-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.server-status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.server-status-card__state {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.server-status-card__players {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.server-status-card__count {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--amber-400);
  line-height: 1;
}
.server-status-card__count-sub {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.species-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem .75rem;
  margin-top: .5rem;
}
.species-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: .35rem .6rem;
  background: var(--forest-800);
  border-radius: var(--radius-sm);
  color: var(--stone-300);
}
.species-row strong { color: var(--amber-400); font-family: var(--font-mono); }

.species-empty {
  font-size: .9rem;
  color: var(--stone-500);
  font-style: italic;
}

.connect-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .9rem;
  background: var(--forest-800);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--stone-100);
  word-break: break-all;
}
.connect-row__label {
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
  flex-shrink: 0;
  font-weight: 500;
}
.connect-row__value { flex: 1; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-sm);
  color: var(--stone-300);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.copy-btn:hover {
  border-color: var(--amber-500);
  color: var(--amber-400);
}
.copy-btn.is-copied {
  border-color: var(--success);
  color: var(--success);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.schedule-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--forest-600);
}
.schedule-list__row:last-child { border-bottom: 0; }
.schedule-list__row dt {
  font-family: var(--font-body);
  color: var(--stone-300);
  font-size: .95rem;
}
.schedule-list__row dd {
  font-family: var(--font-mono);
  color: var(--amber-400);
  font-size: .9rem;
}

/* ── 14. Map placeholder ───────────────────────────────────────────────── */
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(74, 125, 94, .15) 0%, transparent 70%),
    var(--forest-800);
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-lg);
}

/* ── 15. News ──────────────────────────────────────────────────────────── */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-archive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber-600);
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .65);
  color: inherit;
}

.news-card__media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(74, 125, 94, .35) 0%, rgba(15, 31, 23, .7) 100%),
    radial-gradient(circle at 30% 20%, rgba(212, 160, 74, .15) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--forest-600);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--forest-500);
  z-index: 2;
}
.news-card__cat--update       { background: var(--cat-update); }
.news-card__cat--content      { background: var(--cat-content); color: var(--forest-900); }
.news-card__cat--event        { background: var(--cat-event); }
.news-card__cat--announcement { background: var(--cat-announcement); }

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.5rem;
  flex: 1;
}
.news-card__date {
  font-family: var(--font-label);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--stone-100);
}
.news-card__summary {
  color: var(--stone-300);
  font-size: .92rem;
  flex: 1;
}
.news-card__more {
  margin-top: .5rem;
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-500);
}

.news-card--featured .news-card__title { font-size: 1.6rem; }
.news-card--archive .news-card__title { font-size: 1.05rem; }
.news-card--archive .news-card__body { padding: 1.25rem; gap: .55rem; }

.news-empty {
  padding: 3rem 2rem;
  text-align: center;
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-lg);
  background: var(--forest-800);
  color: var(--stone-300);
}

/* News post (single) */
.news-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}
.news-post__meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.news-post__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw + .5rem, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.news-post__hero {
  width: 100%;
  margin: 1rem 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--forest-600);
}
.news-post__body {
  color: var(--stone-100);
  font-size: 1.05rem;
  line-height: 1.75;
}
.news-post__body h1,
.news-post__body h2,
.news-post__body h3 {
  font-family: var(--font-display);
  margin: 2.25rem 0 1rem;
}
.news-post__body h1 { font-size: 1.85rem; }
.news-post__body h2 { font-size: 1.5rem; }
.news-post__body h3 { font-size: 1.2rem; }
.news-post__body p { margin-bottom: 1.25rem; color: var(--stone-100); }
.news-post__body a {
  color: var(--amber-400);
  border-bottom: 1px solid rgba(212, 160, 74, .35);
}
.news-post__body a:hover { color: var(--amber-500); border-bottom-color: var(--amber-500); }
.news-post__body ul, .news-post__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--stone-100);
}
.news-post__body li { margin-bottom: .35rem; }
.news-post__body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(15, 31, 23, .55);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius-sm);
  color: var(--stone-300);
  font-style: italic;
}
.news-post__body code {
  font-family: var(--font-mono);
  font-size: .92em;
  background: var(--forest-800);
  padding: .1em .35em;
  border-radius: 3px;
  color: var(--amber-400);
}
.news-post__body hr {
  border: 0;
  height: 1px;
  background: var(--forest-600);
  margin: 2rem 0;
}

.news-post__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-label);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-300);
  margin-bottom: 2rem;
}
.news-post__back:hover { color: var(--amber-400); }

/* ── 16. Leaderboards ──────────────────────────────────────────────────── */
.leaderboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3.5rem 2rem;
  background: var(--forest-800);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
}

.leaderboard-empty__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(212, 160, 74, .12);
  border: 1px solid rgba(212, 160, 74, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-500);
}
.leaderboard-empty__icon .icon { width: 36px; height: 36px; }

.planned-boards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 2.5rem;
  max-width: 640px;
  width: 100%;
  list-style: none;
}
.planned-boards li {
  padding: .85rem 1rem;
  background: var(--forest-800);
  border: 1px solid var(--forest-700);
  border-radius: var(--radius-sm);
  font-family: var(--font-label);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-500);
  display: flex;
  align-items: center;
  gap: .55rem;
}
.planned-boards li .icon { color: var(--stone-500); width: 16px; height: 16px; }

/* ── 17. Profile / Tracker ─────────────────────────────────────────────── */
.profile {
  padding: 1.5rem 0 2rem;
}

/* Profile tabs */
.profile-tabs {
  display: flex;
  gap: .25rem;
  border-bottom: 1px solid var(--forest-600);
  margin-bottom: 1.25rem;
}
.profile-tabs__tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: .75rem 1.1rem;
  margin-bottom: -1px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-300);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.profile-tabs__tab:hover { color: var(--stone-100); }
.profile-tabs__tab--active {
  color: var(--stone-100);
  border-bottom-color: var(--amber-500);
}
.profile-tabs__tab:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.profile-panel { display: none; }
.profile-panel--active { display: block; }

/* User card (compact) */
.tracker-user {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 20px;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}
.tracker-user__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--forest-500);
  flex-shrink: 0;
}
.tracker-user__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-500);
  color: var(--stone-100);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}
.tracker-user__body { flex: 1; min-width: 220px; }
.tracker-user__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  margin-bottom: .35rem;
  line-height: 1.1;
}
.tracker-user__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.tracker-user__joined {
  margin-top: .45rem;
  font-size: .82rem;
  color: var(--stone-300);
}

/* Overview two-column grid */
.tracker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 1rem;
}

.tracker-col {
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 16px;
}

/* Stat grid inside Server Presence column */
.tracker-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--forest-600);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius);
  overflow: hidden;
}
.tracker-stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 16px;
  background: var(--forest-800);
}
.tracker-stat__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--stone-100);
  line-height: 1.1;
}
.tracker-stat__value--online { color: var(--success); }
.tracker-stat__label {
  font-family: var(--font-label);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-500);
}

/* Linked-Steam compact display */
.tracker-steam-linked {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.tracker-steam-id {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .8rem;
  background: var(--forest-900);
  border: 1px solid var(--forest-500);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--stone-100);
  word-break: break-all;
}
.tracker-steam-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.tracker-steam-actions__hint {
  font-size: .75rem;
  color: var(--stone-500);
}
.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dinos tab — empty state */
.tracker-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .85rem;
  padding: 2.25rem 1.5rem;
  background: var(--forest-800);
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-lg);
  color: var(--stone-300);
  margin-top: 1rem;
}
.tracker-empty__title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-100);
}
.tracker-empty__body {
  max-width: 480px;
  font-size: .92rem;
  line-height: 1.6;
}

/* Empty-card (used elsewhere) — kept for generic empty states */
.empty-card {
  padding: 2rem;
  background: var(--forest-800);
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--stone-300);
}
.empty-card__title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-100);
  margin-bottom: .5rem;
}

/* Steam verify (existing flow) — restyled */
.verify-link-helper {
  font-size: .85rem;
  color: var(--stone-300);
  line-height: 1.6;
}
.verify-link-helper a { color: var(--amber-400); }

.verify-callout {
  padding: .9rem 1.1rem;
  background: rgba(212, 160, 74, .08);
  border: 1px solid rgba(212, 160, 74, .25);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--stone-100);
  line-height: 1.6;
}
.verify-callout strong { color: var(--amber-400); }

.verify-step-heading {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-100);
  margin-top: 1rem;
}

.verify-steps {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: decimal;
  margin-top: .5rem;
}
.verify-steps li {
  font-size: .9rem;
  color: var(--stone-300);
  line-height: 1.55;
}
.verify-steps kbd {
  display: inline-block;
  padding: .05rem .4rem;
  background: var(--forest-900);
  border: 1px solid var(--forest-500);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: .82em;
  color: var(--stone-100);
}

.verify-command-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.verify-command {
  display: inline-block;
  padding: .5rem .9rem;
  background: var(--forest-900);
  border: 1px solid var(--forest-500);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .92rem;
  color: var(--stone-100);
  letter-spacing: .02em;
}
.verify-command strong { color: var(--amber-400); }

.verify-code-big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: .3em;
  color: var(--amber-400);
  text-shadow: 0 0 24px rgba(212, 160, 74, .35);
  padding: .5rem 0;
}

.verify-copy-hint {
  font-size: .72rem;
  color: var(--stone-500);
  user-select: none;
  font-family: var(--font-label);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.verify-copyable { cursor: pointer; }
.verify-command.verify-copyable { transition: border-color var(--transition); }
.verify-command.verify-copyable:hover { border-color: var(--amber-500); }
.verify-code-big.verify-copyable { transition: text-shadow var(--transition); }
.verify-code-big.verify-copyable:hover { text-shadow: 0 0 36px rgba(212, 160, 74, .6); }

@keyframes copy-flash {
  0%   { outline: 2px solid rgba(212, 160, 74, .7); outline-offset: 2px; }
  100% { outline: 2px solid rgba(212, 160, 74, 0); outline-offset: 5px; }
}
.copy-flash { animation: copy-flash .65s ease-out forwards; }

.verify-status-line {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--stone-300);
  margin-top: .85rem;
}
.verify-poll-status { color: var(--stone-500); }

.verify-time-remaining {
  font-size: .85rem;
  color: var(--stone-300);
}
.verify-time-remaining strong { color: var(--amber-400); font-family: var(--font-mono); }

.verify-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.verify-form__label {
  display: block;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: .5rem;
}

.verify-form__row {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}

.verify-input {
  flex: 1;
  min-width: 180px;
  padding: .65rem .9rem;
  background: var(--forest-900);
  border: 1px solid var(--forest-500);
  border-radius: var(--radius-sm);
  color: var(--stone-100);
  font-family: var(--font-mono);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition);
}
.verify-input:focus { border-color: var(--amber-500); }
.verify-input::placeholder { color: var(--stone-500); }

.verify-form__error {
  font-size: .82rem;
  color: var(--danger);
  min-height: 1.2em;
  margin-top: .35rem;
}

.verify-pending,
.verify-pending__instr {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.verify-pending__instr {
  font-size: .9rem;
  color: var(--stone-300);
}

.verify-toast {
  margin-top: .75rem;
  padding: .55rem .9rem;
  background: var(--forest-800);
  border: 1px solid var(--amber-500);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--stone-100);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.verify-toast--visible { opacity: 1; transform: translateY(0); }

.dash-stat__value--online { color: var(--success); }

/* ── 18. Legacy: rules, team, join ─────────────────────────────────────── */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.rule-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.75rem;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.rule-card:hover {
  border-color: var(--amber-600);
  transform: translateY(-2px);
}
.rule-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-100);
}
.rule-body {
  font-size: .9rem;
  color: var(--stone-300);
  line-height: 1.65;
  flex: 1;
}

.pack-section {
  margin-top: 4rem;
  padding: 3rem 0;
  background: var(--forest-800);
  border-top: 1px solid var(--forest-600);
  border-bottom: 1px solid var(--forest-600);
}
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}
.pack-col-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: .85rem;
}
.pack-list { list-style: none; }
.pack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--forest-600);
  font-size: .9rem;
}
.pack-row:last-child { border-bottom: none; }
.pack-row dt { color: var(--stone-300); }
.pack-row dd {
  font-family: var(--font-mono);
  color: var(--amber-400);
  min-width: 1.5rem;
  text-align: right;
}

.team-card {
  display: flex;
  gap: 2rem;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  align-items: flex-start;
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-500);
  color: var(--stone-100);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.team-name { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: .3rem; }
.team-role {
  display: block;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: .85rem;
}
.team-bio {
  color: var(--stone-300);
  line-height: 1.7;
}
.team-empty {
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--forest-600);
  border-radius: var(--radius-lg);
  color: var(--stone-300);
}
.team-empty a { color: var(--amber-400); }

.join-steps-wrap {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.join-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.75rem;
  background: var(--forest-700);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-500);
  color: var(--forest-900);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-500);
  padding: 0 .5rem;
  flex-shrink: 0;
}
.step-title {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.step-body-text { color: var(--stone-300); line-height: 1.65; flex: 1; }
.server-name-display {
  margin-top: .75rem;
  padding: .55rem .9rem;
  background: var(--forest-900);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--stone-100);
  word-break: break-all;
}

.join-tip {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  background: rgba(212, 160, 74, .08);
  border: 1px solid rgba(212, 160, 74, .22);
  border-radius: var(--radius);
  color: var(--stone-100);
}
.join-discord-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--forest-600);
  text-align: center;
}
.join-discord-cta p { color: var(--stone-300); margin-bottom: 1rem; }

/* ── 19. Auth (access denied, login error) ─────────────────────────────── */
.access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 2.5rem;
  background: var(--forest-800);
  border: 1px solid var(--forest-600);
  border-radius: var(--radius-lg);
  max-width: 540px;
  margin: 0 auto;
}
.access-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(168, 74, 61, .12);
  border: 1px solid rgba(168, 74, 61, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
}
.access-card__icon--warn {
  background: rgba(212, 160, 74, .12);
  border-color: rgba(212, 160, 74, .35);
  color: var(--amber-500);
}
.access-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.access-card__body {
  color: var(--stone-300);
  line-height: 1.7;
}
.access-card__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── 20. Animations ────────────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 157, 94, .55); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 157, 94, 0); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ── 21. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid,
  .field-notes      { grid-template-columns: repeat(2, 1fr); }
  .news-archive     { grid-template-columns: repeat(3, 1fr); }
  .server-grid      { grid-template-columns: 1fr; }
  .tracker-grid     { grid-template-columns: 1fr; }
  .rules-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .brand__sub          { display: none; }
  .news-featured       { grid-template-columns: 1fr; }
  .news-archive        { grid-template-columns: repeat(2, 1fr); }
  .status-strip__inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 760px) {
  .nav,
  .nav__cta--full,
  .user-menu__name { display: none; }
  .nav-toggle      { display: inline-flex; margin-left: auto; }

  /* Mobile drawer */
  .nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 16, .97);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1.5rem;
    margin-left: 0;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.is-open .nav__link {
    font-size: 1rem;
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
  }
  .nav.is-open .nav__link.is-active::after { display: none; }
  .nav.is-open .nav__link.is-active {
    background: rgba(74, 125, 94, .15);
    color: var(--amber-400);
  }

  .hero { min-height: 50vh; padding: 3rem 1.5rem; }
  .hero__logo { height: 200px; }
  .hero__tagline { letter-spacing: .25em; }

  .features-grid,
  .field-notes,
  .rules-grid,
  .pack-grid,
  .planned-boards,
  .news-archive,
  .tracker-stats { grid-template-columns: 1fr; }

  .pack-grid { gap: 2rem; }

  .join-steps-wrap { flex-direction: column; }
  .step-connector  { transform: rotate(90deg); padding: .25rem 0; }

  .team-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__logo  { height: 160px; }
  .brand__name { font-size: .9rem; letter-spacing: .1em; }
  .brand__logo { height: 40px; }

  .status-strip__count { font-size: 1.15rem; }
  .verify-code-big     { font-size: 2rem; letter-spacing: .22em; }
}
