/* CityLink.world v2.0 — Futuristic Public Portal Stylesheet */
:root {
  --bg-deep: #040711;
  --bg-panel: rgba(10, 18, 36, 0.78);
  --bg-panel-strong: rgba(8, 15, 30, 0.92);
  --border-cyan: rgba(0, 240, 255, 0.28);
  --border-subtle: rgba(148, 163, 184, 0.16);
  --neon-cyan: #00f0ff;
  --neon-blue: #3b82f6;
  --neon-purple: #a855f7;
  --neon-emerald: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Futuristic Background Cyber Grid */
.cyber-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.10), transparent 55%),
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Top HUD Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(4, 8, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.nav-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.brand-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-nav a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.55);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}

.hud-code-pill:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.28);
}

.hud-code-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.hud-code-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.74rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 0.86rem;
}

.btn-neon {
  background: linear-gradient(135deg, #00f0ff 0%, #2563eb 100%);
  color: #020617;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.38);
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(0, 240, 255, 0.65);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #022c22;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.38);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(16, 185, 129, 0.68);
  color: #ffffff;
}

.btn-glass {
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-main);
  border: 1px solid rgba(0, 240, 255, 0.35);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  background: rgba(0, 240, 255, 0.16);
  color: var(--neon-cyan);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   FULL-WIDTH FUTURISTIC CITYLINK HUB HERO BANNER
   ========================================================================== */
.full-bleed-hero {
  position: relative;
  width: 100%;
  min-height: 86vh;
  padding-top: 86px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.hero-backdrop-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #02050d;
}

.hero-panoramic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.14) contrast(1.06);
  transition: opacity 0.25s ease, transform 8s ease;
  transform: scale(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(0, 240, 255, 0.08) 0%, rgba(4, 7, 17, 0.52) 62%, rgba(4, 7, 17, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 7, 17, 0.90) 0%, rgba(4, 7, 17, 0.56) 48%, rgba(4, 7, 17, 0.22) 100%);
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to top, var(--bg-deep) 8%, transparent 100%);
}

.hero-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
}

.hud-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  background: rgba(4, 10, 24, 0.72);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.hud-bracket {
  color: rgba(0, 240, 255, 0.6);
}

.hud-coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e2e8f0;
  background: rgba(4, 10, 24, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.hud-divider {
  margin: 0 8px;
  color: var(--neon-cyan);
}

.hero-overlay-content {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hero-title-block {
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

.hero-title-block h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.text-gradient-cyber {
  background: linear-gradient(90deg, #00f0ff 0%, #60a5fa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #e2e8f0;
  max-width: 690px;
  margin-bottom: 26px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

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

/* Interactive Camera Switcher Strip on Hero */
.hero-camera-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(6, 12, 28, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
}

.camera-switcher-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
}

.camera-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  flex: 1;
}

.camera-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 9px;
  padding: 6px 10px;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.camera-thumb img {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.camera-thumb:hover,
.camera-thumb.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}

/* ==========================================================================
   FIRST 2 LEVELS / WORLDS DIRECTLY BELOW HERO
   ========================================================================== */
.worlds-launch-section {
  position: relative;
  z-index: 5;
  padding: 56px 0 72px;
}

.worlds-section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.hud-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.worlds-bar-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.worlds-bar-right {
  color: var(--text-muted);
  max-width: 460px;
  font-size: 0.98rem;
}

.primary-worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.world-launch-card {
  background: var(--bg-panel-strong);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.world-launch-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: 0 28px 65px rgba(0, 240, 255, 0.18);
}

.world-card-brainerd {
  border-color: rgba(16, 185, 129, 0.38);
}

.world-card-brainerd:hover {
  border-color: var(--neon-emerald);
  box-shadow: 0 28px 65px rgba(16, 185, 129, 0.2);
}

.world-card-media {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #020617;
}

.world-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.world-launch-card:hover .world-card-media img {
  transform: scale(1.04);
}

.world-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 7, 17, 0.45) 0%,
    transparent 35%,
    transparent 55%,
    rgba(8, 15, 30, 0.96) 100%
  );
}

.world-level-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 8, 20, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.45);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.level-num {
  color: var(--neon-cyan);
}

.level-divider {
  color: var(--text-dim);
}

.world-status-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

.status-hub {
  background: rgba(0, 240, 255, 0.16);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: var(--neon-cyan);
}

