/* ============================================================
   AWWWARDS-LEVEL INTERACTIVE HUD HERO COVER STYLING
   ============================================================ */
.hero-cover-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060908; /* Deepest dark forest green */
  z-index: 10;
}

.hero-cover-3d-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero-cover-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-cover-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, #060908 95%), 
              linear-gradient(to bottom, #060908 0%, transparent 15%, transparent 85%, #060908 100%);
  z-index: 2;
  pointer-events: none;
}

/* HUD System Container */
.hud-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none; /* Let clicks pass to canvas underneath if needed */
  padding: 2.5rem;
  box-sizing: border-box;
}

/* Individual HUD Glass Panels */
.hud-panel {
  position: absolute !important;
  pointer-events: auto; /* Active hovers on panels */
  background: rgba(10, 14, 12, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 107, 0.15);
  border-radius: 6px;
  padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.hud-panel:hover {
  border-color: rgba(201, 168, 107, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(201, 168, 107, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.panel-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.panel-body {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.85);
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.telemetry-row span:first-child {
  color: rgba(244, 241, 234, 0.5);
}

/* Placement Configurations */
.panel-tl {
  top: 2.5rem;
  left: 2.5rem;
  width: 240px;
}

.panel-tr {
  top: 2.5rem;
  right: 2.5rem;
  width: 240px;
}

.panel-bl {
  bottom: 2.5rem;
  left: 2.5rem;
  width: 280px;
}

.panel-br {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 320px;
}

/* Pulse Dot Animation */
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent-gold);
  position: relative;
}

.pulse-dot.green {
  background: #6ACB8F;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid inherit;
  animation: hudPulse 2s infinite ease-out;
}

.pulse-dot.green::after {
  border-color: #6ACB8F;
}

@keyframes hudPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Infrastructure Stack Badges */
.stack-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  background: rgba(201, 168, 107, 0.06);
  border: 1px solid rgba(201, 168, 107, 0.15);
  border-radius: 3px;
  color: var(--accent-gold);
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  transition: all 0.3s ease;
}

.stack-badge:hover {
  background: rgba(201, 168, 107, 0.12);
  border-color: var(--accent-gold);
}

/* Ticker/Logs Styling */
.scroll-log {
  max-height: 60px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.4;
  color: rgba(244, 241, 234, 0.65);
}

.scroll-log div {
  margin-bottom: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Core Typographic & Brand Content */
.hero-cover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.cover-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 0 15px rgba(201, 168, 107, 0.2);
}

.hcc-title {
  font-family: var(--font-syne);
  font-size: clamp(2.5rem, 6.8vw, 6.2rem);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.hcc-title .word-sans {
  font-family: var(--font-sans);
  font-weight: 800;
}

.hcc-title .word-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: none;
}

.hcc-title .indent-lg {
  padding-left: 6vw;
}

.cover-desc {
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  line-height: 1.65;
  color: rgba(244, 241, 234, 0.75);
  max-width: 580px;
  margin: 2rem 0;
}

/* Interactive warp trigger badge */
.interactive-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(201, 168, 107, 0.04);
  border: 1px solid rgba(201, 168, 107, 0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.interactive-portal-badge:hover {
  background: rgba(201, 168, 107, 0.15);
  border-color: var(--accent-gold);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(201, 168, 107, 0.15);
}

.portal-icon {
  animation: spinPortal 8s linear infinite;
  color: var(--accent-gold);
}

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

/* Custom Highlights */
.text-gold {
  color: var(--accent-gold) !important;
}

.text-green {
  color: #6ACB8F !important;
}

/* ============================================================
   RESPONSIVE HUD STATES
   ============================================================ */
@media (max-width: 1024px) {
  .hud-container {
    padding: 1.5rem;
  }
  .panel-tl { top: 1.5rem; left: 1.5rem; }
  .panel-tr { top: 1.5rem; right: 1.5rem; }
  .panel-bl { bottom: 1.5rem; left: 1.5rem; }
  .panel-br { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 960px) {
  /* Hide logs and coordinate panel on tablets */
  .panel-tr, .panel-br {
    display: none !important;
  }
  .panel-bl {
    width: calc(100% - 3rem);
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .hero-cover-section {
    height: auto;
    min-height: 65vh;
    padding: 6rem var(--pad-x);
  }
  /* Hide all auxiliary panel grids on smaller viewports */
  .hud-panel {
    display: none !important;
  }
  .hero-cover-content {
    width: 95%;
  }
  .hcc-title {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }
  .hcc-title .indent-lg {
    padding-left: 0;
    margin-top: 4px;
  }
  .cover-desc {
    margin: 1.5rem 0;
  }
}
