/* ============================================================
   NIGHTNATION.LIVE — COMMAND CENTER CSS
   Design System: Cyberpunk War-Room // Dark Broadcast
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #1a1a2e;
  --bg-card:       #1a1a2e;
  --bg-nav:        rgba(10, 10, 10, 0.85);

  --orange:        #FF8C00;
  --orange-light:  #FFa030;
  --orange-dim:    rgba(255, 140, 0, 0.3);
  --orange-faint:  rgba(255, 140, 0, 0.08);

  --text-primary:   #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted:     #666666;

  --border:         #2a2a2a;
  --border-mid:     #333333;
  --border-accent:  #FF8C00;

  /* Glow shadows */
  --glow-orange:        0 0 20px rgba(255, 140, 0, 0.3);
  --glow-orange-strong: 0 0 40px rgba(255, 140, 0, 0.6);
  --glow-orange-text:   0 0 10px rgba(255, 140, 0, 0.5), 0 0 30px rgba(255, 140, 0, 0.3), 0 0 60px rgba(255, 140, 0, 0.15);
  --glow-title-3d:      3px 3px 0 rgba(255, 140, 0, 0.35), 6px 6px 0 rgba(255, 140, 0, 0.18);

  /* Typography */
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width:  1280px;
  --nav-height: 70px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageLoad 0.5s ease-out forwards;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Accessibility: Skip Link --- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--bg-primary);
  padding: var(--space-sm) var(--space-lg);
  z-index: 10000;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  transition: top var(--transition-base);
  white-space: nowrap;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Neural Network Canvas Background --- */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--space-4xl) 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  gap: var(--space-lg);
}

.nav-logo {
  height: 38px;
  width: auto;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
}

.nav-logo-link:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 1.4vw, 0.8rem);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

/* --- Hamburger Toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--orange);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--orange);
}

/* --- Mobile Navigation Slide-Down --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 140, 0, 0.15);
  z-index: 101;
  /* Hidden by default — transform off-screen */
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block; /* always block, controlled by transform/opacity */
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-md) var(--space-md);
  border-left: 3px solid transparent;
  transition: all var(--transition-base);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: rgba(255, 140, 0, 0.05);
  padding-left: var(--space-lg);
  text-shadow: 0 0 12px rgba(255, 140, 0, 0.6), 0 0 24px rgba(255, 140, 0, 0.3);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) clamp(1rem, 4vw, 2rem) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 140, 0, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 900px;
  width: 100%;
}

/* --- Live Status Badge --- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--orange-faint);
  border: 1px solid var(--orange);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  transition: all var(--transition-base);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.2);
}

.live-badge.offline {
  background: rgba(102, 102, 102, 0.08);
  border-color: var(--text-muted);
  color: var(--text-muted);
  box-shadow: none;
}

.live-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulseLive 1.5s ease-in-out infinite;
}

.live-badge.offline .live-badge-dot {
  background: var(--text-muted);
  animation: none;
}

@keyframes pulseLive {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(255, 140, 0, 0);
  }
}

/* --- Hero Title — Glitch Effect --- */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: var(--glow-orange-text);
  animation: titleGlow 3s ease-in-out infinite;
  margin: 0;
  position: relative;
  overflow: visible;
  filter: url('#glitch-texture');
}

/* Glitch pseudo-layers — always visible at low intensity */
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Red channel — offset left/up */
.hero-title::before {
  color: #FF0000;
  text-shadow: none;
  animation: glitchRed 4s infinite;
  clip-path: inset(0 0 60% 0);
  transform: translate(-2px, 1px);
  opacity: 0.85;
  z-index: -1;
}

/* Cyan channel — offset right/down */
.hero-title::after {
  color: #00FFFF;
  text-shadow: none;
  animation: glitchCyan 4s infinite;
  clip-path: inset(40% 0 20% 0);
  transform: translate(2px, -1px);
  opacity: 0.7;
  z-index: -2;
}

