/* ============================================================
   RARESINFO — Master Stylesheet (Luxury Edition)
   Style: Premium Information Archive · Brutalist Elements
   Palette: Deep Navy / Gold / Toxic Red-Green
   Effects: Gold Foil · Animated Gradients · Glassmorphism
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
    /* Luxury Premium Palette */
    --navy-900: #060b18;
    --navy-850: #080e20;
    --navy-800: #0a1628;
    --navy-700: #0f1f38;
    --navy-600: #152a4a;
    --navy-500: #1b3a5c;
    --blue-deep: #0d2137;
    --blue-royal: #1a3a6a;
    --blue-bright: #2a6ac8;
    --gold-dark: #7a5a20;
    --gold: #b89342;
    --gold-bright: #d4a852;
    --gold-light: #e8c87a;
    --gold-shine: #f0daa0;
    --gold-foil: #f5e6b8;

    /* Brutalist Chernobyl */
    --toxic-red: #cc1a00;
    --toxic-red-bright: #ff2200;
    --toxic-green: #00cc44;
    --toxic-green-dim: #009933;
    --chernobyl-bg: #0d0d00;
    --chernobyl-dark: #0a0a00;
    --hazard-yellow: #ccaa00;
    --hazard-yellow-bright: #ffdd00;

    /* Info Palette */
    --white: #ffffff;
    --white-soft: #e8e6e0;
    --white-muted: #a8a6a0;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-display: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-med: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--navy-900);
    color: var(--white-soft);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection {
    background: rgba(201, 160, 74, 0.35);
    color: var(--white);
}

/* ================================================================
   LUXURY EFFECTS
   ================================================================ */

/* Gold Foil Shimmer */
@keyframes goldShimmer {
    0% { background-position: -200% 50%; }
    100% { background-position: 200% 50%; }
}

.gold-shimmer {
    background: linear-gradient(
        90deg,
        var(--gold-dark) 0%,
        var(--gold) 20%,
        var(--gold-shine) 40%,
        var(--gold-foil) 50%,
        var(--gold-shine) 60%,
        var(--gold) 80%,
        var(--gold-dark) 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 4s ease-in-out infinite;
}

/* Animated Gradient Background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-shift {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

/* Luxury Gold Divider */
.luxury-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--gold-dark) 20%,
        var(--gold) 40%,
        var(--gold-shine) 50%,
        var(--gold) 60%,
        var(--gold-dark) 80%,
        transparent 100%
    );
    opacity: 0.4;
    margin: 2rem auto;
    max-width: 600px;
}

/* Gradient Border */
.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(184, 147, 66, 0.3),
        rgba(26, 42, 108, 0.3),
        rgba(232, 200, 122, 0.2)
    );
    z-index: -1;
    opacity: 0.5;
}



/* ----- WebGL Background ----- */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#webgl-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ----- Gradient Overlay (Luxury) ----- */
#gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(8, 14, 32, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(184, 147, 66, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 30%, rgba(212, 168, 82, 0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 70%, rgba(26, 42, 108, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(232, 200, 122, 0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
    animation: gradientOverlayShift 12s ease-in-out infinite alternate;
}

@keyframes gradientOverlayShift {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.8rem 2rem;
    background: rgba(6, 11, 24, 0.5);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-med);
}

.header.scrolled {
    background: rgba(6, 11, 24, 0.88);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(184, 147, 66, 0.15);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-glow {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-shine), var(--gold), transparent);
    opacity: 0.4;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.hamburger:hover { background: var(--glass-bg-hover); }

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white-soft);
    border-radius: 1px;
    transition: var(--transition-med);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.3rem;
    color: var(--gold);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-shine), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1px;
}

.header-nav-link {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white-muted);
    border-radius: 6px;
    transition: var(--transition-med);
    position: relative;
}

.header-nav-link:hover {
    color: var(--white);
    background: var(--glass-bg-hover);
}

.header-nav-link.active {
    color: var(--gold-bright);
    background: rgba(201, 160, 74, 0.08);
}

.header-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* ============ SIDE NAV ============ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-med);
}

