body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f9e6;
    margin: 0;
}

.game-container {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#click-button, #shop-button, #code-button, .shop-item button, #close-shop-button {
    font-size: 1.2em;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

#click-button {
    background-color: #ff781f;
    color: white;
}
#click-button:hover {
    background-color: #e0600a;
}

#shop-button {
    background-color: #4caf50;
    color: white;
}
#shop-button:hover {
    background-color: #45a049;
}

#code-button {
    background-color: #6c757d;
    color: white;
}
#code-button:hover {
    background-color: #5a6268;
}

/* 상점 UI 스타일 */
.shop-container {
    display: none; /* 기본적으로 숨김 */
    position: absolute;
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    border: 2px solid #ddd;
}

.shop-container.visible {
    display: block; /* 이 클래스가 추가되면 보이게 함 */
}

.shop-items {
    margin-bottom: 20px;
}

.shop-item {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.shop-item button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 리더보드 스타일 */
.leaderboard {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

#leaderboard-list {
    list-style-type: none;
    padding: 0;
}

#leaderboard-list li {
    font-size: 1.1em;
    padding: 5px;
    background-color: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 5px;
}