/* Estilo para el título principal */
.sekai-main-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.15;
    color: #1a202c;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #4f46e5, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.15);
    letter-spacing: -0.5px;
    padding-bottom: 1rem;
}

.sekai-main-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #10b981);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* Estilo para el subtítulo */
.sekai-subheading {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    padding: 0 1rem;
}

.sekai-subheading::before,
.sekai-subheading::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #4f46e5;
    font-size: 1rem;
    opacity: 0.7;
}

.sekai-subheading::before {
    left: -10px;
}

.sekai-subheading::after {
    right: -10px;
}

/* Efectos hover */
.sekai-main-heading:hover {
    animation: textGlow 1.5s ease-in-out infinite alternate;
}

.sekai-subheading:hover {
    color: #2d3748;
    transition: color 0.3s ease;
}

/* Animaciones */
@keyframes textGlow {
    from {
        text-shadow: 0 2px 10px rgba(79, 70, 229, 0.15);
    }

    to {
        text-shadow: 0 2px 20px rgba(79, 70, 229, 0.3);
    }
}

/* Transición de entrada */
.sekai-main-heading {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.sekai-subheading {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
    opacity: 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Versión responsive */
@media (max-width: 1024px) {
    .sekai-main-heading {
        font-size: 2.5rem;
    }

    .sekai-subheading {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .sekai-main-heading {
        font-size: 2rem;
        padding-bottom: 0.8rem;
    }

    .sekai-main-heading::after {
        width: 80px;
        height: 3px;
    }

    .sekai-subheading {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .sekai-subheading::before,
    .sekai-subheading::after {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .sekai-main-heading {
        font-size: 1.8rem;
    }

    .sekai-subheading {
        font-size: 0.9rem;
    }

    .sekai-subheading::before,
    .sekai-subheading::after {
        display: none;
    }
}
