/* ══════════════════════════════════════════════════════════
   Horizon District — Website Styles
   Design: Dark Navy + Electric Blue + Orange Accent
   Cyberpunk-Realism / Circuit Board Aesthetic
   ══════════════════════════════════════════════════════════ */

:root {
  --hd-blue: #00E0FF; /* Stronger electric blue */
  --hd-blue-dim: #00A0BF;
  --hd-blue-glow: rgba(0, 224, 255, 0.6);
  --hd-orange: #FF6600; /* Stronger orange */
  --hd-orange-dim: #CC5200;
  --hd-orange-glow: rgba(255, 102, 0, 0.6);
  --bg-dark: #010810; /* Deeper, darker background */
  --bg-surface: #030C18;
  --bg-card: rgba(0, 224, 255, 0.04);
  --bg-card-hover: rgba(0, 224, 255, 0.08);
  --border: rgba(0, 224, 255, 0.12);
  --border-bright: rgba(0, 224, 255, 0.35);
  --text-primary: #E8F4FF;
  --text-secondary: rgba(232, 244, 255, 0.55);
  --text-muted: rgba(232, 244, 255, 0.3);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--hd-blue), var(--hd-orange)); border-radius: 3px; }
::selection { background: rgba(26, 159, 255, 0.25); }

/* ── Utilities ────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-blue { color: var(--hd-blue); }
.text-orange { color: var(--hd-orange); }

/* ══════════════════════ GTA RP ATMOSPHERE ════════════════
   Film grain, scanlines, hazard stripes, neon signs,
   police lights — everything that screams Los Santos
   ══════════════════════════════════════════════════════ */

/* Film Grain — subtle noise overlay over the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  opacity: 0.4;
}

/* Scanline overlay — every card gets subtle TV lines */
.feature-card::after,
.job-card::after,
.car-card::after,
.district-card::after,
.status-card::after,
.team-card::after,
.rule-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  border-radius: inherit;
  z-index: 0;
}

.feature-card > *,
.job-card > *,
.car-card > *,
.district-card > *,
.status-card > *,
.team-card > *,
.rule-card > * { position: relative; z-index: 1; }

/* Hazard / Caution stripe section dividers */
.section-alt::before {
  background: var(--caution-stripe),
    linear-gradient(to right, transparent, var(--border-bright) 30%, rgba(255,102,0,0.3) 70%, transparent) !important;
  height: 3px !important;
  opacity: 0.8;
}
.section-alt::after {
  background: var(--caution-stripe),
    linear-gradient(to right, transparent, var(--border-bright) 30%, rgba(255,102,0,0.3) 70%, transparent) !important;
  height: 3px !important;
  opacity: 0.8;
}

/* Police light flicker — status section header */
@keyframes police-flash {
  0%, 49%  { box-shadow: -6px 0 16px 4px rgba(0,63,255,0.5), inset 0 0 12px rgba(0,63,255,0.15); border-color: rgba(0,63,255,0.4); }
  50%, 100%{ box-shadow:  6px 0 16px 4px rgba(232,0,26,0.5),  inset 0 0 12px rgba(232,0,26,0.12);  border-color: rgba(232,0,26,0.35); }
}

.status-card.status-main {
  animation: police-flash 1.8s ease-in-out infinite;
}

/* Corner bracket decoration — GTA HUD feel */
.feature-card,
.district-card {
  --corner: var(--hd-blue);
}
.feature-card::before,
.district-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-top: 2px solid var(--corner);
  border-left: 2px solid var(--corner);
  border-radius: 2px 0 0 0;
  opacity: 0.5;
  z-index: 2;
}

/* Wanted stars on illegal job cards — ★ rating glow */
.job-purple ~ .job-slots span {
  color: var(--gta-wanted);
}

/* Neon sign shimmer — headings in key sections */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 6px var(--hd-blue),
      0 0 20px var(--hd-blue),
      0 0 40px var(--hd-blue);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

#jobs .section-title .text-orange,
#cars .section-title .text-blue {
  animation: neon-flicker 6s infinite;
}

