/* =============================================
   VirusV — FiveM Zombie Survival
   Design: Terminal UI / Cinematic Post-Apocalyptic
   ============================================= */

/* --- Variables --- */
:root {
  --zd-bg: #030504;
  --zd-bg-soft: #080B09;
  --zd-panel: rgba(9, 12, 10, 0.88);
  --zd-panel-strong: rgba(5, 7, 6, 0.94);
  --zd-text: #F2EADC;
  --zd-muted: #A69D8C;
  --zd-amber: #D7A647;
  --zd-violet: #8b5cf6;
  --zd-orange: #B8732E;
  --zd-red: #C84A36;
  --zd-danger: #8F2D24;
  --zd-green: #4A7A5A;
  --zd-border: rgba(215, 166, 71, 0.24);
  --zd-border-soft: rgba(255, 255, 255, 0.09);
  --zd-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
  --zd-glow: 0 0 30px rgba(215, 166, 71, 0.08);
  --zd-glow-strong: 0 0 40px rgba(215, 166, 71, 0.15);
  --zd-radius: 12px;
  --zd-radius-sm: 8px;
  --zd-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --zd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --zd-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --zd-header-height: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--zd-bg);
}

body {
  font-family: var(--zd-font);
  background-color: var(--zd-bg);
  color: var(--zd-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Noise Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 512px 512px;
}

/* --- Scanlines --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.06) 2px,
    rgba(0, 0, 0, 0.06) 4px
  );
}

/* --- Grid Background --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(215, 166, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 166, 71, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* --- Ambient Fog --- */
.ambient-fog {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 20% 30%, rgba(215, 166, 71, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(200, 74, 54, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 50% 10%, rgba(184, 115, 46, 0.02) 0%, transparent 50%);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.15;
  color: var(--zd-text);
}

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

a {
  color: var(--zd-amber);
  text-decoration: none;
  transition: color var(--zd-transition);
}
a:hover { color: var(--zd-orange); }

p { margin-bottom: 1rem; color: var(--zd-muted); line-height: 1.7; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--zd-amber);
  color: var(--zd-bg);
}

/* --- Utility --- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header .highlight {
  background: linear-gradient(135deg, var(--zd-amber), var(--zd-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.amber { color: var(--zd-amber); }

/* --- Glitch Text Effect (subtle, hover-only) --- */
.glitch {
  position: relative;
  text-shadow:
    0 0 2px rgba(215, 166, 71, 0.08),
    0 0 8px rgba(215, 166, 71, 0.04);
  transition: text-shadow var(--zd-transition);
}

.glitch:hover {
  text-shadow:
    0 0 2px rgba(215, 166, 71, 0.12),
    0 0 12px rgba(215, 166, 71, 0.06);
}

.glitch::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: var(--zd-red);
  opacity: 0;
  transition: opacity var(--zd-transition);
  z-index: -1;
}

.glitch:hover::before {
  opacity: 0.5;
  animation: glitch-scan 0.6s ease-in-out;
}

@keyframes glitch-scan {
  0% { transform: translate(0); opacity: 0; }
  10% { transform: translate(-1px, 1px); opacity: 0.6; }
  20% { transform: translate(1px, -1px); opacity: 0.4; }
  30% { transform: translate(-1px, -0.5px); opacity: 0.5; }
  40% { transform: translate(1px, 0.5px); opacity: 0.3; }
  50% { transform: translate(-0.5px, 1px); opacity: 0.4; }
  60% { transform: translate(0.5px, -1px); opacity: 0.2; }
  70% { transform: translate(-1px, 0); opacity: 0.3; }
  80% { transform: translate(1px, 0); opacity: 0.1; }
  100% { transform: translate(0); opacity: 0; }
}

/* --- Terminal Badge --- */
.terminal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--zd-border);
  border-radius: 2px;
  font-family: var(--zd-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--zd-amber);
  background: rgba(215, 166, 71, 0.04);
}

.terminal-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--zd-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Glass Card --- */
.glass-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius);
  padding: 28px;
  transition: all var(--zd-transition);
  box-shadow: var(--zd-shadow);
}

