/* /home/amil8ka/bot/web_app/css/pages/games.css */

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding: 15px;
}

.game-card {
    background-color: var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 150px; /* Задаем минимальную высоту */
}

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

.game-card-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.game-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.game-card-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}