/* Estilos generales */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --dark-color: #2b2d42;
    --light-color: #f8f9fa;
    --gray-color: #e5e5e5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Contenedor del logo */
.logo-container {
    width: 100%;
    max-width: 120rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 1.5s ease-out forwards;
}

.logo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30rem;
    height: 30rem;
}

.logo-text {
    font-size: 10rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -3px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: textPulse 3s ease-in-out infinite;
}

.logo-shape {
    width: 30rem;
    height: 30rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: absolute;
    z-index: 1;
    opacity: 0.8;
    filter: blur(2px);
    animation: morphing 15s ease-in-out infinite, float 6s ease-in-out infinite;
}

.server-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 5rem; /* Ajustado para la nueva estructura */
    text-align: center;
    position: relative;
    z-index: 3;
    animation: fadeIn 2s ease-out forwards;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Media queries */
@media screen and (max-width: 768px) {
    .logo-text {
        font-size: 8rem;
    }
    
    .logo-shape {
        width: 25rem;
        height: 25rem;
    }
    
    .logo-wrapper {
        width: 25rem;
        height: 25rem;
    }
    
    .server-title {
        font-size: 3rem;
        margin-top: 4rem;
    }
}

@media screen and (max-width: 576px) {
    .logo-text {
        font-size: 6rem;
    }
    
    .logo-shape {
        width: 20rem;
        height: 20rem;
    }
    
    .logo-wrapper {
        width: 20rem;
        height: 20rem;
    }
    
    .server-title {
        font-size: 2.5rem;
        margin-top: 3.5rem;
    }
}
