/* ══════════════════════════════════════════════════════════════════════════
   home.css — Georgia State Roleplay Public Homepage
   Liquid glass navbar · animated glows · full entrance animations
   ══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #4f6fff;
  --blue-dim:    #3a5ce8;
  --blue-soft:   rgba(79,111,255,0.12);
  --blue-glow:   rgba(79,111,255,0.45);
  --blue-glow2:  rgba(79,111,255,0.20);
  --blue-glow3:  rgba(79,111,255,0.08);
  --text:        #f0f4ff;
  --text-muted:  #5a6580;
  --text-dim:    #8892a4;
  --border:      rgba(79,111,255,0.14);
  --border-md:   rgba(79,111,255,0.28);
  --success:     #22c55e;
  --danger:      #ef4444;
  --gold:        #f59e0b;
  --r:           12px;
  --r-sm:        7px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--blue-glow2); border-radius: 99px; }

/* ── Background canvas orbs ─────────────────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ── Entrance animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; filter: blur(60px); }
  50%     { opacity: 1;   filter: blur(80px); }
}
@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-12px) rotate(1deg); }
  66%     { transform: translateY(6px) rotate(-1deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes borderGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(79,111,255,0); }
  50%     { box-shadow: 0 0 20px 2px rgba(79,111,255,0.25); }
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 currentColor; opacity:1; }
  50%     { box-shadow: 0 0 0 5px transparent; opacity:0.6; }
}
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes navIn {
  from { opacity:0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity:1; transform: translateX(-50%) translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════════════════
   LIQUID GLASS NAVBAR
   ══════════════════════════════════════════════════════════════════════════ */
.navbar {
  /* ── Truly centered pill — NOT left:0, NOT margin:auto ── */
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px); max-width: 1100px;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  border-radius: 18px;

  /* Liquid glass core */
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(28px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.08);

  /* Multi-layer border for glass refraction look */
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(79,111,255,0.10),
    0 8px 32px rgba(0,0,0,0.6),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.2);

  animation: navIn 0.6s cubic-bezier(0.16,1,0.3,1) both;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Top highlight — the "wet glass" shine */
.navbar::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  border-radius: 99px;
  pointer-events: none;
}

/* Bottom reflection shimmer */
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,111,255,0.3), transparent);
  border-radius: 99px;
  pointer-events: none;
}

.navbar:hover {
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 0 0 1px rgba(79,111,255,0.20),
    0 12px 48px rgba(0,0,0,0.7),
    0 2px 8px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 0 40px rgba(79,111,255,0.08);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  color: var(--text); flex-shrink: 0;
  letter-spacing: 0.01em;
}
.nav-brand img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 12px rgba(79,111,255,0.4);
  object-fit: cover;
  transition: box-shadow 0.3s, transform 0.3s;
}
.nav-brand:hover img { box-shadow: 0 0 24px rgba(79,111,255,0.7); transform: scale(1.05); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 6px 14px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(240,244,255,0.65);
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active {
  color: var(--text);
  background: rgba(79,111,255,0.15);
  box-shadow: inset 0 0 0 1px rgba(79,111,255,0.25);
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none;
  transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

/* Glass pill button (Staff Panel) */
.btn-glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(240,244,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 2px 8px rgba(0,0,0,0.3);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(79,111,255,0.4);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 0 20px rgba(79,111,255,0.2), 0 4px 16px rgba(0,0,0,0.4);
}

/* Solid blue primary */
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(79,111,255,0.5), 0 4px 12px rgba(79,111,255,0.3);
}
.btn-primary:hover {
  background: var(--blue-dim);
  box-shadow: 0 0 36px rgba(79,111,255,0.75), 0 6px 20px rgba(79,111,255,0.4);
  transform: translateY(-2px);
}

/* Outline ghost */
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: 0 0 16px var(--blue-glow2);
}

.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--r); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.25s;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 90px;
  overflow: hidden; z-index: 1;
}

