/* ==========================================================================
   AWD STUDIO (webdgo.com) — CONTINUOUS SCROLL-SCRUB CAMERA (Motion.page style)
   Parent Engineering Studio & Digital Forge
   0 Bloat • 5 Canonical Colors • Scrollytelling Cinemático • 120 FPS
   ========================================================================== */

/* Fuentes cargadas vía <link rel="preconnect"> en el <head> de index.html para cero bloqueo de render */

:root {
  /* -------------------------------------------------------------
     1. LOS 5 COLORES CANÓNICOS (Paleta Volcánica Estricta)
     ------------------------------------------------------------- */
  --bg-base: #0B0908;        /* Basalt Carbon: Absorción total de luz */
  --bg-surface: #161311;     /* Charred Timber: Madera quemada / módulos */
  --border-rule: #28221E;    /* Tectonic Seam: Separador geológico 1px */
  --accent-magma: #FF3B00;   /* Molten Magma: Energía incandescente primaria */
  --accent-amber: #C97A1C;   /* Fossil Amber: Telemetría técnica & metadatos */
  --text-chalk: #F5F2EB;     /* Bone Chalk: Tipografía monumental */
  --text-muted: #8E8377;     /* Warm Stone: Cuerpo editorial descansado */
  
  --magma-glow-soft: rgba(255, 59, 0, 0.25);
  --magma-glow-intense: rgba(255, 59, 0, 0.75);

  /* -------------------------------------------------------------
     2. JERARQUÍA TIPOGRÁFICA
     ------------------------------------------------------------- */
  --font-display: 'Chivo', -apple-system, sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --hud-height: 64px;
}

/* -----------------------------------------------------------------
   RESET & FUNDAMENTOS DE RENDER
   ----------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-base);
  color: var(--text-chalk);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: auto; /* El lerp de JS maneja la inercia fluida */
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent-magma);
  color: #000000;
}

a {
  color: inherit;
  text-decoration: none;
}

/* -----------------------------------------------------------------
   PISTA DE SCROLL CONTINUO (300vh de recorrido cinematográfico)
   Inspirado en el patrón de Motion.page / Apple
   ----------------------------------------------------------------- */
.scroll-timeline-wrapper {
  position: relative;
  height: 195vh; /* Pista de scroll compacta y ágil: termina exactamente en el marco terminal */
  width: 100vw;
}

/* El viewport sticky que se mantiene 100% congelado durante todo el scroll */
.sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-base);
}

/* Retícula sutil */
.subterranean-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 80px 80px;
  background-image: 
    linear-gradient(to right, rgba(40, 34, 30, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(40, 34, 30, 0.16) 1px, transparent 1px);
  z-index: 5;
}

/* -----------------------------------------------------------------
   CÁMARA ESPACIAL CONTINUA (Transformación GPU por Scroll-Scrub)
   ----------------------------------------------------------------- */
.camera-rig {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  transform-origin: 50% 50%;
  will-change: transform;
  z-index: 2;
}

.camera-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/yakisugi-hero-master.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: contrast(1.08) brightness(0.96);
  transform: translateZ(0);
}

.thermal-haze-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 40%, rgba(255, 59, 0, 0.2) 0%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
  opacity: 0.2;
}

/* Ascuas sutiles flotantes */
.embers-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.ember-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #FFA500;
  box-shadow: 0 0 8px #FF4500;
  border-radius: 50%;
  opacity: 0;
  animation: emberRise 8s infinite linear;
}

@keyframes emberRise {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-50px) translateX(60px); opacity: 0; }
}

/* -----------------------------------------------------------------
   ACTO 0: COMMAND BAR & HUD (Header de Búnker)
   ----------------------------------------------------------------- */
.hud-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hud-height);
  z-index: 100;
  background: rgba(11, 9, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--text-chalk);
}

.brand-icon {
  width: 14px;
  height: 14px;
  background: var(--accent-magma);
  box-shadow: 0 0 12px var(--accent-magma);
  display: inline-block;
  transform: rotate(45deg);
}

.hud-telemetry {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  padding-left: 18px;
  border-left: 1px solid var(--border-rule);
}

.beacon-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--accent-magma);
  margin-right: 2px;
}

