:root {
            --background: #282a36;
            --current-line: #44475a;
            --foreground: #f8f8f2;
            --comment: #6272a4;
            --cyan: #8be9fd;
            --green: #50fa7b;
            --orange: #ffb86c;
            --pink: #ff79c6;
            --purple: #bd93f9;
            --red: #ff5555;
            --yellow: #f1fa8c;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--foreground);
            margin: 0;
            padding: 0;
            background: var(--background);
            position: relative;
            overflow-x: hidden; /* NEW: Prevent horizontal scrolling */
        }

        /* --- NEW: Added ::before pseudo-element for zoom effect --- */
        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('images/brokenlink.png') no-repeat center center;
            background-size: cover;
            z-index: -1;
            transform: scale(var(--bg-zoom-scale, 1));
            transition: transform 0.1s linear;
        }
        
        /* NEW: General rule for better responsive embedded content */
        iframe {
            max-width: 100%;
        }

        h1 {
           font-size: 3.5rem;
           color: var(--cyan);
           border: none;
           margin: 0 0 1rem 0;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 90px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        /* NEW: Mobile navigation toggle button */
        .nav-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 1rem;
            z-index: 1001;
        }

        .nav-toggle i {
            color: var(--foreground);
            font-size: 1.75rem;
        }

        nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            background-color: rgba(40, 42, 54, 0.5);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(248, 248, 242, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
            border-radius: 50px;
            padding: 0.75rem 2rem;
            transition: transform 0.3s ease-in-out;
        }

        nav a {
            color: var(--foreground);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
        }

        nav a:hover, nav a.active {
            background-color: var(--purple);
            color: var(--background);
        }

        .glass-box {
            background-color: rgba(40, 42, 54, 0.5);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border-radius: 16px;
            border: 1px solid rgba(248, 248, 242, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
            padding: 2.5rem 3.5rem;
            width: 80%;
            max-width: 1000px;
            text-align: center;
        }

        .full-page-section {
            min-height: calc(100vh - 90px); /* Fill screen below header */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            box-sizing: border-box;
        }
        
        /* NEW: Button style for the home link */
        .home-button {
            display: inline-block;
            margin-top: 1.5rem;
            padding: 0.8rem 2rem;
            background-color: var(--purple);
            color: var(--background);
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        .home-button:hover {
            background-color: var(--pink);
            transform: translateY(-2px);
        }

        /* --- Loading Overlay Styles --- */
        #loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--background);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
            pointer-events: none;
        }

        .loader-spinner {
            width: 60px;
            height: 60px;
            border: 5px solid var(--current-line);
            border-top-color: var(--purple);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* --- NEW: MOBILE OPTIMIZATIONS --- */
        @media (max-width: 768px) {
            body {
                background-attachment: scroll;
            }
            html, body {
    overflow-x: hidden;
}
            header {
                justify-content: flex-end;
                padding: 0 1rem;
            }

            .nav-toggle {
                display: block;
            }

            nav {
                position: fixed;
                inset: 0 0 0 30%;
                flex-direction: column;
                padding: min(20vh, 10rem) 2rem;
                gap: 2rem;
                transform: translateX(100%);
                border-radius: 0;
                background-color: rgba(40, 42, 54, 0.9);
                backdrop-filter: blur(1rem);
            }
            
            nav[data-visible="true"] {
                transform: translateX(0%);
            }

            .full-page-section {
                padding: 1.5rem;
            }

            .glass-box {
                width: 100%;
                padding: 2rem 1.5rem;
            }

            h1 {
                font-size: 2.5rem;
            }
        }