
        body {
        font-family: 'Inter', sans-serif;
        background-color: #000000;
        
    }

        /* Custom styles from the provided UI structure */
.min-h-full {
    min-height: 100vh;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-900 {
    --tw-gradient-from: #0A0A0A;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 10, 0));
}

.via-gray-800 {
    --tw-gradient-via: #1A1A1A;
}

.to-black {
    --tw-gradient-to: #000000;
}

.tab-active {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    color: #000;
    font-weight: 800;
    border: none;
}

.tab-inactive {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 69, 0, 0.25);
    color: #ffffff;
    transition: all 0.3s ease;
}

.tab-inactive:hover {
    border-color: rgba(255, 69, 0, 0.7);
    transform: translateY(-2px);
    color: #FF8C00;
}

.btn-primary {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    color: #000;
    font-weight: 800;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(255, 69, 0, 0.5),
        0 0 40px rgba(255, 69, 0, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.input-focus:focus {
    border-color: #FF4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.4);
    outline: none;
}

.loading-spinner {
    border: 4px solid rgba(255, 69, 0, 0.2);
    border-top: 4px solid #FF4500;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.gradient-text {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s infinite linear;
}

@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

.strategy-explanation {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 69, 0, 0.25);
    backdrop-filter: blur(10px);
}

.table-header {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-bottom: 2px solid #FF4500;
}

.table-row-even {
    background-color: rgba(26, 26, 26, 0.7);
}

.table-row-odd {
    background-color: rgba(20, 20, 20, 0.9);
}

.profit-positive {
    color: #34d399;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.profit-negative {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.3);
}

.stats-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 69, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stats-card:hover {
    border-color: rgba(255, 69, 0, 0.7);
    transform: translateY(-4px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 69, 0, 0.2);
}

.session-card-base {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 69, 0, 0.25);
    backdrop-filter: blur(10px);
}

/* Additional styles to match the index.html theme */
.calculator-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border: 1px solid rgba(255, 69, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.calculator-card:hover {
    border-color: rgba(255, 69, 0, 0.7);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 69, 0, 0.2),
        inset 0 0 25px rgba(255, 69, 0, 0.08);
}

/* Form inputs */
input, select {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #FF4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

/* Button variants */
.bg-red-600 {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.bg-red-600:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF4500, #FF8C00);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #FF8C00, #FF4500);
}

/* Selection */
::selection {
    background: rgba(255, 69, 0, 0.7);
    color: white;
}

.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);
    }
    
    .elite-card {
        background: linear-gradient(145deg, rgba(20, 20, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
        border: 1px solid rgba(255, 69, 0, 0.25);
        backdrop-filter: blur(10px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .elite-card:hover {
        border-color: rgba(255, 69, 0, 0.7);
        transform: translateY(-8px);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.7),
            0 0 40px rgba(255, 69, 0, 0.2),
            inset 0 0 25px rgba(255, 69, 0, 0.08);
    }
    
    .elite-button {
        background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
        color: #000;
        font-weight: 800;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border: none;
    }
    
    .elite-button:hover {
        transform: translateY(-3px);
        box-shadow: 
            0 12px 30px rgba(255, 69, 0, 0.5),
            0 0 40px rgba(255, 69, 0, 0.4);
    }
    
    .elite-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.7s ease;
    }
    
    .elite-button:hover::after {
        left: 100%;
    }
    
    .glow-text {
        background: linear-gradient(90deg, #FF4500, #FF8C00, #FF4500);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textShimmer 3s infinite linear;
    }

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

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

    /* Mobile navbar adjustments */
    #mobileMenuButton {
        color: #FF8C00;
        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: rgba(255, 69, 0, 0.1);
    }

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

    .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;
    }

    .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;
    }

    .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;
    }

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

    .mobile-menu-content {
        padding: 20px;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .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;
    }

    .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-submenu {
        padding-left: 20px;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .mobile-submenu.open {
        max-height: 400px;
    }

    .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;
    }

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

    .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;
    }

    .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 {
        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-menu-content::-webkit-scrollbar {
        width: 4px;
    }

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

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

    body.mobile-menu-open {
        overflow: hidden !important;
    }

    /* 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;
        }
    }

    /* Make mobile dropdown menu scrollable */
.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; /* Already here - keep this */
}

