/* Animación de entrada */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-in-out 4s forwards;
}

.logo-animation {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-container {
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-container img {
    width: 150px;
    height: 150px;
    animation: pulse 2s infinite;
}

.company-name-animated {
    margin: 20px 0;
    letter-spacing: -1px;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    transform: scale(0.9);
}

.company-name-animated span {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(20px);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

/* Línea decorativa debajo del nombre */
.underline {
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 0;
    margin: 10px auto;
    animation: expandWidth 1s ease-out 2s forwards;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 280px; }
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}