 @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;500;700&display=swap');

        :root {
            --bg: #000000;
            --text: #ffffff;
            --accent: #00ff41; /* Terminal Green */
            --shadow: #333333;
            --border-width: 3px;
            --card-bg: #111111;
        }

        .light-mode {
            --bg: #ffffff;
            --text: #000000;
            --accent: #ff0055; /* Neon Pink */
            --shadow: #000000;
            --card-bg: #f0f0f0;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Fira Code', monospace; }

        body {
            background-color: var(--bg);
            color: var(--text);
            transition: all 0.2s ease;
            overflow-x: hidden;
        }

        /* --- CUSTOM TERMINAL LOADER --- */
        #loader {
            position: fixed;
            inset: 0;
            background: #000;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-left: 10%;
            color: #00ff41;
        }

        /* --- NAVIGATION --- */
        nav {
            position: fixed;
            top: 0; width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: var(--bg);
            border-bottom: var(--border-width) solid var(--text);
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text);
            margin-left: 20px;
            font-weight: 700;
            padding: 5px 10px;
            border: 2px solid transparent;
        }

        .nav-links a:hover {
            border: 2px solid var(--accent);
            background: var(--accent);
            color: #000;
        }

        #theme-toggle {
            background: var(--accent);
            color: #000;
            border: var(--border-width) solid var(--text);
            padding: 5px 15px;
            cursor: pointer;
            font-weight: 700;
            box-shadow: 4px 4px 0px var(--shadow);
        }

        /* --- HERO SECTION --- */
        section { padding: 120px 10% 60px; min-height: 100vh; }
        
        .hero h1 {
            font-size: clamp(3rem, 10vw, 7rem);
            line-height: 0.8;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .glitch-box {
            display: inline-block;
            background: var(--accent);
            color: #000;
            padding: 10px 20px;
            font-weight: 700;
            border: var(--border-width) solid var(--text);
            box-shadow: 8px 8px 0px var(--shadow);
            margin-bottom: 30px;
        }

        /* --- TIMELINE (BRUTALIST) --- */
        .timeline {
            position: relative;
            max-width: 900px;
            margin-top: 50px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: var(--border-width);
            background: var(--text);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            padding-left: 60px;
            opacity: 0;
            transform: translateY(40px);
            transition: 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
        }

        .timeline-item.active { opacity: 1; transform: translateY(0); }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 9px;
            top: 10px;
            width: 25px;
            height: 25px;
            background: var(--accent);
            border: var(--border-width) solid var(--text);
            z-index: 2;
        }

        .timeline-card {
            background: var(--card-bg);
            border: var(--border-width) solid var(--text);
            padding: 25px;
            box-shadow: 10px 10px 0px var(--shadow);
        }

        .timeline-category {
            font-size: 0.8rem;
            background: var(--text);
            color: var(--bg);
            padding: 2px 8px;
            margin-bottom: 10px;
            display: inline-block;
        }

        /* --- WORKS --- */
        .works-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .work-card {
            border: var(--border-width) solid var(--text);
            padding: 20px;
            transition: 0.2s;
            cursor: pointer;
        }

        .work-card:hover {
            background: var(--accent);
            color: #000;
            transform: translate(-5px, -5px);
            box-shadow: 10px 10px 0px var(--text);
        }

        /* --- CONTACT --- */
        .contact-area {
            border: var(--border-width) dashed var(--text);
            padding: 40px;
            text-align: center;
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 3rem; }
            nav { padding: 15px 5%; }
            .nav-links { display: none; }
        }