.beacon-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-magma);
  animation: beaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconPing {
  0% { transform: scale(0.8); opacity: 1; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* Stepper de navegación directa */
.stage-stepper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stepper-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  position: relative;
  transition: color 0.3s ease;
  text-align: center;
  line-height: 1.35;
  white-space: nowrap;
}

.stepper-btn:hover {
  color: var(--text-chalk);
}

.stepper-btn.active {
  color: var(--text-chalk);
}

.stepper-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-magma);
  box-shadow: 0 0 10px var(--accent-magma);
}

/* -----------------------------------------------------------------
   PANELES SCRUBBED (Crossfade fluido guiado por scroll)
   ----------------------------------------------------------------- */
.story-panel {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

/* ACTO 1: HERO */
.panel-hero {
  justify-content: center;
  padding-bottom: 0;
  padding-top: 2vh;
  padding-left: max(5vw, 40px);
}

.hero-box {
  max-width: min(520px, 42vw);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(22, 19, 17, 0.88);
  border: 1px solid var(--border-rule);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-amber);
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 108px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text-chalk);
  margin: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
}

.hero-manifesto {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: #dcdad5;
  max-width: 480px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.98);
}

.hero-manifesto strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
}

.btn-magma-pillar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-magma);
  color: #050404;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 28px var(--magma-glow-intense);
  transition: all 0.25s ease;
  user-select: none;
}

.btn-magma-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px var(--accent-magma);
  color: #000;
}

.btn-svg-arrow {
  width: 15px;
  height: 15px;
  stroke: #050404;
  stroke-width: 2.5;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-magma-pillar:hover .btn-svg-arrow {
  transform: translateX(4px);
}

.hero-telemetry-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-telemetry-tag span {
  color: var(--accent-amber);
}

/* ACTO 2: RETÍCULA DE 4 ESQUINAS (CORNERS GRID) - VÓRTICE LIBRE */
.panel-circuits {
  padding: 0;
  justify-content: stretch;
  align-items: stretch;
}

.corners-grid-container {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  padding: 85px 4vw 68px 4vw;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(280px, 420px);
  grid-template-rows: auto auto;
  align-content: space-between;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.corner-card {
  pointer-events: auto;
  background: rgba(14, 11, 10, 0.88);
  border: 1px solid var(--border-rule);
  padding: 20px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  transition: all 0.28s ease;
  position: relative;
}

.corner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border-rule);
  transition: background 0.25s ease;
}

.corner-card:hover {
  border-color: rgba(255, 60, 0, 0.5);
  box-shadow: 0 0 35px rgba(255, 60, 0, 0.22);
  transform: translateY(-2px);
}

.corner-card:hover::before {
  background: var(--accent-magma);
}

.corner-tl {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}

.corner-tr {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  text-align: right;
}
.corner-tr::before {
  left: auto;
  right: 0;
}

.corner-bl {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
}

.corner-br {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  text-align: right;
}
.corner-br::before {
  left: auto;
  right: 0;
}

.corner-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent-magma);
  text-transform: uppercase;
}

.corner-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 800;
  color: var(--text-chalk);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.corner-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.corner-desc strong {
  color: var(--accent-amber);
  font-weight: 600;
}

.corner-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(201, 122, 28, 0.7);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Clases del acordeón antiguo conservadas por compatibilidad */
.circuits-card-hub {
  max-width: 600px;
  background: rgba(14, 11, 10, 0.88);
  border: 1px solid var(--border-rule);
  padding: 36px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.circuits-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-magma);
  text-transform: uppercase;
}

.circuits-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-chalk);
}

.circuits-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Pestañas de Navegación Rápida de Entidades */
.entities-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-rule);
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none; /* Ocultar barra nativa en Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}

.entities-tab-nav::-webkit-scrollbar {
  display: none; /* Ocultar barra nativa en Chrome, Edge y Safari */
}

.entity-tab-btn {
  background: rgba(22, 19, 17, 0.7);
  border: 1px solid var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.entity-tab-btn:hover {
  color: var(--text-chalk);
  border-color: rgba(201, 122, 28, 0.4);
}

.entity-tab-btn.active {
  background: rgba(36, 28, 23, 0.95);
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  box-shadow: 0 0 16px rgba(255, 59, 0, 0.25);
}

.entity-tab-btn .tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.25s ease;
}

