/* ==================== RESET E GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* ==================== CONTAINER PRINCIPAL ==================== */
.game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ==================== CANVAS 3D ==================== */
.canvas-container {
    width: 100%;
    height: 100%;
}

/* ==================== PLACAR ==================== */
.scoreboard {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    pointer-events: none;
    z-index: 10;
}

.scoreboard-number {
    font-size: 64px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 4px;
}

/* ==================== INDICADOR DE DASH ==================== */
.dash-indicator {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

.dash-charges {
    font-size: 48px;
    display: inline-flex;
    gap: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.dash-charge {
    transition: all 0.3s ease;
}

.dash-charge.active {
    color: #ffff00;
    filter: drop-shadow(0 0 10px #ffff00);
}

.dash-charge.inactive {
    color: #666666;
}

/* ==================== POPUP DE PONTOS ==================== */
@keyframes popupBounce {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -80%) scale(1);
        opacity: 0;
    }
}

.points-popup {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffff00;
    font-size: 72px;
    font-weight: bold;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    animation: popupBounce 0.8s ease-out;
    z-index: 15;
}

/* ==================== TELA INICIAL ==================== */
.start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 10;
}

.start-screen-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.start-screen-controls {
    font-size: 24px;
    margin-bottom: 20px;
}

.start-screen-dash {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffff00;
}

.start-screen-prompt {
    font-size: 20px;
    opacity: 0.9;
}

/* ==================== TELA DE GAME OVER ==================== */
.game-over-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 10;
}

.game-over-title {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ff6b6b;
}

.game-over-score {
    font-size: 36px;
    margin-bottom: 30px;
}

.game-over-prompt {
    font-size: 24px;
    opacity: 0.9;
}

/* ==================== INSTRUÇÕES ==================== */
.instructions {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 10;
}

.instructions-jump {
    margin-bottom: 5px;
}

.instructions-dash {
    color: #ffff00;
}
