/* --- REDACTED REALITY CORE VARIABLES --- */
:root {
    --obsidian: #0a0a0c;        /* Deep Background */
    --iron: #1a1a1e;            /* Secondary Surfaces */
    --blood-neon: #ff003c;      /* Primary Accent/Glow */
    --steel: #b0b0b0;           /* Main Text */
    --gold-rune: #d4af37;       /* Viking Accent */
    --font-viking: 'Cinzel Decorative', serif;
    --font-tech: 'Exo 2', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* --- BASE STYLES --- */
body {
    background-color: var(--obsidian);
    color: var(--steel);
    font-family: var(--font-tech);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

h1, h2, h3, .navbar-brand {
    font-family: var(--font-viking);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NAVIGATION SHIELD-WALL --- */
.main-nav-interface {
    background: rgba(10, 10, 12, 0.95);
    border-bottom: 2px solid var(--iron);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.text-redacted {
    background-color: var(--steel);
    color: var(--obsidian);
    padding: 0 5px;
    font-weight: 900;
}

.text-reality {
    color: var(--blood-neon);
    margin-left: 5px;
    text-shadow: 0 0 10px var(--blood-neon);
}

.nav-link {
    font-family: var(--font-mono);
    color: var(--steel) !important;
    font-size: 0.9rem;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--blood-neon) !important;
    text-shadow: 0 0 8px var(--blood-neon);
    border-bottom: 2px solid var(--blood-neon);
}

/* --- TELEMETRY BAR --- */
.nav-telemetry {
    background: var(--iron);
    color: var(--blood-neon);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 5px 0;
    border-bottom: 1px solid #333;
    opacity: 0.8;
}

/* --- THE VIKING-GLITCH BUTTON --- */
.btn-viking-glitch {
    background: transparent;
    border: 1px solid var(--blood-neon);
    color: var(--blood-neon);
    font-family: var(--font-viking);
    font-weight: 700;
    padding: 8px 20px;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.btn-viking-glitch:hover {
    background: var(--blood-neon);
    color: var(--obsidian);
    box-shadow: 0 0 20px var(--blood-neon);
}

/* --- THE REDACTION EFFECT --- */
.redacted-block {
    background: #000;
    color: #000;
    transition: color 0.5s ease;
    cursor: help;
}

.redacted-block:hover {
    color: var(--steel);
}

/* --- REALITY SCANLINES --- */
.reality-scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.3;
}

/* --- HERO STYLING --- */
.text-redacted-hero {
    background-color: var(--blood-neon);
    color: var(--obsidian);
    padding: 0 15px;
    box-shadow: 8px 8px 0px var(--steel);
}

/* --- VIKING HUD CARDS --- */
.viking-card {
    background: rgba(26, 26, 30, 0.6);
    border: 1px solid #333;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
    position: relative;
    border-radius: 0; /* Sharp edges for Viking feel */
}

.viking-card:hover {
    border-color: var(--blood-neon);
    transform: translateY(-5px);
    background: rgba(26, 26, 30, 0.9);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--blood-neon);
    margin-bottom: 20px;
}

/* --- TERMINAL BLOCK --- */
.terminal-block {
    background: #050505;
    border-left: 4px solid var(--blood-neon);
    border-radius: 4px;
}

.card-edge {
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--blood-neon);
    border-left: 2px solid var(--blood-neon);
    top: -2px;
    left: -2px;
}
/* --- TERMINAL CARDS --- */
.terminal-card {
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid #2a2a2e;
    box-shadow: inset 0 0 15px rgba(255, 0, 60, 0.05);
    position: relative;
    overflow: hidden;
}

.card-header-viking {
    background: var(--iron);
    color: var(--steel);
    padding: 10px 15px;
    font-family: var(--font-viking);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--blood-neon);
    letter-spacing: 1.5px;
}

.bg-blood-low {
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.05) 0%, rgba(10, 10, 12, 1) 100%);
}

.font-mono.x-small {
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Hover effect for the whole card */
.terminal-card:hover {
    border-color: var(--blood-neon);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.1);
}
.table-hover tbody tr:hover {
    background-color: rgba(255, 0, 60, 0.1) !important;
    box-shadow: inset 5px 0 0 var(--blood-neon);
    cursor: crosshair;
}
.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.clearance-tag {
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 2px 8px;
    font-size: 10px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.bg-dark-hover:hover {
    background: rgba(255, 0, 60, 0.05);
    transition: 0.3s;
}

.social-link:hover {
    color: var(--blood-neon) !important;
    padding-left: 5px;
    transition: 0.2s;
}
.biometric-scan {
    filter: grayscale(100%) brightness(80%) sepia(50%) hue-rotate(-50deg);
    position: relative;
}

.avatar-wrapper::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--blood-neon);
    box-shadow: 0 0 10px var(--blood-neon);
    animation: scan-line 3s linear infinite;
    opacity: 0.7;
}

@keyframes scan-line {
    0% { top: 0; }
    100% { top: 100%; }
}