.entity-tab-btn.active .tab-dot {
  background: var(--accent-magma);
  box-shadow: 0 0 8px var(--accent-magma);
}

/* Escenario de Ficha Activa (Suben con cada scroll) */
.entities-stage {
  position: relative;
  min-height: 185px;
  display: flex;
  flex-direction: column;
}

.entity-card {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: rgba(22, 19, 17, 0.75);
  border: 1px solid var(--border-rule);
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  animation: entityCardEnter 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.entity-card.active {
  display: flex;
}

@keyframes entityCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entity-card-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.entity-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-magma);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entity-metric {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--accent-amber);
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: rgba(40, 32, 26, 0.8);
  border: 1px solid rgba(201, 122, 28, 0.3);
}

.entity-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  color: var(--text-chalk);
  letter-spacing: -0.01em;
  margin: 0;
}

.entity-card-detail {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.entity-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(50, 42, 36, 0.4);
  padding-top: 10px;
  margin-top: 4px;
}

/* Micro-telemetría de progreso del Acto 2 */
.entities-scroll-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.entity-counter {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-amber);
  letter-spacing: 0.14em;
}

.entity-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(40, 32, 26, 0.8);
  position: relative;
  overflow: hidden;
}

.entity-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent-magma);
  box-shadow: 0 0 8px var(--accent-magma);
  transition: width 0.25s ease;
}

/* ACTO 3: MAGMA CANYON (Terminal & Contacto) */
.panel-magma {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--hud-height) + 10px) 20px calc(52px + 10px) 20px;
  box-sizing: border-box;
}

.terminal-bunker-card {
  max-width: 700px;
  width: 100%;
  max-height: calc(100vh - var(--hud-height) - 68px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-magma) rgba(14, 11, 10, 0.95);
  background: rgba(8, 6, 5, 0.96);
  border: 1px solid rgba(255, 60, 0, 0.4);
  padding: clamp(16px, 2.5vh, 30px) clamp(18px, 3vw, 36px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.98), 0 0 35px rgba(255, 60, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.5vh, 18px);
}

.terminal-bunker-card::-webkit-scrollbar {
  width: 4px;
}

.terminal-bunker-card::-webkit-scrollbar-track {
  background: rgba(14, 11, 10, 0.95);
}

.terminal-bunker-card::-webkit-scrollbar-thumb {
  background: var(--accent-magma);
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-magma);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.terminal-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-chalk);
  margin: 0;
}

.terminal-console {
  width: 100%;
  background: #080605;
  border: 1px solid var(--border-rule);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--accent-amber);
  text-align: left;
}

.terminal-console .console-active { color: var(--accent-magma); }
.terminal-console .console-white { color: var(--text-chalk); }

.btn-terminal-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--accent-magma);
  color: #050404;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 40px var(--magma-glow-intense);
  transition: all 0.25s ease;
}

.btn-terminal-inquiry:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 60px var(--accent-magma);
}

/* AWD CONCIERGE // TERMINAL CHAT STYLES */
.terminal-subline {
  font-family: var(--font-body);
  font-size: clamp(11.5px, 1vw, 13.5px);
  color: var(--text-chalk);
  opacity: 0.88;
  margin: -4px 0 2px 0;
  max-width: 540px;
  line-height: 1.45;
}

.terminal-chat-window {
  width: 100%;
  background: #070504;
  border: 1px solid var(--border-rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.85);
  text-align: left;
}

.chat-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(22, 19, 17, 0.95);
  border-bottom: 1px solid var(--border-rule);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-amber);
  letter-spacing: 0.12em;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 8px #00ff66;
  animation: pulseBeacon 2s infinite;
}

.chat-messages-container {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  max-height: clamp(260px, 38vh, 400px);
  cursor: text;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-magma) rgba(18, 14, 12, 0.8);
}

.chat-messages-container::-webkit-scrollbar {
  width: 5px;
}

.chat-messages-container::-webkit-scrollbar-track {
  background: rgba(14, 11, 10, 0.95);
  border-radius: 2px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: var(--accent-magma);
  border-radius: 2px;
}

