body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    margin: 0;
}

.scoreboard-container {
    background-color: #333;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h1 {
    margin-top: 0;
    color: #ffd700; /* Gold color */
}

.scores-display {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.player-score {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.player-name {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #a0d9ff; /* Light blue */
}

.set-score-container,
.game-score-container {
    font-size: 1.5em;
    margin-bottom: 5px;
    line-height: 1;
}

.vs-separator {
    font-size: 10em;
    font-weight: bold;
    color: #ffffff;
    display: inline-block;
    min-width: 20px;
    position: relative;
    transform: rotate(-5deg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.1em; /* 자간을 살짝 겹치도록 설정 */
}

.score-container {
    margin: 10px 0;
    line-height: 1;
}

.set-score {
    font-size: 9em;
    margin-right: 10px;
    font-weight: bold;
    color: #ffd700; /* White */
    display: inline-block;
    min-width: 20px; /* Ensure consistent width for single/double digits */
    text-align: center;
    line-height: 0.8; /* 줄 간격 줄이기 */
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: top; /* 수직 정렬 조정 */
}

.game-score {
    font-size: 16em;
    font-weight: bold;
    color: #ffffff; /* Lighter gold */
    display: inline-block;
    min-width: 40px; /* Ensure consistent width for single/double digits */
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
    line-height: 0.8; /* 줄 간격 줄이기 */
    margin: 0; /* 기본 마진 제거 */
    vertical-align: top; /* 수직 정렬 조정 */
}

.controls button {
    background-color: #555;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.controls button:hover {
    background-color: #777;
}

.reset-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.reset-buttons button {
    background-color: #03c75a; /* Red for reset */
    color: #fff;
    border: none;
    padding: 12px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.reset-buttons button:hover {
    background-color: #03c75a;
}