/*
Theme Name: Spirit of the Deal
Version: 1.7.0
Description: Bio-Electric Noir HUD Aesthetic. Integrated Sensei & Header Protocols. Complete Component Library.
Author: Brandon Handley / Codex
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;600;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --void: #0a0a0a;       /* Midnight Carbon */
  --signal: #d4ff00;     /* Neural Green */
  --heat: #ff4800;       /* Alert Orange */
  --bridge: #4a6fa5;     /* Data Blue */
  --clarity: #ffffff;    /* White text */
  --hud-sans: 'Barlow Condensed', sans-serif;
  --hud-mono: 'Space Mono', monospace;
}

/* ========================================
   1. GLOBAL BASE & TYPOGRAPHY
   ======================================== */

body {
  margin: 0;
  background-color: var(--void);
  color: var(--clarity);
  font-family: var(--hud-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .hud-heading {
  font-family: var(--hud-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  color: var(--clarity);
}

a { 
  color: var(--signal); 
  text-decoration: none; 
  transition: all 0.3s ease; 
}

a:hover { 
  opacity: 0.8; 
  text-shadow: 0 0 8px rgba(212, 255, 0, 0.4); 
}

img { 
  max-width: 100%; 
  height: auto; 
}

/* ========================================
   2. HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.hud-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.hud-nav li { 
  margin: 0; 
}

.hud-nav a {
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.hud-nav a:hover,
.hud-nav .current-menu-item > a {
  color: var(--signal);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .site-header { 
    position: fixed;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column; 
    gap: 1rem;
    padding: 1rem 5%;
    transition: all 0.3s ease;
  }
  
  .hud-nav ul { 
    gap: 1rem; 
    justify-content: center; 
  }
  
  body {
    padding-top: 120px;
  }
  
  .hero {
    padding-top: 0;
  }
}

/* ========================================
   3. CORE HUD COMPONENTS
   ======================================== */

.hud-section {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hud-kicker {
  font-family: var(--hud-mono);
  color: var(--signal);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: block;
}

.hud-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.9;
  margin-bottom: 2rem;
}

.hud-subhead {
  font-size: 1.5rem;
  opacity: 0.9;
  max-width: 700px;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ========================================
   4. HERO SECTION
   ======================================== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-size: cover !important;
  background-position: center 10% !important;
  background-repeat: no-repeat !important;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* ========================================
   5. SENSEI LMS OVERRIDES
   ======================================== */

html body .sensei-container, 
html body .sensei-lesson-content, 
html body .sensei-course-container,
html body #sensei-course-progress,
html body .course-container,
html body .lesson-container {
    background-color: var(--void) !important;
    color: var(--clarity) !important;
}

/* Sidebar & Navigation Panels */
html body .course-container nav.course-navigation,
html body .lesson-container nav.lesson-navigation,
html body .course-lessons,
html body .sensei-course-container .module-container {
    background: #111 !important;
    border-right: 1px solid rgba(212, 255, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Text Colors in Sidebar */
html body .sensei-container .course-navigation a,
html body .sensei-container .course-lessons a,
html body .sensei-container .module-title {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: var(--hud-mono) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

html body .sensei-container .course-navigation a:hover { 
  color: var(--signal) !important; 
}

/* Progress Bars */
.meter > span, 
.sensei-progress-bar > span {
    background-color: var(--signal) !important;
    box-shadow: 0 0 10px var(--signal);
}

/* Alert Boxes */
html body .sensei-message.info, 
html body .sensei-message.alert,
html body .sensei-container .sensei-message {
    background: #151515 !important;
    border: 1px solid var(--signal) !important;
    color: var(--clarity) !important;
    border-radius: 0 !important;
}

/* Headers in Sensei */
html body .sensei-container h1, 
html body .sensei-container h2, 
html body .sensei-container .lesson-title,
html body .sensei-container .course-title {
    color: var(--signal) !important;
    font-family: var(--hud-sans) !important;
}

/* Sensei Buttons */
html body .sensei-container .button, 
html body .sensei-container .sensei-button,
html body .sensei-container input[type="submit"],
html body .sensei-container a.course-button {
    background: var(--signal) !important;
    color: var(--void) !important;
    font-family: var(--hud-mono) !important;
    text-transform: uppercase !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 15px rgba(212, 255, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

html body .sensei-container .button:hover, 
html body .sensei-container .sensei-button:hover,
html body .sensei-container input[type="submit"]:hover,
html body .sensei-container a.course-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 30px rgba(212, 255, 0, 0.6) !important;
}

/* Content Text Fix */
html body .sensei-container section.entry-content,
html body .sensei-container .lesson-entry-content {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
}

/* ========================================
   6. FOOTER & BASIC FORMS
   ======================================== */

.site-footer {
  text-align: center;
  padding: 4rem 5%;
  font-family: var(--hud-mono);
  font-size: 0.8rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.social-links { 
  list-style: none; 
  padding: 0; 
  display: flex; 
  gap: 1.5rem; 
  margin-top: 2rem; 
}

.social-links a {
  font-family: var(--hud-mono);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Basic Input Styles (Ninja Forms Compatible) */
input[type="text"], 
input[type="email"], 
textarea, 
select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  color: var(--clarity);
  font-family: var(--hud-mono);
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

input:focus, 
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(0,0,0,0.5);
  box-shadow: 
    0 0 20px rgba(212, 255, 0, 0.2),
    inset 0 0 20px rgba(212, 255, 0, 0.05);
}

/* ========================================
   COMPONENT LIBRARY: BUTTONS
   ======================================== */

/* Legacy Button (kept for backwards compatibility) */
.btn.neon {
  background: var(--signal);
  color: var(--void);
  padding: 1rem 2.5rem;
  display: inline-block;
  font-family: var(--hud-mono);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 0 20px rgba(212, 255, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 255, 0, 0.6);
}

/* Primary CTA: Neural Green Pulse */
.btn-signal {
  background: var(--signal);
  color: var(--void);
  padding: 1.2rem 3rem;
  font-family: var(--hud-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 
    0 0 20px rgba(212, 255, 0, 0.4),
    inset 0 0 20px rgba(212, 255, 0, 0.1);
}

.btn-signal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-signal:hover::before {
  width: 300px;
  height: 300px;
}

.btn-signal:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 0 40px rgba(212, 255, 0, 0.7),
    0 5px 20px rgba(0, 0, 0, 0.5);
}

.btn-signal:active {
  transform: translateY(-1px);
}

/* Secondary Button: Ghost Protocol */
.btn-ghost {
  background: transparent;
  color: var(--signal);
  padding: 1.2rem 3rem;
  font-family: var(--hud-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 2px solid var(--signal);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  isolation: isolate;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--signal);
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-ghost:hover {
  color: var(--void);
  border-color: var(--signal);
  box-shadow: 
    0 0 30px rgba(212, 255, 0, 0.5),
    inset 0 0 30px rgba(212, 255, 0, 0.2);
  z-index: 1;
}

.btn-ghost:hover::after {
  width: 100%;
}

/* Alert Button: Heat Protocol */
.btn-alert {
  background: var(--heat);
  color: var(--clarity);
  padding: 1.2rem 3rem;
  font-family: var(--hud-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 0 20px rgba(255, 72, 0, 0.4);
  animation: pulse-heat 2s ease-in-out infinite;
}

@keyframes pulse-heat {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 72, 0, 0.4); }
  50% { box-shadow: 0 0 40px rgba(255, 72, 0, 0.7); }
}

.btn-alert:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(255, 72, 0, 0.9);
  animation: none;
}

/* Disabled State */
.btn-signal:disabled,
.btn-ghost:disabled,
.btn-alert:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ========================================
   COMPONENT LIBRARY: CARDS
   ======================================== */

/* Standard HUD Card with Scanline Effect */
.hud-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hud-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--signal), 
    transparent
  );
  transition: top 0.6s ease;
}

.hud-card:hover::before {
  top: 100%;
}

.hud-card:hover {
  border-color: var(--signal);
  background: rgba(212, 255, 0, 0.02);
  box-shadow: 
    0 0 30px rgba(0, 0, 0, 0.5),
    inset 0 0 50px rgba(212, 255, 0, 0.03);
  transform: translateY(-5px);
}

/* Card with Glitch Effect */
.hud-card-glitch {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  position: relative;
}

.hud-card-glitch:hover {
  animation: glitch 0.3s ease;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

/* Diagnostic Card (for metrics/data) */
.card-diagnostic {
  background: linear-gradient(135deg, 
    rgba(74, 111, 165, 0.1) 0%, 
    rgba(10, 10, 10, 0.9) 100%
  );
  border: 1px solid var(--bridge);
  padding: 2rem;
  position: relative;
}

.card-diagnostic::after {
  content: 'DIAGNOSTIC';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-family: var(--hud-mono);
  font-size: 0.6rem;
  color: var(--bridge);
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.card-diagnostic .metric {
  font-family: var(--hud-mono);
  font-size: 3rem;
  color: var(--signal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.card-diagnostic .label {
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ========================================
   COMPONENT LIBRARY: FORMS
   ======================================== */

.hud-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Input Fields: Terminal Style */
.hud-input,
.hud-textarea,
.hud-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.2rem;
  color: var(--clarity);
  font-family: var(--hud-mono);
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
}

.hud-input::placeholder,
.hud-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--hud-mono);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.hud-input:focus,
.hud-textarea:focus,
.hud-select:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 0 20px rgba(212, 255, 0, 0.2),
    inset 0 0 20px rgba(212, 255, 0, 0.05);
}

/* Form Field Group */
.hud-field {
  margin-bottom: 2rem;
  position: relative;
}

/* Label: Data Tag Style */
.hud-label {
  display: block;
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.hud-label::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--signal);
  animation: pulse-label 2s ease-in-out infinite;
}

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

/* Error State */
.hud-input.error,
.hud-textarea.error {
  border-color: var(--heat);
  background: rgba(255, 72, 0, 0.05);
}

.hud-error-message {
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  color: var(--heat);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-error-message::before {
  content: '⚠';
  color: var(--heat);
}

/* Success State */
.hud-input.success,
.hud-textarea.success {
  border-color: var(--signal);
  background: rgba(212, 255, 0, 0.03);
}

/* Checkbox: Toggle Switch Style */
.hud-checkbox {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.hud-checkbox input {
  opacity: 0;
  width: 0;
  height: 0;
}

.hud-checkbox-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: 0.4s;
}

.hud-checkbox-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: var(--clarity);
  transition: 0.4s;
}

.hud-checkbox input:checked + .hud-checkbox-slider {
  background-color: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 20px rgba(212, 255, 0, 0.4);
}

.hud-checkbox input:checked + .hud-checkbox-slider::before {
  transform: translateX(30px);
  background-color: var(--void);
}

/* ========================================
   COMPONENT LIBRARY: ALERTS
   ======================================== */

.hud-alert {
  background: rgba(74, 111, 165, 0.1);
  border-left: 4px solid var(--bridge);
  padding: 1.5rem;
  margin: 2rem 0;
  font-family: var(--hud-mono);
  font-size: 0.9rem;
  position: relative;
}

.hud-alert::before {
  content: 'INFO';
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 0.65rem;
  color: var(--bridge);
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.hud-alert-success {
  background: rgba(212, 255, 0, 0.05);
  border-left: 4px solid var(--signal);
}

.hud-alert-success::before {
  content: 'SUCCESS';
  color: var(--signal);
}

.hud-alert-warning {
  background: rgba(255, 72, 0, 0.05);
  border-left: 4px solid var(--heat);
}

.hud-alert-warning::before {
  content: 'ALERT';
  color: var(--heat);
}

/* ========================================
   COMPONENT LIBRARY: PROGRESS BARS
   ======================================== */

.hud-progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 30px;
  position: relative;
  overflow: hidden;
}

.hud-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, 
    var(--signal) 0%, 
    var(--bridge) 100%
  );
  transition: width 0.6s ease;
  position: relative;
  box-shadow: 0 0 20px rgba(212, 255, 0, 0.4);
}

.hud-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

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

.hud-progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  color: var(--void);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
}

/* ========================================
   COMPONENT LIBRARY: BADGES & TAGS
   ======================================== */

.hud-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--hud-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--signal);
  color: var(--signal);
  background: rgba(212, 255, 0, 0.05);
}

.hud-badge-heat {
  border-color: var(--heat);
  color: var(--heat);
  background: rgba(255, 72, 0, 0.05);
}

.hud-badge-bridge {
  border-color: var(--bridge);
  color: var(--bridge);
  background: rgba(74, 111, 165, 0.05);
}

/* ========================================
   COMPONENT LIBRARY: DIVIDERS
   ======================================== */

.hud-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--signal) 50%,
    transparent 100%
  );
  margin: 4rem 0;
  position: relative;
}

