:root {
    --primary-color: #005a9e; /* Azul del logo */
    --secondary-color: #8bc53f; /* Verde del logo */
    --text-color: #333;
    --background-overlay: rgba(240, 245, 250, 0.92);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; /* Evita el scroll */
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/back_verma.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    text-align: center;
    background-color: var(--background-overlay);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* Ancho base para escritorio */
    width: 90%; /* Usamos width 90% para que tenga un margen inicial */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    max-width: 190px;
    margin-bottom: 1.5rem;
}

h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.footer a:hover {
    text-decoration: underline;
}
/* ======================================================= */
/* ESTILOS PARA ÍCONOS DE REDES SOCIALES (Añadido) */
/* ======================================================= */

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.75rem; /* Espacio entre los íconos */
    margin-top: 1.5rem; /* Espacio sobre los íconos */
}

.social-links a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.social-links a:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.social-links svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color); /* Usa el color azul principal del logo */
    opacity: 0.85;
}

.social-links a:hover svg {
    opacity: 1;
}

/* ======================================================= */
/* NUEVO DISEÑO ADAPTATIVO CON 2 NIVELES          */
/* ======================================================= */

/* --- NIVEL 1: Tablets y Móviles Grandes (hasta 768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        /* Un margen generoso para tablets y phablets */
        width: 85%;
    }
    h1 {
        font-size: 1.7rem;
    }
    p {
        font-size: 1rem;
    }
    .logo {
        max-width: 160px;
    }
}

/* --- NIVEL 2: Móviles Pequeños (hasta 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
        /* Un margen aún mayor para celulares pequeños, garantizando que nunca toque los bordes */
        width: 78%;
    }
    h1 {
        font-size: 1.4rem;
    }
    p {
        font-size: 0.95rem;
    }
    .logo {
        max-width: 140px;
    }
}