/* Reset y Configuraci¨®n Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0c4d24; /* Verde institucional MACDESA */
    font-family: 'Roboto', sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

/* Capas de Fondo */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

/* Tarjeta Central */
.container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 50px 40px;
    background: rgba(12, 77, 36, 0.95); /* Verde oscuro s¨®lido/opaco */
    border: 1px solid #c5a044; /* Borde dorado fino */
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 550px;
    width: 90%;
}

/* Elementos Visuales */
.logo-wrapper {
    margin-bottom: 25px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

h1 {
    color: #c5a044; /* Dorado institucional */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* Loader Mejorado */
.loader-container {
    margin: 25px 0;
}

.loader {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(197, 160, 68, 0.1);
    border-radius: 50%;
    border-top-color: #c5a044;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Redes Sociales - Alta Visibilidad */
.social-icons {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    background: #c5a044; /* Fondo dorado para que resalten */
    color: #0c4d24;      /* Icono verde */
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icons a:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(197, 160, 68, 0.4);
}

/* Texto de la Empresa */
.company-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    padding-top: 20px;
    border-top: 1px solid rgba(197, 160, 68, 0.3);
}

/* Animaciones de entrada */
.fade-in {
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes para M¨®vil */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
    h1 {
        font-size: 1.6rem;
    }
    .logo {
        max-width: 150px;
    }
}