/* ==========================================================================
   1. Reset y Configuración General
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background-color: #0b1326; /* Color de respaldo si la imagen tarda en cargar */
}

/* ==========================================================================
   2. Fondo Responsivo con CSS (Mobile-First)
   ========================================================================== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* Capa base */
    
    /* Imagen para dispositivos móviles por defecto */
    background-image: url('hero-mobile.jpg?v=1.0.0');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Cambio automático a la imagen de escritorio en pantallas grandes */
@media (min-width: 768px) {
    .bg-container {
        background-image: url('hero-desktop.jpg?v=1.0.0');
    }
}

/* Capa oscura para mejorar el contraste del texto */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 19, 38, 0.5) 0%, rgba(11, 19, 38, 0.8) 100%);
}

/* ==========================================================================
   3. Estructura de Contenido (Forzada por encima del fondo)
   ========================================================================== */
.content {
    position: relative;
    z-index: 2; /* Obliga al contenido a estar por encima de la imagen */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    border-bottom: 2px solid #d4af37; /* Detalle dorado */
    padding-bottom: 0.5rem;
}

.info-section {
    max-width: 500px;
    margin: auto 0;
}

.status-text {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.6;
}

.version-tag {
    font-size: 0.65rem;
    opacity: 0.3;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Media Queries de Contenido para Escritorio
   ========================================================================== */
@media (min-width: 768px) {
    .content {
        padding: 4rem;
    }

    .brand-title {
        font-size: 2.4rem;
        letter-spacing: 4px;
    }

    .info-section {
        max-width: 700px;
    }

    .status-text {
        font-size: 3.5rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }

    .description {
        font-size: 1.25rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }
}