/* Estilos Específicos para Rompeladrillos Terapéutico */

.arkanoid-game-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    width: 100%;
}

.speed-control-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.speed-control-box input[type="range"] {
    width: 250px;
    accent-color: var(--accent-blue);
    cursor: pointer;
}

.canvas-container {
    display: flex;
    justify-content: center;
    background-color: var(--bg-surface);
    border: 3px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(52, 152, 219, 0.25);
    touch-action: none;
    cursor: pointer;
    box-sizing: border-box;
}

#arkanoid-canvas {
    background: linear-gradient(180deg, hsl(220, 30%, 10%), hsl(220, 25%, 6%));
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    display: block;
    max-width: 100%;
}

/* BOTÓN DE ALERTA LÁSER (FEEDBACK VISUAL) */
.laser-btn-alert {
    padding: 0.85rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 900;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    user-select: none;
}

.laser-btn-alert.disabled-laser {
    background-color: var(--bg-surface);
    color: var(--text-muted);
    opacity: 0.4;
    filter: grayscale(1);
    cursor: not-allowed;
    box-shadow: none;
}

.laser-btn-alert.active-laser {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
    box-shadow: 0 0 30px var(--accent-red) !important;
    animation: laserPulseAlert 0.6s ease-in-out infinite alternate !important;
}

@keyframes laserPulseAlert {
    0% { transform: scale(1); filter: brightness(1); box-shadow: 0 0 20px var(--accent-red); }
    100% { transform: scale(1.08); filter: brightness(1.4); box-shadow: 0 0 45px var(--accent-red), 0 0 20px #ffffff; }
}