.hud-divider::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--void);
  padding: 0 1rem;
  color: var(--signal);
  font-size: 0.8rem;
}

/* ========================================
   COMPONENT LIBRARY: TOOLTIPS
   ======================================== */

.hud-tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dashed var(--signal);
  cursor: help;
}

.hud-tooltip-text {
  visibility: hidden;
  width: 200px;
  background: rgba(10, 10, 10, 0.95);
  color: var(--clarity);
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--signal);
  font-family: var(--hud-mono);
  font-size: 0.75rem;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 20px rgba(212, 255, 0, 0.3);
}

.hud-tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--signal) transparent transparent transparent;
}

.hud-tooltip:hover .hud-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ========================================
   COMPONENT LIBRARY: LOADING STATES
   ======================================== */

.hud-loader {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--signal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hud-loader-text {
  text-align: center;
  font-family: var(--hud-mono);
  font-size: 0.8rem;
  color: var(--signal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 1rem;
  animation: pulse-text 1.5s ease-in-out infinite;
}

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

/* ========================================
   COMPONENT LIBRARY: TABLES
   ======================================== */

.hud-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--hud-mono);
  font-size: 0.85rem;
}

.hud-table thead {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid var(--signal);
}

.hud-table th {
  padding: 1rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--signal);
  font-weight: 700;
}

