/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    user-select: none; 
}

/* Canvas al fondo */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Contenedor principal */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    perspective: 1000px; 
    width: 100%;
}

/* LOGO TOTALMENTE RESPONSIVO */
#logo {
    width: 100%; 
    max-width: 500px; 
    min-width: 200px; 
    height: auto;
    transition: transform 0.1s ease-out, filter 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    pointer-events: none; 
}

#logo:hover {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6));
}

/* TEXTO EFECTO METÁLICO Y RESPLANDOR TÉRMICO (Más lento) */
h1 {
    margin-top: 40px;
    font-size: clamp(1.2rem, 5vw, 3rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 900;
    min-height: 60px; 
    
    /* Textura de Acero/Metal */
    background: linear-gradient(to bottom, #d5d5d5 0%, #f3f3f3 30%, #7a7a7a 50%, #9e9e9e 51%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff; /* Fallback si no soporta clip */

    /* Animación térmica lenta en lugar de parpadeo rápido */
    animation: text-heat 2s infinite alternate ease-in-out;
}

/* Usamos drop-shadow para que el resplandor no afecte el color metálico del texto */
@keyframes text-heat {
    0% { filter: drop-shadow(0 0 2px rgba(255, 170, 0, 0.3)) drop-shadow(0 0 10px rgba(255, 69, 0, 0.2)); }
    100% { filter: drop-shadow(0 0 5px rgba(255, 170, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.7)); }
}

/* LA PUNTA DEL SOLDADOR (Chispa principal) */
.spark-cursor {
    display: inline-block;
    width: 6px;
    height: 1em; 
    background: #ffffff;
    vertical-align: bottom;
    margin-left: 2px;
    box-shadow: 0 0 10px #fff, 0 0 20px #ffff00, 0 0 40px #ffaa00, 0 0 60px #ff0000;
    /* Parpadeo ligeramente suavizado */
    animation: spark-flicker 0.15s infinite alternate;
    border-radius: 5px;
}

@keyframes spark-flicker {
    0% { opacity: 0.7; transform: scale(0.9) translateY(1px); }
    100% { opacity: 1; transform: scale(1.2) translateY(-1px); }
}