
        /* Shared Styles from index.html */
        body {
            background-color: #000;
            color: #fff;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            margin: 0;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .elite-nav {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 69, 0, 0.2);
            background: rgba(0, 0, 0, 0.9);
        }
        
        .elite-logo {
            background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 900;
            letter-spacing: 1px;
        }

        .nav-link {
            position: relative;
            transition: all 0.3s ease;
            color: rgba(255, 255, 255, 0.8);
        }

        .nav-link:hover { color: #FF8C00; }

        .elite-button {
            background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
            color: #000;
            font-weight: 800;
            transition: all 0.3s ease;
        }

        /* 3D Rotating Scene Styles */
        .scene {
            width: 100%;
            height: 500px;
            perspective: 1200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 120px; /* Offset for fixed navbar */
        }

        .carousel {
            width: 400px;
            height: 250px;
            position: relative;
            transform-style: preserve-3d;
            animation: rotate 25s infinite linear;
        }

        .carousel:hover { animation-play-state: paused; }

        .carousel__cell {
            position: absolute;
            width: 380px;
            height: 230px;
            left: 10px;
            top: 10px;
            border: 1px solid rgba(255, 69, 0, 0.3);
            background: #111;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(0,0,0,0.8);
        }

        .carousel__cell img {
            width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
        }

        /* 5-Card Circular Placement */
        .carousel__cell:nth-child(1) { transform: rotateY(0deg) translateZ(450px); }
        .carousel__cell:nth-child(2) { transform: rotateY(72deg) translateZ(450px); }
        .carousel__cell:nth-child(3) { transform: rotateY(144deg) translateZ(450px); }
        .carousel__cell:nth-child(4) { transform: rotateY(216deg) translateZ(450px); }
        .carousel__cell:nth-child(5) { transform: rotateY(288deg) translateZ(450px); }

        @keyframes rotate {
            from { transform: rotateY(0deg); }
            to { transform: rotateY(360deg); }
        }

        /* UI Header from Screenshot */
        .tool-header-box {
            border: 2px solid #007bff;
            padding: 8px 24px;
            display: inline-block;
            color: #007bff;
            font-family: 'Orbitron';
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 3px;
            box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
        }
    

    .elite-nav {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 69, 0, 0.2);
        background: rgba(0, 0, 0, 0.9);
    }
    
    .elite-logo {
        background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 900;
        letter-spacing: 1px;
        text-shadow: 0 0 30px rgba(255, 69, 0, 0.4);
    }

    .nav-link {
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #FF4500, #FF8C00);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 100%;
    }

    .elite-button {
        background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        color: #000;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .elite-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(255, 69, 0, 0.5);
    }
    
    /* Allow text selection for links and buttons for better mobile UX */
    .mobile-nav-link, .mobile-submenu-link, .elite-button, .mobile-auth-button {
        -webkit-user-select: auto !important;
        -moz-user-select: auto !important;
        -ms-user-select: auto !important;
        user-select: auto !important;
    }




    /* Fixed Responsive 3D Carousel */
.scene {
    width: 100%;
    height: auto;
    min-height: 300px;
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 120px auto 40px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    max-width: 400px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 25s infinite linear;
    margin: 0 auto;
}

.carousel:hover {
    animation-play-state: paused;
}