/* Hero title glitch effect */
@keyframes glitch-shift {
  0%   { clip-path: inset(0 0 95% 0); transform: translate(-3px, 0); opacity: 0.7; }
  10%  { clip-path: inset(40% 0 50% 0); transform: translate(3px, 0); }
  20%  { clip-path: inset(80% 0 5% 0); transform: translate(-2px, 0); }
  30%  { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
  100% { clip-path: inset(0 0 0 0); transform: translate(0, 0); opacity: 0; }
}

.hero-title::before,
.hero-title::after {
  display: none; /* will be activated below */
}

.hero-title-line {
  position: relative;
}

.hero-title-line::before {
  content: 'HORIZON';
  position: absolute;
  inset: 0;
  color: var(--hd-blue);
  animation: glitch-shift 5s steps(1) infinite;
  animation-delay: 2s;
  pointer-events: none;
  opacity: 0;
}

.hero-title-line::after {
  content: 'HORIZON';
  position: absolute;
  inset: 0;
  color: var(--hd-orange);
  animation: glitch-shift 5s steps(1) infinite;
  animation-delay: 2.08s;
  pointer-events: none;
  opacity: 0;
}

/* Dispatch radio ticker — small blinking element */
@keyframes radio-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-badge .badge-dot {
  animation: radio-blink 0.9s ease-in-out infinite !important;
}

/* Street corner number plate style on section-label */
.section-label {
  position: relative;
  padding-left: 16px;
}
.section-label::before {
  content: '▐';
  position: absolute;
  left: 0;
  color: var(--hd-orange);
  font-size: 14px;
  line-height: 1;
  top: -1px;
}

/* Neon top-bar accent on hero */
#hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right,
    var(--gta-police) 0%,
    var(--hd-blue) 25%,
    transparent 50%,
    var(--hd-orange) 75%,
    var(--gta-red) 100%
  );
  animation: police-bar 3s linear infinite;
  z-index: 2;
}

@keyframes police-bar {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Wanted level star display for illegal panel header */
#panel-illegal::before {
  content: '⭐ WANTED LEVEL AKTIV ⭐';
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gta-wanted);
  text-align: center;
  padding: 8px 0 20px;
  opacity: 0.7;
  animation: radio-blink 2s ease-in-out infinite;
}

/* Caution tape bottom border on team cards */
.team-card {
  border-bottom: 2px solid transparent;
  background-clip: padding-box;
}

/* Grid background on section-alt — city block map feel */
#features, #cars, #join {
  background-image:
    linear-gradient(rgba(0,224,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,224,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* CCTV Badge — fixed corner overlay */
#cctv-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(1, 8, 16, 0.85);
  border: 1px solid rgba(232, 0, 26, 0.4);
  border-radius: 4px;
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 0, 26, 0.9);
  box-shadow: 0 0 12px rgba(232, 0, 26, 0.2), inset 0 0 8px rgba(232, 0, 26, 0.05);
  animation: radio-blink 3s ease-in-out infinite;
  pointer-events: none;
}

#cctv-badge svg { color: rgba(232, 0, 26, 0.8); flex-shrink: 0; }

#cctv-time {
  color: rgba(232, 244, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-surface); position: relative; }
