/* Games Page Specific Styles */

/* Games Hero */
.games-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(233, 30, 99, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.games-hero .container {
    position: relative;
    z-index: 2;
}

.games-hero .hero-title {
    background: linear-gradient(135deg, #e91e63, #9c27b0, #3f51b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.games-hero .hero-subtitle {
    color: #b0b0b0;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Game Filters */
.game-filters {
    padding: 40px 0;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(233, 30, 99, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    border-color: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

/* Games Section */
.games-section {
    padding: 60px 0;
}

.games-section:nth-child(even) {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(233, 30, 99, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    height: 300px;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e91e63, #9c27b0, #3f51b5);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.95));
    padding: 20px;
    transform: translateY(60%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(233, 30, 99, 0.5);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3);
}

.game-overlay h3 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.game-overlay p {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.live-card {
    border-color: rgba(255, 215, 0, 0.3);
}

.live-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.crash-card {
    border-color: rgba(76, 175, 80, 0.3);
}

.crash-card:hover {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.2);
}

/* Game Categories Icons */
.game-card i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

/* Responsive Design for Games */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .game-card {
        height: 280px;
    }
    
    .game-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        height: 260px;
    }
    
    .game-card img {
        height: 160px;
    }
    
    .game-filters {
        position: static;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}