/* --- Specialized Fighter Directory HUD --- */

:root {
  --fighter-glow: rgba(99, 102, 241, 0.4);
}

/* Kinetic Blueprint Grid */
.blueprint-bg {
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    position: relative;
}

.kinetic-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(99, 102, 241, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
    animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}

/* Heading Responsiveness */
.combat-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-style: italic;
}

@media (max-width: 1024px) {
  h1.combat-heading { font-size: 5rem !important; }
  h2.combat-heading { font-size: 4rem !important; }
}

@media (max-width: 768px) {
  h1.combat-heading { font-size: 4rem !important; }
  h2.combat-heading { font-size: 3rem !important; }
  .btn-tactical { padding: 1.25rem 2rem; font-size: 10px; }
}

/* --- MOBILE NAVIGATION OVERLAY --- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-overlay.is-active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-nav-overlay.is-active .mobile-nav-backdrop {
    opacity: 1;
}

.mobile-nav-panel {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
}

.mobile-nav-overlay.is-active .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--combat-indigo);
    opacity: 0.5;
}

.mobile-nav-link .label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: white;
    padding-left: 0.5rem;
}

.mobile-nav-link.active .label {
    color: white;
    text-shadow: 0 0 15px var(--combat-indigo-glow);
}

/* Fighter Node Cards */
.fighter-card-node {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: rgba(15, 23, 42, 0.2);
}

.fighter-card-node:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 30px 60px -20px rgba(0,0,0,0.8),
    0 0 20px var(--fighter-glow);
  z-index: 20;
}

/* Glass Modules for Career Matrix */
.glass-module {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* Matrix Choice Cards Refinement */
.matrix-choice-card {
    border-radius: 2.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    min-height: 380px;
    border-top-width: 2px;
}

.matrix-choice-card p {
    font-size: 0.825rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .matrix-choice-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

.path-pill {
    display: inline-block;
    px-3 py-1.5 rounded;
    text-[9px];
    font-black uppercase tracking-widest italic;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Color Coded Paths */
.path-blue {
    border-top-color: rgba(59, 130, 246, 0.3);
}
.path-blue:hover {
    border-top-color: #3b82f6;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.05);
}
.path-blue .path-pill {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.path-purple {
    border-top-color: rgba(168, 85, 247, 0.4);
}
.path-purple:hover {
    border-top-color: #a855f7;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.1);
}
.path-purple .path-pill {
    background: #6366f1;
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.path-red {
    border-top-color: rgba(239, 68, 68, 0.3);
}
.path-red:hover {
    border-top-color: #ef4444;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.05);
}
.path-red .path-pill {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.matrix-choice-card:hover {
    background: rgba(15, 23, 42, 0.5);
    transform: translateY(-4px);
}

.matrix-cta-btn {
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1.25rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.matrix-cta-btn.highlight {
    background: var(--combat-indigo);
    border-color: var(--combat-indigo);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.matrix-cta-btn:hover {
    background: white;
    color: black;
}

.matrix-cta-btn.highlight:hover {
    background: #4f46e5;
    color: white;
}

.compact-footer-link {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #475569;
    transition: all 0.3s ease;
}

.compact-footer-link:hover, .compact-footer-link.active {
    color: white;
}

.status-beacon {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 15px #10b981;
  animation: pulse-beacon 2s infinite;
}

@keyframes pulse-beacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.scanlines {
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.1) 50%);
    background-size: 100% 4px;
}

/* High-Density Grid Overrides */
@media (min-width: 1280px) {
  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}