#dot-jump-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 3 / 4;
}

#dot-jump-container canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, #1a2a6c, #b21f1f, #fdbb2d);
}

.dot-ui {
    position: absolute;
    z-index: 10;
    width: 100%;
    text-align: center;
    color: white;
    font-family: sans-serif;
}

.dot-ui h1, .dot-ui h2, .dot-ui h3 {
    font-weight: bold;
}

.key {
    background-color: white;
    color: black;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.dot-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.dot-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.25rem;
}

.dot-panel {
    background-color: rgba(0,0,0,0.8);
    border-radius: 15px;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.dot-btn-group {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.dot-leaderboard {
    background-color: rgba(0,0,0,0.7);
    border-radius: 10px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

.dot-empty {
    font-style: italic;
    text-align: center;
}


.dot-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dot-ui > * {
    margin: 0.5rem 0;
}


#start-screen, #game-over, .dot-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#start-screen h1, #start-screen h2, #game-over h1, #game-over h2 {
    width: 100%;
}
