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

:root {
  --bg:         #0d0f0d;
  --surface:    #131614;
  --surface2:   #181e16;   /* green-olive push */
  --border:     #1f2a1c;   /* green-olive border */
  --accent:     #c8a84b;
  --accent2:    #d9bb68;   /* lighter than accent — hover states brighten */
  --accent-dim: rgba(200, 168, 75, 0.08);
  --text:       #e8ebe8;   /* near-white */
  --muted:      #8a9e80;   /* desaturated olive — tint not colour */
  --ff-head:    'Bebas Neue', sans-serif;
  --ff-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.accent { color: var(--accent); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 12, 10, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,168,75,0.2);
  box-shadow: 0 1px 0 rgba(200,168,75,0.08), 0 4px 24px rgba(0,0,0,0.5);
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,168,75,0.5) 30%, rgba(200,168,75,0.5) 70%, transparent 100%);
  pointer-events: none;
}

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

.nav-logo {
  font-family: var(--ff-head);
  font-size: 2rem;
  letter-spacing: 0.12em;
  position: relative;
  padding-left: 14px;
}

.nav-logo::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links li:not(:last-child) {
  padding-right: 2px;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(175,200,160,0.62);
  transition: color 0.2s;
  padding: 4px 10px;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* separator before Discord button */
.nav-links li:last-child {
  margin-left: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-whitelist {
  color: var(--accent) !important;
  border: 1px solid rgba(200,168,75,0.3) !important;
  border-radius: 2px;
}

.nav-whitelist:hover {
  color: var(--accent2) !important;
  border-color: rgba(200,168,75,0.6) !important;
  background: rgba(200,168,75,0.07) !important;
}

.nav-whitelist[aria-current="page"] {
  color: var(--accent2) !important;
  border-color: rgba(200,168,75,0.5) !important;
  background: rgba(200,168,75,0.08) !important;
}

.btn-nav {
  background: var(--accent) !important;
  color: #0d0f0d !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  transition: background 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 12px rgba(200,168,75,0.25);
}

.btn-nav:hover {
  background: var(--accent2) !important;
  color: #0d0f0d !important;
  box-shadow: 0 0 20px rgba(200,168,75,0.45) !important;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, rgba(13,15,13,0.92) 0%, rgba(13,15,13,0.65) 55%, rgba(13,15,13,0.82) 100%),
    linear-gradient(to bottom, rgba(13,15,13,0.3) 0%, rgba(13,15,13,0.0) 40%, rgba(13,15,13,0.75) 85%, rgba(13,15,13,1) 100%),
    url('Photos/hero.jpg') center 30% / cover no-repeat;
  overflow: hidden;
}

.hero-watermark { display: none; }

/* military corner brackets */
.hero-corners { position: absolute; inset: 24px; pointer-events: none; }

.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(200,168,75,0.35);
  border-style: solid;
}

.corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 15% 55%, rgba(200,168,75,0.06) 0%, transparent 65%);
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}


.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(4.5rem, 13vw, 10rem);
  line-height: 0.88;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-bottom: 44px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--accent); color: #0d0f0d; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(200,168,75,0.3);
  padding: 12px 20px;
  background: rgba(13,15,13,0.7);
  backdrop-filter: blur(6px);
}

.hero-badge span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-badge strong {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}

/* ── Stats Strip ── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.strip-stat {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.strip-stat strong {
  font-family: var(--ff-head);
  font-size: 1.9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1;
}

.strip-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Sections ── */
.section { padding: 100px 0; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--ff-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(200, 168, 75, 0.45);
  flex-shrink: 0;
}

.section h2 {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 40px;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: -24px;
  margin-bottom: 40px;
}

/* ── Servers ── */
.servers-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.servers-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}

.servers-header h2 { margin-bottom: 0; }

.refresh-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

.refresh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.server-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.server-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s;
}

