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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1a2e 25%, #16213e 50%, #2d1b69 75%, #0a0e1a 100%);
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 60%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Main Content Layout */
.main-content {
    max-width: 1750px;
    margin: 0 auto;
    padding: 10px 250px 36px 250px;
}

/* Demo Games Floating Action Button */
.demo-games-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
}

.demo-games-fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.6);
}


/* Keyframe Animations */
@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)); }
    to { filter: drop-shadow(0 0 20px rgba(236, 72, 153, 1)); }
}

@keyframes tvGlow {
    from { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)); }
    to { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

/* Select Wrapper Styling */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #475569;
    border-radius: 8px;
    color: white;
    padding: 10px 40px 10px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.select-wrapper:hover .select-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.select-wrapper:hover .select-arrow {
    opacity: 0.8;
    transform: translateY(-50%) rotate(180deg);
}

.select-wrapper select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* Select/Combobox Styling (Fallback for non-wrapped selects) */
select {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #475569;
    border-radius: 8px;
    color: white;
    padding: 10px 40px 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

select:hover {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

select:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
}

select option {
    background: #1e293b;
    color: white;
    padding: 10px;
}

/* Filter Controls */
.filter-controls select,
.filters select,
.pagination-controls select {
    min-width: 120px;
    margin: 0 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        margin-bottom: 10px;
    }
    .demo-games-fab {
        padding: 10px 20px;
        font-size: 14px;
        bottom: 15px;
        right: 15px;
    }
    
    .select-wrapper {
        width: 100%;
    }
    
    .select-icon {
        left: 10px;
        width: 14px;
        height: 14px;
    }
    
    .select-arrow {
        right: 10px;
        width: 10px;
        height: 10px;
    }
    
    .select-wrapper select {
        padding: 8px 30px 8px 35px;
        font-size: 13px;
    }
    
    select {
        padding: 8px 35px 8px 12px;
        font-size: 13px;
        background-size: 14px;
        background-position: right 10px center;
    }
    
    .filter-controls select,
    .filters select,
    .pagination-controls select {
        min-width: 100px;
        margin: 2px;
    }
}
