/* ========================================
   BRICK BREAKER GAME STYLES
   ======================================== */

#brickbreaker-game-container {
    width: 100%;
    color: white;
    font-family: 'Courier New', Courier, monospace;
}

#brickbreaker-game-container:not(.hidden) {
    display: block;
}

#brickbreakerGameSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    width: 100%;
}

.brickbreaker-canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#brickbreakerCanvas {
    background-color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.1);
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    aspect-ratio: 6 / 5;
}

#brickbreaker-ui {
    width: 600px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 10px auto;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 5px #000;
}

.brickbreaker-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border: 2px solid #333;
    border-radius: 10px;
    display: none;
    font-size: 24px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.brickbreaker-message:not(.hidden) {
    display: block;
}

.brickbreaker-controls-hint {
    margin-top: 10px;
    font-size: 0.8em;
    color: #666;
    text-align: center;
}

/* Mobile Controls Alignment Override */
@media (max-width: 800px) {
    #brickbreakerGameArea .mobile-game-controls {
        justify-content: center;
    }
}