.nav-overlay.open { opacity: 1; pointer-events: all; }

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: rgba(6, 11, 24, 0.96);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    z-index: 300;
    transform: translateX(-100%);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-nav.open { transform: translateX(0); }

.side-nav-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.5rem 1.5rem 1rem;
}

.side-nav-logo { font-size: 1.5rem; color: var(--gold); }

.side-nav-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
}

.nav-close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--white-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.nav-close-btn:hover { color: var(--white); background: var(--glass-bg-hover); }

.side-nav-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--glass-border), transparent);
    margin: 0 1.5rem;
}

.side-nav-list { list-style: none; padding: 1rem 0; flex: 1; }
.side-nav-list li { margin: 2px 0; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-muted);
    transition: var(--transition-med);
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: var(--white);
    background: var(--glass-bg-hover);
    border-left-color: rgba(184, 147, 66, 0.3);
}

.nav-link.active {
    color: var(--gold);
    background: rgba(201, 160, 74, 0.06);
    border-left-color: var(--gold);
}

.nav-icon { font-size: 1rem; width: 24px; text-align: center; }

.side-nav-footer {
    padding: 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.side-nav-gloss {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-shine), var(--gold), transparent);
    opacity: 0.3;
}

.side-nav-footer p {
    font-size: 0.7rem;
    color: var(--white-muted);
    opacity: 0.4;
    letter-spacing: 1px;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem;
    min-height: 100vh;
}

/* ============ PAGES ============ */
.page { display: none; }

.page.active {
    display: block;
    animation: pageEnter 0.6s ease-out;
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO SECTION (Luxury) ============ */
.hero-section {
    padding: 3rem 0 2rem;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-shine), var(--gold), transparent);
    opacity: 0.3;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 147, 66, 0.15);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2rem;
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(184,147,66,0.2), transparent, rgba(232,200,122,0.1));
    z-index: -1;
    animation: badgeBorderGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeBorderGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.hero-title { margin-bottom: 1.2rem; }

.hero-title-line {
    display: block;
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--white);
}

.hero-title-line.accent {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-shine), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
}

.hero-desc {
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: var(--white-muted);
    line-height: 1.8;
}

/* ----- Glossy Button (Luxury) ----- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-900);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-med);
    text-decoration: none;
}

.glossy-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-shine), var(--gold), var(--gold-dark));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    box-shadow:
        0 4px 20px rgba(184, 147, 66, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glossy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: var(--transition-med);
}

.glossy-btn:hover::before { left: 100%; }

.glossy-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(184, 147, 66, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.glossy-btn:active { transform: translateY(0); }

.btn-arrow {
    transition: var(--transition-med);
    display: inline-block;
}

.glossy-btn:hover .btn-arrow { transform: translateX(5px); }

/* ============ CARD GRID ============ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 800px;
    margin: 0 auto;
}

/* ============ BRUTALIST CHERNOBYL CARD ============ */
.showcase-card {
    position: relative;
    padding: 2.5rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.card-chernobyl {
    background: var(--chernobyl-bg);
    border: 2px solid rgba(204, 26, 0, 0.3);
    border-radius: 0;
    transition: var(--transition-med);
}

.card-chernobyl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(204, 26, 0, 0.03) 2px,
            rgba(204, 26, 0, 0.03) 4px
        );
    pointer-events: none;
}

.card-chernobyl:hover {
    border-color: var(--toxic-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(204, 26, 0, 0.15);
}

/* Brutalist corners */
.brutalist-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--toxic-green);
    border-style: solid;
    opacity: 0.4;
}

.brutalist-corner.top-left { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.brutalist-corner.top-right { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.brutalist-corner.bottom-left { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.brutalist-corner.bottom-right { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* Hazard stripes */
.hazard-stripe-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
        var(--hazard-yellow) 0px, var(--hazard-yellow) 12px,
        var(--chernobyl-bg) 12px, var(--chernobyl-bg) 24px);
    opacity: 0.5;
}

.hazard-stripe-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
        var(--hazard-yellow) 0px, var(--hazard-yellow) 12px,
        var(--chernobyl-bg) 12px, var(--chernobyl-bg) 24px);
    opacity: 0.5;
}