.glass-card:hover {
  border-color: rgba(215, 166, 71, 0.35);
  box-shadow: var(--zd-glow), var(--zd-shadow);
  transform: translateY(-2px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: 2px;
  font-family: var(--zd-font);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--zd-transition);
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--zd-amber), var(--zd-orange));
  color: var(--zd-bg);
  box-shadow: 0 0 30px rgba(215, 166, 71, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--zd-orange), var(--zd-amber));
  opacity: 0;
  transition: opacity var(--zd-transition);
}

.btn-primary:hover {
  box-shadow: 0 0 45px rgba(215, 166, 71, 0.3);
  transform: translateY(-2px);
  color: var(--zd-bg);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--zd-amber);
  border: 1px solid var(--zd-border);
}

.btn-outline:hover {
  background: rgba(215, 166, 71, 0.06);
  border-color: var(--zd-amber);
  color: var(--zd-amber);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(215, 166, 71, 0.08);
}

.btn-sm {
  padding: 7px 18px;
  font-size: 0.78rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--zd-header-height);
  background: var(--zd-panel-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--zd-border);
  transition: background var(--zd-transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--zd-text);
  letter-spacing: 0.06em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zd-mono);
  text-transform: uppercase;
}

.logo:hover { color: var(--zd-text); }

.alpha-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 0.55rem;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zd-amber);
  border: 1px solid var(--zd-border);
  background: rgba(215, 166, 71, 0.06);
  border-radius: 2px;
  line-height: 1.2;
  margin-left: 4px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--zd-amber), var(--zd-orange));
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--zd-bg);
}

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