/* Base titleGlow + glitch flicker combined */
@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.4)); text-shadow: var(--glow-orange-text); }
  50%       { filter: drop-shadow(0 0 45px rgba(255, 140, 0, 0.75)); text-shadow: 0 0 10px rgba(255, 140, 0, 0.8), 0 0 30px rgba(255, 140, 0, 0.5), 0 0 60px rgba(255, 140, 0, 0.25); }
}

/* Glitch layer — chromatic aberration offset animation */
@keyframes glitchRed {
  0%, 100%  { transform: translate(-2px, 1px); clip-path: inset(0 0 60% 0); }
  15%       { transform: translate(2px, -1px); clip-path: inset(10% 0 40% 0); }
  20%       { transform: translate(-3px, 2px); clip-path: inset(50% 0 5% 0); }
  25%       { transform: translate(1px, -2px); clip-path: inset(20% 0 60% 0); }
  30%       { transform: translate(-2px, 1px); clip-path: inset(0 0 80% 0); }
  40%       { transform: translate(3px, 0);    clip-path: inset(70% 0 10% 0); }
  50%       { transform: translate(-1px, 2px); clip-path: inset(5% 0 55% 0); }
  60%       { transform: translate(0px, -1px); clip-path: inset(30% 0 30% 0); }
  70%       { transform: translate(-3px, 1px); clip-path: inset(0 0 50% 0); }
  80%       { transform: translate(2px, -2px); clip-path: inset(60% 0 0% 0); }
  90%       { transform: translate(-2px, 0px); clip-path: inset(15% 0 45% 0); }
}

@keyframes glitchCyan {
  0%, 100%  { transform: translate(2px, -1px); clip-path: inset(40% 0 20% 0); }
  15%       { transform: translate(-2px, 1px); clip-path: inset(20% 0 50% 0); }
  20%       { transform: translate(3px, -2px); clip-path: inset(5% 0 70% 0); }
  25%       { transform: translate(-1px, 2px); clip-path: inset(60% 0 15% 0); }
  30%       { transform: translate(2px, -1px); clip-path: inset(35% 0 35% 0); }
  40%       { transform: translate(-3px, 0);   clip-path: inset(10% 0 65% 0); }
  50%       { transform: translate(1px, -2px); clip-path: inset(55% 0 5% 0); }
  60%       { transform: translate(0px, 1px);  clip-path: inset(25% 0 45% 0); }
  70%       { transform: translate(3px, -1px); clip-path: inset(45% 0 25% 0); }
  80%       { transform: translate(-2px, 2px); clip-path: inset(0% 0 75% 0); }
  90%       { transform: translate(2px, 0px);  clip-path: inset(40% 0 30% 0); }
}

/* Hover intensification */
.hero-title:hover::before { animation: glitchRedIntense 0.4s infinite; }
.hero-title:hover::after  { animation: glitchCyanIntense 0.4s infinite; }

@keyframes glitchRedIntense {
  0%   { transform: translate(-3px, 2px) skewX(-3deg); clip-path: inset(5% 0 50% 0); }
  25%  { transform: translate(4px, -2px) skewX(2deg);  clip-path: inset(30% 0 20% 0); }
  50%  { transform: translate(-4px, 3px) skewX(-2deg); clip-path: inset(60% 0 5% 0); }
  75%  { transform: translate(3px, -3px) skewX(3deg);  clip-path: inset(15% 0 55% 0); }
  100% { transform: translate(-3px, 2px) skewX(-3deg); clip-path: inset(5% 0 50% 0); }
}

@keyframes glitchCyanIntense {
  0%   { transform: translate(3px, -2px) skewX(3deg);  clip-path: inset(50% 0 10% 0); }
  25%  { transform: translate(-4px, 2px) skewX(-2deg); clip-path: inset(20% 0 40% 0); }
  50%  { transform: translate(4px, -3px) skewX(2deg);  clip-path: inset(5% 0 70% 0); }
  75%  { transform: translate(-3px, 3px) skewX(-3deg); clip-path: inset(55% 0 15% 0); }
  100% { transform: translate(3px, -2px) skewX(3deg);  clip-path: inset(50% 0 10% 0); }
}