.card-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    color: var(--toxic-green);
    border: 1px solid var(--toxic-green);
    background: rgba(0, 204, 68, 0.06);
}

.card-number {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: rgba(204, 26, 0, 0.15);
    line-height: 1;
}

.card-content { position: relative; z-index: 2; }

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 8px rgba(0, 204, 68, 0.3));
}

.card-title {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--font-mono);
    letter-spacing: 6px;
    color: var(--toxic-red);
    margin-bottom: 0.4rem;
    text-shadow: 0 0 10px rgba(204, 26, 0, 0.3);
}

.card-subtitle {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 3px;
    color: var(--toxic-green);
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 580px;
}

.card-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.card-tags span {
    padding: 0.2rem 0.6rem;
    font-size: 0.6rem;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    border: 1px solid rgba(0, 204, 68, 0.2);
    color: var(--toxic-green);
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--toxic-green);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-med);
}

.showcase-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ============ HOME STATS ============ */
.home-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(184, 147, 66, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.home-stat {
    text-align: center;
    padding: 0.5rem;
}

.home-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--gold-shine), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.home-stat-label {
    font-size: 0.7rem;
    color: var(--white-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ HOME ABOUT PREVIEW ============ */
.home-about-preview {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border: 1px solid rgba(184, 147, 66, 0.1);
    position: relative;
}

.home-about-preview::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-shine));
    opacity: 0.3;
}

.home-about-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.home-about-content p {
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.text-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-bright);
    transition: var(--transition-fast);
}

.text-link:hover { color: var(--gold-light); }

/* ================================================================
   RAW BRUTALIST CHERNOBYL — Art Style
   Soviet-atomograd · Raw exposed · Sketchy edges
   ================================================================ */

/* ----- RAW HEADER ----- */
.raw-header {
    position: relative;
    padding: 2.5rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 3px solid rgba(204, 26, 0, 0.3);
    background: #0a0a00;
    overflow: hidden;
}

.raw-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(0deg,
        transparent 0px, transparent 2px,
        rgba(0, 0, 0, 0.15) 2px, rgba(0, 0, 0, 0.15) 4px
    );
    z-index: 0;
    pointer-events: none;
}

.raw-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: #00cc44;
    border-style: solid;
    opacity: 0.5;
    z-index: 2;
}
.raw-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; }
.raw-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; }
.raw-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; }
.raw-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; }

.raw-stripe {
    position: absolute;
    left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg,
        #ccaa00 0px, #ccaa00 14px,
        #0a0a00 14px, #0a0a00 28px
    );
    opacity: 0.5;
    z-index: 2;
}
.raw-stripe.top { top: 0; }
.raw-stripe.bottom { bottom: 0; }

.raw-header-content {
    position: relative;
    z-index: 1;
}

.raw-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #00cc44;
    border: 2px solid #00cc44;
    margin-bottom: 1.2rem;
    background: rgba(0, 204, 68, 0.05);
    animation: rawFlicker 3s infinite;
}

@keyframes rawFlicker {
    0%, 100% { opacity: 1; }
    48% { opacity: 1; }
    50% { opacity: 0.5; }
    52% { opacity: 1; }
    54% { opacity: 0.4; }
    57% { opacity: 1; }
}

.raw-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    letter-spacing: 8px;
    color: #cc1a00;
    text-shadow: 0 0 20px rgba(204, 26, 0, 0.4), 0 0 50px rgba(204, 26, 0, 0.15);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.raw-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #00cc44;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.raw-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: rgba(0, 204, 68, 0.4);
}

.raw-dot { color: #cc1a00; font-size: 0.35rem; }

/* ================================================================
   3D REACTOR SIMULATION BLOCK
   ================================================================ */
.reactor-sim-block {
    margin-bottom: 2.5rem;
    border: 2px solid rgba(0, 204, 68, 0.12);
    background: #060600;
}

.sim-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-bottom: 2px solid rgba(0, 204, 68, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.sim-marker {
    color: #cc1a00;
    font-size: 0.6rem;
}

.sim-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00cc44;
    opacity: 0.7;
    flex: 1;
}

.reactor-canvas-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    background: #080800;
}

