html.selo-intro-pending .selo-diamante-img {
    opacity: 0;
}

.selo-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}

.selo-intro-overlay.is-active {
    display: flex;
    pointer-events: auto;
}

.selo-intro-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 37, 56, 0.62);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.selo-intro-overlay.is-visible .selo-intro-backdrop {
    opacity: 1;
}

.selo-intro-overlay.is-closing .selo-intro-backdrop {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.selo-intro-modal {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    margin: 0;
    color: inherit;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfe 100%);
    border-radius: 20px;
    padding: 28px 28px 24px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(4, 32, 51, 0.35);
    border: 1px solid rgba(5, 157, 198, 0.22);
    overflow: hidden;
    will-change: transform, opacity;
}

.selo-intro-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 79, 108, 0.08);
    color: #0b4f6c;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.selo-intro-close:hover {
    background: rgba(11, 79, 108, 0.16);
    transform: scale(1.06);
}

.selo-intro-badge-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #059DC6;
    background: rgba(5, 157, 198, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.selo-intro-seal-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 14px;
}

.selo-intro-seal-img {
    width: 195px;
    height: 195px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(11, 79, 108, 0.22));
    transition: opacity 0.1s linear;
}

.selo-intro-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b4f6c;
    line-height: 1.28;
    margin-bottom: 10px;
}

.selo-intro-title span {
    color: #059DC6;
}

.selo-intro-desc {
    font-size: 0.94rem;
    color: #415a6b;
    line-height: 1.55;
    margin-bottom: 20px;
}

.selo-intro-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.selo-intro-btn-primary {
    background: #059DC6;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(5, 157, 198, 0.28);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.selo-intro-btn-primary:hover {
    background: #0483a6;
    transform: translateY(-1px);
}

.selo-intro-btn-link {
    color: #0b4f6c;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 6px 8px;
}

.selo-intro-btn-link:hover {
    color: #059DC6;
}

.selo-intro-close:focus-visible,
.selo-intro-btn-primary:focus-visible,
.selo-intro-btn-link:focus-visible {
    outline: 2px solid #059DC6;
    outline-offset: 2px;
}

.selo-intro-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(5, 157, 198, 0.12);
}

.selo-intro-progress-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #059DC6, #1fb8e0);
    transform-origin: left center;
    transform: scaleX(1);
}

.selo-tether-svg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 100001;
    pointer-events: none;
    display: none;
}

.selo-tether-path {
    fill: none;
    stroke: #0b4f6c;
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.85));
}

.selo-intro-flying-seal {
    position: fixed;
    z-index: 100002;
    display: none;
    pointer-events: none;
    object-fit: contain;
    transform-origin: center center;
    filter: drop-shadow(0 8px 22px rgba(5, 157, 198, 0.45));
    will-change: transform, opacity;
}

.selo-rocket-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    pointer-events: none;
    display: none;
    filter: drop-shadow(0 6px 12px rgba(7, 37, 56, 0.25));
}

.selo-diamante-img.is-arrived {
    animation: seloNavbarArrive 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes seloNavbarArrive {
    0% {
        transform: scale(1.26);
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.98)) drop-shadow(0 0 28px rgba(5, 157, 198, 0.95));
    }
    35% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 22px rgba(5, 157, 198, 0.8));
    }
    65% {
        transform: scale(1.16);
        filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 24px rgba(5, 157, 198, 0.85));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
    }
}

@media (max-width: 576px) {
    .selo-intro-modal {
        padding: 24px 18px 20px;
    }
    .selo-intro-seal-img {
        width: 155px;
        height: 155px;
    }
    .selo-intro-title {
        font-size: 1.15rem;
    }
}
