/* Games Page Specific Styles */

/* Games Hero */
.games-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.games-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out;
}

.games-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out 0.2s both;
}

.games-hero .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInDown 1s ease-out 0.4s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Filters */
.game-filters {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

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

.filter-tab {
    background: transparent;
    border: 2px solid #ff6b35;
    color: #ff6b35;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: #ff6b35;
}

.search-bar i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

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

.games-section:nth-child(even) {
    background: #f8f9fa;
}

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

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.game-badge.exclusive {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.game-badge.jackpot {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    animation: pulse 2s infinite;
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.game-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.rtp {
    color: #28a745;
    font-weight: 600;
}

.max-win {
    color: #ff6b35;
    font-weight: 600;
}

.jackpot-amount {
    color: #ffd700;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* Live Casino Cards */
.live-card .game-image {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.live-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    animation: blink 2s infinite;
}

.live-indicator.bangla {
    background: #28a745;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.live-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.players {
    color: #28a745;
    font-weight: 600;
}

.bet-range {
    color: #ff6b35;
    font-weight: 600;
}

/* Providers Section */
.providers-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.provider-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.provider-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.provider-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.provider-card p {
    color: #ccc;
    font-size: 14px;
}

/* Games CTA */
.games-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.cta-buttons .btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .games-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .games-hero {
        padding: 60px 0;
    }
    
    .games-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .game-filters {
        top: 60px;
    }
}