/* ==========================================================================
   MAYANK MANJUL PORTFOLIO - HUD & ENGINE THEME STYLING
   ========================================================================== */

/* Color Themes */
body.theme-unreal-cyan {
  --theme-accent: #00f2fe;
  --theme-accent-rgb: 0, 242, 254;
  --theme-accent-secondary: #4facfe;
  --border-color: rgba(0, 242, 254, 0.28);
  --border-glow: rgba(0, 242, 254, 0.55);
}

body.theme-amber-gold {
  --theme-accent: #ffb800;
  --theme-accent-rgb: 255, 184, 0;
  --theme-accent-secondary: #ff8000;
  --border-color: rgba(255, 184, 0, 0.3);
  --border-glow: rgba(255, 184, 0, 0.55);
}

body.theme-matrix-green {
  --theme-accent: #00f090;
  --theme-accent-rgb: 0, 240, 144;
  --theme-accent-secondary: #00b4d8;
  --border-color: rgba(0, 240, 144, 0.3);
  --border-glow: rgba(0, 240, 144, 0.55);
}

body.theme-crimson-red {
  --theme-accent: #ff3366;
  --theme-accent-rgb: 255, 51, 102;
  --theme-accent-secondary: #ff758c;
  --border-color: rgba(255, 51, 102, 0.3);
  --border-glow: rgba(255, 51, 102, 0.55);
}

/* CRT Scanlines and Screen Vignette */
.hud-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  opacity: 0.35;
}

.hud-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 98;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
}

/* Top Engine Telemetry Bar */
.engine-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.telemetry-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.engine-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.engine-logo-glyph {
  color: var(--theme-accent);
  font-size: 1.1rem;
  animation: glyphPulse 3s infinite ease-in-out;
}

@keyframes glyphPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); text-shadow: 0 0 8px var(--theme-accent); }
}

.engine-title .highlight {
  color: var(--theme-accent);
}

.build-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: var(--text-secondary);
}

.telemetry-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 24, 40, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 2px 10px;
  border-radius: 3px;
}

.live-indicator .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.pill-label {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.pill-value {
  color: var(--text-highlight);
  font-weight: 600;
}

/* Control Buttons in Top Bar */
.hud-control-btn {
  background: rgba(18, 30, 48, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.hud-control-btn:hover {
  background: rgba(var(--theme-accent-rgb), 0.2);
  border-color: var(--theme-accent);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(var(--theme-accent-rgb), 0.3);
}

.btn-terminal-pill {
  border-color: var(--theme-accent);
  color: var(--theme-accent);
}

/* Theme Menu Dropdown */
.theme-dropdown-wrapper {
  position: relative;
}

.theme-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 12px rgba(var(--theme-accent-rgb), 0.2);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
  z-index: 150;
}

.theme-menu button {
  background: transparent;
  border: none;
  padding: 6px 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: left;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.theme-menu button:hover,
.theme-menu button.active {
  background: rgba(var(--theme-accent-rgb), 0.15);
  color: #ffffff;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.swatch.cyan { background: #00f2fe; }
.swatch.amber { background: #ffb800; }
.swatch.green { background: #00f090; }
.swatch.red { background: #ff3366; }

/* HUD Navigation Deck */
.hud-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(10, 16, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.25);
  z-index: 95;
  overflow-x: auto;
  scrollbar-width: none;
}

.hud-nav::-webkit-scrollbar {
  display: none;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 4px;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: var(--text-secondary);
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  position: relative;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(var(--theme-accent-rgb), 0.08);
}

.nav-item.active {
  color: var(--theme-accent);
  border-bottom-color: var(--theme-accent);
  background: rgba(var(--theme-accent-rgb), 0.12);
  text-shadow: 0 0 8px rgba(var(--theme-accent-rgb), 0.5);
}

.nav-item.active .nav-index {
  color: var(--theme-accent);
}

/* ==========================================================================
   HERO / COMMAND CENTER SECTION
   ========================================================================== */

.hero-section {
  min-height: calc(100vh - var(--header-height) - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.bracket-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--theme-accent);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bracket-tag .bracket {
  color: var(--text-muted);
}

.hero-name {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-name .name-accent {
  color: var(--theme-accent);
  text-shadow: 0 0 20px rgba(var(--theme-accent-rgb), 0.5);
}

.hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-bio {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-bio strong {
  color: #ffffff;
}

/* Quick Metrics Deck */
.quick-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

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

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--theme-accent);
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--theme-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(var(--theme-accent-rgb), 0.2);
}

.metric-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-highlight);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-unit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--theme-accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.metric-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* Hero Button Deck */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Generic HUD Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  border: none;
}

.btn.hud-btn.primary {
  background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-secondary) 100%);
  color: #040810;
  box-shadow: 0 4px 16px rgba(var(--theme-accent-rgb), 0.4);
}

.btn.hud-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--theme-accent-rgb), 0.6);
  color: #000000;
}

