:root {
    --primary-blue: #00d4ff; 
    --dark-bg: #050a14;      
    --text-light: #ffffff;
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Fondo de red tecnológica */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 80%),
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    z-index: -1;
}

.container {
    text-align: center;
    padding: 2rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- LOGO --- */
.logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 280px;
    height: auto;
    object-fit: contain;
    display: block;

    /* Difumina los bordes hacia el fondo sin corte ni halo */
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 75%);
}

/* --- TEXTOS --- */
h1 {
    font-family: var(--font-header);
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: 5px;
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    margin-bottom: 1rem;
}

.subtitle {
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* --- INDICADOR DE ESTADO --- */
.status-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--primary-blue);
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.05);
}

.pulse {
    width: 10px;
    height: 10px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
    animation: blink 1.5s infinite; 
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* --- FOOTER --- */
footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
}

footer p {
    font-size: 0.8rem;
    opacity: 0.5;
}