.status-live {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #34d399;
}

.world-mini-gallery {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}

.mini-thumb {
  background: rgba(4, 10, 24, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mini-thumb:hover,
.mini-thumb.active {
  background: rgba(0, 240, 255, 0.22);
  border-color: var(--neon-cyan);
  color: #ffffff;
}

.world-island-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 10, 24, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 10px;
  padding: 8px 14px;
  z-index: 3;
  backdrop-filter: blur(10px);
}

.island-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #a7f3d0;
}

.island-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-mono);
}

.code-digits {
  font-size: 0.95rem;
  font-weight: 700;
  color: #34d399;
}

.copy-tag {
  font-size: 0.66rem;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ecfdf5;
  padding: 3px 8px;
  border-radius: 5px;
}

.world-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.world-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.world-category {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.world-card-brainerd .world-category {
  color: #34d399;
}

.world-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
}

.world-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.world-coords-box {
  text-align: right;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

.coords-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.coords-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.world-card-brainerd .coords-val {
  color: #34d399;
}

.world-description {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.world-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.world-feature-chips span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 5px 11px;
  border-radius: 999px;
}

.world-launch-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}

.btn-world-main,
.btn-world-sec {
  padding: 14px 18px;
  font-size: 0.78rem;
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */
.section-block {
  padding: 84px 0;
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   INSIDE THE HUB: 6 DISTRICTS GRID
   ========================================================================== */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.district-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.district-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.district-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.district-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.district-card:hover .district-img-wrap img {
  transform: scale(1.06);
}

.district-code {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 8, 20, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.district-info {
  padding: 20px 22px 24px;
}

.district-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.district-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   QUESTS, CONTESTS & LOCAL CELEBRATIONS
   ========================================================================== */
.quests-section {
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08), transparent 60%);
}

.quests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quest-card {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.quest-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
}

.quest-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.quest-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.quest-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.quest-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ==========================================================================
   CITY PORTAL DIRECTORY
   ========================================================================== */
.directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.search-box input {
  width: 100%;
  background: rgba(10, 18, 36, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 10px;
  padding: 13px 16px 13px 44px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.search-box input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.22);
}

.filter-pills {
  display: flex;
  gap: 8px;
}

.filter-pill {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--neon-cyan);
  color: #ffffff;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dir-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.dir-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
}

.dir-card-featured {
  border-color: rgba(16, 185, 129, 0.45);
}

.dir-card-nominate {
  border-style: dashed;
  border-color: rgba(0, 240, 255, 0.4);
}

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

.dir-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.badge-hub {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
}

.badge-live {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}

.badge-upcoming {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
}

.badge-open {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.dir-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dir-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.dir-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

.dir-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.dir-tags span {
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.7);
  padding: 3px 9px;
  border-radius: 6px;
}

.dir-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.dir-link-live {
  color: #34d399;
}

.dir-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   30-YEAR ORIGIN STORY
   ========================================================================== */
.origins-card {
  background: var(--bg-panel-strong);
  border: 1px solid rgba(0, 240, 255, 0.24);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.origins-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  margin-bottom: 16px;
}

.origins-copy p {
  color: #cbd5e1;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.origins-timeline {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  background: rgba(15, 23, 42, 0.75);
  border-left: 3px solid var(--neon-cyan);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}

.t-year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--neon-cyan);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.t-desc {
  font-size: 0.88rem;
  color: #e2e8f0;
}

.clipping-frame {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  overflow: hidden;
  padding: 12px;
}

.clipping-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.clipping-frame figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  background: #02040a;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-logo {
  height: 34px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
  margin-bottom: 10px;
}

.footer-disclaimer {
  font-size: 0.76rem !important;
  color: var(--text-dim) !important;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--neon-cyan);
  text-decoration: none;
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(6, 15, 32, 0.95);
  border: 1px solid var(--neon-cyan);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.3);
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}

.copy-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .primary-worlds-grid {
    grid-template-columns: 1fr;
  }
  .districts-grid,
  .quests-grid,
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .camera-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .origins-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .full-bleed-hero {
    min-height: 76vh;
  }
  .districts-grid,
  .quests-grid,
  .directory-grid,
  .camera-thumbs,
  .world-launch-actions,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .origins-card {
    padding: 24px;
  }
}