#reactor-container {
    width: 100%;
    height: 100%;
}

#reactor-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.reactor-overlay-hardware {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    text-align: right;
}

.hardware-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.hardware-box {
    padding: 0.3rem 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid #00cc44;
    background: rgba(0, 0, 0, 0.6);
    color: #00cc44;
    backdrop-filter: blur(4px);
    transition: color 0.4s, border-color 0.4s;
}

.hardware-box.warn {
    color: #ffaa00;
    border-color: #ffaa00;
}

.hardware-box.crit {
    color: #ff2200;
    border-color: #ff2200;
    animation: blinkcrit 0.4s infinite;
}

@keyframes blinkcrit {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.reactor-overlay-stats {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 1px;
    color: rgba(0, 204, 68, 0.6);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 204, 68, 0.2);
    padding: 0.5rem 0.7rem;
    line-height: 1.8;
}

.reactor-overlay-stats span {
    color: #00cc44;
    font-weight: 700;
}

.timeline-block {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 2px solid rgba(0, 204, 68, 0.1);
}

.time-display {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.time-clock {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #cc1a00;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(204, 26, 0, 0.3);
}

.time-event {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #00cc44;
    flex: 1;
}

.play-btn {
    background: rgba(0, 204, 68, 0.06);
    border: 2px solid #00cc44;
    color: #00cc44;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: 0.15s;
    line-height: 1;
}

.play-btn:hover {
    background: rgba(0, 204, 68, 0.15);
    box-shadow: 0 0 10px rgba(0, 204, 68, 0.15);
}

.slider-track {
    margin-bottom: 1rem;
}

.raw-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(0, 204, 68, 0.1);
    border: 1px solid rgba(0, 204, 68, 0.2);
    outline: none;
    cursor: pointer;
}

.raw-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 24px;
    background: #cc1a00;
    border: 2px solid #00cc44;
    cursor: pointer;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: 0.1s;
}

.raw-slider::-webkit-slider-thumb:hover {
    background: #ff2200;
    transform: scale(1.2);
}

.raw-slider::-moz-range-thumb {
    width: 20px;
    height: 24px;
    background: #cc1a00;
    border: 2px solid #00cc44;
    cursor: pointer;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.slider-markers {
    position: relative;
    height: 20px;
    margin-top: 4px;
}

.marker {
    position: absolute;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.2);
}

.marker-highlight {
    position: absolute;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #cc1a00;
    text-shadow: 0 0 8px rgba(204, 26, 0, 0.4);
}

.time-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-weight: 300;
    min-height: 3.5em;
}

/* ================================================================
   RAW BRUTALIST SECTIONS
   ================================================================ */
.raw-section {
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.raw-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.raw-marker {
    color: #cc1a00;
    font-size: 0.6rem;
}

.raw-section-header h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 4px;
    color: #ffffff;
}

.raw-divider {
    height: 2px;
    background: linear-gradient(90deg, #cc1a00, #00cc44, transparent);
    margin-bottom: 1.2rem;
}

/* Stats Grid */
.raw-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
}

.raw-stat {
    padding: 1rem;
    border: 2px solid rgba(0, 204, 68, 0.12);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.raw-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #cc1a00, #00cc44);
}

.raw-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 900;
    color: #cc1a00;
    margin-bottom: 0.2rem;
}

.raw-lbl {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Timeline Text */
.raw-timeline-text {}

.raw-tl-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 204, 68, 0.05);
}

.raw-tl-row-danger {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(204, 26, 0, 0.15);
    background: rgba(204, 26, 0, 0.03);
}

.raw-tl-row-explosion {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(204, 26, 0, 0.2);
    background: rgba(204, 26, 0, 0.05);
}

.raw-tl-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cc1a00;
    letter-spacing: 1px;
    padding-top: 0.1rem;
}

.raw-tl-body {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.raw-tl-hl {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #00cc44;
    letter-spacing: 1px;
}

.raw-tl-row-danger .raw-tl-hl {
    color: #ff4400;
}

.raw-tl-row-explosion .raw-tl-hl {
    color: #ff0000;
}

/* Personnel */
.raw-personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.raw-personnel {
    padding: 1.2rem;
    border: 2px solid rgba(204, 26, 0, 0.12);
    background: rgba(0, 0, 0, 0.15);
    position: relative;
}

.raw-personnel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #cc1a00, #00cc44);
}