.server-card:hover { border-color: rgba(200,168,75,0.3); }

.server-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.status-online {
  background: rgba(92,184,122,0.12);
  color: #5cb87a;
  border: 1px solid rgba(92,184,122,0.25);
}

.status-offline {
  background: rgba(224,92,92,0.1);
  color: #e05c5c;
  border: 1px solid rgba(224,92,92,0.2);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-online .status-dot { animation: pulse 2s ease-in-out infinite; }

.server-bm-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  font-weight: 500;
}

.server-bm-link:hover { color: var(--accent); }

.server-name {
  font-family: var(--ff-head);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--text);
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.server-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 2px;
}

.seed-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25);
  padding: 1px 6px;
  border-radius: 2px;
  vertical-align: middle;
}

.server-map {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.player-bar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.player-bar-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.player-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.player-fraction {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.03em;
  min-width: 60px;
  text-align: right;
}

.player-fraction span { color: var(--muted); font-weight: 400; }

/* skeleton loading */
.server-card.skeleton { pointer-events: none; }

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.sk-line, .sk-bar {
  border-radius: 2px;
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border) 50%, var(--surface2) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

.sk-name { height: 22px; width: 75%; margin-bottom: 4px; }
.sk-map  { height: 14px; width: 45%; }
.sk-bar  { height: 4px; width: 100%; margin-top: 12px; }

.server-error {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.server-error a {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Whitelist Banner ── */
.whitelist-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-left: 3px solid var(--accent);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.whitelist-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(200,168,75,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.whitelist-banner-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whitelist-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--ff-body);
}

.whitelist-title {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

.whitelist-sub {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

.whitelist-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: var(--accent);
  color: #0d0f0d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 16px rgba(200,168,75,0.2);
}

.whitelist-cta:hover {
  background: var(--accent2);
  box-shadow: 0 0 24px rgba(200,168,75,0.4);
}

.whitelist-arrow {
  transition: transform 0.2s;
}

.whitelist-cta:hover .whitelist-arrow { transform: translateX(4px); }

@media (max-width: 600px) {
  .whitelist-banner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .whitelist-cta { width: 100%; justify-content: center; }
}

/* ── About ── */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-cta {
  margin-top: 16px;
  display: inline-flex;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(200, 168, 75, 0.4);
  padding: 32px;
  height: 100%;
}

.feature-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: monospace;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.bullet {
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}


/* ── Callout ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,168,75,0.35), transparent);
}

.divider-mark {
  color: rgba(200,168,75,0.5);
  font-size: 0.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.callout-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(200,168,75,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.callout-quote {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 20px;
  font-style: normal;
  position: relative;
}

.callout-mark {
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
}

.callout-attr {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ── Process / How to Join ── */
.process-section { background: var(--bg); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.step:hover { border-color: rgba(200, 168, 75, 0.3); }
.step:hover::before { transform: scaleX(1); }

.step-num {
  font-family: var(--ff-head);
  font-size: 4rem;
  color: rgba(200,168,75,0.55);
  line-height: 1;
  margin-bottom: 20px;
}

.step-body h3 {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--text);
}

.step-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.step-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.step-link:hover { color: var(--accent2); }

.step-body code {
  background: var(--surface2);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.8rem;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-connector::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--border), rgba(200,168,75,0.4), var(--border));
  top: 50%;
}

.step-connector::after {
  content: '▶';
  font-size: 0.55rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

/* ── Rules ── */
.rules-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rules-header { margin-bottom: 40px; }
.rules-header h2 { margin-bottom: 12px; }

.rules-sub {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 560px;
  line-height: 1.65;
}

.rules-accordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rule-group { border: 1px solid var(--border); }

.rule-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
}

.rule-group-toggle:hover { background: var(--surface2); }
.rule-group-toggle[aria-expanded="true"] { background: var(--surface2); border-bottom: 1px solid var(--border); }

.rule-group-num {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  color: rgba(200,168,75,0.35);
  letter-spacing: 0.05em;
  min-width: 36px;
  line-height: 1;
}

.rule-group-toggle[aria-expanded="true"] .rule-group-num { color: var(--accent); }

.rule-group-title {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  flex: 1;
}

.rule-group-count {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.toggle-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.rule-group-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(180deg); }

.rule-list {
  list-style: none;
  background: var(--surface);
  padding: 8px 0;
}

.rule-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(39,43,39,0.6);
  transition: background 0.15s;
}

