.modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 0, 40, 0.55);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 386.503px;
    height: 350px;
    margin-top: 8px;
    transform: scale(0.6);
    opacity: 0;
}

.modal-overlay.open .modal {
    animation: modalPop 0.6s var(--ease-pop) forwards;
}

.modal-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.55));
}

.modal-content {
    position: absolute;
    left: 50%;
    top: calc(50% + 3.6px);
    transform: translate(-50%, -50%);
    width: 289.877px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.modal-heading {
    position: relative;
    width: 266px;
    height: 93px;
}

.modal-grande {
    position: absolute;
    left: 37.44px;
    top: -3.06px;
    width: 191.118px;
    height: 53.372px;
    object-fit: contain;
}

.modal-vitoria {
    position: absolute;
    left: 35.14px;
    top: 38.82px;
    width: 195.722px;
    height: 54.658px;
    object-fit: contain;
}

.modal-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10.736px;
    width: 100%;
    text-align: center;
}

.modal-subtitle {
    font-weight: 800;
    font-size: 27.914px;
    line-height: 1;
    letter-spacing: 0.5583px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #f1f1f6 46%, #ccd0db 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 0.8px rgba(40, 8, 60, 0.35);
    filter: drop-shadow(0 2px 5px rgba(29, 0, 40, 0.55));
}

.modal-prize {
    font-weight: 800;
    font-size: 38px;
    line-height: 1;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(180deg, #fff3b0 0%, #ffd64a 36%, #f7a200 66%, #ffd45e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(74, 28, 0, 0.92);
    filter: drop-shadow(0 2px 2px rgba(60, 20, 0, 0.5)) drop-shadow(0 0 16px rgba(255, 184, 40, 0.55));
}