.nav a {
  padding: 7px 13px;
  font-size: 0.8rem;
  color: var(--zd-muted);
  border-radius: 2px;
  transition: all var(--zd-transition);
  text-decoration: none;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav a:hover,
.nav a.active {
  color: var(--zd-amber);
  background: rgba(215, 166, 71, 0.06);
}

.nav a.discord-link {
  color: var(--zd-amber);
  border: 1px solid var(--zd-border);
  padding: 6px 14px;
  margin-left: 6px;
}
.nav a.discord-link:hover {
  background: rgba(215, 166, 71, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--zd-text);
  border-radius: 1px;
  transition: all var(--zd-transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--zd-header-height) + 30px) 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-city {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 60% 100%, rgba(5, 7, 6, 1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 40% 60%, rgba(200, 74, 54, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 40%, rgba(215, 166, 71, 0.03) 0%, transparent 50%);
}

.hero-bg-silhouettes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background:
    linear-gradient(0deg, rgba(3, 5, 4, 0.95) 0%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'%3E%3Crect x='0' y='200' width='30' height='100' fill='%23030504' opacity='0.8'/%3E%3Crect x='40' y='180' width='25' height='120' fill='%23030504' opacity='0.7'/%3E%3Crect x='80' y='190' width='35' height='110' fill='%23030504' opacity='0.75'/%3E%3Crect x='130' y='170' width='20' height='130' fill='%23030504' opacity='0.65'/%3E%3Crect x='170' y='195' width='40' height='105' fill='%23030504' opacity='0.7'/%3E%3Crect x='230' y='185' width='28' height='115' fill='%23030504' opacity='0.75'/%3E%3Crect x='280' y='175' width='22' height='125' fill='%23030504' opacity='0.6'/%3E%3Crect x='320' y='200' width='45' height='100' fill='%23030504' opacity='0.8'/%3E%3Crect x='400' y='190' width='30' height='110' fill='%23030504' opacity='0.7'/%3E%3Crect x='450' y='180' width='35' height='120' fill='%23030504' opacity='0.65'/%3E%3Crect x='510' y='195' width='25' height='105' fill='%23030504' opacity='0.75'/%3E%3Crect x='560' y='170' width='40' height='130' fill='%23030504' opacity='0.7'/%3E%3Crect x='630' y='185' width='28' height='115' fill='%23030504' opacity='0.65'/%3E%3Crect x='680' y='200' width='32' height='100' fill='%23030504' opacity='0.8'/%3E%3Crect x='740' y='190' width='25' height='110' fill='%23030504' opacity='0.7'/%3E%3Crect x='790' y='175' width='38' height='125' fill='%23030504' opacity='0.6'/%3E%3Crect x='850' y='195' width='30' height='105' fill='%23030504' opacity='0.75'/%3E%3Crect x='910' y='180' width='22' height='120' fill='%23030504' opacity='0.65'/%3E%3Crect x='960' y='200' width='35' height='100' fill='%23030504' opacity='0.8'/%3E%3Crect x='1030' y='185' width='28' height='115' fill='%23030504' opacity='0.7'/%3E%3Crect x='1090' y='170' width='20' height='130' fill='%23030504' opacity='0.6'/%3E%3Crect x='1140' y='190' width='40' height='110' fill='%23030504' opacity='0.75'/%3E%3C/svg%3E") repeat-x bottom;
  background-size: 1200px 100%;
  animation: drift-silhouettes 30s linear infinite;
  z-index: 1;
}

@keyframes drift-silhouettes {
  0% { background-position: 0 bottom; }
  100% { background-position: -1200px bottom; }
}

.hero .container {
  z-index: 2;
}

.hero-content {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

.hero-right {
  flex-shrink: 0;
  width: 380px;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--zd-amber), var(--zd-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--zd-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-footer {
  margin-top: 20px;
  font-family: var(--zd-mono);
  font-size: 0.68rem;
  color: var(--zd-muted);
  letter-spacing: 0.04em;
}

.hero-footer .dot-pulse {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--zd-green);
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-dot 2s infinite;
}

/* --- Status Panel --- */
.status-panel {
  border: 1px solid var(--zd-border);
  background: var(--zd-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--zd-border);
  font-family: var(--zd-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--zd-amber);
}

.status-panel-header::before {
  content: '\25A0';
  font-size: 0.5rem;
  color: var(--zd-green);
}

.status-panel-body {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 166, 71, 0.1);
  background: rgba(3, 5, 4, 0.5);
  border-radius: 2px;
  transition: border-color var(--zd-transition), background var(--zd-transition);
}

.summary-item:hover {
  border-color: rgba(215, 166, 71, 0.2);
  background: rgba(9, 12, 10, 0.6);
}

.summary-label {
  font-family: var(--zd-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zd-muted);
  line-height: 1.2;
}

.summary-value {
  font-family: var(--zd-mono);
  font-size: 0.82rem;
  color: var(--zd-text);
  line-height: 1.3;
  font-weight: 500;
}

.summary-value.amber { color: var(--zd-amber); }
.summary-value.green { color: var(--zd-green); }
.summary-value.red { color: var(--zd-red); }

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 24px;
  transition: all var(--zd-transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-amber), transparent);
  opacity: 0;
  transition: opacity var(--zd-transition);
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
  border-color: rgba(215, 166, 71, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--zd-glow);
}

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

.feature-card-top .tag {
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid var(--zd-border);
  color: var(--zd-muted);
  border-radius: 2px;
}

.feature-card h3 {
  font-size: 0.92rem;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.7;
}

/* --- Terminal Divider --- */
.terminal-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
  font-family: var(--zd-mono);
  font-size: 0.68rem;
  color: var(--zd-amber);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.terminal-divider::before,
.terminal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-border), transparent);
}

/* --- Mechanic Card (terminal) --- */
.mechanic-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 20px;
  transition: all var(--zd-transition);
  position: relative;
}

.mechanic-card::after {
  content: '>';
  font-family: var(--zd-mono);
  color: var(--zd-amber);
  font-size: 0.7rem;
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: 0.3;
}

.mechanic-card:hover {
  border-color: rgba(215, 166, 71, 0.35);
  box-shadow: var(--zd-glow-strong), var(--zd-shadow);
  transform: translateY(-2px);
}

