/* Games Block Styles */
.games-block {
    padding: 4rem 0;
}

.games-block h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    font-size: 2.5rem;
}

.games-section {
    margin-bottom: 4rem;
}

.games-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #28a745;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.games-block .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.games-block .game-card {
    background: linear-gradient(135deg, #2c2c2c 0%, #1E1E1E 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.games-block .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.games-block .game-card img {
    width: 100%;
    object-position: center;
    transition: transform 0.3s ease;
}

.games-block .game-card .btn {
    justify-content: center;
    align-items: center;
}

.games-block .game-card i {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.games-block .game-card:hover img {
    transform: scale(1.05);
}

.game-card-content {
    padding: 1.5rem;
    text-align: center;
}

.game-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.game-card p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.game-card .btn { 
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.game-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.game-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 111;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.game-card-badge.new {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
}

.game-card-badge.exclusive {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    color: #000;
}

/* Category Headers */
.category-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 1rem 0;
    border-bottom: 2px solid #28a745;
    position: relative;
}

.category-header h3 {
    color: #28a745;
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    background: #1E1E1E;
    padding: 0 2rem;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .games-block {
        padding: 2rem 0;
    }
    
    .games-block h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .games-section h3 {
        font-size: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .game-card {
        border-radius: 10px;
    }
    
    .game-card-content {
        padding: 1rem;
    }
    
    .game-card h4 {
        font-size: 1rem;
    }
    
    .game-card p {
        font-size: 0.8rem;
    }
    
    .game-card .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
}

/* Animation for game cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
.game-card:nth-child(7) { animation-delay: 0.7s; }
.game-card:nth-child(8) { animation-delay: 0.8s; }

