@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
    --neon-blue: #00d2ff;
    --neon-red: #ff0055;
    --neon-gold: #ffcc00;
    --dark-bg: #0d0d0d;
}

body {
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    font-family: 'Orbitron', sans-serif;
    color: #e0e0e0;
    min-height: 100vh; /* Cambia el min-vh-100 por esto */
    margin: 0;
}

/* Navbar Estilo HUD */
.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 2px solid var(--neon-blue);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.navbar-brand, .navbar-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Contenedor del Canvas */
#gameCanvas {
    background: rgba(0, 0, 0, 0.6);
    border: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(0, 0, 0, 1), 0 0 20px var(--neon-blue);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* Cartas de Información */
.card {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid var(--neon-blue) !important;
    border-radius: 15px;
    box-shadow: inset 0 0 10px rgba(0, 210, 255, 0.1);
}

.score-container {
    border: 2px solid var(--neon-gold);
    background: rgba(255, 204, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

/* Panel de Control (La Consola) */
.control-panel {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    border-top: 3px solid var(--neon-blue);
    border-radius: 30px 30px 0 0;
    padding: 30px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
}

/* Botón de Fuego */
#fireBtn {
    background: linear-gradient(45deg, #ff0055, #ff8c00);
    border: none;
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
    transition: all 0.2s ease;
}

#fireBtn:hover {
    filter: brightness(1.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.7);
}

/* Sliders */
.form-range::-webkit-slider-thumb {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Indicador de Turno */
#turnIndicator {
    font-size: 1.4rem;
    letter-spacing: 5px;
    text-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.victory-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.victory-content {
    background: rgba(20, 20, 20, 0.9);
    padding: 50px;
    border: 3px solid var(--neon-blue);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 50px var(--neon-blue);
    max-width: 500px;
}

.victory-content h1 {
    font-size: 2.5rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    margin-bottom: 20px;
}

.victory-message {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
}

.btn-neon-restart {
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--neon-red);
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--neon-red);
}

.btn-neon-restart:hover {
    background: var(--neon-red);
    color: black;
    box-shadow: 0 0 30px var(--neon-red);
}