.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright) 30%, rgba(255,107,26,0.3) 70%, transparent);
}
.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright) 30%, rgba(255,107,26,0.3) 70%, transparent);
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--hd-orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--hd-blue), #0070CC);
  border: 1px solid rgba(26, 159, 255, 0.5);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  box-shadow: 0 0 24px rgba(26, 159, 255, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(26, 159, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(26, 159, 255, 0.8);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--hd-blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(26, 159, 255, 0.08);
  border-color: var(--hd-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(26, 159, 255, 0.15);
}

/* ══════════════════════ NAVBAR ══════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(2, 11, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0.0.0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-img { width: 36px; height: 36px; object-fit: contain; }

.nav-logo-fallback {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  background: var(--bg-card);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-brand-accent { color: var(--hd-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px; right: 14px;
  height: 1px;
  background: var(--hd-blue);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-discord {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius);
  color: #8b9cf8;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: rgba(88, 101, 242, 0.7);
  color: #adb8ff;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile nav */
#nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px; left: 0; right: 0;
  background: rgba(2, 11, 24, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}

/* ══════════════════════ HERO ════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circuit-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 159, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 159, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-glow-left {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 159, 255, 0.12) 0%, transparent 70%);
  animation: glow-drift 8s ease-in-out infinite;
}

.hero-glow-right {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 107, 26, 0.1) 0%, transparent 70%);
  animation: glow-drift 10s ease-in-out infinite reverse;
}

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(26, 159, 255, 0.3), transparent);
  animation: scan 8s linear infinite;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

@keyframes scan {
  0% { top: -5%; }
  100% { top: 105%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hd-orange);
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hd-orange);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.6); }
  50% { box-shadow: 0 0 0 4px rgba(255, 107, 26, 0); }
}

.hero-logo-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(26, 159, 255, 0.5)) drop-shadow(0 0 60px rgba(26, 159, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-size: clamp(52px, 9vw, 96px);
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-shadow: 0 0 60px rgba(26, 159, 255, 0.3);
}

.hero-title-accent {
  display: block;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 0.25em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hd-orange);
  text-shadow: 0 0 40px rgba(255, 107, 26, 0.4);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(26, 159, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0 8px;
}

.hero-stat {
  padding: 20px 32px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--hd-blue);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: hero-scroll-hint-fade 3s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--hd-blue), transparent);
  animation: scroll-line-shrink 3s ease-in-out infinite;
}

@keyframes hero-scroll-hint-fade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

@keyframes scroll-line-shrink {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════ SERVER STATUS ═══════════════════ */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition);
}

.status-card:hover { border-color: var(--border-bright); }

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: #22C55E;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.offline {
  background: #FF6B1A;
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.5);
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); }
}

#server-status-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hd-orange);
}

.status-server-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.status-server-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
}

.status-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.status-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.status-meta-item svg { color: var(--hd-blue); flex-shrink: 0; }

.btn-connect {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--hd-blue), #0070CC);
  border: 1px solid rgba(26, 159, 255, 0.5);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-connect:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-connect:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(26, 159, 255, 0.4);
}

.connect-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.status-sidebar { display: flex; flex-direction: column; gap: 16px; }

.status-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.status-info-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.status-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-info-icon.blue {
  background: rgba(26, 159, 255, 0.1);
  border: 1px solid rgba(26, 159, 255, 0.2);
  color: var(--hd-blue);
}

.status-info-icon.orange {
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  color: var(--hd-orange);
}

.status-info-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.status-info-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ══════════════════════ FEATURES ════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--hd-blue), var(--hd-orange));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 159, 255, 0.1);
}

.feature-card:hover::before { opacity: 1; }

.feature-large {
  grid-column: span 2;
  padding: 36px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 159, 255, 0.08);
  border: 1px solid rgba(26, 159, 255, 0.15);
  color: var(--hd-blue);
  margin-bottom: 20px;
}

.feature-large .feature-icon {
  width: 60px;
  height: 60px;
  color: var(--hd-orange);
  background: rgba(255, 107, 26, 0.08);
  border-color: rgba(255, 107, 26, 0.15);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hd-orange);
}

/* ══════════════════════ TEAM ════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}

.team-owner::after { background: linear-gradient(to right, var(--hd-orange), var(--hd-blue)); }
.team-dev::after, .team-cardev::after { background: linear-gradient(to right, var(--hd-blue), rgba(26,159,255,0.3)); }
.team-lead::after { background: linear-gradient(to right, #a855f7, var(--hd-blue)); }
.team-support::after { background: linear-gradient(to right, #22c55e, var(--hd-blue)); }

.team-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 159, 255, 0.12);
}

.team-card:hover::after { opacity: 1; }

.team-avatar {
  position: relative;
  flex-shrink: 0;
}

.team-avatar-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--hd-blue);
  background: rgba(26, 159, 255, 0.08);
  border: 2px solid rgba(26, 159, 255, 0.25);
  position: relative;
  z-index: 1;
}

.team-owner .team-avatar-inner {
  color: var(--hd-orange);
  background: rgba(255, 107, 26, 0.08);
  border-color: rgba(255, 107, 26, 0.35);
}

.team-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-orange)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.4;
}

.team-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-badge.owner { background: rgba(255,107,26,0.15); border: 1px solid rgba(255,107,26,0.35); color: var(--hd-orange); }
.team-badge.dev { background: rgba(26,159,255,0.12); border: 1px solid rgba(26,159,255,0.3); color: var(--hd-blue); }
.team-badge.cardev { background: rgba(26,159,255,0.12); border: 1px solid rgba(26,159,255,0.3); color: var(--hd-blue); }
.team-badge.lead { background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.3); color: #a855f7; }
.team-badge.support { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }

.team-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin: 4px 0;
}

.team-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════ ROADMAP ═════════════════════════ */
.roadmap-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--hd-blue), var(--border) 80%, transparent);
}

