* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c31432, #240b36);
}

.game-container {
    width: 900px;
    height: 560px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.player-panel {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.player-panel.active-turn {
    background: rgba(255, 255, 255, 0.2);
}

.player-panel h2 {
    font-size: 28px;
    letter-spacing: 2px;
}

.total-score {
    font-size: 80px;
    margin: 20px 0;
    color: #c31432;
}

.current-score-box {
    background: #c31432;
    color: white;
    padding: 15px;
    width: 150px;
    margin: 40px auto 0;
    border-radius: 10px;
}

.current-score-value {
    font-size: 28px;
}

.game-controls {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

button {
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    background: white;
}

.new-game-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.dice-image {
    width: 90px;
}

.leaderboard-box {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    background: rgba(177, 22, 42, 0.5);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 15px 20px;
    color: white;
}

.leaderboard-title {
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.leaderboard-content {
    display: flex;
    justify-content: space-between;
}

.leaderboard-player {
    width: 45%;
    text-align: center;
}

.leaderboard-player h4 {
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.leaderboard-score {
    font-size: 26px;
    font-weight: bold;
}