.chat-messages-container::-webkit-scrollbar-thumb:hover {
  background: #ff5500;
}

.chat-bubble {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 2px;
}

.chat-bubble.bot-msg {
  background: rgba(26, 20, 18, 0.7);
  border-left: 2px solid var(--accent-magma);
  color: var(--text-chalk);
}

.chat-bubble.bot-msg .bot-prefix {
  color: var(--accent-magma);
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}

.chat-bubble.user-msg {
  background: rgba(40, 28, 22, 0.9);
  border-right: 2px solid var(--accent-amber);
  color: var(--text-chalk);
  align-self: flex-end;
  text-align: right;
}

.chat-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 16px 10px 16px;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  overflow: hidden;
}

.quick-chip {
  background: rgba(28, 22, 19, 0.95);
  border: 1px solid rgba(201, 122, 28, 0.45);
  color: var(--text-chalk);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 6px 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-chip:hover {
  background: var(--accent-magma);
  color: #050404;
  border-color: var(--accent-magma);
  box-shadow: 0 0 16px rgba(255, 60, 0, 0.4);
}

.chat-input-bar {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-rule);
  background: #0a0807;
  padding: 6px 12px;
}

.chat-input-bar .input-prompt {
  font-family: var(--font-mono);
  color: var(--accent-magma);
  font-size: 14px;
  padding: 0 8px;
  font-weight: bold;
}

.chat-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-chalk);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 6px;
}

.chat-input-bar input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.btn-chat-send {
  background: var(--accent-magma);
  border: none;
  color: #050404;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-chat-send:hover {
  box-shadow: 0 0 15px var(--accent-magma);
}

.terminal-direct-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.contact-sep {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.contact-links-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.direct-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  border: 1px solid var(--border-rule);
  padding: 7px 14px;
  text-decoration: none;
  background: rgba(18, 14, 13, 0.7);
  transition: all 0.25s ease;
}

.direct-link-btn:hover {
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  box-shadow: 0 0 15px rgba(255, 60, 0, 0.2);
}

.terminal-footer-notes {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* -----------------------------------------------------------------
   BARRA INFERIOR DE NAVEGACIÓN Y TELEMETRÍA
   ----------------------------------------------------------------- */
.bottom-telemetry-hud {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  border-top: 1px solid var(--border-rule);
  background: rgba(11, 9, 8, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  z-index: 100;
}

/* Barra de progreso visual sutil de scroll */
.timeline-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--accent-magma);
  box-shadow: 0 0 8px var(--accent-magma);
  width: 0%;
  transition: width 0.1s linear;
}

.telemetry-nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* -----------------------------------------------------------------
   HUD CONTROLS & MATRIX DRAWER (AWD Lab Live Controls)
   ----------------------------------------------------------------- */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-hud-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--accent-magma);
  color: #050404;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 15px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 16px var(--magma-glow-intense);
  transition: all 0.25s ease;
  user-select: none;
}

.btn-hud-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-magma);
  color: #000;
}

.btn-hud-whatsapp svg {
  stroke: #050404;
}

.btn-hud-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 19, 17, 0.9);
  border: 1px solid var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.btn-hud-control:hover, .btn-hud-control.active {
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  box-shadow: 0 0 16px rgba(255, 59, 0, 0.25);
}

.btn-hud-control svg {
  stroke: var(--accent-magma);
}

/* Modo Inmersión (Oculta texto para volar libremente por el 3D) */
body.immersion-active .story-panel {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate3d(0, 40px, 0) !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.immersion-pill {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 9, 8, 0.88);
  border: 1px solid var(--accent-magma);
  box-shadow: 0 0 25px rgba(255, 59, 0, 0.4);
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-chalk);
  z-index: 999;
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

body.immersion-active .immersion-pill {
  display: inline-flex;
}

/* Panel Lateral Flotante de Parámetros (Matrix Drawer) */
.lab-matrix-drawer {
  position: fixed;
  top: var(--hud-height);
  right: -420px;
  width: 380px;
  max-width: 90vw;
  height: calc(100vh - var(--hud-height) - 52px);
  background: rgba(14, 11, 10, 0.94);
  border-left: 1px solid var(--border-rule);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lab-matrix-drawer.open {
  right: 0;
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-rule);
  padding-bottom: 14px;
}