.rule-list li:last-child { border-bottom: none; }
.rule-list li:hover { background: rgba(255,255,255,0.02); }

.rule-num {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--accent);
  min-width: 28px;
  letter-spacing: 0.05em;
  line-height: 1;
  flex-shrink: 0;
}

.rule-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.rule-text strong { color: var(--text); font-weight: 600; }

.rule-text code {
  background: var(--surface2);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ── Media ── */
.media-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Slideshow ───────────────────────────────────────────────────────────── */
.slideshow {
  margin-bottom: 20px;
}

.slideshow-stage {
  position: relative;
  background: #060806;
  overflow: hidden;
  height: 58vh;
  max-height: 620px;
  border: 1px solid var(--border);
}

.slide-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 2.6rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  z-index: 5;
  opacity: 0;
}

.slideshow-stage:hover .slide-arrow { opacity: 1; }
.slide-arrow:hover { background: rgba(0, 0, 0, 0.75); color: #fff; }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-overlay-info {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.slide-counter {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-body);
}

.slide-fullscreen {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.slide-fullscreen:hover { background: rgba(0,0,0,0.8); color: #fff; }

/* Thumbnail strip */
.slideshow-thumbs {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.slideshow-thumbs::-webkit-scrollbar { height: 4px; }
.slideshow-thumbs::-webkit-scrollbar-track { background: transparent; }
.slideshow-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.slide-thumb {
  flex: 0 0 96px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  display: block;
}

.slide-thumb:hover { opacity: 0.75; }
.slide-thumb.active { opacity: 1; border-color: var(--accent); }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.15s;
  z-index: 1001;
}
.lightbox-close:hover { color: #fff; }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 2.4rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  z-index: 1001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.16); color: #fff; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
}


.media-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.media-note code {
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.78rem;
}


/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(200,168,75,0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,168,75,0.5) 30%, rgba(200,168,75,0.5) 70%, transparent 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-size: 2.2rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-nav a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

.footer-nav a:hover { color: var(--text); }

.footer-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-discord-btn {
  align-self: flex-start;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-credit a {
  color: var(--muted);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-credit a:hover { color: var(--accent); }

/* ── Page Hero (whitelist + inner pages) ─────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(200,168,75,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .section-label { margin-bottom: 16px; }

.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin-bottom: 24px;
  position: relative;
}

.page-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
  position: relative;
}

/* ── Setup Notice ── */
.setup-notice {
  background: rgba(200,168,75,0.05);
  border: 1px solid rgba(200,168,75,0.2);
  border-left: 3px solid var(--accent);
  padding: 18px 24px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  border-radius: 0 2px 2px 0;
}

.setup-notice strong { color: var(--accent); font-weight: 600; }

.setup-notice code {
  background: var(--surface2);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ── Tiers ── */
.tiers-section { background: var(--bg); }

.tiers-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.tiers-intro h2 { margin-bottom: 12px; }
.tiers-intro p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}

.tier-card:hover { border-color: rgba(200,168,75,0.3); }

.tier-card.featured {
  border-color: rgba(200,168,75,0.45);
  background: var(--surface2);
}

.tier-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0d0f0d;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 16px;
  font-family: var(--ff-body);
  white-space: nowrap;
}

.tier-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--ff-body);
  margin-bottom: 10px;
}

.tier-name {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.tier-price-currency {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
}

.tier-price-amount {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
}

.tier-price-period {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.tier-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.tier-check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.tier-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.tier-btn:hover { border-color: var(--accent); color: var(--accent); }

.tier-card.featured .tier-btn {
  background: var(--accent);
  color: #0d0f0d;
  border-color: var(--accent);
}

.tier-card.featured .tier-btn:hover {
  background: var(--accent2);
  border-color: var(--accent2);
}

/* ── Perks breakdown ── */
.perks-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.perk-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.perk-item:hover { border-color: rgba(200,168,75,0.25); }

.perk-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.perk-item h4 {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--text);
}

.perk-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Auth Page ──────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding-top: 66px;
}

.auth-page.hidden, .dash-page.hidden { display: none; }

.auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px 40px;
}

