        :root {
            --bg-primary: #050505;
            --bg-secondary: #0a0a0a;
            --surface: #111111;
            --surface-hover: #1a1a1a;
            --border: rgba(255, 255, 255, 0.08);
            --border-hover: rgba(255, 255, 255, 0.15);
            --text-primary: #ffffff;
            --text-secondary: #888888;
            --accent: #ff3333;
            --accent-hover: #ff4444;
            --glow: rgba(255, 51, 51, 0.3);
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            position: relative;
            color: var(--text-primary);
            -webkit-font-smoothing: antialiased;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            opacity: 0.03;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
        }

        #starfield {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            background: radial-gradient(ellipse at bottom, #0a0a0a 0%, #050505 70%);
        }

        .support-wrapper {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 100;
            background: rgba(17, 17, 17, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            padding: 10px 18px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
        }

        .support-wrapper:hover {
            border-color: var(--accent);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 51, 51, 0.1);
        }

        .support-text {
            color: var(--text-primary);
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 36px;
            height: 20px;
        }

        .switch input { 
            opacity: 0; 
            width: 0; 
            height: 0; 
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0;
            background-color: #333;
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 20px;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .slider::before {
            position: absolute;
            content: "";
            height: 14px; 
            width: 14px;
            left: 3px; 
            bottom: 3px;
            background: linear-gradient(145deg, #ffffff, #e0e0e0);
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        input:checked + .slider { 
            background-color: var(--accent); 
        }

        input:checked + .slider::before { 
            transform: translateX(16px); 
        }

        .scene {
            position: relative;
            z-index: 2;
            perspective: 1000px;
            width: 100%;
            max-width: 1000px;
            padding: 40px 20px;
        }

        .container {
            transform-style: preserve-3d;
            transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            backface-visibility: hidden;
        }

        .scene:hover .container {
            transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateZ(20px);
        }

        .logo-section {
            margin-bottom: 50px;
            transform: translateZ(40px);
        }

        .logo {
            font-size: clamp(3rem, 8vw, 5rem);
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -0.05em;
            margin-bottom: 12px;
            text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
            background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .tagline {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
            letter-spacing: 0.02em;
        }

        .nav-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            max-width: 800px;
            margin: 0 auto;
            transform-style: preserve-3d;
        }

        .nav-item {
            background: rgba(17, 17, 17, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px 20px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
            will-change: transform;
        }

        .nav-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
            transition: left 0.6s ease;
        }

        .nav-item:hover::before {
            left: 100%;
        }

        .nav-item:hover {
            background: rgba(26, 26, 26, 0.9);
            border-color: var(--border-hover);
            transform: translateY(-4px) translateZ(20px) scale(1.02);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 51, 51, 0.2);
        }

        .nav-item:nth-child(1):hover { border-color: rgba(255, 51, 51, 0.4); }
        .nav-item:nth-child(2):hover { border-color: rgba(51, 133, 255, 0.4); }
        .nav-item:nth-child(3):hover { border-color: rgba(255, 193, 7, 0.4); }
        .nav-item:nth-child(4):hover { border-color: rgba(0, 230, 118, 0.4); }
        .nav-item:nth-child(5):hover { border-color: rgba(156, 39, 176, 0.4); }
        .nav-item:nth-child(6):hover { border-color: rgba(255, 152, 0, 0.4); }

        .nav-title {
            color: var(--text-primary);
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            transition: color 0.3s ease;
        }

        .nav-item:hover .nav-title {
            color: var(--accent);
        }

        .nav-desc {
            color: var(--text-secondary);
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.02em;
        }

        .secondary-nav {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            display: flex;
            gap: 8px;
            background: rgba(17, 17, 17, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 8px;
            border-radius: 50px;
            border: 1px solid var(--border);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
        }

        .nav-pill {
            padding: 10px 20px;
            border-radius: 50px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid transparent;
        }

        .nav-pill:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            border-color: var(--border-hover);
        }

        .nav-pill.active {
            background: var(--surface);
            color: var(--text-primary);
            border-color: var(--border-hover);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
        }

        .panic-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 101;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(17, 17, 17, 0.8);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: lowercase;
        }

        .panic-btn:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 0 30px var(--glow);
        }

        @media (max-width: 768px) {
            .scene { perspective: none; }
            .container { transform: none !important; }
            .scene:hover .container { transform: none !important; }
            .nav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
            .nav-item { padding: 20px 16px; }
            .logo { font-size: 2.5rem; }
            .support-wrapper { top: 16px; right: 16px; padding: 8px 14px; }
            .support-text { display: none; }
            .secondary-nav { bottom: 20px; padding: 6px; }
            .nav-pill { padding: 8px 14px; font-size: 0.7rem; }
            .panic-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
        }

        @media (max-width: 480px) {
            .nav-grid { grid-template-columns: 1fr; }
            .secondary-nav { flex-wrap: wrap; justify-content: center; max-width: 90%; border-radius: 20px; }
        }

        .panic-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            font-family: 'Times New Roman', Times, serif;
            cursor: default;
        }

        .panic-overlay.active {
            display: flex;
        }

        .panic-content {
            text-align: left;
            color: #000;
            max-width: 800px;
            padding: 40px;
            width: 100%;
        }

        .panic-content h1 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            font-weight: normal;
        }

        .panic-content p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
            color: #000;
        }