/* Make strategies section scrollable */
.mobile-submenu {
    padding-left: 20px;
    margin-top: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-submenu.open {
    max-height: 300px; /* Set a fixed max-height */
    overflow-y: auto; /* Make it scrollable when open */
}

/* Add scrollbar styling for strategies submenu */
.mobile-submenu.open::-webkit-scrollbar {
    width: 4px;
}

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

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

/* Improve the main menu content scroll if needed */
.mobile-menu-content {
    padding: 20px;
    height: calc(100vh - 80px);
    overflow-y: auto; /* Already here - keep this */
}

/* Adjust strategies menu for better scrolling */
#mobileStrategiesMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#mobileStrategiesMenu.open {
    max-height: 400px; /* Increased for better scrolling */
    overflow-y: auto;
}

/* Make strategies submenu links more compact for better scrolling */
.mobile-submenu-link {
    padding: 10px 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: 3px; /* Reduced margin for better scrolling */
    border-left: 2px solid transparent;
}

/* Add smooth scrolling behavior */
.mobile-submenu.open {
    scroll-behavior: smooth;
}

/* Ensure the main dropdown menu is always scrollable */
.mobile-dropdown-menu {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}
    


    /* --- MODERN LOADER CONTAINER --- */

    .modern-loader-container {

        /* Fixed position prevents the UI from scattering/shifting */

        position: fixed;

        top: 0;

        left: 0;

        width: 100vw;

        height: 100vh;

        background-color: #000000;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        z-index: 9999;
        /* Higher than your nav (z-50) and scroll indicator (z-100) */

        transition: opacity 0.8s ease, visibility 0.8s;

    }



    .logo-wrapper {

        position: relative;

        width: 120px;

        height: 120px;

        display: flex;

        align-items: center;

        justify-content: center;

    }



    .pulse-ring {

        position: absolute;

        width: 100%;

        height: 100%;

        border-radius: 50%;

        border: 2px solid rgba(255, 69, 0, 0.4);

        animation: hyper-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;

    }



    .pulse-ring:nth-child(2) {

        animation-delay: 0.5s;

    }



    .loader-logo {

        width: 80px;

        height: 80px;

        object-fit: contain;

        z-index: 21;

        filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));

        animation: logo-breathe 2s ease-in-out infinite;

    }



    .loading-text {

        margin-top: 24px;

        font-family: 'Orbitron', sans-serif;

        font-size: 10px;

        letter-spacing: 4px;

        color: #fff;

        text-transform: uppercase;

        background: linear-gradient(90deg, #333, #ff4500, #333);

        background-size: 200% auto;

        background-clip: text;

        -webkit-background-clip: text;

        -webkit-text-fill-color: transparent;

        animation: text-shimmer 2s linear infinite;

    }



    /* --- ALL ANIMATION KEYFRAMES --- */

    @keyframes hyper-pulse {

        0% {

            transform: scale(0.8);

            opacity: 0;

        }

        50% {

            opacity: 1;

            border-width: 3px;

        }

        100% {

            transform: scale(1.5);

            opacity: 0;

        }

    }



    @keyframes logo-breathe {

        0%,

        100% {

            transform: scale(1);

            filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.4));

        }

        50% {

            transform: scale(1.1);

            filter: drop-shadow(0 0 25px rgba(255, 69, 0, 0.8));

        }

    }



    @keyframes text-shimmer {

        to {

            background-position: 200% center;

        }

    }



    /* --- UTILITY FIXES --- */

    /* Prevent body scroll during the 5-second load */

    .loading-lock {

        overflow: hidden !important;

    }

    
                    /* Custom Scrollbar for the Dropdown */
                    .overflow-y-auto::-webkit-scrollbar {
                        width: 6px;
                    }

                    .overflow-y-auto::-webkit-scrollbar-track {
                        background: rgba(0, 0, 0, 0.2);
                        border-radius: 10px;
                    }

                    .overflow-y-auto::-webkit-scrollbar-thumb {
                        background: linear-gradient(to bottom, #FF4500, #B8860B);
                        border-radius: 10px;
                    }
                

                    
                
    /* CSS layer to prevent text highlighting */
    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }


   
/* --- 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;
}

#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;
}

.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: visible !important; /* Changed from auto to visible */
    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 */
}

.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: 400px;
    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;
}

.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;
}

.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;
    }
}
   