/* header.css */
.main-header {
    background: linear-gradient(-45deg, #1a237e, #0d47a1, #1565c0, #0288d1);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mantenemos tu efecto mejorado de partículas flotantes */
.main-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(2px 2px at 40px 60px, rgba(255,255,255,0.15) 50%, transparent 100%),
        radial-gradient(2px 2px at 20% 20%, rgba(255,255,255,0.1) 50%, transparent 100%),
        radial-gradient(2px 2px at 30% 70%, rgba(255,255,255,0.13) 50%, transparent 100%),
        radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,0.15) 50%, transparent 100%),
        radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.1) 50%, transparent 100%);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    animation: particleAnimation 15s linear infinite;
    opacity: 0.5;
}

@keyframes particleAnimation {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50%) rotate(45deg); }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
    letter-spacing: 4px;
    line-height: 1;
    position: relative;
}

/* Mantenemos el efecto de resplandor del logo */
.logo::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8), transparent 60%);
    filter: blur(8px);
    transform: translateY(-50%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

.logo-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.logo-spanish {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.header-divider {
    max-width: 200px;
    margin: 1.5rem auto 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.2) 20%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.2) 80%,
        transparent
    );
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header {
        padding: 1.5rem 0;
    }

    .header-content {
        padding: 1rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .logo-subtitle {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .logo-spanish {
        font-size: 0.8rem;
    }
}