﻿.title-wrapper {
    text-align: center;
    padding: 0 0 0;
    background: var(--secundary_titler);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border: 1px solid var(--secundary_border);
    border-radius: 40px;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 1.5%;
    max-height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    container-type: inline-size;
    width: 100%;
}

    .title-wrapper::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient( from 0deg, transparent, var(--secundary_title_medium), rgba(236, 72, 153, 0.1),var(--secundary_title_rigth), transparent );
        animation: rotate 20s linear infinite;
        pointer-events: none;
    }

.subtitle {
    font-size: clamp(1.5rem, 8cqw, 4.5cqw);
    font-weight: 300;
    background: var(--secundary_title_letra);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.5px;
    position: relative;
    word-break: break-word;
    text-align: center;
}

.subtitle-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-top: 45px;
    position: relative;
}

.decoration-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: glassFloat 4s ease-in-out infinite;
}

    .decoration-dot:nth-child(1) {
        animation-delay: 0s;
    }

    .decoration-dot:nth-child(3) {
        animation-delay: 2s;
    }

.decoration-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    position: relative;
    border-radius: 1px;
}

    .decoration-line::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
        animation: glassShimmer 3s ease-in-out infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes glassFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

@keyframes glassShimmer {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}