/* JS-triggered glitch classes */
.hero-title.glitch-active {
  animation: glitchDisplace 0.12s steps(2) forwards;
}

@keyframes glitchDisplace {
  0%   { transform: translate(0, 0) skewX(0deg); filter: hue-rotate(0deg) brightness(1); }
  20%  { transform: translate(-8px, 3px) skewX(-5deg); filter: hue-rotate(15deg) brightness(1.3); }
  40%  { transform: translate(6px, -2px) skewX(3deg); filter: hue-rotate(-10deg) brightness(0.9); }
  60%  { transform: translate(-4px, 4px) skewX(-3deg); filter: hue-rotate(20deg) brightness(1.2); }
  80%  { transform: translate(5px, -3px) skewX(4deg); filter: hue-rotate(-5deg) brightness(1.1); }
  100% { transform: translate(0, 0) skewX(0deg); filter: hue-rotate(0deg) brightness(1); }
}

/* Vertical slice distortion — JS adds/removes this */
.hero-title.slice-active {
  animation: sliceDistort 0.18s steps(3) forwards;
}

@keyframes sliceDistort {
  0%   { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
  15%  { clip-path: inset(0 0 70% 0); transform: translate(-12px, 0); }
  30%  { clip-path: inset(25% 0 50% 0); transform: translate(10px, 2px); }
  45%  { clip-path: inset(50% 0 25% 0); transform: translate(-8px, -1px); }
  60%  { clip-path: inset(70% 0 0% 0); transform: translate(14px, 1px); }
  75%  { clip-path: inset(10% 0 60% 0); transform: translate(-6px, 3px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); }
}

/* Glow flicker — subtle ambient pulse on the text-shadow */
@keyframes glowFlicker {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 140, 0, 0.5), 0 0 30px rgba(255, 140, 0, 0.3), 0 0 60px rgba(255, 140, 0, 0.15); }
  10%       { text-shadow: 0 0 6px rgba(255, 140, 0, 0.35), 0 0 18px rgba(255, 140, 0, 0.2), 0 0 40px rgba(255, 140, 0, 0.1); }
  20%       { text-shadow: 0 0 12px rgba(255, 140, 0, 0.6), 0 0 35px rgba(255, 140, 0, 0.4), 0 0 70px rgba(255, 140, 0, 0.2); }
  30%       { text-shadow: 0 0 4px rgba(255, 140, 0, 0.25), 0 0 12px rgba(255, 140, 0, 0.15), 0 0 25px rgba(255, 140, 0, 0.08); }
  40%       { text-shadow: 0 0 10px rgba(255, 140, 0, 0.5), 0 0 30px rgba(255, 140, 0, 0.3), 0 0 60px rgba(255, 140, 0, 0.15); }
  50%       { text-shadow: 0 0 8px rgba(255, 140, 0, 0.4), 0 0 20px rgba(255, 140, 0, 0.25), 0 0 45px rgba(255, 140, 0, 0.12); }
  60%       { text-shadow: 0 0 14px rgba(255, 140, 0, 0.65), 0 0 40px rgba(255, 140, 0, 0.45), 0 0 80px rgba(255, 140, 0, 0.22); }
  70%       { text-shadow: 0 0 5px rgba(255, 140, 0, 0.3), 0 0 15px rgba(255, 140, 0, 0.18), 0 0 30px rgba(255, 140, 0, 0.1); }
  80%       { text-shadow: 0 0 11px rgba(255, 140, 0, 0.55), 0 0 33px rgba(255, 140, 0, 0.35), 0 0 65px rgba(255, 140, 0, 0.18); }
  90%       { text-shadow: 0 0 7px rgba(255, 140, 0, 0.38), 0 0 22px rgba(255, 140, 0, 0.22), 0 0 48px rgba(255, 140, 0, 0.12); }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 2vw, 0.95rem);
  color: var(--text-secondary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  max-width: 600px;
}