.auth-logo {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  position: relative;
  padding-left: 14px;
  display: inline-block;
  margin-bottom: 4px;
}

.auth-logo::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
}

.auth-brand {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form.hidden { display: none; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  padding: 11px 14px;
  border-radius: 2px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: rgba(138,158,128,0.35); }

.form-hint {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #e05c5c;
  padding: 10px 12px;
  background: rgba(224,92,92,0.08);
  border: 1px solid rgba(224,92,92,0.2);
  border-radius: 2px;
}

.form-error.visible { display: block; }

.form-btn {
  width: 100%;
  padding: 13px 20px;
  background: var(--accent);
  color: #0d0f0d;
  border: none;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-btn:hover { background: var(--accent2); }
.form-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Dashboard ──────────────────────────────────────────────────────────── */
.dash-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 66px;
}

.dash-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.dash-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-welcome-name {
  font-family: var(--ff-head);
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.dash-welcome-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.dash-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.dash-logout:hover { border-color: #e05c5c; color: #e05c5c; }

.dash-body { padding: 40px 0 80px; }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

.dash-col { display: flex; flex-direction: column; gap: 16px; }

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 28px 24px;
}

.dash-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.dash-card h3 {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 18px;
}

.plan-badge-large {
  display: inline-flex;
  align-items: center;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.3);
  color: var(--accent);
  font-family: var(--ff-head);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.plan-no-plan {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.plan-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.plan-link:hover { color: var(--accent2); }

.plan-sim-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(200,168,75,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-sim-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138,158,128,0.45);
}

.plan-sim-select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.slot-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.slot-num {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}

.slot-denom {
  font-size: 0.82rem;
  color: var(--muted);
}

.slot-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.slot-form .form-input { flex: 1; }

.slot-give-btn {
  background: var(--accent);
  color: #0d0f0d;
  border: none;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.slot-give-btn:hover { background: var(--accent2); }
.slot-give-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.slot-feedback {
  display: none;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.slot-feedback.ok { display: block; background: rgba(92,184,122,0.08); border: 1px solid rgba(92,184,122,0.2); color: #5cb87a; }
.slot-feedback.err { display: block; background: rgba(224,92,92,0.08); border: 1px solid rgba(224,92,92,0.2); color: #e05c5c; }

.slot-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.slot-item-name { color: var(--text); font-weight: 500; }

.slot-revoke {
  background: none;
  border: 1px solid rgba(224,92,92,0.3);
  color: #e05c5c;
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.slot-revoke:hover { background: rgba(224,92,92,0.1); }
.slot-empty { font-size: 0.82rem; color: var(--muted); font-style: italic; }

.info-rows { display: flex; flex-direction: column; gap: 14px; }

.info-row { display: flex; flex-direction: column; gap: 3px; }

.info-row-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-row-value {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  word-break: break-all;
  font-family: monospace;
}

.info-row-value.serif { font-family: var(--ff-body); }

.received-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(92,184,122,0.06);
  border: 1px solid rgba(92,184,122,0.2);
  border-radius: 2px;
  font-size: 0.85rem;
  color: #5cb87a;
  line-height: 1.5;
}

/* ── Dashboard Nav Tabs ─────────────────────────────────────────────────── */
.dash-nav-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 66px;
  z-index: 50;
}

.dash-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dash-nav::-webkit-scrollbar { display: none; }

.dash-nav-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-nav-btn:hover { color: var(--text); }
.dash-nav-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Panels */
.dash-panel { display: none; }
.dash-panel.active { display: block; }

/* Edit link in overview account card */
.dash-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.dash-edit-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── Account Settings Panel ─────────────────────────────────────────────── */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.settings-feedback {
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 2px;
  margin-top: 4px;
  display: none;
}

.settings-feedback.ok {
  display: block;
  background: rgba(92,184,122,0.08);
  border: 1px solid rgba(92,184,122,0.2);
  color: #5cb87a;
}

.settings-feedback.err {
  display: block;
  background: rgba(224,92,92,0.08);
  border: 1px solid rgba(224,92,92,0.2);
  color: #e05c5c;
}

/* ── Admin Panel ─────────────────────────────────────────────────────────── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.admin-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 24px 20px;
  position: relative;
  overflow: hidden;
}

.admin-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}


.admin-stat-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}


.admin-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-search-input { flex: 1; min-width: 180px; }

.admin-filter-wrap { display: flex; gap: 4px; flex-shrink: 0; }

.admin-filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.admin-filter-btn.active { background: var(--accent); color: #0d0f0d; border-color: var(--accent); }

.admin-player {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 6px;
  transition: border-color 0.2s;
}

.admin-player:last-child { margin-bottom: 0; }
.admin-player:hover { border-color: rgba(200,168,75,0.2); }

.admin-player-info { flex: 1; min-width: 0; }

.admin-player-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.admin-player-handle {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  margin-left: 4px;
}

.admin-player-meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.admin-meta-on  { color: #5cb87a; }
.admin-meta-off { color: rgba(138,158,128,0.4); }
.admin-meta-sep { margin: 0 4px; }

.admin-wl-chain {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.admin-wl-tag {
  background: rgba(200,168,75,0.07);
  border: 1px solid rgba(200,168,75,0.18);
  color: var(--accent);
  padding: 1px 7px;
  border-radius: 2px;
  font-size: 0.67rem;
  font-weight: 600;
}

.admin-plan-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  white-space: nowrap;
}

.admin-plan-badge.badge-active {
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.3);
  color: var(--accent);
}

.admin-plan-badge.badge-none {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
}

.admin-plan-select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  padding: 7px 10px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.admin-plan-select:focus { border-color: var(--accent); }

.admin-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 40px 0;
  font-style: italic;
}

.admin-player-ids {
  font-size: 0.67rem;
  color: rgba(138,158,128,0.45);
  font-family: monospace;
  margin-top: 4px;
  word-break: break-all;
  line-height: 1.6;
}

/* ── Admin role badges ───────────────────────────────────────────────────── */
.role-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  border: 1px solid;
  white-space: nowrap;
  vertical-align: middle;
}
.role-badge--trial_admin  { color: #7ab3e0; border-color: rgba(122,179,224,0.35); background: rgba(122,179,224,0.08); }
.role-badge--admin        { color: var(--accent); border-color: rgba(200,168,75,0.35);  background: rgba(200,168,75,0.08);  }
.role-badge--senior_admin { color: #b07fe0; border-color: rgba(176,127,224,0.35); background: rgba(176,127,224,0.08); }
.role-badge--top_dod      { color: #e0714e; border-color: rgba(224,113,78,0.35);  background: rgba(224,113,78,0.08);  }

/* ── Admin player controls column ─────────────────────────────────────────── */
.admin-player-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.admin-controls-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── Role selector ─────────────────────────────────────────────────────────── */
.admin-role-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.68rem;
  padding: 6px 8px;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.admin-role-select:focus   { border-color: var(--accent); outline: none; color: var(--text); }
.admin-role-select.has-role { color: var(--text); }

/* ── Admin temp-solo controls ────────────────────────────────────────────── */
.admin-solo-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.admin-solo-label {
  font-family: var(--ff-head);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 2px;
}

.admin-solo-preset {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--ff-body);
  padding: 3px 8px;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(200,168,75,0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.admin-solo-preset:hover:not(:disabled) { background: var(--accent-dim); border-color: var(--accent); }
.admin-solo-preset:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-solo-apply {
  font-size: 0.7rem;
  padding: 3px 9px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: border-color 0.15s, color 0.15s;
}
.admin-solo-apply:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.admin-solo-apply:disabled { opacity: 0.5; cursor: not-allowed; }

.admin-revoke-plan-btn {
  font-size: 0.7rem;
  padding: 3px 9px;
  background: transparent;
  color: #e05f5f;
  border: 1px solid rgba(224,95,95,0.35);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: border-color 0.15s, background 0.15s;
}
.admin-revoke-plan-btn:hover:not(:disabled) { border-color: #e05f5f; background: rgba(224,95,95,0.08); }
.admin-revoke-plan-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Temporary plan indicator in the meta line */
.plan-temp-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #e0a94e;
  border: 1px solid rgba(224,169,78,0.3);
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 4px;
}

/* Clickable name in admin roster */
.admin-player-name-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}
.admin-player-name-btn:hover { color: var(--accent); }

/* ── Admin player profile modal ────────────────────────────────────────────── */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-modal-overlay.hidden { display: none; }

.admin-modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  width: 100%;
  max-width: 500px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 28px;
}

.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.admin-modal-name {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}

.admin-modal-handle {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

.admin-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.15s;
  margin-top: -2px;
}
.admin-modal-close:hover { color: var(--text); }

.admin-modal-section { margin-bottom: 20px; }

.admin-modal-section-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.admin-modal-ids {
  font-size: 0.76rem;
  font-family: monospace;
  color: var(--text);
  line-height: 1.9;
}

.admin-modal-wl-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-modal-wl-item {
  display: flex;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text);
  gap: 8px;
}
.admin-modal-wl-item:last-child { border-bottom: none; }

.admin-modal-wl-empty {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Scroll-to-top ───────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #0d0f0d;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  pointer-events: none;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover { background: var(--accent2); }

/* ── Hamburger ───────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ─────────────────────────────────────────────────────────── */

/* — Tablet & hamburger nav (≤ 860px) — */
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .callout-section { padding: 60px 0; }

  /* Nav */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: rgba(10, 12, 10, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 28px 24px;
    gap: 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li:last-child { margin-left: 0; padding-left: 0; border-left: none; margin-top: 10px; }
  .nav-links a { padding: 12px 0; font-size: 0.88rem; display: block; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links li:last-child a { border-bottom: none; }
  .btn-nav { width: 100%; text-align: center; justify-content: center; display: flex; }
  /* Flatten Whitelist/Portal gold border in the vertical dropdown */
  .nav-whitelist {
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 12px 0 !important;
  }

  /* Hero */
  .hero-badge { display: none; }
  .hero-corners { display: none; }

  /* Stats */
  .stats-strip-inner { flex-wrap: wrap; }
  .strip-divider { display: none; }
  .strip-stat { flex: 1 1 45%; padding: 20px 16px; border-bottom: 1px solid var(--border); }

  /* Servers / whitelist banner */
  .server-cards { grid-template-columns: 1fr; }
  .whitelist-banner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .whitelist-cta { width: 100%; justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Process */
  .process-steps { flex-direction: column; }
  .step-connector { width: 100%; height: 32px; }
  .step-connector::before { top: auto; left: 0; right: 0; height: 1px; width: auto; }
  .step-connector::after { transform: rotate(90deg); }

  /* Slideshow */
  .slideshow-stage { height: 50vh; }

  /* Whitelist page */
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-card.featured { margin-top: 16px; }
  .perks-grid { grid-template-columns: 1fr; }

  /* Auth & Dashboard */
  .auth-card { padding: 36px 24px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-topbar-inner { flex-wrap: wrap; gap: 12px; }
  .settings-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-player { flex-wrap: wrap; gap: 10px; }
  .admin-player-info { flex: 1 1 100%; }
  .admin-player-controls { align-items: flex-start; width: 100%; }
  .admin-controls-top { justify-content: flex-start; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

/* — Small phones (≤ 480px) — */
@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero-title { font-size: clamp(3rem, 14vw, 5.5rem); }
  .hero-sub { font-size: 0.9rem; }

  /* Stats */
  .strip-stat { flex: 1 1 100%; }

  /* Slideshow */
  .slideshow-stage { height: 42vh; max-height: 320px; }
  .slide-thumb { flex: 0 0 64px; height: 44px; }
  .slide-arrow { width: 40px; height: 40px; font-size: 2rem; }
  .slide-prev { left: 8px; }
  .slide-next { right: 8px; }

  /* Lightbox */
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  /* Whitelist page */
  .tiers-grid { grid-template-columns: 1fr; }
  .tier-card.featured { margin-top: 20px; }
  .page-hero { padding: 100px 0 52px; }

  /* Auth */
  .auth-wrap { padding: 32px 16px; }
  .auth-card { padding: 28px 20px; }

  /* Dashboard */
  .dash-welcome-name { font-size: 1.5rem; }
  .dash-nav-btn { padding: 12px 14px; font-size: 0.65rem; }
  .slot-form { flex-direction: column; }
  .slot-give-btn { padding: 12px 0; width: 100%; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-search-input { width: 100%; min-width: 0; }
  .admin-filter-wrap { justify-content: flex-start; }
  .admin-plan-badge { display: none; }
  .admin-plan-select { width: 100%; }
  .admin-role-select { width: 100%; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 32px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Scroll to top */
  .scroll-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Admin Hub (admin.html) layout
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Hub shell ─────────────────────────────────────────────────────────────── */
.hub-wrap {
  display: flex;
  min-height: 100vh;
  padding-top: 66px; /* fixed nav height */
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.hub-sidebar {
  position: fixed;
  top: 66px;
  left: 0;
  bottom: 0;
  width: 224px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
}

.hub-sidebar-header {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.hub-sidebar-logo {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  line-height: 1;
  padding-left: 12px;
  position: relative;
}
.hub-sidebar-logo::before {
  content: '';
  position: absolute;
  left: 0; top: 5%; bottom: 5%;
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
}

.hub-sidebar-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  padding-left: 12px;
}

.hub-nav {
  flex: 1;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.hub-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 10px 10px 10px 12px;
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.hub-nav-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.hub-nav-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-left-color: var(--accent);
}

.hub-nav-btn--soon {
  opacity: 0.42;
  cursor: default;
  font-size: 0.76rem;
}

.hub-nav-soon-badge {
  margin-left: auto;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(200,168,75,0.10);
  color: var(--accent);
  border: 1px solid rgba(200,168,75,0.22);
  padding: 2px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}

.hub-nav-divider {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 12px 4px;
  opacity: 0.55;
}

.hub-nav-footer {
  padding: 14px 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.hub-footer-user {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hub-footer-role {
  font-size: 0.62rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hub-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.hub-footer-link:hover { color: var(--text); }

.hub-footer-logout {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--ff-body);
  font-size: 0.72rem;
  padding: 7px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-align: center;
  margin-top: 2px;
}
.hub-footer-logout:hover { border-color: #e05f5f; color: #e05f5f; }

/* ── Main content ──────────────────────────────────────────────────────────── */
.hub-main {
  flex: 1;
  margin-left: 224px;
  padding: 36px 44px;
  min-height: calc(100vh - 66px);
}

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

.hub-page-header { margin-bottom: 28px; }

.hub-page-title {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}

.hub-page-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 7px;
}

/* ── Stats grid ────────────────────────────────────────────────────────────── */
.hub-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.hub-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 24px;
  text-align: center;
}

.hub-stat-num {
  font-family: var(--ff-head);
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.hub-stat-label {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── Quick-link cards ──────────────────────────────────────────────────────── */
.hub-quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hub-quick-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 22px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--ff-body);
  transition: border-color 0.15s, background 0.15s;
}
.hub-quick-btn:hover { border-color: rgba(200,168,75,0.4); background: var(--surface2); }
.hub-quick-btn > svg:first-child { color: var(--accent); flex-shrink: 0; }

.hub-quick-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.hub-quick-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 3px;
}

.hub-quick-arrow {
  margin-left: auto;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.15s;
}
.hub-quick-btn:hover .hub-quick-arrow { color: var(--accent); }

/* ── Coming soon card ──────────────────────────────────────────────────────── */
.hub-soon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 52px 40px;
  text-align: center;
  max-width: 460px;
  color: var(--muted);
}

.hub-soon-title {
  font-family: var(--ff-head);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 18px 0 10px;
}

.hub-soon-card p {
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ── Steam account linking (Account Settings) ─────────────────────────────── */
.steam-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(102,192,244,0.06);
  border: 1px solid rgba(102,192,244,0.18);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.steam-status-icon {
  color: #66c0f4;
  flex-shrink: 0;
  line-height: 0;
  width: 20px;
  height: 20px;
}
.steam-status-icon svg { width: 20px; height: 20px; }

.steam-status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.steam-status-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #66c0f4;
}

.steam-status-id {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text);
  word-break: break-all;
}

.steam-unlinked-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.steam-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1b2838;
  color: #c7d5e0;
  border: 1px solid #2a475e;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1;
}
.steam-link-btn svg { flex-shrink: 0; }
.steam-link-btn:hover { background: #2a475e; border-color: #66c0f4; color: #fff; }

.steam-link-btn--relink {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  font-size: 0.72rem;
}
.steam-link-btn--relink:hover { border-color: #66c0f4; color: #66c0f4; background: rgba(102,192,244,0.06); }

/* ── Admin hub link card (player portal admin panel) ───────────────────────── */
.admin-hub-card { max-width: 500px; }

.admin-hub-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0 20px;
  line-height: 1.65;
}

.admin-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0f0d;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
}
.admin-hub-btn:hover { background: var(--accent2); }

/* ── Steam Login button (auth page) ───────────────────────────────────────── */
.steam-login-desc {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.65;
}

.steam-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #1b2838;
  color: #c7d5e0;
  border: 1px solid #2a475e;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.steam-login-btn svg { flex-shrink: 0; }
.steam-login-btn:hover { background: #2a475e; border-color: #66c0f4; color: #fff; }

.steam-login-hint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
  opacity: 0.7;
}

.steam-unlinked-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.65;
}

/* ── Hub responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hub-main { padding: 28px 28px; }
  .hub-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hub-sidebar { width: 200px; }
  .hub-main { margin-left: 200px; padding: 24px 20px; }
  .hub-quick-links { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hub-wrap { flex-direction: column; }
  .hub-sidebar {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hub-nav { flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .hub-nav-btn { flex: 0 0 auto; width: auto; border-left: none; border-bottom: 2px solid transparent; border-radius: 3px; }
  .hub-nav-btn.active { border-left-color: transparent; border-bottom-color: var(--accent); }
  .hub-nav-btn--soon { display: none; }
  .hub-nav-divider { display: none; }
  .hub-nav-footer { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 12px 16px; }
  .hub-main { margin-left: 0; padding: 20px 16px; min-height: auto; }
  .hub-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hub-page-title { font-size: 2rem; }
}