.raw-rank {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: #00cc44;
    opacity: 0.6;
    margin-bottom: 0.4rem;
}

.raw-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}

.raw-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Quote */
.raw-quote-block {
    padding: 1.5rem;
    border: 2px solid rgba(204, 26, 0, 0.12);
    background: rgba(0, 0, 0, 0.1);
    position: relative;
}

.raw-quote-mark {
    font-size: 3rem;
    font-weight: 900;
    color: #cc1a00;
    opacity: 0.15;
    line-height: 0.5;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.3rem;
}

.raw-quote-block blockquote {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.raw-quote-by {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #00cc44;
}

/* Visit */
.raw-visit {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.raw-visit-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.raw-btn {
    display: inline-flex;
    padding: 0.7rem 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #00cc44;
    border: 3px solid #00cc44;
    background: rgba(0, 204, 68, 0.06);
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.raw-btn:hover {
    background: rgba(0, 204, 68, 0.15);
    box-shadow: 0 0 15px rgba(0, 204, 68, 0.15);
}

.raw-warning {
    padding: 1.5rem;
    text-align: center;
    border: 3px solid #ccaa00;
    background: repeating-linear-gradient(45deg,
        rgba(204, 170, 0, 0.04) 0px, rgba(204, 170, 0, 0.04) 8px,
        rgba(0, 0, 0, 0.15) 8px, rgba(0, 0, 0, 0.15) 16px
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.raw-warn-icon {
    font-size: 2.5rem;
    animation: rawFlicker 2s infinite;
}

.raw-warn-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ccaa00;
}

.raw-warn-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
}

/* Footnote */
.raw-footnote {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 0.8rem 0;
}

/* ================================================================
   BRUTALIST CHERNOBYL PAGE (Legacy styles — kept for compatibility)
   ================================================================ */

.brutalist-hero {
    position: relative;
    padding: 0;
    margin-bottom: 3rem;
    border: 2px solid rgba(204, 26, 0, 0.3);
    background: var(--chernobyl-bg);
    overflow: hidden;
}

.brutalist-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent, transparent 3px,
            rgba(204, 26, 0, 0.04) 3px, rgba(204, 26, 0, 0.04) 6px),
        radial-gradient(ellipse at 50% 30%, rgba(204, 26, 0, 0.08), transparent 60%);
    z-index: 0;
}

.brutalist-stripe-bar {
    height: 8px;
    background: repeating-linear-gradient(90deg,
        var(--hazard-yellow) 0px, var(--hazard-yellow) 16px,
        var(--chernobyl-bg) 16px, var(--chernobyl-bg) 32px);
    opacity: 0.6;
}

.brutalist-corner-frame .frame-corner {
    position: absolute;
    width: 30px; height: 30px;
    border-color: var(--toxic-green);
    border-style: solid;
    z-index: 3;
    opacity: 0.5;
}
.frame-corner.tl { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.frame-corner.tr { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.frame-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }
.frame-corner.br { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; }

.brutalist-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    text-align: center;
}

.brutalist-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--toxic-green);
    border: 1px solid var(--toxic-green);
    background: rgba(0, 204, 68, 0.05);
    margin-bottom: 1.5rem;
    animation: chernobylFlicker 3s infinite;
}

@keyframes chernobylFlicker {
    0%, 100% { opacity: 1; }
    48% { opacity: 1; }
    50% { opacity: 0.6; }
    52% { opacity: 1; }
    54% { opacity: 0.5; }
    56% { opacity: 1; }
}

.brutalist-title { margin-bottom: 1.5rem; }

.brutalist-title-main {
    display: block;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    font-family: var(--font-mono);
    letter-spacing: 12px;
    color: var(--toxic-red);
    text-shadow:
        0 0 15px rgba(204, 26, 0, 0.4),
        0 0 40px rgba(204, 26, 0, 0.2);
    line-height: 1.1;
}

