        :root {
            --bg-color: #0a0a0a;
            --shelf-wood: #151515;
            --accent-red: #7f0000; 
            --bright-red: #d32f2f;
            --text-gray: #a0a0a0;
            --glass: rgba(10, 10, 10, 0.95);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }

        body {
            background-color: var(--bg-color);
            color: white;
            font-family: 'Inter', -apple-system, sans-serif;
            line-height: 1.6;
        }

        /* --- Minimalist Top Bar --- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            height: 60px;
            background: var(--glass);
            border-bottom: 1px solid #222;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10%;
            z-index: 1000;
        }

        nav .brand {
            font-family: monospace;
            font-size: 1.1rem;
            color: var(--bright-red);
            letter-spacing: 1px;
        }

        nav ul { display: flex; list-style: none; }
        nav ul li { margin-left: 25px; }
        nav ul li a {
            text-decoration: none;
            color: var(--text-gray);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            transition: 0.3s;
        }
        nav ul li a:hover { color: var(--bright-red); }

        /* --- Bookshelf Intro --- */
        .shelf-container {
            padding: 140px 10% 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .bookshelf {
            display: flex;
            align-items: flex-end;
            gap: 15px;
            border-bottom: 4px solid var(--shelf-wood);
            padding: 0 30px;
            width: 100%;
            max-width: 900px;
        }

        .book {
            width: 45px;
            height: 200px;
            background: #111;
            border: 1px solid #222;
            border-left: 3px solid var(--accent-red);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
        }

        .book:hover {
            height: 230px;
            border-left: 3px solid var(--bright-red);
            background: #181818;
            box-shadow: 0 0 20px rgba(211, 47, 47, 0.15);
        }

        .book .spine-text {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            font-size: 0.75rem;
            color: var(--text-gray);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* --- Timeline Styling (New) --- */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding-left: 30px;
            border-left: 2px solid #222;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            padding-left: 20px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -41px;
            top: 5px;
            width: 20px;
            height: 20px;
            background: var(--bg-color);
            border: 2px solid var(--accent-red);
            border-radius: 50%;
            transition: 0.3s;
        }

        .timeline-item:hover::before {
            background: var(--bright-red);
            box-shadow: 0 0 10px var(--bright-red);
        }

        .timeline-date {
            font-family: monospace;
            font-size: 0.85rem;
            color: var(--bright-red);
            display: block;
            margin-bottom: 5px;
        }

        .timeline-title {
            font-size: 1.1rem;
            color: #eee;
            margin-bottom: 5px;
        }

        .timeline-location {
            font-size: 0.9rem;
            color: var(--text-gray);
            font-style: italic;
        }

        /* --- General Section Styling --- */
        .content-section {
            padding: 100px 15%;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            color: var(--bright-red);
            font-family: monospace;
            margin-bottom: 2.5rem;
            font-size: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

        h3 {
            color: #eee;
            font-family: monospace;
            margin: 2rem 0 1rem 0;
            font-size: 1.2rem;
            text-transform: uppercase;
        }

        p { color: var(--text-gray); margin-bottom: 1.5rem; }

        /* --- Skills --- */
        .skills-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 1rem;
        }

        .skill-tag {
            padding: 4px 12px;
            border: 1px solid #333;
            font-size: 0.7rem;
            color: var(--text-gray);
            font-family: monospace;
            transition: 0.3s;
        }

        .skill-tag:hover { border-color: var(--bright-red); color: white; }

        /* --- Cards --- */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }

        .card {
            background: #111;
            border: 1px solid #222;
            padding: 25px;
            text-decoration: none;
            color: inherit;
            transition: 0.3s;
            display: block;
        }

        .card:hover {
            border-color: var(--bright-red);
            background: #151515;
            transform: translateY(-5px);
        }

        .card-footer {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            border-top: 1px solid #222;
            padding-top: 15px;
            margin-top: 15px;
        }

        /* Horizontal Book */
        .book-horizontal {
            width: 180px !important;
            height: 40px !important;
            border-left: 1px solid #222 !important; 
            border-bottom: 4px solid var(--accent-red) !important;
            flex-direction: row;
            padding: 0 10px;
            align-self: flex-end;
        }

        .book-horizontal:hover {
            transform: translateY(-5px) !important;
            border-bottom: 4px solid var(--bright-red) !important;
        }

        .spine-text-horizontal {
            font-size: 0.8rem;
            color: var(--text-gray);
            font-family: monospace;
        }

        footer { text-align: center; padding: 60px; font-size: 0.7rem; color: #444; letter-spacing: 2px; }

        /* --- Technical Arsenal Grid --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.tech-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    padding: 20px;
    transition: 0.3s;
}

.tech-category:hover {
    border-color: var(--accent-red);
    background: rgba(127, 0, 0, 0.05);
}

.tech-header {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--bright-red);
    margin-bottom: 15px;
    letter-spacing: 2px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-list span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
}

.tech-list span::before {
    content: "> ";
    color: var(--accent-red);
    font-family: monospace;
}

.archive-welcome {
    text-align: center;
    margin: 40px 0; /* Creates space above and below the text */
    padding: 20px;
}

.archive-welcome p {
    color: var(--bright-red); /* Uses your bright red variable */
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 5px; /* Spreads the letters for that high-tech look */
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(211, 47, 47, 0.4); /* Subtle red glow */
}