.btn.hud-btn.highlight-download {
  background: linear-gradient(135deg, #00f090 0%, #00b4d8 100%);
  color: #020c18;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 240, 144, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.btn.hud-btn.highlight-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 240, 144, 0.7);
  color: #000000;
  border-color: #ffffff;
}

.btn.hud-btn.highlight-download .btn-icon {
  animation: downloadBounce 1.5s infinite ease-in-out;
}

@keyframes downloadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.resume-quick-link {
  border-color: var(--accent-emerald) !important;
  color: var(--accent-emerald) !important;
  font-weight: 700;
  text-decoration: none;
}

.resume-quick-link:hover {
  background: rgba(0, 240, 144, 0.2) !important;
  box-shadow: 0 0 12px rgba(0, 240, 144, 0.4) !important;
  color: #ffffff !important;
}

.btn.hud-btn.secondary {
  background: rgba(18, 30, 48, 0.8);
  border: 1px solid var(--border-color);
  color: #ffffff;
}

.btn.hud-btn.secondary:hover {
  background: rgba(var(--theme-accent-rgb), 0.15);
  border-color: var(--theme-accent);
  transform: translateY(-2px);
}

.btn.hud-btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn.hud-btn.outline:hover {
  border-color: var(--theme-accent);
  color: #ffffff;
  background: rgba(var(--theme-accent-rgb), 0.1);
}

.btn.small {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn.full-width {
  width: 100%;
}

/* ==========================================================================
   TACTICAL VIEWPORT / AGENT PROFILE CARD (HERO RIGHT)
   ========================================================================== */

.hud-panel-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(var(--theme-accent-rgb), 0.05);
}

.panel-header {
  padding: 10px 16px;
  background: rgba(12, 18, 30, 0.95);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--theme-accent);
  letter-spacing: 0.08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-arrow-btn {
  background: rgba(18, 30, 48, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.carousel-arrow-btn:hover {
  background: rgba(var(--theme-accent-rgb), 0.25);
  border-color: var(--theme-accent);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(var(--theme-accent-rgb), 0.4);
}

.panel-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
}

.indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.indicator-dot.active {
  width: 24px;
  height: 11px;
  border-radius: 5px;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

/* Pause indicator symbol on active dot when mouse is hovering the carousel */
.hud-panel-frame.is-paused .indicator-dot.active {
  background: var(--accent-emerald);
  box-shadow: 0 0 12px rgba(0, 240, 144, 0.9);
  cursor: default;
}

.hud-panel-frame.is-paused .indicator-dot.active::before,
.hud-panel-frame.is-paused .indicator-dot.active::after {
  content: '';
  display: inline-block;
  width: 2.5px;
  height: 6.5px;
  background: #070a0f;
  border-radius: 0.5px;
  margin: 0 1px;
}

/* Tactical Carousel Slides & Viewport */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 480px;
}

.carousel-slide {
  display: none;
  animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 22px;
}

.carousel-slide.active {
  display: block;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide 2: Technical Radar Canvas */
.radar-canvas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.radar-chart-canvas {
  width: 100%;
  max-width: 320px;
  height: 220px;
  display: block;
}

.radar-metrics-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  margin-top: 10px;
}

.radar-stat-chip {
  background: rgba(12, 20, 32, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--theme-accent);
  padding: 5px 8px;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
}

/* Slide 3: Runtime Profiling Deck */
.profiling-grid-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.profiling-stat-card {
  background: rgba(14, 24, 40, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 12px;
}

.stat-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.stat-card-val {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.stat-card-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--theme-accent);
}

.profiling-pipeline-flow {
  background: rgba(8, 14, 24, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

/* Slide 4: Shipped Milestones Showcase */
.milestones-deck {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone-mini-card {
  background: rgba(14, 24, 40, 0.75);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--theme-accent);
  border-radius: 4px;
  padding: 10px 12px;
  transition: all var(--transition-fast);
}

.milestone-mini-card:hover {
  background: rgba(var(--theme-accent-rgb), 0.12);
  border-color: var(--theme-accent);
  transform: translateX(3px);
}

.mini-card-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-bottom: 2px;
}

.mini-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.mini-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.tactical-display {
  padding: 24px;
}

.avatar-holo-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--theme-accent);
  pointer-events: none;
}

.holo-ring.outer {
  width: 100%;
  height: 100%;
  animation: rotateClockwise 20s linear infinite;
  opacity: 0.6;
}

.holo-ring.inner {
  width: 80%;
  height: 80%;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.4);
  animation: rotateCounter 14s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Circular Holographic Avatar Photo Frame */
.avatar-photo-frame {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--theme-accent);
  box-shadow: 0 0 24px rgba(var(--theme-accent-rgb), 0.45);
  background: #070a0f;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-photo-frame:hover {
  transform: scale(1.06);
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(var(--theme-accent-rgb), 0.7);
}

.avatar-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.avatar-photo-frame:hover .avatar-photo-img {
  transform: scale(1.08);
}

.avatar-photo-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.08) 0%, rgba(7, 10, 15, 0.35) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.avatar-photo-frame .avatar-title-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 11, 19, 0.88);
  border: 1px solid var(--theme-accent);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.avatar-ascii-box {
  width: 90px;
  height: 90px;
  background: rgba(18, 28, 45, 0.85);
  border: 1px solid var(--theme-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(var(--theme-accent-rgb), 0.3);
}

.avatar-initials {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.avatar-title-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--theme-accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.telemetry-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 8px;
  background: rgba(12, 20, 32, 0.6);
  border-radius: 3px;
  border-left: 2px solid var(--theme-accent);
  gap: 12px;
}

.spec-key {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.spec-val {
  color: var(--text-primary);
  text-align: right;
  font-weight: 500;
}

.spec-val.highlight {
  color: #ffffff;
  font-weight: 700;
}

/* Tactical Interactive Radar */
.tactical-radar-box {
  width: 100%;
  height: 90px;
  background: rgba(8, 14, 24, 0.8);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.3);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 8px;
}

.radar-scanline {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--theme-accent-rgb), 0.2), transparent);
  animation: radarSweep 3.5s linear infinite;
}

@keyframes radarSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

.radar-target {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 10px var(--theme-accent);
  animation: pingTarget 2s infinite ease-out;
}

@keyframes pingTarget {
  0% { transform: scale(0.8); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.8); opacity: 1; }
}

.radar-readout {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--theme-accent);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

.panel-footer {
  padding: 8px 16px;
  background: rgba(10, 15, 24, 0.9);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