.brutalist-title-sub {
    display: block;
    font-size: clamp(0.7rem, 1.5vw, 0.95rem);
    font-weight: 500;
    font-family: var(--font-mono);
    letter-spacing: 5px;
    color: var(--toxic-green);
    margin-top: 0.6rem;
    opacity: 0.8;
}

.brutalist-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: rgba(0, 204, 68, 0.5);
}

.meta-dot { font-size: 0.4rem; color: var(--toxic-red); }

.brutalist-section {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.section-marker { color: var(--toxic-red); font-size: 0.7rem; }

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--white);
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--toxic-red), var(--toxic-green), transparent);
    margin-bottom: 1.5rem;
}

.summary-block { padding: 0.5rem 0; }

.summary-text {
    font-size: 0.95rem;
    color: var(--white-soft);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.summary-text strong { color: var(--toxic-red); font-weight: 700; }

.brutalist-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.brutalist-stat {
    border: 1px solid rgba(0, 204, 68, 0.15);
    background: rgba(0, 0, 0, 0.3);
}

.stat-frame {
    padding: 1.2rem;
    text-align: center;
    position: relative;
}

.stat-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--toxic-red), var(--toxic-green));
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--toxic-red);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--white-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brutalist-timeline {
    position: relative;
    padding-left: 2rem;
}

.brutalist-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--toxic-red), var(--toxic-green));
}

.tl-row {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.5rem;
}

.tl-row::before {
    content: '◆';
    position: absolute;
    left: -2.15rem;
    top: 0.3rem;
    color: var(--toxic-green);
    font-size: 0.5rem;
    text-shadow: 0 0 6px rgba(0, 204, 68, 0.5);
}

.tl-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--toxic-red);
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.tl-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.tl-content p {
    font-size: 0.85rem;
    color: var(--white-muted);
    line-height: 1.7;
}

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

.personnel-card {
    padding: 1.5rem;
    border: 1px solid rgba(204, 26, 0, 0.15);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.personnel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--toxic-red), var(--toxic-green));
}

.personnel-rank {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--toxic-green);
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.personnel-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.personnel-desc {
    font-size: 0.8rem;
    color: var(--white-muted);
    line-height: 1.6;
}

.radiation-data-block { padding: 1rem 0; }
.rad-chart { display: flex; flex-direction: column; gap: 1rem; }

.rad-bar-container {
    display: grid;
    grid-template-columns: 180px 1fr 120px;
    gap: 1rem;
    align-items: center;
}

.rad-bar-label {
    font-size: 0.7rem;
    color: var(--white-muted);
    text-align: right;
}

.rad-bar-track {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.rad-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.5s ease;
    background: var(--toxic-green);
}

.rad-bar-fill.danger {
    background: linear-gradient(90deg, var(--toxic-green), var(--hazard-yellow), var(--toxic-red));
}

.rad-bar-fill.elevated {
    background: linear-gradient(90deg, var(--toxic-green), var(--hazard-yellow));
}

.rad-bar-fill.safe {
    background: var(--toxic-green);
    animation: meterPulse 2s ease-in-out infinite;
}

@keyframes meterPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rad-bar-value {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--toxic-red);
}

.rad-note {
    font-size: 0.65rem;
    color: var(--white-muted);
    opacity: 0.5;
    margin-top: 1rem;
    font-style: italic;
}

.brutalist-quote-block {
    padding: 2rem;
    border: 1px solid rgba(204, 26, 0, 0.2);
    position: relative;
    background: rgba(0, 0, 0, 0.15);
}

.quote-mark {
    font-size: 4rem;
    font-weight: 900;
    color: var(--toxic-red);
    opacity: 0.2;
    line-height: 0.5;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}

.brutalist-quote-block blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--white-soft);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.quote-attribution { display: flex; flex-direction: column; gap: 0.2rem; }

.quote-author {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--toxic-green);
}

.quote-role {
    font-size: 0.7rem;
    color: var(--white-muted);
    opacity: 0.6;
}

.visit-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 0;
}

