* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }
        
        body {
            background-color: #0a0a0a;
            color: #d8d8d8;
            line-height: 1.6;
            background-image: url('background.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-blend-mode: overlay;
            background-color: rgba(0, 0, 0, 0.85);
        }
        
        header {
            background-color: rgba(0, 0, 0, 0.8);
            padding: 1.5rem 0;
            border-bottom: 2px solid #700f0f;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .page-title {
            padding: 5rem 0 3rem;
            text-align: center;
        }
        
        h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            color: #fff;
            text-shadow: 0 0 10px #700f0f;
        }
        
        .subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            font-weight: 300;
            color: #a8a8a8;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 2.5rem;
            margin-left: 0.75rem;
            width: auto;
        }
        
        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-buttons {
            display: flex;
            align-items: center;
        }
        
        .nav-button {
            margin-left: 1.5rem;
            transition: transform 0.3s;
            position: relative;
        }
        
        .nav-button:hover {
            transform: scale(1.1);
        }
        
        .nav-button:hover::after {
            content: attr(data-title);
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 0.8rem;
            white-space: nowrap;
            border: 1px solid #700f0f;
        }
        
        .nav-button img {
            height: 3rem;
            width: auto;
            border-radius: 5px;
            border: 2px solid #700f0f;
        }

        .shuffle-container {
            max-width: 1000px;
            margin: 0 auto;
            background-color: rgba(15, 15, 15, 0.85);
            border-radius: 8px;
            padding: 2rem;
            margin-bottom: 3rem;
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }

        .loadout-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .loadout-section {
            background-color: rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid #444;
        }

        .section-title {
            color: #fff;
            font-size: 1.4rem;
            margin-bottom: 1rem;
            text-align: center;
            text-shadow: 0 0 5px #700f0f;
        }

        .shuffle-item {
            position: relative;
            background-color: rgba(0, 0, 0, 0.5);
            border: 2px solid #444;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
            transition: all 0.3s;
            cursor: pointer;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .shuffle-item:hover {
            border-color: #700f0f;
            background-color: rgba(112, 15, 15, 0.1);
        }

        .shuffle-item.held {
            border-color: #ffd700;
            background-color: rgba(255, 215, 0, 0.1);
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        }

        .shuffle-item img {
            width: 128px;
            height: 128px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }

        .shuffle-item .name {
            color: #fff;
            font-weight: bold;
            text-align: center;
            font-size: 0.9rem;
        }

        .shuffle-item .type {
            color: #aaa;
            font-size: 0.8rem;
            text-align: center;
        }

        .hold-indicator {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #ffd700;
            color: #000;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .shuffle-item.held .hold-indicator {
            opacity: 1;
        }

        .perks-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }

        .addons-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }

        .controls {
            text-align: center;
            margin-bottom: 2rem;
        }

        .shuffle-btn {
            background: linear-gradient(135deg, #700f0f, #a01515);
            color: #fff;
            border: none;
            padding: 1rem 2rem;
            font-size: 1.2rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            margin: 0 0.5rem;
            box-shadow: 0 4px 15px rgba(112, 15, 15, 0.3);
        }

        .shuffle-btn:hover {
            background: linear-gradient(135deg, #a01515, #d01c1c);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(112, 15, 15, 0.4);
        }

        .shuffle-btn:active {
            transform: translateY(0);
        }

        .shuffle-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .loading {
            text-align: center;
            color: #888;
            font-style: italic;
        }

        .error {
            color: #ff6b6b;
            text-align: center;
            background-color: rgba(255, 107, 107, 0.1);
            padding: 1rem;
            border-radius: 4px;
            border: 1px solid rgba(255, 107, 107, 0.3);
        }

        .info-section {
            max-width: 1000px;
            margin: 3rem auto 3rem;
            background-color: rgba(15, 15, 15, 0.85);
            border-radius: 8px;
            padding: 2rem;
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            display: none;
        }

        .info-section.visible {
            display: block;
        }

        .info-section h2 {
            color: #fff;
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
            text-shadow: 0 0 10px #700f0f;
        }

        .info-item {
            background-color: rgba(0, 0, 0, 0.3);
            border: 1px solid #444;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .info-item h3 {
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 5px #700f0f;
            display: flex;
            align-items: center;
        }

        .info-item h3 img {
            width: 100px;
            height: 100px;
            margin-right: 1rem;
            border-radius: 4px;
            border: 2px solid #700f0f;
        }

        .perk-owner {
            color: #a8a8a8;
            font-size: 0.95rem;
            margin-bottom: 1rem;
            font-style: italic;
            padding-left: 116px;
        }

        .info-description {
            color: #d8d8d8;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .info-quote {
            color: #a8a8a8;
            font-style: italic;
            padding-left: 1rem;
            border-left: 3px solid #700f0f;
        }

        .footer {
            background-color: rgba(0, 0, 0, 0.9);
            color: #888;
            padding: 2rem 0;
            text-align: center;
            margin-top: 6rem;
            border-top: 1px solid #333;
        }
        
        .footer a {
            color: #700f0f;
            text-decoration: none;
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2.5rem;
            }
            
            .subtitle {
                font-size: 1.2rem;
            }
            
            .loadout-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .perks-grid {
                grid-template-columns: 1fr;
            }

            .addons-grid {
                grid-template-columns: 1fr;
            }

            .shuffle-btn {
                padding: 0.8rem 1.5rem;
                font-size: 1rem;
            }

            .perk-owner {
                padding-left: 0;
            }
        }
        * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

/* Add these styles to your killerloadoutshuffle.css file */

.manual-select-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(112, 15, 15, 0.9);
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.manual-select-btn:hover {
    background-color: #a01515;
    transform: scale(1.1);
}

.manual-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.manual-selector {
    background-color: #1a1a1a;
    border: 2px solid #700f0f;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(112, 15, 15, 0.5);
}

.selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #700f0f;
}

.selector-header h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 0 5px #700f0f;
}

.close-selector {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-selector:hover {
    color: #700f0f;
    transform: scale(1.2);
}

.selector-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #444;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #700f0f;
}

.selector-list {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
}

.selector-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #444;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.selector-item:hover {
    background-color: rgba(112, 15, 15, 0.2);
    border-color: #700f0f;
    transform: translateX(5px);
}

.selector-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
    border: 1px solid #700f0f;
}

.selector-item span {
    color: #fff;
    font-size: 1rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .manual-selector {
        max-height: 95vh;
    }
    
    .selector-header {
        padding: 1rem;
    }
    
    .selector-header h3 {
        font-size: 1.2rem;
    }
    
    .selector-item img {
        width: 40px;
        height: 40px;
    }
    
    .selector-item span {
        font-size: 0.9rem;
    }
}