.mechanic-card h4 {
  font-size: 0.88rem;
  margin-bottom: 6px;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mechanic-card p {
  font-size: 0.82rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Info Blocks --- */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.info-block:last-child { margin-bottom: 0; }

.info-text h3 {
  margin-bottom: 14px;
}

.info-text p {
  color: var(--zd-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.info-cards {
  display: grid;
  gap: 10px;
}

.info-cards .mechanic-card {
  padding: 16px 18px;
}

.info-cards .mechanic-card h4 {
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.info-cards .mechanic-card p {
  font-size: 0.78rem;
}

.info-visual {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--zd-amber);
  position: relative;
  overflow: hidden;
}

.info-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(215, 166, 71, 0.04) 0%, transparent 60%);
}

/* --- CTA Block --- */
.cta-block {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-amber), transparent);
}

.cta-block h2 {
  margin-bottom: 12px;
}

.cta-block p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--zd-muted);
  font-size: 0.95rem;
}

.cta-block .btn-group {
  justify-content: center;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--zd-border);
  margin-bottom: 8px;
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color var(--zd-transition);
}

.faq-item:hover {
  border-color: rgba(215, 166, 71, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--zd-text);
  font-family: var(--zd-font);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color var(--zd-transition);
}

.faq-question:hover { color: var(--zd-amber); }

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--zd-transition);
  color: var(--zd-amber);
  font-family: var(--zd-mono);
  font-size: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--zd-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* --- News Cards --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  overflow: hidden;
  transition: all var(--zd-transition);
}

.news-card:hover {
  border-color: rgba(215, 166, 71, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--zd-glow);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--zd-panel), var(--zd-bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-amber);
  font-size: 1.5rem;
  font-family: var(--zd-mono);
  border-bottom: 1px solid var(--zd-border);
}

.news-card-body {
  padding: 22px;
}

.news-card-meta {
  display: flex;
  gap: 8px;
  font-family: var(--zd-mono);
  font-size: 0.7rem;
  color: var(--zd-muted);
  margin-bottom: 10px;
  align-items: center;
}

.news-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.news-card p {
  font-size: 0.85rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.7;
}

.news-card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--zd-border);
  font-size: 0.8rem;
  font-family: var(--zd-mono);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 0.75rem;
  color: var(--zd-muted);
  flex-wrap: wrap;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: var(--zd-muted);
  text-decoration: none;
  transition: color var(--zd-transition);
}

.breadcrumbs a:hover { color: var(--zd-amber); }

.breadcrumbs .sep {
  color: var(--zd-border);
  font-size: 0.65rem;
}

.breadcrumbs .current {
  color: var(--zd-amber);
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

table thead th {
  background: var(--zd-panel);
  border-bottom: 1px solid var(--zd-border);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--zd-amber);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--zd-mono);
}

table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(215, 166, 71, 0.06);
  color: var(--zd-text);
}

table tbody tr:hover td {
  background: rgba(215, 166, 71, 0.03);
}

/* --- Message Boxes --- */
.msg-box {
  padding: 14px 18px;
  border-left: 2px solid;
  margin: 16px 0;
  font-size: 0.88rem;
  background: var(--zd-panel);
}

.msg-box.info {
  border-color: var(--zd-amber);
  color: var(--zd-muted);
}

.msg-box.warning {
  border-color: var(--zd-red);
  color: #e0b8b0;
}

.msg-box strong {
  color: var(--zd-text);
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Page Header --- */
.page-header {
  padding: calc(var(--zd-header-height) + 36px) 0 36px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--zd-border);
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--zd-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* --- Content sections --- */
.content-section {
  padding: 52px 0;
}

.content-section h2 {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--zd-border);
}