/* --- CTA Buttons --- */
.hero-ctas {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg-primary);
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
}

.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  box-shadow: var(--glow-orange-strong);
  transform: translateY(-2px);
  color: var(--bg-primary);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn-outline:hover {
  background: rgba(255, 140, 0, 0.1);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
  color: var(--orange-light);
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 340px;
  }
}

/* --- News Ticker --- */
.ticker-wrap {
  background: linear-gradient(90deg, #100800 0%, #0f0f1e 50%, #100800 100%);
  border-top: 1px solid var(--orange-dim);
  border-bottom: 1px solid var(--orange-dim);
  padding: var(--space-sm) 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #100800, transparent);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #100800, transparent);
}

.ticker {
  width: 100%;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  animation: tickerScroll 45s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-item {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--orange);
  padding: 0 var(--space-xl);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: 0.08em;
}

.ticker-item::before {
  content: '//';
  color: var(--text-muted);
  font-size: 0.7rem;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 5;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.58rem, 1.4vw, 0.72rem);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
  font-variant: small-caps;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border-mid);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stats-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-lg);
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: unset;
  }
}

/* --- Section Titles --- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: var(--space-2xl);
  text-shadow: var(--glow-title-3d);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* --- Broadcast Schedule --- */
.schedule-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.schedule-block {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.4);
  max-width: 800px;
  margin: 0 auto;
}

.schedule-main {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 20px rgba(255, 140, 0, 0.35);
}

.platform-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.platform-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.platform-icon-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.countdown-wrapper {
  margin-top: var(--space-xl);
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-md);
}

.on-air-now {
  display: none;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-shadow: var(--glow-orange-text);
  animation: titleGlow 2s ease-in-out infinite;
}

.on-air-now.visible {
  display: block;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.countdown.hidden {
  display: none;
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  min-width: 2.2ch;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

.countdown-unit {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--orange);
  opacity: 0.4;
  margin-bottom: 1.2em;
  line-height: 1;
}

@media (max-width: 480px) {
  .schedule-block {
    padding: var(--space-xl) var(--space-md);
  }

  .countdown {
    gap: var(--space-sm);
  }

  .countdown-sep {
    display: none;
  }
}

/* --- Footer --- */
.footer {
  background: var(--bg-primary);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
}

.footer-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin: 0 auto var(--space-md);
  }

  .footer-brand .footer-desc {
    max-width: 100%;
  }
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
  padding: 2px 0;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.05em;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.reveal-delay-1 { transition-delay: 0.05s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.20s; }
.reveal-delay-4 { transition-delay: 0.28s; }
.reveal-delay-5 { transition-delay: 0.36s; }
.reveal-delay-6 { transition-delay: 0.44s; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) clamp(1rem, 4vw, 2rem) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

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

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 4.5rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-shadow: var(--glow-orange-text);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  color: var(--text-secondary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}

/* --- Cards (reusable) --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* --- About Page Styles --- */
.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.about-quote {
  border-left: 3px solid var(--orange);
  padding-left: var(--space-xl);
  margin: var(--space-2xl) 0;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-primary);
  line-height: 1.6;
}

.about-quote cite {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 600px) {
  .about-grid-2 {
    grid-template-columns: 1fr;
  }
}

.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .about-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-grid-3 {
    grid-template-columns: 1fr;
  }
}

.about-card-icon {
  margin-bottom: var(--space-md);
  color: var(--orange);
}

.section-bg-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title-sm {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: var(--space-2xl);
  text-shadow: 2px 2px 0 rgba(255, 140, 0, 0.25);
}

.section-title-left {
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 0 rgba(255, 140, 0, 0.2);
}

/* --- Links Page --- */
.links-section {
  margin-bottom: var(--space-3xl);
}

.links-section:last-child {
  margin-bottom: 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-base);
  min-height: 72px;
}

