/* Games Page Specific Styles */

.games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f051d 0%, #1a0b2e 50%, #2d1b3d 100%);
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.game-card.featured {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.game-stats span {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hot-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e) !important;
    color: #fff !important;
    animation: pulse 2s infinite;
}

.new-badge {
    background: linear-gradient(45deg, #37b24d, #1c7ed6) !important;
    color: #fff !important;
}

.jackpot-badge {
    background: linear-gradient(45deg, #9c36b5, #ff6b35) !important;
    color: #fff !important;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5); }
}

.game-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
}

/* Live Casino Section */
.live-casino-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b3d 100%);
}

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

.live-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.live-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.live-game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(45deg, #1c7ed6, #37b24d, #9c36b5);
}

.live-info {
    padding: 20px;
}

.live-info h3 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

.live-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.live-indicator {
    color: #ff4757;
    font-weight: 600;
    animation: blink 1s infinite;
}

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

.live-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, #1c7ed6, #37b24d);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.live-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 126, 214, 0.5);
}

/* Crash Games Section */
.crash-games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d1b3d 0%, #0f051d 100%);
}

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

.crash-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.crash-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.crash-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

.crash-info {
    padding: 20px;
    text-align: center;
}

.crash-info h3 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.crash-info p {
    color: #ccc;
    margin-bottom: 15px;
}

.multiplier {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.crash-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.crash-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
}

/* Game Buttons Section */
.game-buttons-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #0f051d 100%);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.action-btn {
    display: block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffcc02);
    color: #000;
    border-color: #ffd700;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.action-btn.primary:hover {
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .crash-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .action-buttons {
        padding: 0 20px;
    }
    
    .action-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .game-card,
    .live-game-card,
    .crash-card {
        margin: 0 10px;
    }
    
    .crash-games-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        gap: 15px;
    }
}