/* Animated radial glow blobs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
.hero-orb-1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(79,111,255,0.20) 0%, transparent 70%);
  top: 10%; left: 50%; transform: translateX(-50%);
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,91,255,0.12) 0%, transparent 70%);
  bottom: 20%; left: 10%;
  animation-delay: 2s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(79,200,255,0.08) 0%, transparent 70%);
  top: 30%; right: 8%;
  animation-delay: 4s;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); background: rgba(79,111,255,0.10);
  border: 1px solid rgba(79,111,255,0.28); border-radius: 99px;
  padding: 5px 16px; margin-bottom: 32px;
  animation: fadeUp 0.7s 0.1s both;
  box-shadow: 0 0 20px rgba(79,111,255,0.12);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); animation: pulseDot 2s infinite;
}

.hero-title {
  font-size: clamp(56px,9vw,108px);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero-title .line1 {
  display: block; color: var(--text);
  text-shadow: 0 0 80px rgba(255,255,255,0.06);
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, #6b8aff 0%, #4f6fff 40%, #7c5dff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(79,111,255,0.6));
  animation: fadeUp 0.8s 0.3s both;
}

.hero-subtitle {
  font-size: clamp(15px,2vw,18px); color: var(--text-dim);
  max-width: 520px; margin: 0 auto 42px; line-height: 1.75;
  animation: fadeUp 0.8s 0.35s both;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 72px;
  animation: fadeUp 0.8s 0.45s both;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.55s both;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(240,244,255,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.stat-div { width: 1px; height: 36px; background: var(--border-md); }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeIn 1s 1.2s both;
  z-index: 1;
}
.scroll-hint span { font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: float 2s ease-in-out infinite;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTIONS SHARED
   ══════════════════════════════════════════════════════════════════════════ */
section { padding: 96px 24px; position: relative; z-index: 1; }

.section-inner { max-width: 1160px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
  position: relative;
}
.section-tag::before, .section-tag::after {
  content: '——';
  margin: 0 8px;
  opacity: 0.4;
}
.section-title {
  font-size: clamp(28px,4vw,46px); font-weight: 800;
  letter-spacing: -0.025em; color: var(--text); margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(200,210,255,0.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 15px; color: var(--text-muted);
  max-width: 480px; margin: 0 auto; line-height: 1.75;
}

/* ── Glow cards ──────────────────────────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
/* Card inner top shine */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(79,111,255,0.35);
  box-shadow: 0 8px 48px rgba(79,111,255,0.12), 0 2px 12px rgba(0,0,0,0.5);
  transform: translateY(-4px);
  background: rgba(79,111,255,0.04);
}

/* ══════════════════════════════════════════════════════════════════════════
   SERVER STATUS
   ══════════════════════════════════════════════════════════════════════════ */
#server-status {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#server-status::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(79,111,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.status-main-card { padding: 28px; }
.status-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.status-card-title { font-size: 16px; font-weight: 700; }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 13px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.status-badge.online {
  background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.25); color: var(--success);
  box-shadow: 0 0 12px rgba(34,197,94,0.15);
  animation: borderGlow 3s infinite;
}
.status-badge.offline { background: rgba(239,68,68,0.10); border: 1px solid rgba(239,68,68,0.25); color: var(--danger); }
.status-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulseDot 2s infinite; }

.capacity-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.capacity-bar { width: 100%; height: 5px; background: rgba(255,255,255,0.05); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.capacity-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #4f6fff, #7c5dff);
  box-shadow: 0 0 12px rgba(79,111,255,0.5);
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1);
}

