/* Games Page Styles */

/* Hero Section */
.hero-games {
    padding: 150px 0 100px;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%),
                linear-gradient(135deg, var(--dark-bg) 0%, #0a1528 100%);
    text-align: center;
}

.hero-games h1 {
    font-family: 'Orbitron', monospace;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0066FF 0%, #00FF00 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-games h2 {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.hero-games p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
}

/* Game Categories */
.game-categories {
    padding: 100px 0;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-main);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.games-section {
    margin-bottom: 80px;
}

.games-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    color: var(--primary-gold);
    margin-bottom: 40px;
    text-align: center;
}

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

/* Game Cards */
.game-card {
    background: var(--gradient-dark);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(45deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    transition: transform 0.3s ease;
}

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

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

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

.play-btn, .demo-btn {
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-btn {
    background: var(--gradient-main);
    color: var(--dark-bg);
}

.demo-btn {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.play-btn:hover {
    transform: scale(1.05);
}

.demo-btn:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* Game Info */
.game-info {
    padding: 20px;
}

.game-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.game-info p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rtp {
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

.volatility {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

/* Special Game Cards */
.game-card.featured {
    border: 2px solid var(--primary-gold);
    background: linear-gradient(135deg, var(--dark-surface) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.game-card.jackpot .jackpot-amount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.game-card.trending .trending-badge,
.game-card.new .new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.trending-badge {
    background: var(--primary-red);
    color: white;
}

.new-badge {
    background: var(--primary-green);
    color: white;
}

/* Live Game Cards */
.live-game .live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Crash Game Cards */
.crash-game {
    background: linear-gradient(135deg, var(--dark-surface) 0%, rgba(255, 140, 0, 0.1) 100%);
}

/* Game CTAs */
.game-ctas {
    padding: 80px 0;
    background: var(--dark-surface);
}

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

.cta-card {
    background: var(--gradient-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.cta-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.cta-card i {
    font-size: 40px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: block;
}

.cta-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    color: var(--text-gold);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-games h1 {
        font-size: 32px;
    }
    
    .hero-games h2 {
        font-size: 20px;
    }
    
    .category-filters {
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .game-image {
        height: 180px;
    }
    
    .cta-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .cta-card {
        padding: 25px;
    }
    
    .cta-card i {
        font-size: 30px;
    }
    
    .cta-card h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-games {
        padding: 120px 0 80px;
    }
    
    .hero-games h1 {
        font-size: 24px;
    }
    
    .hero-games h2 {
        font-size: 18px;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-overlay {
        flex-direction: column;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
}