.roadmap-item {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding-left: 0;
  position: relative;
}

.roadmap-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.roadmap-item.completed .roadmap-node {
  background: linear-gradient(135deg, var(--hd-blue), #0070CC);
  border: 2px solid rgba(26, 159, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 16px rgba(26, 159, 255, 0.4);
}

.roadmap-item.in-progress .roadmap-node {
  background: rgba(255, 107, 26, 0.1);
  border: 2px solid var(--hd-orange);
  box-shadow: 0 0 16px rgba(255, 107, 26, 0.3);
}

.roadmap-item.planned .roadmap-node {
  background: var(--bg-card);
  border: 2px solid var(--border);
}

.roadmap-node-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hd-orange);
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,26,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255,107,26,0); }
}

.roadmap-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: -2px;
  transition: border-color var(--transition);
}

.roadmap-item.in-progress .roadmap-content { border-color: rgba(255, 107, 26, 0.2); }
.roadmap-item.completed .roadmap-content { border-color: rgba(26, 159, 255, 0.15); }

.roadmap-phase {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.roadmap-item.completed .roadmap-phase { color: var(--hd-blue); }
.roadmap-item.in-progress .roadmap-phase { color: var(--hd-orange); }
.roadmap-item.planned .roadmap-phase { color: var(--text-muted); }

.roadmap-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 6px 0 8px;
}

.roadmap-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════ COMMUNITY ═══════════════════════ */
.discord-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 48px;
  align-items: start;
}

.discord-widget-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 224, 255, 0.15);
  box-shadow: 0 0 60px rgba(0, 224, 255, 0.07), 0 2px 40px rgba(0, 0, 0, 0.5);
  width: 370px;
  max-width: 100%;
}

/* ══════════════════════ DISCORD CUSTOM PANEL ═════════════
   Glassmorphism + Electric Blue Neon — No iframe
   ══════════════════════════════════════════════════════ */

.dp-panel {
  background: linear-gradient(160deg, rgba(1, 10, 24, 0.97) 0%, rgba(2, 8, 18, 0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

/* ── Header ────────────────────────────────────────── */
.dp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0, 224, 255, 0.07);
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.04) 0%, transparent 70%);
  position: relative;
}

.dp-guild-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.1), rgba(0, 100, 200, 0.14));
  border: 1px solid rgba(0, 224, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.18), inset 0 1px 0 rgba(0, 224, 255, 0.12);
  transition: box-shadow 0.2s ease;
}

.dp-guild-icon:hover {
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.32), inset 0 1px 0 rgba(0, 224, 255, 0.2);
}

.dp-guild-icon svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.65));
}

.dp-guild-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dp-guild-meta { flex: 1; min-width: 0; }

.dp-guild-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-guild-sub {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

.dp-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 20px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: #22C55E;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.dp-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: dpLivePulse 2s ease-in-out infinite;
}

@keyframes dpLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* ── Hero Count Ring ──────────────────────────────── */
.dp-hero-count {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0, 224, 255, 0.07);
}

.dp-ring {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.dp-ring-svg {
  width: 72px;
  height: 72px;
  transform: rotate(-90deg);
  overflow: visible;
}

.dp-ring-bg {
  fill: none;
  stroke: rgba(0, 224, 255, 0.07);
  stroke-width: 3;
}

.dp-ring-track {
  fill: none;
  stroke: var(--hd-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 213.7;
  stroke-dashoffset: 160;
  filter: drop-shadow(0 0 5px rgba(0, 224, 255, 0.85));
  transition: stroke-dashoffset 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dp-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--hd-blue);
  text-shadow: 0 0 18px rgba(0, 224, 255, 0.7);
  letter-spacing: -0.02em;
}

.dp-hero-meta { flex: 1; }

.dp-hero-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dp-hero-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-secondary);
}