.matrix-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-chalk);
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}
.matrix-close:hover { color: var(--text-chalk); }

.matrix-section-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent-amber);
  text-transform: uppercase;
  margin-top: 4px;
}

.matrix-flow-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-flow-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(11, 9, 8, 0.7);
  border: 1px solid var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.btn-flow-pill:hover {
  border-color: var(--accent-amber);
  color: var(--text-chalk);
}

.btn-flow-pill.active {
  background: rgba(255, 59, 0, 0.12);
  border-color: var(--accent-magma);
  color: var(--text-chalk);
}

.flow-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.25s ease;
}

.btn-flow-pill.active .flow-pill-dot {
  background: var(--accent-magma);
  box-shadow: 0 0 8px var(--accent-magma);
}

.matrix-param-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matrix-param-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-chalk);
}

.matrix-param-val {
  color: var(--accent-magma);
}

.matrix-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #28221E;
  outline: none;
  border-radius: 2px;
}

.matrix-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent-magma);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-magma);
}

.matrix-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.btn-palette-choice {
  background: rgba(22, 19, 17, 0.8);
  border: 1px solid var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-palette-choice:hover, .btn-palette-choice.active {
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  background: rgba(35, 26, 22, 0.9);
}

.btn-matrix-reset {
  margin-top: auto;
  background: transparent;
  border: 1px dashed var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-matrix-reset:hover {
  border-color: var(--accent-magma);
  color: var(--accent-magma);
}

/* -----------------------------------------------------------------
   RESPONSIVE DESIGN (MÓVILES, TABLETS & LAPTOPS COMPACTAS)
   ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .hud-bar { padding: 0 16px; }
  .hud-telemetry { display: none; }
  .stage-stepper { display: none; }
  .bottom-telemetry-hud { padding: 0 16px; }
  .hero-box { max-width: 100%; }
}

/* Pantallas medianas y móviles: Acto 2 en columna vertical scrolleable */
@media (max-width: 820px) {
  .corners-grid-container {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: calc(var(--hud-height) + 10px) 16px calc(52px + 10px) 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    justify-content: flex-start;
    align-items: stretch;
  }

  .corner-card {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    gap: 6px;
    background: rgba(14, 11, 10, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
  }

  .corner-badge {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .corner-title {
    font-size: 15px;
    font-weight: 800;
  }

  .corner-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #cfcac2;
  }

  .corner-tagline {
    font-size: 9px;
    margin-top: 2px;
  }

  .terminal-bunker-card {
    padding: 20px 16px;
    max-height: calc(100vh - var(--hud-height) - 60px);
  }
}

@media (max-width: 600px) {
  .hud-bar { padding: 0 12px; }
  .brand-badge span:last-child { font-size: 12px; }
  .btn-hud-whatsapp { padding: 6px 10px; font-size: 9.5px; }
  .btn-hud-control { padding: 6px 9px; font-size: 9.5px; }
  .panel-hero { padding-left: 18px; padding-right: 18px; }
  .hero-manifesto { font-size: 14px; }
  .hero-action-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .telemetry-nav-controls { gap: 8px; }
  .bottom-telemetry-hud { padding: 0 12px; height: 46px; }
  .btn-telemetry-pill { padding: 5px 8px; font-size: 8.5px; }
  #depthMeter { font-size: 8.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; text-align: right; }
}

/* Accesibilidad & Indexación SEO Limpia (Zero-Bloat) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* =================================================================
   MODAL BUNKER: INTEL & PREGUNTAS FRECUENTES (AEO & LOCAL SEO)
   ================================================================= */
.bunker-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.bunker-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.bunker-modal-card {
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  background: rgba(9, 7, 6, 0.98);
  border: 1px solid rgba(255, 60, 0, 0.45);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.98), 0 0 40px rgba(255, 60, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.bunker-modal-overlay.open .bunker-modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border-rule);
  background: rgba(18, 14, 12, 0.95);
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-magma);
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-close-btn {
  background: rgba(26, 20, 18, 0.8);
  border: 1px solid var(--border-rule);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  box-shadow: 0 0 12px rgba(255, 60, 0, 0.3);
}

.modal-body-scroll {
  padding: 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-height: calc(88vh - 145px);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-magma) rgba(14, 11, 10, 0.95);
}

.modal-body-scroll::-webkit-scrollbar {
  width: 5px;
}

.modal-body-scroll::-webkit-scrollbar-track {
  background: rgba(14, 11, 10, 0.95);
  border-radius: 2px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-magma);
  border-radius: 2px;
}

