html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-container {
    align-content: center;
    flex: 1 0 auto;
    padding: 50px;
    position: relative;
    z-index: 0;
}

/* Fondo con overlay */
/* Eliminadas las variables de fondo */

.main-container::before {
    /* Eliminado el fondo de imagen */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #ffffff;
}

/* Overlay para el fondo */
.main-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

/* Estilos para modo oscuro */
body.dark-mode .main-container::after {
    background: #232946;
}

body.dark-mode .main-container::before {
    background-color: #232946;
}

body.dark-mode .menu-button {
    background: rgba(238, 188, 29, 0.3);
    border-color: #eebc1d;
    color: #fff;
}

body.dark-mode .menu-button:hover,
body.dark-mode .menu-button:focus {
    background: #eebc1d;
    color: #181a20;
}

body.dark-mode .social-icon {
    background: rgba(238, 188, 29, 0.3);
    border-color: #eebc1d;
    color: #fff;
}

body.dark-mode .social-icon:hover,
body.dark-mode .social-icon:focus {
    background: #eebc1d;
    color: #181a20 !important;
}

/* Estilos para el encabezado principal */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Estilos para el logo */
.main-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    border: 4px solid #eebc1d;
    box-shadow: 0 4px 16px rgba(35,41,70,0.15);
    margin-bottom: 1.5rem;
    background: #fff;
    position: relative;
    z-index: 3;
    animation: logoPulse 2s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    0% {
        border-color: #eebc1d;
        box-shadow: 0 4px 16px rgba(35,41,70,0.15), 0 0 0 0 rgba(238, 188, 29, 0.7);
    }
    100% {
        border-color: #e0a800;
        box-shadow: 0 4px 16px rgba(35,41,70,0.15), 0 0 0 8px rgba(238, 188, 29, 0);
    }
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .main-container {
        padding: 30px 20px;
    }
    
    .main-logo {
        width: 140px;
        height: 140px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 20px 15px;
    }
    
    .main-logo {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .menu-button {
        padding: 14px 20px;
        font-size: 1.1rem;
    }
    
    .menu-button i {
        font-size: 1.5rem;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}
.main-menu {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
}
.menu-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px 28px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    color: #232946;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #eebc1d;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.menu-button i {
    font-size: 1.7rem;
    color: #232946;
    transition: all 0.3s ease;
}

body.dark-mode .menu-button i {
    color: #eebc1d;
}

.menu-button:hover, .menu-button:focus {
    background: #eebc1d;
    color: #232946;
    border-color: #ffd700;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    text-decoration: none;
    transform: translateY(-3px);
}
body.dark-mode .menu-button:hover i, body.dark-mode .menu-button:focus i {
    color: #232946;
    transform: scale(1.1);
}
.social-icons {
    display: flex;
    gap: 18px;
    margin-top: 24px;
    justify-content: center;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f7f7f7;
    font-size: 1.7rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid #eebc1d;
    position: relative;
    z-index: 2;
    color: #232946;
}
.social-icon:hover, .social-icon:focus {
    background: #eebc1d;
    color: #232946 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
}
.title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #232946;
    letter-spacing: 1px;
    text-shadow: none;
    transition: color 0.3s;
    position: relative;
    z-index: 3;
}
.subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: #eebc1d;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: none;
    transition: color 0.3s;
    position: relative;
    z-index: 3;
}
body.dark-mode .title {
    color: #eebc1d;
    text-shadow: none;
}
body.dark-mode .subtitle {
    color: #fff;
    text-shadow: none;
}
    footer, .footer, #footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}
@media (max-width: 600px) {
    .main-container {
        align-content: center;
        margin-top: 20px;
        padding: 20px;
    }
    .main-menu {
        max-width: 75vw;
        align-items: center;
        justify-content: center;
    }
    .menu-button {
        font-size: 1.1rem;
        padding: 14px 12px;
        width: 75%;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
}
/* Preloader styles moved to preloader.css */