.content-section h3 {
  margin: 24px 0 10px;
  color: var(--zd-amber);
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.content-section h4 {
  margin: 18px 0 6px;
}

.content-section ul, .content-section ol {
  padding-left: 20px;
  margin: 10px 0 18px;
  color: var(--zd-muted);
}

.content-section li {
  margin-bottom: 6px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.content-section ul li::marker {
  color: var(--zd-amber);
}

/* --- Steps --- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.step-item {
  display: flex;
  gap: 18px;
  padding: 18px 22px;
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  transition: border-color var(--zd-transition);
}

.step-item:hover {
  border-color: rgba(215, 166, 71, 0.25);
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: rgba(215, 166, 71, 0.06);
  border: 1px solid var(--zd-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--zd-amber);
  font-family: var(--zd-mono);
}

.step-content h4 {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--zd-muted);
  margin: 0;
}

/* --- Shelter Cards --- */
.shelter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.shelter-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 22px;
  transition: all var(--zd-transition);
}

.shelter-card:hover {
  border-color: rgba(215, 166, 71, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--zd-glow);
}

.shelter-card h3 {
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shelter-status {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  border-radius: 2px;
}

.shelter-status.safe { background: rgba(74, 122, 90, 0.1); color: var(--zd-green); border: 1px solid rgba(74, 122, 90, 0.2); }
.shelter-status.danger { background: rgba(200, 74, 54, 0.1); color: var(--zd-red); border: 1px solid rgba(200, 74, 54, 0.2); }

.shelter-card p {
  font-size: 0.82rem;
  color: var(--zd-muted);
  margin: 0;
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(215, 166, 71, 0.06);
  color: var(--zd-amber);
  border: 1px solid rgba(215, 166, 71, 0.15);
  border-radius: 2px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.tag-status {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border-radius: 2px;
}

.tag-status.live { background: rgba(74, 122, 90, 0.1); color: var(--zd-green); border: 1px solid rgba(74, 122, 90, 0.2); }
.tag-status.testing { background: rgba(215, 166, 71, 0.08); color: var(--zd-amber); border: 1px solid rgba(215, 166, 71, 0.15); }
.tag-status.plan { background: rgba(166, 157, 140, 0.08); color: var(--zd-muted); border: 1px solid rgba(166, 157, 140, 0.15); }

/* --- Terminal Inline --- */
.terminal-inline {
  font-family: var(--zd-mono);
  color: var(--zd-amber);
  background: rgba(215, 166, 71, 0.06);
  padding: 1px 6px;
  font-size: 0.85em;
  border-radius: 2px;
}

/* --- Plan cards (news) --- */
.plan-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 18px;
}

.plan-card h4 {
  color: var(--zd-amber);
  font-size: 0.85rem;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.plan-card p {
  font-size: 0.82rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.6;
}

/* --- Feature Showcase (4 big cards) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showcase-card {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 24px;
  transition: all var(--zd-transition);
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-amber), transparent);
  opacity: 0;
  transition: opacity var(--zd-transition);
}

.showcase-card:hover::before {
  opacity: 1;
}

.showcase-card:hover {
  border-color: rgba(215, 166, 71, 0.35);
  box-shadow: var(--zd-glow-strong), var(--zd-shadow);
  transform: translateY(-2px);
}

.showcase-card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.showcase-card .card-icon {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: rgba(215, 166, 71, 0.06);
  border: 1px solid rgba(215, 166, 71, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--zd-mono);
  font-size: 0.65rem;
  color: var(--zd-amber);
  flex-shrink: 0;
}

.showcase-card h3 {
  font-size: 0.85rem;
  font-family: var(--zd-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.showcase-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-card ul li {
  padding: 3px 0;
  font-size: 0.82rem;
  color: var(--zd-muted);
  line-height: 1.6;
  position: relative;
  padding-left: 14px;
}

.showcase-card ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--zd-amber);
  font-family: var(--zd-mono);
  font-size: 0.65rem;
  opacity: 0.6;
}

.showcase-card .tag-count {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  font-family: var(--zd-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(215, 166, 71, 0.12);
  color: var(--zd-muted);
  border-radius: 2px;
}

.showcase-card .tag-count.live {
  border-color: rgba(74, 122, 90, 0.2);
  color: var(--zd-green);
}

/* --- Gameplay Timeline --- */
.gameplay-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
  position: relative;
}

.gameplay-chain::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--zd-border), transparent 80%);
  z-index: 0;
}