/* Ficha de Ubicacion Local Durango */
.local-hq-box {
  background: rgba(22, 17, 14, 0.85);
  border: 1px solid rgba(201, 122, 28, 0.35);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hq-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hq-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(40, 28, 22, 0.9);
  border: 1px solid rgba(255, 60, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-magma);
  flex-shrink: 0;
}

.hq-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-chalk);
  letter-spacing: 0.04em;
  margin: 0 0 4px 0;
}

.hq-address {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-amber);
  margin: 0;
  line-height: 1.5;
}

.hq-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(50, 42, 36, 0.5);
}

.hq-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(14, 11, 10, 0.8);
  border: 1px solid var(--border-rule);
  padding: 4px 10px;
}

.hq-maps-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-magma);
  border: 1px solid rgba(255, 60, 0, 0.35);
  background: rgba(255, 60, 0, 0.08);
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: auto;
}

.hq-maps-link:hover {
  background: var(--accent-magma);
  color: #050404;
  box-shadow: 0 0 14px rgba(255, 60, 0, 0.4);
}

/* Lista de Acordeon FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(15, 12, 10, 0.92);
  border: 1px solid var(--border-rule);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(255, 60, 0, 0.35);
  background: rgba(20, 16, 14, 0.95);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-chalk);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--accent-magma);
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber);
  opacity: 0.8;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
}

.faq-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-amber);
  border-bottom: 2px solid var(--accent-amber);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
  border-color: var(--accent-magma);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 16px;
}

.faq-answer strong {
  color: var(--text-chalk);
}

.faq-item.active .faq-answer {
  max-height: 280px;
}

/* Footer del Modal */
.modal-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--border-rule);
  background: rgba(14, 11, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-footer-info {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.btn-modal-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-magma);
  color: #050404;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 9px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-modal-action:hover {
  box-shadow: 0 0 20px var(--accent-magma);
  transform: translateY(-1px);
}

/* Boton de acceso en el HUD Footer */
.btn-telemetry-pill {
  background: rgba(26, 20, 18, 0.85);
  border: 1px solid rgba(201, 122, 28, 0.4);
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-telemetry-pill:hover {
  border-color: var(--accent-magma);
  color: var(--text-chalk);
  box-shadow: 0 0 12px rgba(255, 60, 0, 0.3);
}

@media (max-width: 768px) {
  .bunker-modal-card { max-height: 94vh; }
  .modal-body-scroll { padding: 18px; }
  .hq-maps-link { margin-left: 0; width: 100%; justify-content: center; }
  .btn-telemetry-pill { display: none; }
}


/* AWD CONCIERGE // TERMINAL INLINE CLI PROMPT */
.terminal-cli-line {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 13, 11, 0.85);
  border: 1px solid rgba(255, 60, 0, 0.35);
  padding: 10px 14px;
  border-radius: 2px;
  margin-top: 4px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.terminal-cli-line:focus-within {
  border-color: var(--accent-magma);
  box-shadow: 0 0 16px rgba(255, 60, 0, 0.3);
  background: rgba(26, 17, 14, 0.95);
}

.terminal-cli-line .cli-prompt {
  font-family: var(--font-mono);
  color: var(--accent-magma);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.terminal-cli-line .cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-chalk);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 0;
  caret-color: var(--accent-magma);
}

.terminal-cli-line .cli-input::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
  font-style: italic;
}

.terminal-cli-line .cli-submit-btn {
  background: var(--accent-magma);
  border: none;
  color: #050404;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.terminal-cli-line .cli-submit-btn:hover {
  box-shadow: 0 0 14px var(--accent-magma);
  transform: translateY(-1px);
}
