/* Games Page Specific Styles */

/* Games Hero */
.games-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.games-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.games-hero h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.games-hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Top Slots Section */
.top-slots {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(16, 33, 62, 0.9));
}

.top-slots h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.slot-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    animation: slideUp 0.6s ease-out;
}

.slot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.slot-card.exclusive {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.exclusive-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    animation: pulse 2s infinite;
}

.slot-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.slot-info {
    padding: 24px;
}

.slot-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.slot-info p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
    line-height: 1.5;
}

.slot-features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Live Casino Section */
.live-casino {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(16, 33, 62, 0.9), rgba(30, 27, 75, 0.9));
}

.live-casino h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.live-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.live-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.live-card.bengali {
    border: 2px solid var(--success-color);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.live-card.vip {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.bengali-badge, .vip-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    animation: glow 2s ease-in-out infinite alternate;
}

.bengali-badge {
    background: linear-gradient(45deg, var(--success-color), #059669);
    color: white;
}

.vip-badge {
    background: linear-gradient(45deg, var(--accent-color), #d97706);
    color: var(--text-dark);
}

.live-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.live-card:hover img {
    transform: scale(1.05);
}

.live-info {
    padding: 24px;
}

.live-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.live-info p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
}

.dealer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--accent-color);
}

.dealer-info i {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
}

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

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .games-hero h1 {
        font-size: 32px;
    }
    
    .games-hero h2 {
        font-size: 20px;
    }
    
    .slots-grid, .live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-card, .live-card {
        margin: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .games-hero {
        padding: 60px 0;
    }
    
    .games-hero h1 {
        font-size: 28px;
    }
    
    .games-hero h2 {
        font-size: 18px;
    }
    
    .slot-info, .live-info {
        padding: 20px;
    }
}