:root {
    --bg-color: #0f172a;
    --accent-color: #38bdf8;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --warn-yellow: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 550px;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: clamp(1.5rem, 5vw, 3rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
    animation: fadeUp 1s ease-out forwards;
}

.logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto 2rem auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 10px;
    width: 100%;
    
    /* Tamaño de letra adaptativo */
    font-size: clamp(0.75rem, 4vw, 1.6rem); 
    
    margin: 1.5rem 0;
    padding: 0.8rem 0;
    color: var(--warn-yellow); 
    text-shadow: 1px 1px 0px #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    /* Bordes con animación de "movimiento" */
    border-top: 6px solid;
    border-bottom: 6px solid;
    border-image: repeating-linear-gradient(45deg, var(--warn-yellow), var(--warn-yellow) 10px, #000 10px, #000 20px) 1;
    
    /* Efecto de brillo sutil */
    animation: warningGlow 3s infinite alternate;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: clamp(0.95rem, 2vw, 1.125rem);
}

.notify-form {
    display: flex;
    gap: 0.75rem;
}

input {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

button {
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* --- ANIMACIONES --- */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes warningGlow {
    from { filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.1)); }
    to { filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4)); }
}

/* --- RESPONSIVIDAD (MÓVILES) --- */

@media (max-width: 640px) {
    .glass-card {
        padding: 1.5rem;
    }

    .logo {
        max-height: 60px;
        margin-bottom: 1.5rem;
    }

    .notify-form {
        flex-direction: column;
        gap: 1rem;
    }

    input, button {
        width: 100%;
        height: 50px;
    }

    h1 {
        gap: 6px;
        letter-spacing: 0;
    }
}

/* Pantallas extremadamente pequeñas */
@media (max-width: 360px) {
    h1 {
        font-size: 0.7rem; /* Reducción máxima para evitar saltos */
        gap: 4px;
    }
}