.tobi-launch {
    animation: tobi-launch-stage-out 6.8s ease forwards;
    backdrop-filter: blur(9px) saturate(1.12);
    background:
        radial-gradient(circle at 74% 34%, rgba(255, 224, 64, .18), transparent 26%),
        linear-gradient(115deg, rgba(31, 37, 44, .44), rgba(209, 48, 30, .22) 48%, rgba(31, 37, 44, .38));
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    z-index: 99999;
    -webkit-backdrop-filter: blur(9px) saturate(1.12);
}

.tobi-launch::before {
    animation: tobi-launch-glow 5.8s ease forwards;
    background:
        radial-gradient(circle at 76% 26%, rgba(255, 224, 64, .28), transparent 24%),
        radial-gradient(circle at 24% 72%, rgba(255, 255, 255, .12), transparent 30%),
        linear-gradient(180deg, rgba(31, 37, 44, .2), transparent 52%);
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
}

.tobi-launch__canvas {
    height: 100%;
    inset: 0;
    opacity: .96;
    position: absolute;
    width: 100%;
}

.tobi-launch__claim {
    animation: tobi-claim-in 5.8s ease forwards;
    color: #fff;
    left: clamp(24px, 7vw, 118px);
    max-width: min(66vw, 500px);
    position: absolute;
    text-shadow: 0 13px 32px rgba(0, 0, 0, .26);
    top: clamp(128px, 26vh, 230px);
}

.tobi-launch__claim-kicker {
    background: #1f252c;
    border: 2px solid #ffe040;
    border-radius: 999px;
    color: #ffe040;
    display: inline-flex;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 900;
    line-height: 1;
    padding: 8px 13px;
}

.tobi-launch__claim strong {
    display: block;
    font-family: Teko, Impact, sans-serif;
    font-size: clamp(34px, 6.1vw, 82px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .9;
    margin-top: 15px;
    max-width: 560px;
    text-wrap: balance;
    text-transform: uppercase;
}

.tobi-launch__claim span + strong em {
    color: #ffe040;
    font-style: normal;
}

.tobi-launch__ticket {
    --tobi-ticket-rot: 0deg;
    --tobi-ticket-x: 0vw;
    --tobi-ticket-y: 112vh;
    animation: tobi-ticket-drift var(--tobi-ticket-duration, 5.8s) cubic-bezier(.2, .66, .2, 1) forwards;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .16));
    left: var(--tobi-ticket-left, 50vw);
    opacity: 0;
    position: absolute;
    top: var(--tobi-ticket-top, -70px);
    transform: translate3d(0, 0, 0) rotate(var(--tobi-ticket-start, -8deg));
}

.tobi-launch__ticket-inner {
    align-items: center;
    background: #ffe040;
    border: 2px solid #1f252c;
    border-radius: 7px;
    color: #1f252c;
    display: grid;
    font-weight: 900;
    grid-template-columns: 24px minmax(0, 1fr);
    line-height: 1;
    min-height: 42px;
    padding: 6px 8px;
    position: relative;
    transform: scale(var(--tobi-ticket-scale, 1));
    width: clamp(92px, 8.2vw, 124px);
}

.tobi-launch__ticket-inner::after,
.tobi-launch__ticket-inner::before {
    background: #d9291c;
    border: 2px solid #1f252c;
    border-radius: 999px;
    content: "";
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
}

.tobi-launch__ticket-inner::before {
    left: -7px;
}

.tobi-launch__ticket-inner::after {
    right: -7px;
}

.tobi-launch__seal {
    align-items: center;
    background: #d9291c;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 12px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.tobi-launch__label {
    display: block;
    font-size: clamp(10px, .78vw, 12px);
    letter-spacing: 0;
}

.tobi-launch__sub {
    display: block;
    font-size: clamp(8px, .66vw, 10px);
    margin-top: 3px;
}

.tobi-launch__spark {
    animation: tobi-spark-pop var(--tobi-spark-duration, 2.2s) ease-out forwards;
    background: var(--tobi-spark-color, #fff);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(255, 224, 64, .45);
    height: var(--tobi-spark-size, 5px);
    left: var(--tobi-spark-left, 50vw);
    opacity: 0;
    position: absolute;
    top: var(--tobi-spark-top, 50vh);
    width: var(--tobi-spark-size, 5px);
}

.tobi-launch__burst {
    animation: tobi-burst-in 5.9s ease forwards;
    background: rgba(31, 37, 44, .92);
    border: 2px solid #ffe040;
    border-radius: 999px;
    bottom: 32px;
    color: #ffe040;
    font-size: clamp(13px, 1.35vw, 17px);
    font-weight: 900;
    left: auto;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .22);
    max-width: min(38vw, 360px);
    padding: 11px 17px;
    position: absolute;
    right: 28px;
    text-align: center;
    transform: translate3d(0, 0, 0);
}

@media (min-width: 1100px) and (max-width: 1450px) {
    .tobi-launch__claim {
        max-width: min(58vw, 480px);
    }

    .tobi-launch__claim strong {
        font-size: clamp(40px, 5.4vw, 74px);
        max-width: 480px;
    }
}

@keyframes tobi-launch-glow {
    0%,
    100% {
        opacity: 0;
    }
    18%,
    70% {
        opacity: 1;
    }
}

@keyframes tobi-launch-stage-out {
    0%,
    76% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes tobi-claim-in {
    0% {
        opacity: 0;
        transform: translate3d(0, 22px, 0) scale(.96);
    }
    14%,
    74% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -14px, 0) scale(.98);
    }
}

@keyframes tobi-ticket-drift {
    0% {
        opacity: 0;
        transform: translate3d(0, -18px, 0) rotate(var(--tobi-ticket-start, -8deg));
    }
    10% {
        opacity: 1;
    }
    44% {
        transform: translate3d(calc(var(--tobi-ticket-x) * .46), 44vh, 0) rotate(calc(var(--tobi-ticket-rot) * .42));
    }
    82% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--tobi-ticket-x), var(--tobi-ticket-y), 0) rotate(var(--tobi-ticket-rot));
    }
}

@keyframes tobi-spark-pop {
    0% {
        opacity: 0;
        transform: scale(.2);
    }
    34% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(2.2);
    }
}

@keyframes tobi-burst-in {
    0%,
    8% {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale(.92);
    }
    18%,
    82% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(.96);
    }
}

@media (max-width: 640px) {
    .tobi-launch {
        backdrop-filter: blur(7px) saturate(1.08);
        -webkit-backdrop-filter: blur(7px) saturate(1.08);
    }

    .tobi-launch__claim {
        left: 18px;
        max-width: calc(100vw - 36px);
        top: 105px;
    }

    .tobi-launch__claim strong {
        font-size: clamp(34px, 12vw, 44px);
        line-height: .92;
        margin-top: 13px;
    }

    .tobi-launch__claim-kicker {
        font-size: 12px;
        padding: 7px 11px;
    }

    .tobi-launch__ticket-inner {
        min-height: 38px;
        width: 92px;
    }

    .tobi-launch__burst {
        bottom: 18px;
        font-size: 13px;
        max-width: 72vw;
        padding: 12px 16px;
        right: 16px;
    }
}

@media (max-width: 380px) {
    .tobi-launch__claim strong {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tobi-launch {
        display: none;
    }
}