.dp-inline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.dp-inline-dot.status-online  { background: #22C55E; box-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
.dp-inline-dot.status-offline { background: #6B7280; }
.dp-inline-dot.status-loading { background: var(--hd-blue); animation: dpLivePulse 1.4s ease infinite; }
.dp-inline-dot.status-error   { background: #EF4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }

/* ── Section Header ───────────────────────────────── */
.dp-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 6px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dp-section-icon {
  color: var(--hd-blue);
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.dp-pill {
  margin-left: auto;
  background: rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(0, 224, 255, 0.18);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 9px;
  color: var(--hd-blue);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ── Members Scroll ───────────────────────────────── */
.dp-members-wrap {
  border-bottom: 1px solid rgba(0, 224, 255, 0.07);
  flex: 1;
}

.dp-members-scroll {
  max-height: 224px;
  overflow-y: auto;
  padding: 2px 10px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 224, 255, 0.18) transparent;
}

.dp-members-scroll::-webkit-scrollbar { width: 3px; }
.dp-members-scroll::-webkit-scrollbar-track { background: transparent; }
.dp-members-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 224, 255, 0.18);
  border-radius: 3px;
}

/* Skeleton */
.dp-skeleton { display: flex; flex-direction: column; gap: 4px; padding: 4px 0; }

.dp-skel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
}

.dp-skel-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: dpSkelPulse 1.6s ease-in-out infinite alternate;
  flex-shrink: 0;
}

.dp-skel-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.dp-skel-lines div {
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  animation: dpSkelPulse 1.6s ease-in-out infinite alternate;
}

.dp-skel-lines div:first-child { width: 65%; animation-delay: 0.15s; }
.dp-skel-lines div:last-child  { width: 40%; animation-delay: 0.3s; }

@keyframes dpSkelPulse {
  from { opacity: 0.25; }
  to   { opacity: 0.6; }
}

/* Member card */
.dp-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: default;
  animation: dpSlideIn 0.3s ease both;
}

.dp-member:hover {
  background: rgba(0, 224, 255, 0.05);
  transform: translateX(2px);
}

@keyframes dpSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.dp-member-av-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.dp-member-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgba(0, 224, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.18s ease;
}

.dp-member:hover .dp-member-av { border-color: rgba(0, 224, 255, 0.3); }

.dp-member-av-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.12), rgba(255, 102, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--hd-blue);
  border: 2px solid rgba(0, 224, 255, 0.18);
}

.dp-status-ring {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2.5px solid #010A18;
  transition: box-shadow 0.2s ease;
}