.chain-step {
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  padding: 16px;
  position: relative;
  z-index: 1;
  transition: all var(--zd-transition);
}

.chain-step:hover {
  border-color: rgba(215, 166, 71, 0.3);
  box-shadow: var(--zd-glow);
  transform: translateY(-2px);
}

.chain-step .step-num {
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  color: var(--zd-amber);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.chain-step .step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(215, 166, 71, 0.12);
}

.chain-step p {
  font-size: 0.78rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.5;
}

.chain-step p strong {
  color: var(--zd-text);
  font-weight: 500;
}

/* --- USP / Distinction Cards --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.usp-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--zd-panel);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--zd-border);
  transition: all var(--zd-transition);
  align-items: flex-start;
}

.usp-item:hover {
  border-color: rgba(215, 166, 71, 0.25);
  box-shadow: var(--zd-glow);
}

.usp-item .usp-marker {
  font-family: var(--zd-mono);
  font-size: 0.7rem;
  color: var(--zd-amber);
  flex-shrink: 0;
  margin-top: 1px;
}

.usp-item .usp-text {
  font-size: 0.82rem;
  color: var(--zd-muted);
  margin: 0;
  line-height: 1.5;
}

.usp-item .usp-text strong {
  color: var(--zd-text);
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

/* --- Section bar --- */
.section-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-bar::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--zd-amber);
  flex-shrink: 0;
}

.section-bar h2 {
  margin: 0;
  border: none;
  padding: 0;
}

/* --- Footer --- */
.footer {
  background: var(--zd-panel-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--zd-border);
  padding: 44px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand .logo {
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--zd-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zd-amber);
  margin-bottom: 14px;
  font-family: var(--zd-mono);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.82rem;
  color: var(--zd-muted);
  text-decoration: none;
  transition: color var(--zd-transition);
  font-family: var(--zd-mono);
}

.footer-col a:hover { color: var(--zd-amber); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--zd-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--zd-muted);
  font-family: var(--zd-mono);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--zd-bg); }
::-webkit-scrollbar-thumb { background: var(--zd-border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(215, 166, 71, 0.35); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-right {
    width: 100%;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--zd-panel-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--zd-border);
    flex-direction: column;
    align-items: stretch;
    padding: 76px 18px 20px;
    transition: right 0.35s ease;
    gap: 0;
  }

  .nav.open { right: 0; }

  .nav a {
    padding: 11px 14px;
    font-size: 0.82rem;
    border-radius: 2px;
  }

  .nav a.discord-link {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .menu-toggle { display: flex; }

  .status-panel-body {
    grid-template-columns: 1fr 1fr;
  }

  .hero-bg-silhouettes {
    display: none;
  }

  .info-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-visual {
    aspect-ratio: 16 / 9;
    order: -1;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .gameplay-chain {
    grid-template-columns: 1fr 1fr;
  }

  .gameplay-chain::before {
    display: none;
  }

  .usp-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-block {
    padding: 32px 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .page-header {
    padding-top: calc(var(--zd-header-height) + 20px);
  }
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .shelter-grid {
    grid-template-columns: 1fr;
  }

  .status-panel {
    max-width: 100%;
  }

  .status-panel-body {
    grid-template-columns: 1fr;
  }

  .gameplay-chain {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   VirusV professional revamp additions
   Preserve original terminal/cinematic style
   ============================================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  padding: 3px;
  border: 1px solid var(--zd-border);
  background: rgba(7, 8, 7, 0.62);
  border-radius: 999px;
  font-family: var(--zd-mono);
  font-size: .72rem;
  letter-spacing: .08em;
}
.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--zd-muted);
}
.lang-switch .active {
  background: rgba(215, 166, 71, .15);
  color: var(--zd-amber);
  border: 1px solid rgba(215, 166, 71, .25);
}
.logo-icon { background: linear-gradient(135deg, var(--zd-amber), var(--zd-violet)); color: #050504; }
.status-panel-header { letter-spacing: .12em; }
.summary-value.red { color: var(--zd-red); }
.summary-value.amber { color: var(--zd-amber); }
.content-section ul { margin: 18px 0 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.content-section li { position: relative; padding-left: 22px; color: var(--zd-muted); line-height: 1.65; }
.content-section li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--zd-amber); box-shadow: 0 0 10px rgba(215, 166, 71, .45); }
.news-card { background: var(--zd-panel); border: 1px solid var(--zd-border); border-radius: var(--zd-radius); padding: 28px; box-shadow: var(--zd-shadow); }
.news-card h3 { margin: 16px 0 10px; }
code { font-family: var(--zd-mono); color: var(--zd-amber); background: rgba(215, 166, 71, .08); border: 1px solid rgba(215, 166, 71, .14); padding: .16em .42em; border-radius: 4px; }
@media (max-width: 860px) {
  .header .container { flex-wrap: wrap; }
  .lang-switch { order: 3; margin-left: auto; margin-top: 8px; }
}

/* =============================================
   VirusV — New Design Features
   ============================================= */

/* --- Particle Canvas --- */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* --- Status Panel Footer --- */
.status-panel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--zd-border);
  font-family: var(--zd-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--zd-green);
}