.link-card:hover {
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateX(4px);
}

.link-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.link-card-content {
  flex: 1;
  min-width: 0;
}

.link-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  transition: color var(--transition-base);
}

.link-card:hover .link-card-title {
  color: var(--orange);
}

.link-card-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.link-card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition-base), transform var(--transition-base);
}

.link-card:hover .link-card-arrow {
  color: var(--orange);
  transform: translateX(3px);
}

/* Crypto panel */
.crypto-panel {
  display: none;
  margin-top: var(--space-xl);
}

.crypto-panel.open {
  display: block;
}

.crypto-panel-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: var(--space-xl);
}

.crypto-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.crypto-panel-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.crypto-panel-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.7rem;
  padding: var(--space-xs) var(--space-sm);
  transition: color var(--transition-base);
  min-height: 32px;
}

.crypto-panel-close:hover {
  color: var(--orange);
}

.crypto-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.crypto-row:last-of-type {
  border-bottom: none;
}

.crypto-coin {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 52px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.crypto-address-value {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-primary);
  flex: 1;
  word-break: break-all;
  min-width: 0;
}

.crypto-copy {
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.68rem;
  transition: all var(--transition-base);
  min-height: 30px;
  white-space: nowrap;
  flex-shrink: 0;
}

.crypto-copy:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.crypto-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* --- Forms (contact page) --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-xl);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.pgp-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.pgp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.pgp-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.pgp-key {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--bg-primary);
  padding: var(--space-md);
  border-radius: 4px;
  margin: 0;
  line-height: 1.5;
}

/* --- Benefits Grid (members) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

.benefit-icon {
  margin-bottom: var(--space-md);
  color: var(--orange);
  display: flex;
  justify-content: center;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.benefit-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* --- Pricing Cards (members) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  text-align: left;
  flex: 1;
}

.pricing-features li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '//';
  color: var(--orange);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* --- Members Login Box --- */
.members-login-box {
  max-width: 420px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.members-login-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.members-login-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.members-login-btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.members-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: var(--space-xl);
  line-height: 1.5;
}

.members-note a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Blog / Dispatches --- */
.dispatches-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.dispatch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.dispatch-card:hover {
  border-color: var(--orange);
  box-shadow: var(--glow-orange);
  transform: translateY(-3px);
}

.dispatch-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.dispatch-platform-badge {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--bg-primary);
  background: var(--orange);
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dispatch-date {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dispatch-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  transition: color var(--transition-base);
}

.dispatch-title a {
  color: inherit;
  text-decoration: none;
}

.dispatch-title a:hover {
  color: var(--orange);
}

.dispatch-excerpt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.dispatch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.topic-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.topic-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--orange);
  border: 1px solid var(--orange-dim);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.dispatches-filter {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border-mid);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 36px;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-faint);
}

/* Tag cloud section */
.tag-cloud {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--orange);
  border: 1px solid var(--orange-dim);
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  cursor: default;
}

.tag-pill:hover {
  background: var(--orange-faint);
  border-color: var(--orange);
}

/* --- Inline Utility --- */
.text-orange   { color: var(--orange); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.mt-xs         { margin-top: var(--space-xs); }
.mt-sm         { margin-top: var(--space-sm); }
.mt-md         { margin-top: var(--space-md); }
.mt-lg         { margin-top: var(--space-lg); }
.mt-xl         { margin-top: var(--space-xl); }
.mt-2xl        { margin-top: var(--space-2xl); }
.mb-xs         { margin-bottom: var(--space-xs); }
.mb-sm         { margin-bottom: var(--space-sm); }
.mb-md         { margin-bottom: var(--space-md); }
.mb-lg         { margin-bottom: var(--space-lg); }
.mb-xl         { margin-bottom: var(--space-xl); }
.mb-2xl        { margin-bottom: var(--space-2xl); }
.mb-3xl        { margin-bottom: var(--space-3xl); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