.dp-status-ring.online { background: #22C55E; box-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
.dp-status-ring.idle   { background: #F59E0B; box-shadow: 0 0 6px rgba(245, 158, 11, 0.7); }
.dp-status-ring.dnd    {
  background: #EF4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
}
.dp-status-ring.dnd::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 2px;
  background: #010A18;
  border-radius: 1px;
}

.dp-member-info { flex: 1; min-width: 0; }

.dp-member-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-member-activity {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.dp-member-tag {
  font-size: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}

.dp-member-tag.online { color: #22C55E; background: rgba(34, 197, 94, 0.09);  border: 1px solid rgba(34, 197, 94, 0.2); }
.dp-member-tag.idle   { color: #F59E0B; background: rgba(245, 158, 11, 0.09); border: 1px solid rgba(245, 158, 11, 0.2); }
.dp-member-tag.dnd    { color: #EF4444; background: rgba(239, 68, 68, 0.09);  border: 1px solid rgba(239, 68, 68, 0.2); }

.dp-no-members {
  padding: 20px 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.dp-api-error {
  padding: 18px 8px;
  text-align: center;
  color: rgba(239, 68, 68, 0.8);
  font-size: 12px;
  line-height: 1.7;
}

.dp-api-error small { opacity: 0.7; }

/* ── Voice Channels ───────────────────────────────── */
.dp-voice-wrap {
  border-bottom: 1px solid rgba(0, 224, 255, 0.07);
}

.dp-voice-channel { padding: 4px 18px 10px; }

.dp-voice-channel-name {
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-voice-channel-name svg { color: var(--hd-blue); opacity: 0.6; }

.dp-voice-members { display: flex; flex-wrap: wrap; gap: 6px; }

.dp-voice-member {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 224, 255, 0.04);
  border: 1px solid rgba(0, 224, 255, 0.1);
  border-radius: 20px;
  padding: 3px 9px 3px 4px;
  font-size: 11px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.dp-voice-member:hover {
  background: rgba(0, 224, 255, 0.09);
  border-color: rgba(0, 224, 255, 0.25);
  color: var(--text-primary);
}

.dp-voice-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: rgba(0, 224, 255, 0.06);
}

.dp-voice-av-fallback {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 224, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--hd-blue);
  font-family: var(--font-display);
}

/* ── Footer / Join Button ─────────────────────────── */
.dp-footer { padding: 14px 18px 18px; }

.dp-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.1), rgba(0, 80, 160, 0.12));
  border: 1px solid rgba(0, 224, 255, 0.28);
  color: var(--hd-blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.dp-join-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.07), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.dp-join-btn:hover {
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.18), rgba(0, 80, 160, 0.22));
  border-color: rgba(0, 224, 255, 0.55);
  color: #fff;
  box-shadow: 0 0 32px rgba(0, 224, 255, 0.18), 0 4px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.dp-join-btn:hover::before { opacity: 1; }
.dp-join-btn:active { transform: translateY(0); }

.dp-refresh-note {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 9px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.discord-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.dc-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dc-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
  color: #8b9cf8;
  flex-shrink: 0;
}

.dc-feature h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dc-feature p {
  font-size: 14px;
  color: var(--text-secondary);
}

.discord-cta-btn {
  background: linear-gradient(135deg, #5865F2, #4752C4) !important;
  border-color: rgba(88, 101, 242, 0.5) !important;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.25) !important;
}

.discord-cta-btn:hover {
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.5) !important;
}

/* ══════════════════════ JOIN STEPS ══════════════════════ */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 159, 255, 0.1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 159, 255, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 159, 255, 0.08);
  border: 1px solid rgba(26, 159, 255, 0.15);
  color: var(--hd-blue);
  margin: 0 auto 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hd-blue);
  background: none;
  border: none;
  cursor: pointer;
  transition: gap var(--transition);
}

.step-link:hover { gap: 10px; }

.step-connector {
  padding: 0 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ══════════════════════ RULES ═══════════════════════════ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.rule-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.rule-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--hd-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}

.rule-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rule-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rule-full {
  grid-column: span 3;
  background: rgba(26, 159, 255, 0.05);
  border-color: rgba(26, 159, 255, 0.2);
}

.rule-cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rule-cta-content .rule-number {
  font-size: 28px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.rule-cta-content > div { flex: 1; }
.rule-cta-content h4 { font-size: 16px; }

/* ══════════════════════ FOOTER ══════════════════════════ */
#footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(26, 159, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-logo-fallback {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-brand-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hd-blue);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col li a,
.footer-col li span {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col li a:hover { color: var(--text-primary); }

.footer-bottom {
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}

.footer-socials { display: flex; gap: 12px; }

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-social-link:hover {
  border-color: rgba(88, 101, 242, 0.5);
  color: #8b9cf8;
  background: rgba(88, 101, 242, 0.1);
}

/* ══════════════════════ SCROLL ANIMATIONS ═══════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════ JOBS & FRAKTIONEN ═══════════════ */
.jobs-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.jobs-tab {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.jobs-tab:hover {
  border-color: var(--border-bright);
  color: var(--text-primary);
}

.jobs-tab.active {
  background: linear-gradient(135deg, var(--hd-blue), #0070CC);
  border-color: rgba(26,159,255,0.5);
  color: #fff;
  box-shadow: 0 0 20px rgba(26,159,255,0.25);
}

.jobs-tab[data-tab="illegal"].active {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 20px rgba(168,85,247,0.25);
}

.jobs-panel { display: block; }
.jobs-panel.hidden { display: none; }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.job-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,159,255,0.08);
}

.job-card:hover::before { opacity: 1; }

.job-card-soon {
  opacity: 0.5;
  pointer-events: none;
}

.job-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-blue  { background: rgba(26,159,255,0.1);  border: 1px solid rgba(26,159,255,0.2);  color: var(--hd-blue); }
.job-orange{ background: rgba(255,107,26,0.1);  border: 1px solid rgba(255,107,26,0.2);  color: var(--hd-orange); }
.job-red   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.2);   color: #ef4444; }
.job-purple{ background: rgba(168,85,247,0.1);  border: 1px solid rgba(168,85,247,0.2);  color: #a855f7; }
.job-muted { background: var(--bg-card);         border: 1px solid var(--border);          color: var(--text-muted); }

.job-info { flex: 1; }

.job-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: rgba(26,159,255,0.1);
  border: 1px solid rgba(26,159,255,0.2);
  color: var(--hd-blue);
}

.job-tag.illegal {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.25);
  color: #a855f7;
}

