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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 69, 0, 0.03) 0%, transparent 50%);
    z-index: -2;
    pointer-events: 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;
    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;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.5), transparent);
}

.roulette-table {
    background: linear-gradient(135deg, rgba(40, 10, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
    border: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow:
        inset 0 0 50px rgba(255, 69, 0, 0.1),
        0 0 50px rgba(255, 69, 0, 0.15);
}

.roulette-wheel {
    background: radial-gradient(circle at center, #1a0a00 0%, #000 70%);
    border: 2px solid rgba(255, 69, 0, 0.4);
    box-shadow:
        0 0 70px rgba(255, 69, 0, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.9);
}

.chip {
    border: 2px solid rgba(255, 69, 0, 0.4);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.6),
        inset 0 0 12px rgba(255, 255, 255, 0.15);
}

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

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

.stats-marquee {
    background: linear-gradient(90deg, rgba(30, 10, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

.footer {
    background: linear-gradient(180deg, rgba(20, 10, 0, 0.98) 0%, #000000 100%);
    border-top: 1px solid rgba(255, 69, 0, 0.2);
}

.mobile-menu {
    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);
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.6);
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
    font-weight: bold;
}

.scroll-indicator:hover {
    transform: scale(1.15);
    box-shadow: 0 0 35px rgba(255, 69, 0, 0.9);
}

/* Red number styling for roulette */
.red-number {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.9), rgba(200, 40, 0, 0.9));
    border-color: rgba(255, 100, 0, 0.6);
}

/* Active state for navigation */
.active-nav {
    color: #FF8C00;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* Hover effects for cards */
.elite-card:hover .card-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.4));
}

/* Orange-red accent borders */
.accent-border {
    border-image: linear-gradient(135deg, #FF4500, #FF8C00) 1;
}

/* Enhanced glow for focused elements */
.focus-glow:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.4);
}

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

/* Scrollbar styling */
::-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);
}



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


        /* Continuous Spinning Animation */
        @keyframes roulette-spin-infinite {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        .animate-roulette-rolling {
            animation: roulette-spin-infinite 20s linear infinite;
        }

        /* Realistic Wheel Face with all 37 Slots */
        .roulette-segments {
            background: conic-gradient(#008000 0deg 9.72deg,
                    /* 0 */
                    #1a1a1a 9.72deg 19.44deg,
                    /* 32 */
                    #e11d48 19.44deg 29.16deg,
                    /* 15 */
                    #1a1a1a 29.16deg 38.88deg,
                    /* 19 */
                    #e11d48 38.88deg 48.6deg,
                    /* 4 */
                    #1a1a1a 48.6deg 58.32deg,
                    /* 21 */
                    #e11d48 58.32deg 68.04deg,
                    /* 2 */
                    #1a1a1a 68.04deg 77.76deg,
                    /* 25 */
                    #e11d48 77.76deg 87.48deg,
                    /* 17 */
                    #1a1a1a 87.48deg 97.2deg,
                    /* 34 */
                    #e11d48 97.2deg 106.92deg,
                    /* 6 */
                    #1a1a1a 106.92deg 116.64deg,
                    /* 27 */
                    #e11d48 116.64deg 126.36deg,
                    /* 13 */
                    #1a1a1a 126.36deg 136.08deg,
                    /* 36 */
                    #e11d48 136.08deg 145.8deg,
                    /* 11 */
                    #1a1a1a 145.8deg 155.52deg,
                    /* 30 */
                    #e11d48 155.52deg 165.24deg,
                    /* 8 */
                    #1a1a1a 165.24deg 174.96deg,
                    /* 23 */
                    #e11d48 174.96deg 184.68deg,
                    /* 10 */
                    #1a1a1a 184.68deg 194.4deg,
                    /* 5 */
                    #e11d48 194.4deg 204.12deg,
                    /* 24 */
                    #1a1a1a 204.12deg 213.84deg,
                    /* 16 */
                    #e11d48 213.84deg 223.56deg,
                    /* 33 */
                    #1a1a1a 223.56deg 233.28deg,
                    /* 1 */
                    #e11d48 233.28deg 243deg,
                    /* 20 */
                    #1a1a1a 243deg 252.72deg,
                    /* 14 */
                    #e11d48 252.72deg 262.44deg,
                    /* 31 */
                    #1a1a1a 262.44deg 272.16deg,
                    /* 9 */
                    #e11d48 272.16deg 281.88deg,
                    /* 22 */
                    #1a1a1a 281.88deg 291.6deg,
                    /* 18 */
                    #e11d48 291.6deg 301.32deg,
                    /* 29 */
                    #1a1a1a 301.32deg 311.04deg,
                    /* 7 */
                    #e11d48 311.04deg 320.76deg,
                    /* 28 */
                    #1a1a1a 320.76deg 330.48deg,
                    /* 12 */
                    #e11d48 330.48deg 340.2deg,
                    /* 35 */
                    #1a1a1a 340.2deg 349.92deg,
                    /* 3 */
                    #e11d48 349.92deg 360deg
                    /* 26 */
                );
        }

        .number-item {
            position: absolute;
            top: 8px;
            left: 50%;
            transform-origin: 50% 184px;
            transform: translateX(-50%);
            font-size: 10px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.8);
        }
    

       
                /* Add this to your existing CSS */
                .animate-dash {
                    stroke-dasharray: 10;
                    animation: dash 1s linear infinite;
                }

                @keyframes dash {
                    to {
                        stroke-dashoffset: 20;
                    }
                }
            

                
                /* Utility for hidden scrollbars */
                .no-scrollbar::-webkit-scrollbar {
                    display: none;
                }

                .no-scrollbar {
                    -ms-overflow-style: none;
                    scrollbar-width: none;
                }
           


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