.heartbeat {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zd-green);
  animation: heartbeat-pulse 2s ease-in-out infinite;
}

@keyframes heartbeat-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(74, 122, 90, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(74, 122, 90, 0);
  }
}

/* --- Terminal Ticker --- */
.terminal-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  height: 28px;
  background: rgba(3, 5, 4, 0.92);
  border-top: 1px solid var(--zd-border);
  backdrop-filter: blur(8px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--zd-mono);
  font-size: 0.62rem;
  color: var(--zd-amber);
  letter-spacing: 0.04em;
  padding: 0 20px;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-text::before {
  content: '$ ';
  color: var(--zd-green);
}

@keyframes ticker-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* --- Counter Row --- */
.counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.counter-item {
  background: var(--zd-panel);
  border: 1px solid var(--zd-border);
  padding: 20px;
  text-align: center;
  transition: all var(--zd-transition);
  position: relative;
  overflow: hidden;
}

.counter-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-amber), transparent);
  opacity: 0;
  transition: opacity var(--zd-transition);
}

.counter-item:hover::before { opacity: 1; }

.counter-item:hover {
  border-color: rgba(215, 166, 71, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--zd-glow);
}

.counter-number {
  display: block;
  font-family: var(--zd-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--zd-amber);
  line-height: 1.1;
  margin-bottom: 4px;
}

.counter-label {
  font-family: var(--zd-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zd-muted);
}

/* --- Typing Cursor --- */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--zd-amber);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.8s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Mouse Glow Effect --- */
.glow-follow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  background: radial-gradient(circle, rgba(215, 166, 71, 0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* --- Enhanced Section Transitions --- */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zd-border), transparent);
  opacity: 0.3;
}

.section:last-of-type::after {
  display: none;
}

/* --- Ticker pause on hover --- */
.terminal-ticker:hover .ticker-text {
  animation-play-state: paused;
}

/* --- Responsive for new elements --- */
@media (max-width: 768px) {
  .counter-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .terminal-ticker {
    display: none;
  }
  .counter-number {
    font-size: 1.6rem;
  }
}

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

/* --- Glow border on briefing panel --- */
.status-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(215, 166, 71, 0.08), transparent 40%, transparent 60%, rgba(215, 166, 71, 0.05));
  z-index: -1;
  pointer-events: none;
}

/* --- Hero entrance animations --- */
.hero-badge-top {
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero h1 {
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.4s forwards;
}

.hero-sub {
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.6s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.8s forwards;
}

.hero-footer {
  opacity: 0;
  animation: fadeIn 0.8s ease 1.2s forwards;
}

.hero-right {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.6s forwards;
}

/* --- CTA enhanced glow --- */
.cta-block .terminal-inline {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  font-size: 0.75rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(215, 166, 71, 0.05); }
  50% { box-shadow: 0 0 20px rgba(215, 166, 71, 0.15); }
}