.carousel__cell {
    position: absolute;
    width: 90%;
    max-width: 350px;
    height: 200px;
    left: 5%;
    top: 25px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.carousel__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .scene {
        perspective: 500px;
        margin: 100px auto 30px;
        min-height: 250px;
    }
    
    .carousel {
        width: 90%;
        height: 180px;
        max-width: 300px;
    }
    
    .carousel__cell {
        width: 85%;
        height: 150px;
        top: 15px;
        left: 7.5%;
    }
    
    /* Reduce rotation speed on mobile */
    .carousel {
        animation: rotate 35s infinite linear;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .scene {
        perspective: 400px;
        min-height: 200px;
        margin: 80px auto 20px;
    }
    
    .carousel {
        width: 95%;
        height: 150px;
        max-width: 280px;
    }
    
    .carousel__cell {
        width: 80%;
        height: 120px;
        top: 15px;
        left: 10%;
    }
    
    .carousel {
        animation: rotate 40s infinite linear;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .scene {
        perspective: 1000px;
        min-height: 350px;
    }
    
    .carousel {
        width: 90%;
        max-width: 450px;
        height: 280px;
    }
    
    .carousel__cell {
        width: 90%;
        max-width: 380px;
        height: 230px;
    }
}

/* Position each card in the 3D circle */
.carousel__cell:nth-child(1) { 
    transform: rotateY(0deg) translateZ(calc(400px * var(--scale-factor, 1)));
}
.carousel__cell:nth-child(2) { 
    transform: rotateY(72deg) translateZ(calc(400px * var(--scale-factor, 1)));
}
.carousel__cell:nth-child(3) { 
    transform: rotateY(144deg) translateZ(calc(400px * var(--scale-factor, 1)));
}
.carousel__cell:nth-child(4) { 
    transform: rotateY(216deg) translateZ(calc(400px * var(--scale-factor, 1)));
}
.carousel__cell:nth-child(5) { 
    transform: rotateY(288deg) translateZ(calc(400px * var(--scale-factor, 1)));
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Optional: Add touch controls for mobile */
.carousel {
    touch-action: manipulation;
}

/* Optional: Add loading state */
.carousel__cell {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel__cell:hover {
    opacity: 1;
}

    /* --- MOBILE NAVBAR RESPONSIVENESS --- */

    /* Hide desktop nav on mobile */
    @media (max-width: 767px) {
        .elite-nav .hidden.md\:flex {
            display: none !important;
        }
        
        .elite-button.hidden.md\:block {
            display: none !important;
        }
    }

    @media (min-width: 767px) {
        #mobileMenuButton {
            display: none !important;
        }
    }

    /* Mobile navbar container adjustments */
    @media (max-width: 767px) {
        .elite-nav {
            padding: 12px 16px !important;
        }
        
        .elite-logo {
            font-size: 1.25rem !important;
        }
        
        .elite-nav img {
            height: 50px !important;
        }
    }

    /* Mobile hamburger menu button styling */
    #mobileMenuButton {
        color: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
        transition: all 0.3s ease;
        z-index: 100;
        background: none;
        cursor: pointer;
    }

    #mobileMenuButton:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
    }

    /* Mobile dropdown menu - FIXED FOR SCROLLING */
    .mobile-dropdown-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 5, 0, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 69, 0, 0.25);
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        overflow-y: auto !important; /* Force scrollable */
        -webkit-overflow-scrolling: touch !important; /* Smooth iOS scrolling */
        touch-action: pan-y !important; /* Allow vertical scrolling */
    }

    .mobile-dropdown-menu.open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        padding: 24px 20px;
        border-bottom: 1px solid rgba(255, 69, 0, 0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        background: rgba(10, 5, 0, 0.98);
        z-index: 1;
    }

    .mobile-menu-logo {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-menu-logo img {
        height: 40px;
        width: 40px;
        object-fit: contain;
    }

    .mobile-menu-logo h2 {
        font-size: 1.25rem;
        background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 900;
        letter-spacing: 0.5px;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: #FF8C00;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 69, 0, 0.1);
    }

    /* Main content area - FIXED FOR SCROLLING */
    .mobile-menu-content {
        padding: 20px;
        min-height: calc(100vh - 80px);
        overflow-y: auto !important; /* Changed to auto for scrolling */
        height: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .mobile-nav-link {
        padding: 16px 20px;
        border-radius: 12px;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        touch-action: manipulation; /* Better touch handling */
        cursor: pointer;
    }

    .mobile-nav-link:hover {
        background: rgba(255, 69, 0, 0.1);
        color: #FF8C00;
        border-color: rgba(255, 69, 0, 0.3);
    }

    .mobile-nav-link.active {
        background: linear-gradient(135deg, rgba(255, 69, 0, 0.15) 0%, rgba(255, 140, 0, 0.1) 100%);
        color: #FF8C00;
        border-color: rgba(255, 69, 0, 0.4);
    }

    .mobile-nav-link i {
        font-size: 0.875rem;
        transition: transform 0.3s ease;
    }

    .mobile-nav-link:hover i {
        transform: translateX(4px);
    }

    /* Mobile dropdown submenu - FIXED FOR SCROLLING */
    .mobile-submenu {
        padding-left: 20px;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mobile-submenu.open {
        max-height: 300px;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }

    .mobile-submenu-link {
        padding: 12px 16px;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.3s ease;
        display: block;
        margin-bottom: 4px;
        border-left: 2px solid transparent;
        touch-action: manipulation;
        cursor: pointer;
    }

    .mobile-submenu-link:hover {
        color: #FF8C00;
        background: rgba(255, 69, 0, 0.05);
        border-left-color: #FF4500;
    }

    /* Mobile auth buttons */
    .mobile-auth-section {
        padding: 24px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
    }

    .mobile-auth-button {
        width: 100%;
        padding: 16px;
        border-radius: 12px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: block;
        margin-bottom: 12px;
        transition: all 0.3s ease;
        touch-action: manipulation;
        cursor: pointer;
    }

    .mobile-auth-button.signup {
        background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        color: #000;
    }

    .mobile-auth-button.signin {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-auth-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
    }

    /* Mobile overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile scrollbar styling */
    .mobile-dropdown-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-dropdown-menu::-webkit-scrollbar-track {
        background: rgba(255, 69, 0, 0.1);
    }

    .mobile-dropdown-menu::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, #FF4500, #FF8C00);
        border-radius: 2px;
    }

    .mobile-submenu.open::-webkit-scrollbar {
        width: 3px;
    }

    .mobile-submenu.open::-webkit-scrollbar-thumb {
        background: rgba(255, 69, 0, 0.5);
    }

    /* Tablet responsive adjustments */
    @media (min-width: 768px) and (max-width: 1023px) {
        .elite-nav {
            padding: 16px 24px !important;
        }
        
        .elite-logo {
            font-size: 1.5rem !important;
        }
        
        .elite-nav nav {
            gap: 20px !important;
        }
        
        .elite-nav a {
            font-size: 0.875rem !important;
        }
    }

    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* iOS specific fixes */
    @supports (-webkit-touch-callout: none) {
        .mobile-dropdown-menu {
            height: -webkit-fill-available;
        }
        
        .mobile-menu-content {
            padding-bottom: env(safe-area-inset-bottom, 20px);
        }
    }

    /* Fix for Android Chrome */
    @media (hover: none) and (pointer: coarse) {
        .mobile-dropdown-menu {
            overflow-y: scroll !important;
        }
    }



    