.hud-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.hud-table tbody tr:hover {
  background: rgba(212, 255, 0, 0.03);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
  .btn-signal,
  .btn-ghost,
  .btn-alert,
  .btn.neon {
    padding: 1rem 2rem;
    font-size: 0.8rem;
  }

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

  .btn-group > * {
    width: 100%;
  }

  .hud-card,
  .hud-card-glitch,
  .card-diagnostic {
    padding: 1.5rem;
  }

  .card-diagnostic .metric {
    font-size: 2rem;
  }

  .hud-progress-label {
    font-size: 0.65rem;
  }
  
  .hud-table {
    font-size: 0.75rem;
  }
  
  .hud-table th,
  .hud-table td {
    padding: 0.75rem;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-signal { color: var(--signal); }
.text-heat { color: var(--heat); }
.text-bridge { color: var(--bridge); }
.text-muted { color: rgba(255, 255, 255, 0.5); }

.bg-void { background-color: var(--void); }
.bg-armor { background-color: rgba(255, 255, 255, 0.03); }

.border-signal { border: 1px solid var(--signal); }
.border-heat { border: 1px solid var(--heat); }
.border-bridge { border: 1px solid var(--bridge); }

.glow-signal { box-shadow: 0 0 20px rgba(212, 255, 0, 0.4); }
.glow-heat { box-shadow: 0 0 20px rgba(255, 72, 0, 0.4); }

.uppercase { text-transform: uppercase; }
.mono { font-family: var(--hud-mono); }
.sans { font-family: var(--hud-sans); }

/* ========================================
   END SPIRIT OF THE DEAL STYLESHEET
   ======================================== */