:root {
    --bg-color: #0a0a0c;
    --text-color: #e0e0e0;
    --accent-color: #00ffcc; /* Neon Blue/Cyan */
    --accent-glow: rgba(0, 255, 204, 0.4);
    --rust-color: #b7410e;
    --card-bg: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* CRT & Noise Overlays */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 999;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 998;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--rust-color);
    box-shadow: 0 0 20px rgba(183, 65, 14, 0.4);
    filter: grayscale(40%) contrast(120%);
    transition: all 0.3s ease;
}

.profile-img:hover {
    filter: grayscale(0%) contrast(100%);
    box-shadow: 0 0 30px var(--accent-glow);
    border-color: var(--accent-color);
}

.glitch-text {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

.tagline {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 1.2rem;
    overflow: hidden;
    border-right: .15em solid var(--accent-color);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color); }
}

.artist-platforms {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-btn {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    background: rgba(0, 255, 204, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
}

.platform-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Archives Section */
.archives {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    z-index: 10;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-family: var(--font-mono);
    color: var(--rust-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin-top: 1rem;
}

/* Dossier Grid */
.dossiers-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.dossier {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dossier:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.1);
    border-color: rgba(0, 255, 204, 0.3);
}

.dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dossier-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dossier-title::before {
    content: '[ID]';
    color: var(--accent-color);
    font-size: 1rem;
}

.dossier-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 900px) {
    .dossier-content {
        grid-template-columns: 1fr;
    }
}

.embed-container {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.narrative-container {
    font-size: 1rem;
    color: #ccc;
}

.narrative-container h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 1.1rem;
}

.narrative-text {
    white-space: pre-line;
}

.narrative-text p {
    margin-bottom: 1rem;
}

/* Redacted Effect */
.redacted {
    background-color: #000;
    color: #000;
    padding: 0 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: help;
}

.redacted:hover {
    background-color: rgba(183, 65, 14, 0.2);
    color: var(--rust-color);
}

/* Platform Links */
.platforms {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.platform-link {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

.platform-link:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    font-family: var(--font-mono);
    position: relative;
    z-index: 10;
}

.cryptic-message {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Utilities */
@media (max-width: 600px) {
    .glitch-text {
        font-size: 2.5rem;
    }
    .tagline {
        font-size: 0.9rem;
    }
    .dossier {
        padding: 1.5rem;
    }
    .dossier-title {
        font-size: 1.4rem;
    }
}