.job-tag.soon {
  background: rgba(232,244,255,0.06);
  border-color: var(--border);
  color: var(--text-muted);
}

.job-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.job-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.job-slots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
  align-self: flex-end;
}

.job-slots span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.job-slots small {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ══════════════════════ CAR SHOWCASE ════════════════════ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.car-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,159,255,0.1);
}

.car-wide {
  grid-column: span 2;
}

.car-category {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hd-orange);
}

.car-visual {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-silhouette {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(26,159,255,0.2));
  transition: filter 0.3s ease;
}

.car-card:hover .car-silhouette {
  filter: drop-shadow(0 0 16px rgba(26,159,255,0.5)) drop-shadow(0 4px 16px rgba(26,159,255,0.3));
}

.car-muscle:hover .car-silhouette,
.car-motorcycle:hover .car-silhouette,
.car-lowrider:hover .car-silhouette {
  filter: drop-shadow(0 0 16px rgba(255,107,26,0.5)) drop-shadow(0 4px 16px rgba(255,107,26,0.3));
}

.car-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.car-card:hover .car-glow { opacity: 0.6; }
.car-glow-blue   { background: var(--hd-blue); }
.car-glow-orange { background: var(--hd-orange); }

.car-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.car-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.car-stat-item:last-child { border-bottom: none; }

.car-stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.car-stat-val {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.car-count {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hd-blue);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.car-muscle .car-count,
.car-motorcycle .car-count,
.car-lowrider .car-count { color: var(--hd-orange); }

/* ══════════════════════ CITY DISTRICTS ══════════════════ */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.district-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.district-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transition: opacity var(--transition);
}

.district-vinewood::before  { background: linear-gradient(to right, var(--hd-blue), #0070CC); }
.district-southside::before { background: linear-gradient(to right, #a855f7, #ef4444); }
.district-downtown::before  { background: linear-gradient(to right, var(--hd-orange), var(--hd-blue)); }
.district-port::before      { background: linear-gradient(to right, #ef4444, #a855f7); }

.district-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* subtle background city art */
.district-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.04;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.district-card:hover::after { opacity: 0.08; }
.district-vinewood::after  { background: var(--hd-blue);   }
.district-southside::after { background: #a855f7; }
.district-downtown::after  { background: var(--hd-orange); }
.district-port::after      { background: #ef4444; }

.district-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.district-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.district-danger {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.district-danger.low  { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.25);  color: #22c55e; }
.district-danger.mid  { background: rgba(255,107,26,0.1); border: 1px solid rgba(255,107,26,0.25); color: var(--hd-orange); }
.district-danger.high { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #ef4444; }

.district-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.district-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-tags span {
  padding: 4px 12px;
  background: rgba(232,244,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1024px) {
  .status-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .discord-layout { grid-template-columns: 1fr; }
  .discord-widget-wrap { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .car-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .rule-full { grid-column: span 1; }
  .rule-cta-content { flex-direction: column; align-items: flex-start; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 8px 0; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat-divider { width: 60px; height: 1px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .jobs-grid { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .car-wide { grid-column: span 2; }
  .districts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
