/* Games Page Styles */

.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.2));
}

.hero-title {
    font-size: 3rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
}

/* Game Categories */
.game-categories {
    padding: 4rem 0;
}

.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab.active,
.category-tab:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    transform: translateY(-2px);
}

.games-filter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    max-width: 300px;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.search-box input::placeholder {
    color: #ccc;
}

.filter-select {
    padding: 12px 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

/* Games Section */
.games-section {
    margin-bottom: 4rem;
}

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

.game-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    group: hover;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(45deg, #333, #555, #777);
    transition: all 0.3s ease;
}

.game-overlay {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.game-overlay p {
    color: #ccc;
    margin-bottom: 1rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-stats span {
    background: rgba(255, 215, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    color: #FFD700;
}

/* Game Badges */
.game-badge, .live-badge, .new-badge, .jackpot-badge, .featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    animation: pulse 2s infinite;
}

.game-badge, .featured-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

.live-badge {
    background: linear-gradient(45deg, #DC143C, #B22222);
    color: #fff;
}

.new-badge {
    background: linear-gradient(45deg, #50C878, #32CD32);
    color: #fff;
}

.jackpot-badge {
    background: linear-gradient(45deg, #7851A9, #9370DB);
    color: #fff;
}

.jackpot-amount {
    color: #FFD700 !important;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Action Section */
.action-section {
    padding: 3rem 0;
    text-align: center;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .games-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .category-tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-overlay {
        padding: 1.5rem;
    }
}