        /* Premium Vegas-Style Slot Machine Design */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #0a0a0a;
            color: #fff;
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-x: hidden;
        }

        /* Header */
        .header {
            width: 100%;
            padding: 20px;
            text-align: center;
            margin-bottom: 30px;
        }

        .title {
            font-family: 'Bebas Neue', cursive;
            font-size: 3.5rem;
            background: linear-gradient(135deg, #ff3366, #ff6699);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 0.05em;
            margin-bottom: 10px;
            text-shadow: 0 0 30px rgba(255, 51, 102, 0.5);
        }

        .subtitle {
            color: #888;
            font-size: 1rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
        }

        /* Header Logo Styling */
        .header-logo {
            max-width: 300px;  /* Reduced from 600px to half size */
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            filter: drop-shadow(0 0 30px rgba(255, 51, 102, 0.3));
            animation: logoGlow 3s ease-in-out infinite alternate;
        }

        @keyframes logoGlow {
            from {
                filter: drop-shadow(0 0 20px rgba(255, 51, 102, 0.3));
            }
            to {
                filter: drop-shadow(0 0 40px rgba(255, 51, 102, 0.5));
            }
        }

        /* Premium Slot Machine Container */
        .slot-machine-premium {
            width: 90%;
            max-width: 900px;
            background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 
                0 0 100px rgba(255, 51, 102, 0.2),
                inset 0 2px 10px rgba(0, 0, 0, 0.5),
                inset 0 -2px 10px rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        /* Glow Effects */
        .slot-machine-premium::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 70%);
            animation: pulse 4s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        /* Top Controls Section */
        .controls-section {
            position: relative;
            z-index: 10;
            margin-bottom: 30px;
        }

        /* Random Everything Button */
        .random-all-premium {
            width: 100%;
            padding: 20px;
            background: linear-gradient(135deg, #6a1b9a, #ff3366);
            border: none;
            border-radius: 15px;
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 
                0 10px 30px rgba(106, 27, 154, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .random-all-premium::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s;
            opacity: 0;
        }

        .random-all-premium:hover::after {
            animation: shine 0.5s ease-in-out;
        }

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
        }

        .random-all-premium:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 15px 40px rgba(106, 27, 154, 0.6),
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
        }

        .dice-icon {
            font-size: 2rem;
            animation: roll 2s ease-in-out infinite;
        }

        @keyframes roll {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(10deg); }
            75% { transform: rotate(-10deg); }
        }

        /* Selection Grid */
        .selection-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .selection-panel {
            background: rgba(0, 0, 0, 0.5);
            border: 2px solid rgba(255, 51, 102, 0.2);
            border-radius: 10px;
            padding: 15px;
        }

        .selection-title {
            color: #888;
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .selection-options {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        /* Selection Buttons */
        .select-btn {
            flex: 1;
            min-width: 40px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #888;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .select-btn:hover {
            border-color: rgba(255, 51, 102, 0.5);
            color: #fff;
            transform: translateY(-2px);
        }

        .select-btn.active {
            background: linear-gradient(135deg, #ff3366, #ff6699);
            border-color: #ff3366;
            color: white;
            box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { box-shadow: 0 0 20px rgba(255, 51, 102, 0.4); }
            50% { box-shadow: 0 0 30px rgba(255, 51, 102, 0.6); }
        }

        /* Class Buttons Special Styling */
        .class-btn-premium {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 10px;
            gap: 5px;
        }

        .class-icon-premium {
            font-size: 1.5rem;
        }

        /* Slot Display Area */
        .slot-display {
            background: #000;
            border-radius: 15px;
            padding: 20px;
            margin-top: 20px;
            position: relative;
            box-shadow: 
                inset 0 5px 15px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(255, 51, 102, 0.1);
        }

        /* Spin Counter */
        .spin-counter {
            position: absolute;
            top: -15px;
            right: 20px;
            background: linear-gradient(135deg, #ff3366, #ff6699);
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
            z-index: 100;
        }

        /* Slot Columns */
        .slot-columns {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            min-height: 300px;
        }

        .slot-column {
            background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
            border-radius: 10px;
            padding: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .column-header {
            text-align: center;
            color: #666;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 51, 102, 0.2);
            margin-bottom: 15px;
        }

        .slot-window {
            height: 240px;
            overflow: hidden;
            position: relative;
            mask-image: linear-gradient(
                transparent, 
                black 10%, 
                black 90%, 
                transparent
            );
            -webkit-mask-image: linear-gradient(
                transparent, 
                black 10%, 
                black 90%, 
                transparent
            );
        }

        .slot-items {
            position: absolute;
            width: 100%;
            transition: transform 3s cubic-bezier(0.17, 0.67, 0.16, 0.99);
        }

        .slot-item {
            height: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px;
            position: relative;
        }

        .slot-item img {
            width: 50px;
            height: 50px;
            object-fit: contain;
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
        }

        .slot-item-name {
            font-size: 0.7rem;
            color: #888;
            text-align: center;
            margin-top: 5px;
        }

        .slot-item.winner {
            animation: winnerFlash 0.7s ease-out forwards;
            position: relative;
            z-index: 10;
        }

        /* Persistent pulsing glow for winners */
        .slot-item.winner-glow {
            animation: persistentGlow 2s ease-in-out infinite;
            position: relative;
            z-index: 10;
            box-shadow: 
                0 0 20px rgba(255, 51, 102, 0.6),
                inset 0 0 20px rgba(255, 51, 102, 0.2);
            border: 2px solid rgba(255, 51, 102, 0.5);
        }

        @keyframes persistentGlow {
            0%, 100% {
                box-shadow: 
                    0 0 20px rgba(255, 51, 102, 0.6),
                    inset 0 0 20px rgba(255, 51, 102, 0.2);
                border-color: rgba(255, 51, 102, 0.5);
                transform: scale(1);
            }
            50% {
                box-shadow: 
                    0 0 40px rgba(255, 51, 102, 0.9),
                    inset 0 0 30px rgba(255, 51, 102, 0.4);
                border-color: rgba(255, 51, 102, 0.8);
                transform: scale(1.05);
            }
        }

        @keyframes winnerFlash {
            0% { background: transparent; }
            50% { 
                background: radial-gradient(circle, rgba(255, 51, 102, 0.5) 0%, transparent 70%);
                transform: scale(1.1);
            }
            100% { 
                background: radial-gradient(circle, rgba(255, 51, 102, 0.3) 0%, rgba(255, 51, 102, 0.1) 70%);
                box-shadow: 0 0 20px rgba(255, 51, 102, 0.5), inset 0 0 15px rgba(255, 51, 102, 0.2);
                transform: scale(1.02);
            }
        }
        
        /* Victory Sparks Container */
        #victorySparks {
            position: fixed;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 100;
            width: 100%;
            height: 100%;
        }
        
        /* Individual Spark */
        .spark {
            position: absolute;
            width: 8px;
            height: 8px;
            background: radial-gradient(circle, #ffffff 0%, #ff3366 40%, #ff66aa 100%);
            border-radius: 50%;
            box-shadow: 0 0 15px #ff3366, 0 0 30px #ff66aa, 0 0 45px rgba(255, 51, 102, 0.5);
            transform-origin: center;
            pointer-events: none;
            z-index: 99999;
            margin-left: -4px;
            margin-top: -4px;
        }
        
        @keyframes sparkBurst {
            0% {
                transform: scale(0) translate(0, 0);
                opacity: 1;
            }
            50% {
                transform: scale(1.2) translate(calc(var(--x) * 0.5), calc(var(--y) * 0.5));
                opacity: 1;
            }
            100% {
                transform: scale(0.3) translate(var(--x), var(--y));
                opacity: 0;
            }
        }

        /* Spinning Animation */
        @keyframes spin {
            0% { transform: translateY(0); }
            100% { transform: translateY(-2400px); }
        }

        .spinning .slot-items {
            animation: spin 3s cubic-bezier(0.17, 0.67, 0.16, 0.99);
        }

        /* Victory Effects */
        .victory-sparks {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            z-index: 1000;
        }

        .spark {
            position: absolute;
            width: 4px;
            height: 4px;
            background: #ffeb3b;
            border-radius: 50%;
            animation: sparkle 1s ease-out forwards;
        }

        @keyframes sparkle {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--x), var(--y)) scale(0);
                opacity: 0;
            }
        }

        /* Generate Button */
        .generate-button {
            width: 100%;
            padding: 20px;
            background: linear-gradient(135deg, #ff3366, #ff6699);
            border: none;
            border-radius: 15px;
            color: white;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            position: relative;
            overflow: hidden;
        }

        .generate-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .generate-button:not(:disabled):hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 51, 102, 0.4);
        }

        /* Responsive - Keep all 5 columns visible */
        @media (max-width: 768px) {
            /* Mobile navigation with hamburger */

            .main-nav {
                padding: 0.75rem 1rem;
                justify-content: space-between;
                position: relative;
            }
            
            /* Nav links styles moved to CRITICAL section at end of file for proper mobile menu */
            
            .nav-link {
                padding: 1rem 2rem;
                font-size: 1rem;
                width: 80%;
                text-align: center;
                min-height: 48px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .header {
                padding: 10px 5px;
                margin-bottom: 15px;
            }

            .header-logo {
                max-width: 175px;  /* Reduced from 350px to half size */
            }
            
            .title { 
                font-size: 1.8rem; 
                line-height: 1;
                margin-bottom: 5px;
            }
            
            .slot-machine-premium {
                width: 95%;
                padding: 20px 15px;
            }
            
            .selection-grid { 
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            /* Keep all 5 columns but make them narrower */
            .slot-columns { 
                grid-template-columns: repeat(5, 1fr);
                gap: 8px;
            }
            
            .slot-column {
                padding: 5px;
            }
            
            .column-header {
                font-size: 0.65rem;
                padding: 8px 2px;
                letter-spacing: 0;
            }
            
            .slot-window {
                /* Dynamic height for tablets */
                height: calc(100vh - 400px);
                min-height: 280px;
                max-height: 400px;
                mask-image: linear-gradient(
                    black 0%, 
                    black 100%
                );
                -webkit-mask-image: linear-gradient(
                    black 0%, 
                    black 100%
                );
            }
            
            .slot-item {
                height: 70px;
                padding: 8px 5px;
                background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2), transparent);
            }
            
            .slot-item img {
                width: 40px;
                height: 40px;
            }
            
            .slot-item-name {
                font-size: 0.6rem;
                line-height: 1.1;
            }
        }

        @media (max-width: 480px) {
            /* Ultra-compact navigation on phones */
            .main-nav {
                padding: 3px !important;
                min-height: auto !important;
            }
            
            
            .nav-link {
                padding: 1rem 2rem !important;
                font-size: 1rem !important;
                letter-spacing: normal !important;
                line-height: 1.2 !important;
            }
            
            /* Use abbreviated text on mobile */
            .nav-link {
                font-size: 0 !important; /* Hide original text */
            }
            
            .nav-link::after {
                font-size: 9px !important;
                content: attr(data-mobile);
            }
            
            .nav-link:nth-child(1)::after { content: 'LOADOUT'; }
            .nav-link:nth-child(2)::after { content: 'SLOTS'; }
            .nav-link:nth-child(3)::after { content: 'RAGE'; }
            .nav-link:nth-child(4)::after { content: 'PATCH'; }
            .nav-link:nth-child(5)::after { content: 'META'; }
            .nav-link:nth-child(6)::after { content: 'WT'; }
            
            .nav-controls {
                display: none; /* Hide filter controls on small phones */
            }
            
            .header {
                padding: 5px 3px !important;
                margin-bottom: 5px !important;
            }
            
            .title { 
                font-size: 14px !important;
                margin-bottom: 2px !important;
                line-height: 1 !important;
            }
            
            .subtitle {
                display: none; /* Hide subtitle on mobile to save space */
            }
            
            .slot-machine-premium { 
                width: 98%;
                padding: 15px 10px;
                border-radius: 15px;
            }
            
            /* Still keep all 5 columns, just even narrower */
            .slot-columns { 
                grid-template-columns: repeat(5, 1fr);
                gap: 5px;
            }
            
            .slot-column {
                padding: 3px;
                border-radius: 8px;
            }
            
            .column-header {
                font-size: 0.55rem;
                padding: 6px 2px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            .slot-window {
                /* Make height fill available space on mobile */
                height: calc(100vh - 380px); /* Viewport minus header/controls/padding */
                min-height: 300px; /* At least 5 items visible */
                max-height: 450px; /* Cap for usability */
                mask-image: linear-gradient(
                    black 0%, 
                    black 100%
                );
                -webkit-mask-image: linear-gradient(
                    black 0%, 
                    black 100%
                );
                /* Add subtle background for continuity */
                background: linear-gradient(to bottom,
                    rgba(138, 43, 226, 0.03) 0%,
                    rgba(138, 43, 226, 0.06) 50%,
                    rgba(138, 43, 226, 0.03) 100%);
            }
            
            .slot-item {
                height: 60px;
                padding: 5px 3px;
                background: linear-gradient(135deg,
                    rgba(30, 30, 40, 0.7) 0%,
                    rgba(25, 25, 35, 0.9) 100%);
                margin: 0;
                border-bottom: 1px solid rgba(138, 43, 226, 0.1);
            }
            
            .slot-item img {
                width: 35px;
                height: 35px;
            }
            
            .slot-item-name {
                font-size: 0.55rem;
                margin-top: 2px;
            }
            
            .random-all-premium {
                padding: 15px;
                font-size: 1.2rem;
            }
            
            .selection-options {
                gap: 5px;
            }
            
            .select-btn {
                min-width: 48px;
                min-height: 48px;
                padding: 12px 8px;
                font-size: 1rem;
            }
            
            /* Larger spin button */
            #spinButton {
                min-height: 56px;
                font-size: 1.2rem;
                padding: 16px 24px;
            }
            
            .class-btn-premium {
                padding: 10px 5px;
            }
            
            .class-icon-premium {
                font-size: 1.2rem;
            }
            
            .generate-button {
                padding: 15px;
                font-size: 1.1rem;
            }
            
            .spin-counter {
                font-size: 0.8rem;
                padding: 4px 12px;
                top: -12px;
                right: 10px;
            }
        }
        
        /* Ultra small screens */
        @media (max-width: 360px) {
            .slot-columns {
                gap: 3px;
            }
            
            .column-header {
                font-size: 0.5rem;
                padding: 5px 1px;
            }
            
            .slot-window {
                height: 165px; /* Exactly 3 items at 55px each */
            }
            
            .slot-item {
                height: 55px;
            }
            
            .slot-item img {
                width: 30px;
                height: 30px;
            }
            
            .slot-item-name {
                font-size: 0.5rem;
            }
        }
        /* Hamburger Menu Styles */
        .hamburger {
            display: none;
            position: relative;
            width: 30px;
            height: 24px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }
        
        @media (max-width: 768px) {
            .hamburger {
                display: block !important;
            }
        }

        .hamburger span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #fff;
            border-radius: 2px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: all 0.25s ease-in-out;
        }

        .hamburger span:nth-child(1) {
            top: 0px;
        }

        .hamburger span:nth-child(2) {
            top: 10px;
        }

        .hamburger span:nth-child(3) {
            top: 20px;
        }

        .hamburger.active span:nth-child(1) {
            top: 10px;
            transform: rotate(135deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
            left: -30px;
        }

        .hamburger.active span:nth-child(3) {
            top: 10px;
            transform: rotate(-135deg);
        }

        /* Navigation Bar Styles */
        /* Scroll Progress Bar */
        .scroll-progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            z-index: 10001;
        }

        .scroll-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #ff3366, #ff6699);
            width: 0%;
            transition: width 0.1s ease-out;
            box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
        }

        .main-nav {
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 51, 102, 0.2);
            position: sticky;
            top: 4px; /* Push down by progress bar height */
            z-index: 1000;
            padding: 0.5rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-links {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            flex: 1;
        }
        
        
        .nav-controls {
            display: flex;
            gap: 0.5rem;
        }
        
        .filter-toggle-button {
            background: rgba(255, 51, 102, 0.1);
            border: 1px solid rgba(255, 51, 102, 0.3);
            color: #ff3366;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s;
            font-size: 0.9rem;
            font-weight: 600;
            position: relative;
        }
        
        .filter-count-badge {
            background: #ff3366;
            color: white;
            border-radius: 10px;
            padding: 2px 6px;
            font-size: 0.75rem;
            font-weight: bold;
            min-width: 20px;
            text-align: center;
            margin-left: 4px;
            animation: pulse 1s ease-in-out;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        /* Share Button Styles */
        .share-section {
            text-align: center;
            margin: 2rem 0;
            animation: fadeIn 0.5s ease;
        }
        
        .share-button {
            background: linear-gradient(135deg, #1da1f2, #0e71c8);
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 24px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
        }
        
        .share-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
        }
        
        .share-button:active {
            transform: translateY(0);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .filter-toggle-button:hover {
            background: rgba(255, 51, 102, 0.2);
            border-color: #ff3366;
            transform: translateY(-2px);
        }

        /* Secondary Filter Button - Prominent Style */
        .secondary-filter-button {
            width: 100%;
            margin-top: 15px;
            padding: 15px;
            background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(255, 51, 102, 0.2));
            border: 2px solid rgba(138, 43, 226, 0.5);
            border-radius: 12px;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            animation: subtlePulse 2s ease-in-out infinite;
        }

        @keyframes subtlePulse {
            0%, 100% {
                box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
            }
            50% {
                box-shadow: 0 0 40px rgba(138, 43, 226, 0.5),
                            0 0 60px rgba(255, 51, 102, 0.3);
            }
        }

        .secondary-filter-button:hover {
            background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(255, 51, 102, 0.3));
            border-color: #ff3366;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 51, 102, 0.4);
            animation: none;
        }

        .secondary-filter-button:active {
            transform: translateY(0);
        }

        .secondary-filter-button svg {
            width: 20px;
            height: 20px;
        }

        /* Remove animation after first click */
        .secondary-filter-button.clicked {
            animation: none;
        }
        
        /* Filter Panel Styles */
        .filter-panel-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
        }
        
        .filter-panel-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .filter-panel {
            position: fixed;
            right: -400px;
            top: 0;
            width: 400px;
            max-width: 90vw;
            height: 100vh;
            background: rgba(20, 20, 25, 0.98);
            border-left: 2px solid rgba(255, 51, 102, 0.3);
            z-index: 1999;
            overflow-y: auto;
            transition: right 0.3s ease;
            padding: 1rem;
        }
        
        .filter-panel.active {
            right: 0;
        }
        
        .filter-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 51, 102, 0.2);
        }
        
        .filter-panel-title {
            font-size: 1.5rem;
            color: #ff3366;
            font-weight: 700;
        }
        
        .close-filter-panel {
            background: transparent;
            border: none;
            color: #888;
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .close-filter-panel:hover {
            color: #ff3366;
        }
        
        .filter-section {
            margin-bottom: 2rem;
        }
        
        .filter-class-title {
            color: #ff3366;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }
        
        .filter-category {
            margin-bottom: 1.5rem;
        }
        
        .filter-category-title {
            color: #00f0c0;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .filter-items {
            display: grid;
            gap: 0.5rem;
        }
        
        .filter-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.3rem;
            transition: background 0.2s;
            border-radius: 4px;
        }
        
        .filter-item:hover {
            background: rgba(255, 51, 102, 0.05);
        }
        
        .filter-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #ff3366;
            cursor: pointer;
        }
        
        .filter-item label {
            color: #ccc;
            cursor: pointer;
            flex: 1;
            font-size: 0.9rem;
        }
        
        .filter-actions {
            position: sticky;
            bottom: 0;
            background: rgba(20, 20, 25, 0.98);
            padding: 1rem 0;
            border-top: 1px solid rgba(255, 51, 102, 0.2);
            display: flex;
            gap: 1rem;
        }
        
        .filter-btn {
            flex: 1;
            padding: 0.75rem;
            border-radius: 8px;
            border: 1px solid;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .apply-filters {
            background: rgba(0, 240, 192, 0.1);
            border-color: #00f0c0;
            color: #00f0c0;
        }
        
        .apply-filters:hover {
            background: rgba(0, 240, 192, 0.2);
            transform: translateY(-2px);
        }
        
        .clear-filters {
            background: rgba(255, 51, 102, 0.1);
            border-color: #ff3366;
            color: #ff3366;
        }
        
        .clear-filters:hover {
            background: rgba(255, 51, 102, 0.2);
            transform: translateY(-2px);
        }
        
        .select-all-checkbox {
            margin-left: auto;
            font-size: 0.8rem;
            color: #888;
        }
        
        .nav-link {
            color: #888;
            text-decoration: none;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.3s;
            text-transform: uppercase;
        }
        
        .nav-link:hover {
            color: #ff3366;
        }
        
        .nav-link.active {
            color: #ff3366;
            border-bottom: 2px solid #ff3366;
        }
        
        /* History Section Styles */
        .history-section {
            margin-top: 3rem;
            padding: 2rem 1rem;
            background: rgba(10, 10, 15, 0.8);
            border-top: 2px solid rgba(255, 51, 102, 0.2);
        }
        
        .history-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .history-title {
            font-size: 1.8rem;
            color: #ff3366;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .history-count {
            color: #888;
            font-size: 1rem;
        }
        
        .clear-history-btn {
            background: rgba(255, 51, 102, 0.1);
            border: 1px solid #ff3366;
            color: #ff3366;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        
        .clear-history-btn:hover {
            background: rgba(255, 51, 102, 0.2);
            transform: translateY(-2px);
        }
        
        .history-list {
            display: grid;
            gap: 1rem;
        }
        
        .history-item {
            background: rgba(20, 20, 25, 0.9);
            border: 1px solid rgba(255, 51, 102, 0.2);
            border-radius: 12px;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
        }
        
        .history-item:hover {
            border-color: #ff3366;
            background: rgba(30, 30, 35, 0.9);
            transform: translateX(4px);
        }
        
        .loadout-details {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            flex: 1;
        }
        
        .loadout-class {
            color: #ff3366;
            font-weight: 700;
            font-size: 1.1rem;
            min-width: 80px;
        }
        
        .loadout-equipment {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            color: #ccc;
            font-size: 0.9rem;
        }
        
        .equipment-item {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }
        
        .equipment-label {
            color: #888;
            font-size: 0.7rem;
            text-transform: uppercase;
        }
        
        .equipment-value {
            color: #fff;
        }
        
        .copy-btn {
            background: rgba(0, 240, 192, 0.1);
            border: 1px solid #00f0c0;
            color: #00f0c0;
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        .copy-btn:hover {
            background: rgba(0, 240, 192, 0.2);
            transform: scale(1.05);
        }
        
        .copy-btn.copied {
            background: rgba(80, 200, 120, 0.2);
            border-color: #50c878;
            color: #50c878;
        }
        
        .empty-history {
            text-align: center;
            color: #666;
            padding: 3rem 1rem;
            font-style: italic;
        }
        
        /* Footer Styles */
        footer {
            text-align: center;
            padding: 1.5rem 1rem;
            color: #888;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(10, 10, 15, 0.9);
            font-size: 0.75rem;
        }
        
        .support-section {
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(80, 200, 120, 0.05) 0%, rgba(0, 255, 204, 0.05) 100%);
            border-radius: 12px;
            border: 1px solid rgba(80, 200, 120, 0.2);
        }
        
        .support-btn {
            display: inline-block;
            padding: 0.75rem 2rem;
            background: linear-gradient(135deg, #50c878, #00ffcc);
            color: #0a0a0f;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(80, 200, 120, 0.3);
        }
        
        .support-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(80, 200, 120, 0.5);
        }
        
        /* Mobile Responsive History */
        @media (max-width: 768px) {
            .loadout-details {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .loadout-equipment {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .history-item {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }
            
            .copy-btn {
                width: 100%;
                padding: 0.6rem;
            }
        }

/* CRITICAL: Mobile Navigation - Clean Rewrite */
@media screen and (max-width: 768px) {
    /* Hamburger button - fixed top left */
    .main-nav .hamburger {
        display: block !important;
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(26, 26, 26, 0.95) !important;
        padding: 8px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 51, 102, 0.3) !important;
        z-index: 10000 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
        cursor: pointer !important;
    }
    
    /* Hide the main nav container */
    .main-nav {
        all: unset !important;
    }
    
    /* Navigation menu - hidden by default */
    .main-nav .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        height: 100% !important;
        background: #1a1a1a !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 60px 0 20px 0 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show menu when active */
    .main-nav .nav-links.active {
        transform: translateX(0) !important;
    }
    
    .main-nav .nav-link {
        padding: 1.2rem 1.5rem !important;
        margin: 0 !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        text-align: left !important;
        width: 100% !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
        display: block !important;
    }
    
    .main-nav .nav-link:hover,
    .main-nav .nav-link:active {
        background: rgba(255, 51, 102, 0.1) !important;
        color: #ff3366 !important;
        padding-left: 2rem !important;
    }
    
    .main-nav .nav-link.active {
        background: linear-gradient(90deg, rgba(255, 51, 102, 0.2) 0%, transparent 100%) !important;
        color: #ff3366 !important;
        border-left: 3px solid #ff3366 !important;
    }
    
    .main-nav .hamburger {
        display: block !important;
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        background: rgba(26, 26, 26, 0.95) !important;
        padding: 8px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 51, 102, 0.3) !important;
        z-index: 2001 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }
    
    /* Dark overlay when menu is open */
    body.menu-open::before {
        content: "" !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        z-index: 1998 !important;
    }
}

/* Season 8 Badge */
.season-badge {
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.1), rgba(255, 102, 153, 0.05));
    border: 2px solid rgba(255, 51, 102, 0.3);
    border-radius: 50px;
    display: inline-block;
    animation: seasonPulse 2s ease-in-out infinite;
}

.season-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ff3366, #ff6699);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.season-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes seasonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 51, 102, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(255, 51, 102, 0.4);
    }
}

/* Mobile adjustments for Season Badge */
@media (max-width: 768px) {
    .season-badge {
        margin-top: 10px;
        padding: 8px 15px;
    }
    
    .season-text {
        font-size: 1.4rem;
    }
    
    .season-subtext {
        font-size: 0.8rem;
    }
}
