:root {
            --bg: #0b0c10;
            --panel: #111318;
            --text: #e8ecf1;
            --muted: #aab3c0;
            --brand: #6ee7b7;
            --brand-2: #60a5fa;
            --ring: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
        }

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

        html, body {
            height: 100%;
            overflow: hidden;
            font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
            background: radial-gradient(1200px 800px at 80% -10%, rgba(96,165,250,.12), transparent 60%),
                        radial-gradient(900px 600px at -10% 20%, rgba(110,231,183,.10), transparent 50%),
                        var(--bg);
            color: var(--text);
            scroll-behavior: smooth;
            scrollbar-width: none;
        }

        body::-webkit-scrollbar {
            display: none;
        }

        .container {
            width: min(1100px, 92vw);
            margin-inline: auto;
        }

        /* Navigation */
        .navigation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            backdrop-filter: saturate(160%) blur(8px);
            background: color-mix(in srgb, var(--bg) 80%, transparent);
            border-bottom: 1px solid rgba(255,255,255,.06);
            animation: fadeDown .8s ease forwards;
        }

        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .home-button {
            color: var(--text);
            text-decoration: none;
            padding: 0.5rem 1rem;
            border: 1px solid rgba(255,255,255,.2);
            border-radius: 30px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .home-button:hover {
            background: rgba(255,255,255,.1);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
        }

        .brand-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: conic-gradient(from 0deg, var(--brand), var(--brand-2));
            box-shadow: 0 0 0 4px rgba(110,231,183,.15);
            animation: pulse 2s infinite alternate;
        }

        @keyframes pulse {
            from {
                transform: scale(1);
            }
            to {
                transform: scale(1.3);
            }
        }

        .nav-progress {
            width: 100px;
            height: 3px;
            background: rgba(255,255,255,.2);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            width: 25%;
            background: var(--brand);
            transition: width 0.5s ease;
        }

        /* Projects Container */
        .projects-container {
            height: 100vh;
            overflow: hidden;
            position: relative;
        }

        .project-section {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
            padding: 0 10%;
            transform: translateY(50px);
        }

        .project-section.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .project-content {
            display: flex;
            align-items: center;
            gap: 5rem;
            max-width: 1200px;
            width: 100%;
        }

        .project-info {
            flex: 1;
        }

        .project-info h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
            color: var(--brand);
        }

        .project-date {
            color: var(--muted);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .project-description {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 2rem;
            color: var(--text);
        }

        .technologies {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2rem;
        }

        .tech-tag {
            background: rgba(255,255,255,0.1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            color: var(--text);
        }

        .project-links {
            display: flex;
            gap: 1rem;
        }

        .project-link {
            color: var(--text);
            text-decoration: none;
            padding: 0.8rem 1.5rem;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 30px;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.05);
        }

        .project-link:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-2px);
        }

        .project-visual {
            flex: 1;
            display: flex;
            justify-content: flex-end;
        }

        .project-image {
            width: 100%;
            max-width: 500px;
            height: 350px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
            transition: transform 0.5s ease;
            border: 1px solid rgba(255,255,255,0.1);
        }

        .project-image:hover {
            transform: perspective(1000px) rotateY(0) rotateX(0);
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .scroll-indicator {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            color: rgba(255,255,255,0.7);
            z-index: 1000;
        }

        .mouse {
            width: 26px;
            height: 40px;
            border: 2px solid rgba(255,255,255,0.7);
            border-radius: 13px;
            margin-bottom: 0.5rem;
            position: relative;
        }

        .wheel {
            width: 3px;
            height: 8px;
            background: rgba(255,255,255,0.7);
            border-radius: 2px;
            position: absolute;
            top: 8px;
            left: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        @keyframes scroll {
            0% {
                opacity: 1;
                top: 8px;
            }
            100% {
                opacity: 0;
                top: 20px;
            }
        }

        .scroll-indicator p {
            font-size: 0.9rem;
        }

        /* Notice for school projects */
        .school-projects-notice {
            position: fixed;
            bottom: 6rem;
            right: 2rem;
            background: var(--panel);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 1000;
            max-width: 300px;
        }

        .school-projects-notice p {
            margin: 0;
            font-size: 0.9rem;
            color: var(--muted);
        }

        .school-link {
            color: var(--brand);
            text-decoration: none;
            font-weight: 500;
        }

        .school-link:hover {
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 968px) {
            html, body {
                overflow-x: hidden;
                overflow-y: auto;
            }

            .projects-container {
                height: auto;
                min-height: 100vh;
                overflow: visible;
                padding-top: 90px;
                padding-bottom: 120px;
            }

            .project-section {
                position: relative;
                height: auto;
                min-height: unset;
                opacity: 0;
                visibility: hidden;
                transform: none;
                display: none;
                padding: 0 6%;
            }

            .project-section.active {
                opacity: 1;
                visibility: visible;
                display: flex;
            }

            .project-content {
                flex-direction: column;
                gap: 3rem;
                text-align: center;
            }
            
            .project-info h2 {
                font-size: 2rem;
            }
            
            .technologies, .project-links {
                justify-content: center;
            }
            
            .project-image {
                max-width: 400px;
                height: clamp(220px, 46vw, 320px);
                transform: none;
            }

            .project-image:hover {
                transform: none;
            }

            .scroll-indicator {
                display: none;
            }

            .school-projects-notice {
                position: static;
                margin: 12px auto 0;
                max-width: 92vw;
            }

            footer {
                margin-top: 24px;
                padding-bottom: 36px;
            }
        }

        @media (max-width: 600px) {
            .navigation {
                padding: 1rem;
                gap: .6rem;
                flex-wrap: wrap;
            }

            .brand {
                width: 100%;
                justify-content: center;
                text-align: center;
                order: 3;
            }

            .nav-progress {
                width: 100%;
                order: 2;
            }

            .home-button {
                order: 1;
            }
            
            .project-section {
                padding: 0 5%;
            }
            
            .project-info h2 {
                font-size: 1.8rem;
            }
            
            .project-description {
                font-size: 1rem;
            }
            
            .project-image {
                height: 250px;
            }
            
            .project-links {
                flex-direction: column;
                align-items: center;
                width: 100%;
            }

            .project-link {
                width: 100%;
                max-width: 320px;
                text-align: center;
            }
        }

        /* School projects page specific */
        body.school-projects {
            background: radial-gradient(1200px 800px at 80% -10%, rgba(250,165,96,.12), transparent 60%),
                        radial-gradient(900px 600px at -10% 20%, rgba(183,231,110,.10), transparent 50%),
                        var(--bg);
        }