/* Published Games Page */

/* Intro Section */
.published-games-intro {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.published-games-intro h1 {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
}

.published-games-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
}

/* Game Library Section */
.game-library {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.game-card {
    background-color: #ffffff;
    border: 1px solid var(--boarders);
    border-radius: 10px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.game-info h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.game-info p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}

.game-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.game-button:hover {
    background-color: #0082b3;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .game-library {
        flex-direction: column;
        align-items: center;
    }
}