.visit-text p {
    font-size: 0.9rem;
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.brutalist-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--toxic-green);
    border: 2px solid var(--toxic-green);
    background: rgba(0, 204, 68, 0.08);
    cursor: pointer;
    transition: var(--transition-med);
    text-decoration: none;
}

.brutalist-btn:hover {
    background: rgba(0, 204, 68, 0.2);
    box-shadow: 0 0 20px rgba(0, 204, 68, 0.2);
}

.warning-sign {
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--hazard-yellow);
    background: repeating-linear-gradient(45deg,
        rgba(204, 170, 0, 0.05) 0px, rgba(204, 170, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.2) 10px, rgba(0, 0, 0, 0.2) 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: chernobylFlicker 2s infinite;
}

.warning-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--hazard-yellow);
}

.warning-sub {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--white-muted);
    opacity: 0.5;
}

.brutalist-footer-note {
    max-width: 900px;
    margin: 2rem auto 1rem;
    text-align: center;
}

.brutalist-footer-note p {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 3px;
    color: var(--white-muted);
    opacity: 0.4;
    padding: 0.8rem 0;
}

/* ============ PAGE HERO (Sub-pages) — Gradient Luxury ============ */
.page-hero {
    padding: 2.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg,
        rgba(6, 11, 24, 0.8),
        rgba(26, 42, 108, 0.15),
        rgba(184, 147, 66, 0.04)
    );
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-shine), var(--gold), transparent);
    opacity: 0.4;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.page-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(184, 147, 66, 0.15);
    color: var(--gold-light);
}

.info-title { margin-bottom: 0.8rem; }

.info-title-line {
    display: block;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--white);
}

.info-title-line.accent {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-shine), var(--gold));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 5s ease-in-out infinite;
}

.info-desc {
    max-width: 550px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: var(--white-muted);
    line-height: 1.7;
}

.page-hero-briefings { border-color: rgba(201, 160, 74, 0.1); }
.page-hero-archive { border-color: rgba(255, 255, 255, 0.05); }
.page-hero-about { border-color: rgba(201, 160, 74, 0.1); }

/* ============ PAGE CONTENT ============ */
.page-content { padding-bottom: 3rem; }

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.glass-card {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 147, 66, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition-med);
}

.glass-card:hover::before { opacity: 0.5; }

.info-card-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    opacity: 0;
    transition: var(--transition-med);
}

.glass-card:hover .info-card-glow { opacity: 1; }

.glass-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.glass-card p {
    font-size: 0.85rem;
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.info-meta {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

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

.archive-item { padding: 1.5rem; }

.archive-type {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold);
    border: 1px solid rgba(201, 160, 74, 0.2);
    margin-bottom: 0.8rem;
}

.archive-item h3 { font-size: 0.95rem !important; }

.about-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.about-modern-card h3 {
    font-size: 1rem !important;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--gold-bright) !important;
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    background: rgba(6, 11, 24, 0.6);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    margin-top: 3rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-shine), var(--gold), transparent);
    opacity: 0.3;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { font-size: 1.1rem; color: var(--gold); }

.footer-name {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-shine), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 6s ease-in-out infinite;
}

.footer-links { display: flex; gap: 0.3rem; flex-wrap: wrap; }

.footer-link {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white-muted);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.footer-link:hover { color: var(--white); background: var(--glass-bg-hover); }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 1rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--white-muted);
    opacity: 0.5;
}

.footer-tech {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 1px;
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .main-content { padding: 4.5rem 1rem 2rem; }
    .visit-block { grid-template-columns: 1fr; }
    .rad-bar-container { grid-template-columns: 120px 1fr 80px; }
}

@media (max-width: 600px) {
    .brutalist-title-main { letter-spacing: 6px; }
    .brutalist-meta { font-size: 0.5rem; gap: 0.5rem; }
    .showcase-card { padding: 1.5rem; min-height: 300px; }
    .card-title { font-size: 1.3rem; letter-spacing: 4px; }
    .card-number { font-size: 2.2rem; }
    .rad-bar-container { grid-template-columns: 1fr; gap: 0.3rem; }
    .rad-bar-label { text-align: left; }
    .rad-bar-value { text-align: right; }
    .side-nav { width: 280px; }
}
