/* works.twig専用CSS */
.works {
    background: #fff;
}

.game-list {
    margin-bottom: 32px;
    width: 100%;
    max-width: 900px;
}

.game-list-title {
    color: #00adb5;
    margin-bottom: 16px;
}

.game-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.game-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    padding: 20px;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card-img {
    width: 290px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #eee;
}

.game-card-title {
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.game-card-genre {
    color: #888;
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.game-card-desc {
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.game-card-platform {
    margin-top: auto;
    width: 100%;
    color: #00adb5;
    font-size: 0.98rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-platform-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.game-link-icon {
    font-size: 24px;
    vertical-align: middle;
    color: black;
}

@media screen and (max-width: 800px) {
    .game-list-title {
        text-align: center;
    }

    .game-list-row {
        justify-content: center;
    }

    .works-list {
        padding: 0;
        margin: 0;
    }

    .work-item {
        margin-bottom: 16px;
        padding: 10px;
        border-radius: 8px;
    }

}