@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('data:image/svg+xml,%3Csvg width="6" height="6" viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%239C92AC" fill-opacity="0.1"%3E%3Cpath d="M5 0h1L0 6V5zM6 5v1H5z"/%3E%3C/g%3E%3C/svg%3E');
}

h1 {
    color: #2c3e50;
    text-align: center;
}

#game-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2), 0 1px 3px rgba(0,0,0,0.08);
}

#game-button:hover {
    background-color: #2980b9;
    box-shadow: 0 7px 14px rgba(52, 152, 219, 0.25), 0 3px 6px rgba(0,0,0,0.22);
}

#game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.game {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    width: calc(33.333% - 40px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s;
    min-width: 250px;
}

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

.game h3 {
    color: #2c3e50;
    margin-top: 0;
}

.game p {
    line-height: 1.6;
}

@media (max-width: 768px) {
    .game {
        width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .game {
        width: 100%;
    }
}