 :root {
            --primary-orange: #ff7b00;
            --gradient: linear-gradient(135deg, #ff9100 0%, #ff5e00 100%);

            /* Dark Theme */
            --bg-color: #050505;
            --intro-bg: #0a0805;
            --text-main: #ffffff;
            --text-muted: #888888;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --nav-bg: rgba(10, 10, 10, 0.92);
            --card-border: rgba(255, 255, 255, 0.05);
        }

        [data-theme="light"] {
            --bg-color: #f5f5f7;
            --intro-bg: #fffaf5;
            --text-main: #1d1d1f;
            --text-muted: #6e6e73;
            --glass-bg: rgba(0, 0, 0, 0.03);
            --nav-bg: rgba(255, 255, 255, 0.92);
            --card-border: rgba(0, 0, 0, 0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; transition: background-color 0.5s ease, color 0.5s ease; }

        body {
            background: var(--bg-color);
            color: var(--text-main);
            overflow-x: hidden;
        }

        /* --- THEME TOGGLE BUTTON --- */
        .theme-toggle {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--glass-bg);
            border: 1px solid var(--card-border);
            color: var(--text-main);
            cursor: pointer;
            z-index: 2000;
            display: flex;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            font-size: 1.2rem;
        }

        /* --- INTRO OVERLAY --- */
        #intro-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: var(--intro-bg);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.8s ease-in-out;
        }

        /* FIX: No transform centering — JS sets left/top directly */
        .moving-logo {
            /* width: 120px; height: 120px;
            background: var(--gradient); */
            
            width: 400px; height: 400px;
            background-image: url("../images/bk.png");
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            border-radius: 24px;
            display: flex; justify-content: center; align-items: center;
            font-weight: 800; font-size: 2.5rem; color: white;
            box-shadow: 0 0 40px rgba(255, 123, 0, 0.3);
            z-index: 10000;
            position: fixed;
            will-change: left, top, width, height, border-radius, font-size;
        }

        /* --- HEADER & NAV --- */
        header {
            position: fixed;
            top: 0; width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(12px);
            background: transparent;
            background-color: var(--bg-color);
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        /* Invisible box that reserves the space the animated logo flies into */
        .logo-placeholder {
            width: 40px;
            height: 40px;
            visibility: hidden;
            flex-shrink: 0;
        }

        .brand-name {
            font-weight: 800;
            font-size: 1.2rem;
            opacity: 0;
            transform: translateX(-10px);
            transition: 0.8s ease-out;
            white-space: nowrap; /* Prevents name from wrapping under the logo */
        }

        .brand-name.visible { opacity: 1; transform: translateX(0); }

        /* --- DESKTOP NAV LINKS --- */
        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
            opacity: 0;
            transition: 1s ease;
        }
        .nav-links.show { opacity: 1; }
        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s;
        }
        .nav-links a:hover { color: var(--text-main); }

        /* --- HAMBURGER BUTTON (hidden on desktop) --- */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            background: none;
            border: 1px solid var(--card-border);
            border-radius: 8px;
            cursor: pointer;
            z-index: 1100;
            flex-shrink: 0;
            opacity: 0;
            transition: opacity 1s ease, border-color 0.2s;
        }
        .hamburger.show { opacity: 1; }
        .hamburger:hover { border-color: var(--primary-orange); }

        .hamburger span {
            display: block;
            width: 18px;
            height: 2px;
            background: var(--text-main);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        /* Animate to × when open */
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* --- MOBILE SLIDE-DOWN MENU --- */
        .mobile-menu {
            position: fixed;
            top: 0; left: 0; right: 0;
            background: var(--nav-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--card-border);
            padding: 80px 5% 28px;
            z-index: 999;
            display: flex;
            flex-direction: column;
            gap: 0;
            transform: translateY(-100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .mobile-menu.open {
            transform: translateY(0);
            pointer-events: auto;
        }

        .mobile-menu a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 1rem;
            font-weight: 500;
            padding: 14px 0;
            border-bottom: 1px solid var(--card-border);
            transition: color 0.2s, padding-left 0.2s;
            display: block;
        }
        .mobile-menu a:last-child { border-bottom: none; }
        .mobile-menu a:hover {
            color: var(--primary-orange);
            padding-left: 6px;
        }

        /* --- MAIN CONTENT --- */
        #main-content { opacity: 0; transition: 1.5s ease; }
        #main-content.visible { opacity: 1; }

        .hero {
            height: 100vh;
            display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
            background: radial-gradient(circle at center, rgba(255, 123, 0, 0.08) 0%, transparent 70%);
            padding: 0 20px;
        }

        .hero h1 { font-size: clamp(3rem, 10vw, 6rem); line-height: 1.1; margin-bottom: 20px; }
        .btn {
            padding: 16px 40px;
            border-radius: 100px;
            text-decoration: none;
            background: var(--gradient);
            color: white;
            font-weight: 600;
        }

        /* --- RESPONSIVE BREAKPOINTS --- */

        /* Tablet & mobile: hide desktop links, show hamburger */
        @media (max-width: 768px) {
            .nav-links { display: none !important; }
            .hamburger { display: flex; }
            header { padding: 16px 5%; }
        }

        @media (max-width: 480px) {
            .brand-name { font-size: 1rem; }
            header { padding: 14px 4%; }
        }