:root {
            --bg-color: #0a0a0a;
            --nav-bg: #1a1a1a;
            --primary-orange: #ff6b00;
            --text-inactive: #757575;
            --glow: rgba(255, 107, 0, 0.4);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background-color: var(--bg-color); font-family: -apple-system, system-ui, sans-serif; }

        /* Responsive Logic */
        @media screen and (min-width: 769px) {
            .mobile-nav-container { display: none !important; }
            .desktop-msg { 
                display: flex; 
                color: white; 
                height: 100vh; 
                align-items: center; 
                justify-content: center; 
                text-align: center;
                padding: 20px;
            }
        }
        .desktop-msg { display: none; }

        .mobile-nav-container {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 48px);
            max-width: 420px;
            z-index: 9999;
        }

        .bottom-nav {
            background: var(--nav-bg);
            height: 72px;
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 0 12px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.08);
            position: relative;
        }

        .nav-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            height: 100%;
            text-decoration: none;
            color: var(--text-inactive);
            transition: var(--transition);
            z-index: 2;
        }

        .nav-item svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            transition: var(--transition);
        }

        .nav-item span {
            font-size: 10px;
            font-weight: 700;
            margin-top: 4px;
            opacity: 0;
            transform: translateY(6px);
            transition: var(--transition);
        }

        /* CSS-FIRST ACTIVE STATES 
           This ensures icons turn orange even if JS fails 
        */
        .nav-item.active {
            color: var(--primary-orange);
        }

        .nav-item.active svg {
            transform: translateY(-5px);
            stroke-width: 2.5;
            filter: drop-shadow(0 0 8px var(--glow));
        }

        .nav-item.active span {
            opacity: 1;
            transform: translateY(0);
        }

        /* The Animated Orange Pill */
        .nav-indicator {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            height: 48px;
            background: rgba(255, 107, 0, 0.15);
            border-radius: 16px;
            transition: width 0.3s ease, left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
            z-index: 1;
            pointer-events: none;
            opacity: 0; /* JS will turn this to 1 only when measured */
            border: 1px solid rgba(255, 107, 0, 0.1);
        }