@charset "UTF-8";

/* Game 페이지 스타일 */
.game_list {
    padding: 40px 0;
}

.game_list_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.game_item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game_item.on {
    transform: translateY(-5px);
}

.game_image {
    width: 100%;
    height: 300px;
    padding: 20px;
    overflow: hidden;
}

.game_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.game_item.on .game_img {
    transform: scale(1.05);
}

.game_info {
    padding: 25px;
    text-align: center;
}

.game_title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.game_desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.game_btn {
    background-color: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    cursor: pointer;
}

.game_btn.on {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
    .game_list_inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .game_info {
        padding: 20px;
    }
    
    .game_title {
        font-size: 18px;
    }
} 