.launch-celebration {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(ellipse at 50% 77%, rgba(119, 88, 42, .16), transparent 49%),
        radial-gradient(ellipse at 50% 42%, rgba(18, 24, 31, .3), transparent 68%),
        #030507;
    color: #F4F2ED;
    opacity: 0;
    transition: opacity .45s ease;
}

.launch-celebration[hidden],
.launch-stage[hidden],
.launch-replay[hidden] {
    display: none !important;
}

.launch-celebration.is-visible {
    opacity: 1;
}

.launch-celebration.is-exiting {
    opacity: 0;
}

.launch-fireworks,
.launch-celebration-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.launch-fireworks {
    z-index: 0;
}

.launch-celebration-shade {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(2, 4, 6, .16), transparent 28% 62%, rgba(2, 4, 6, .72)),
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .52) 100%);
}

.launch-stage {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 980px);
    text-align: center;
    animation: launch-stage-arrive .9s cubic-bezier(.2, .75, .2, 1) both;
}

.launch-stage h2 {
    margin: 0;
    color: #F3F0E8;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.7rem, 9.5vw, 8rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.02;
    text-shadow: 0 8px 48px rgba(0, 0, 0, .8);
}

.launch-stage h2:focus {
    outline: none;
}

.launch-stage h2 span,
.launch-stage-kicker {
    color: #D8C18B;
}

.launch-stage-announcement h2 span {
    display: inline-block;
    padding-top: .08em;
    font-size: .78em;
    letter-spacing: .035em;
}

.launch-stage-kicker {
    margin: 0 0 23px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(.62rem, 1.7vw, .78rem);
    font-weight: 700;
    letter-spacing: .28em;
}

.launch-stage-rule {
    display: block;
    width: clamp(56px, 10vw, 104px);
    height: 1px;
    margin: 34px auto 0;
    background: linear-gradient(90deg, transparent, #D8C18B, transparent);
    box-shadow: 0 0 22px rgba(216, 193, 139, .75);
}

.launch-stage-winner {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.launch-gift-mark {
    display: grid;
    width: clamp(78px, 12vw, 116px);
    aspect-ratio: 1.12;
    place-items: center;
    margin-bottom: 5px;
    border: 1px solid rgba(216, 193, 139, .28);
    background:
        radial-gradient(ellipse, rgba(216, 193, 139, .16), transparent 68%),
        rgba(255, 255, 255, .018);
    box-shadow: 0 0 75px rgba(193, 160, 92, .12);
}

.launch-gift-mark svg {
    width: 72%;
    height: auto;
    overflow: visible;
    fill: #D8C18B;
    filter: drop-shadow(0 5px 16px rgba(193, 160, 92, .3));
}

.launch-stage-winner .launch-stage-kicker {
    margin: 0;
}

.launch-stage-winner h2 {
    font-size: clamp(3rem, 11vw, 8.5rem);
}

.launch-winner-pending,
.launch-confirmed-winner {
    max-width: min(90vw, 620px);
    margin: 4px 0 0;
    color: #CBC8C0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(.82rem, 2vw, 1.1rem);
    letter-spacing: .055em;
    line-height: 1.65;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}

.launch-confirmed-winner {
    color: #E5D9BC;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.05rem, 3vw, 1.65rem);
    letter-spacing: .02em;
}

.launch-celebration-skip {
    position: absolute;
    top: max(22px, env(safe-area-inset-top));
    right: max(22px, env(safe-area-inset-right));
    z-index: 4;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(231, 224, 207, .38);
    background: rgba(5, 7, 9, .7);
    color: #E8E4DA;
    cursor: pointer;
    font: 600 .68rem "Manrope", sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.launch-celebration-skip:hover {
    border-color: #D8C18B;
    color: #F0DDAA;
}

.launch-celebration-skip:focus-visible,
.launch-replay:focus-visible {
    outline: 2px solid #E3CEA0;
    outline-offset: 4px;
}

.launch-replay {
    position: fixed;
    right: 26px;
    bottom: 24px;
    z-index: 99997;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(193, 160, 92, .42);
    background: rgba(8, 10, 13, .94);
    color: #E3CEA0;
    cursor: pointer;
    font: 700 .65rem "Manrope", sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s linear .6s;
}

.launch-replay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s;
}

.launch-replay:hover {
    border-color: rgba(227, 206, 160, .78);
    color: #F4E6C6;
}

.premium-identity-prompt {
    position: fixed;
    right: 26px;
    bottom: 24px;
    z-index: 99997;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(193, 160, 92, .3);
    background: rgba(8, 10, 13, .94);
    color: #D8C38F;
    font: 700 .65rem "Manrope", sans-serif;
    letter-spacing: .1em;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s linear .6s;
}

.premium-identity-prompt.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s;
}

.premium-identity-prompt:hover {
    border-color: rgba(227, 206, 160, .68);
    color: #F0DDAA;
}

.launch-celebration-active,
.launch-celebration-active body {
    overflow: hidden;
    overscroll-behavior: none;
}

@keyframes launch-stage-arrive {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.99);
    }

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

@media (max-width: 520px) {
    .launch-stage {
        width: min(100% - 34px, 980px);
    }

    .launch-stage-kicker {
        letter-spacing: .2em;
    }

    .launch-celebration-skip {
        top: max(13px, env(safe-area-inset-top));
        right: max(13px, env(safe-area-inset-right));
        font-size: .59rem;
    }

    .launch-replay {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        font-size: .58rem;
    }

    .premium-identity-prompt {
        right: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        min-height: 42px;
        padding: 9px 11px;
        font-size: .58rem;
        letter-spacing: .08em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-celebration,
    .launch-stage,
    .launch-replay,
    .premium-identity-prompt {
        animation: none !important;
        transition: none !important;
    }
}
