/* Variables para colores High-Tech */
:root {
    --bg-color: #0D1117; /* Gris muy oscuro, casi negro */
    --primary-color: #00f0ff; /* Azul/Cyan Neón */
    --text-color: #e6e6e6;
}

body {
    font-family: 'Consolas', 'Roboto Mono', monospace;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
    overflow: hidden;

    /* --- PROPIEDADES DE IMAGEN DE FONDO --- */
    background-image: url('fondo.png'); /* <<<< ¡CORREGIDO! Nombre del archivo real */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0D1117;
    /* ------------------------------------- */
}

.container {
    padding: 30px;
    max-width: 800px;
    width: 90%;
    /* Efecto de borde futurista sutil */
    border: 1px solid rgba(0, 240, 255, 0.1); 
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1); 
    border-radius: 8px;
}

/* Logo */
.logo img {
    max-width: 320px;
    height: auto;
    margin-bottom: 25px;
    /* Efecto de luz neón sutil en el logo */
    filter: drop-shadow(0 0 5px var(--primary-color)); 
}

/* Título principal con efecto "glitch" */
h1 {
    font-family: 'Pacifico', cursive;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--primary-color);
    letter-spacing: 2px;
}

/* Efecto glitch (opcional, para un toque extra high-tech) */
.glitch {
    position: relative;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 450px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}
/* Keyframes para el efecto glitch */
@keyframes glitch-anim {
    0% { clip: rect(24px, 9999px, 85px, 0); }
    5% { clip: rect(10px, 9999px, 78px, 0); }
    10% { clip: rect(80px, 9999px, 20px, 0); }
    /* ... más puntos para un glitch más complejo ... */
}
@keyframes glitch-anim-2 {
    0% { clip: rect(40px, 9999px, 120px, 0); }
    5% { clip: rect(100px, 9999px, 50px, 0); }
    10% { clip: rect(30px, 9999px, 90px, 0); }
    /* ... */
}

/* Subtítulo y mensaje */
.subtitle {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #a0a0a0;
}

/* Barra de Estado (Minimalista) */
.status-bar {
    width: 70%;
    margin: 30px auto 15px;
    background-color: #1c2630;
    border-radius: 5px;
    overflow: hidden;
    height: 15px;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.5);
}

.progress-line {
    height: 100%;
    background: linear-gradient(90deg, #007bff, var(--primary-color));
    transition: width 0.8s ease-in-out;
    /* Efecto de brillo de neón en la barra */
    box-shadow: 0 0 8px var(--primary-color);
}

.status-bar span {
    display: block;
    color: var(--primary-color);
    font-size: 0.8em;
    margin-top: 10px;
}

/* Información de Contacto */
.contact-info {
    font-size: 0.9em;
    margin-top: 40px;
    color: #6a6a6a;
}
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info a:hover {
    color: #fff;
    text-decoration: underline;
}