.status-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.status-stat {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 14px; text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.status-stat:hover { border-color: var(--border-md); box-shadow: 0 0 16px var(--blue-glow3); }
.status-stat-value { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.status-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.status-info-card { padding: 28px; display: flex; flex-direction: column; }
.status-info-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.status-info-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.status-info-row:last-child { border-bottom: none; }
.status-info-key { color: var(--text-muted); }
.status-info-val { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════════
   DEPARTMENTS
   ══════════════════════════════════════════════════════════════════════════ */
.dept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.dept-card { padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.dept-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--blue-soft); border: 1px solid rgba(79,111,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.dept-card:hover .dept-icon {
  box-shadow: 0 0 24px rgba(79,111,255,0.3);
  transform: scale(1.08);
}
.dept-name { font-size: 15px; font-weight: 700; }
.dept-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.dept-footer { display: flex; align-items: center; justify-content: space-between; }
.dept-members { font-size: 12px; color: var(--text-muted); }
.dept-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  border: 1px solid rgba(79,111,255,0.20); border-radius: 99px; padding: 3px 10px;
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.feature-icon {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--blue-soft); border: 1px solid rgba(79,111,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover .feature-icon { box-shadow: 0 0 28px rgba(79,111,255,0.35); transform: scale(1.08) rotate(4deg); }
.feature-title { font-size: 17px; font-weight: 700; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════════════════ */
.reviews-summary {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 40px;
  padding: 26px 32px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.reviews-rating-big { display: flex; align-items: center; gap: 18px; }
.rating-number { font-size: 52px; font-weight: 900; line-height: 1; }
.rating-info { display: flex; flex-direction: column; gap: 6px; }
.stars { display: flex; gap: 3px; }
.star { font-size: 18px; color: var(--gold); filter: drop-shadow(0 0 4px rgba(245,158,11,0.5)); }
.star.half { opacity: 0.5; }
.reviews-count { font-size: 13px; color: var(--text-muted); }

.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review-card { padding: 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { display: flex; gap: 3px; }
.review-stars .star { font-size: 13px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.7; flex: 1; font-style: italic; opacity: 0.9; }
.review-author { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; border-top: 1px solid var(--border); }
.review-name { font-size: 14px; font-weight: 700; }
.review-role { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════════════
   JOIN CTA
   ══════════════════════════════════════════════════════════════════════════ */
#join { text-align: center; }
.join-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(79,111,255,0.12) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}
.join-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.join-title {
  font-size: clamp(32px,5.5vw,58px); font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, rgba(200,210,255,0.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.join-title span {
  background: linear-gradient(135deg, #6b8aff, #4f6fff, #7c5dff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(79,111,255,0.5));
}
.join-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.75; }
.join-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--border); padding: 52px 24px 32px; position: relative; z-index: 1; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 52px; padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.footer-logo img { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border-md); box-shadow: 0 0 10px rgba(79,111,255,0.3); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.75; max-width: 250px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--blue); transform: translateX(3px); }
.footer-bottom { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-copy span { color: var(--blue); font-weight: 600; }
.footer-badges { display: flex; gap: 8px; }
.footer-badge { font-size: 11px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--border); color: var(--text-muted); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(2,1fr); }
  .status-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { top: 10px; width: calc(100% - 24px); padding: 0 16px; }

  .nav-links {
    display: none; position: fixed;
    top: 80px; left: 12px; right: 12px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    flex-direction: column; gap: 0; padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(79,111,255,0.12);
  }
  .nav-links.open { display: flex; animation: scaleIn 0.2s ease both; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 16px; font-size: 14px; border-radius: 10px; }
  .nav-actions .btn-glass { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 110px 20px 72px; }
  .hero-stats { gap: 24px; }
  .stat-div { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .reviews-summary { flex-direction: column; align-items: flex-start; }
  section { padding: 72px 20px; }
}

@media (max-width: 480px) {
  .hero-actions, .join-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn, .join-actions .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   STATUS STAT ICON  (added for SVG icon inside stat boxes)
   ══════════════════════════════════════════════════════════════════════════ */
.status-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--blue);
  opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURE ICON SVG  (override font-size sizing for SVG children)
   ══════════════════════════════════════════════════════════════════════════ */
.feature-icon svg,
.dept-icon svg {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE FADE-IN  (used on map / shop pages)
   ══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
