.promotion-hero {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
            opacity 250ms ease,
            visibility 250ms ease;
}

.promotion-hero.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.promotion-hero__backdrop {
    position: absolute;
    inset: 0;

    background: oklch(0.18 0.04 265 / 0.78);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.promotion-hero__dialog {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    width: min(100%, 1000px);
    height: min(900px, calc(100dvh - 40px));

    padding: 56px;

    overflow-x: hidden;
    overflow-y: auto;

    background: var(--navy);
    color: var(--navy-foreground);

    border: 1px solid oklch(1 0 0 / 0.12);
    border-radius: var(--radius-2xl);

    box-shadow: 0 24px 80px oklch(0.18 0.04 265 / 0.3);

    outline: none;

    scrollbar-width: none;

    transform: translateY(12px) scale(0.98);

    transition: transform 250ms ease;
}

.promotion-hero.is-visible .promotion-hero__dialog {
    transform: translateY(0) scale(1);
}

.promotion-hero__dialog::-webkit-scrollbar {
    display: none;
}

.promotion-hero__close {
    position: absolute;
    top: 24px;
    right: 24px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    color: var(--navy-foreground);

    background: oklch(1 0 0 / 0.12);
    border: 0;
    border-radius: 50%;

    cursor: pointer;

    transition:
            background 180ms ease,
            color 180ms ease,
            transform 180ms ease;
}

.promotion-hero__close:hover {
    background: oklch(1 0 0 / 0.22);
}

.promotion-hero__close i {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;
}

.promotion-hero__content {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100%;

    margin: 0 auto;
}

.promotion-hero__header {
    display: block;

    width: 100%;
    max-width: 700px;
}

.promotion-hero__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 6px;

    margin: 0;
    padding: 0;

    color: var(--navy-foreground);

    font-family: var(--font-display);
    font-size: clamp(42px, 4.5vw, 58px);

    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.045em;

    text-transform: uppercase;
}

.promotion-hero__title span {
    display: block;
}

.promotion-hero__title span:first-child {
    color: var(--lime);
}

.promotion-hero__description {
    display: block;

    width: 100%;
    max-width: 600px;

    margin: 24px 0 0;
    padding: 0;

    color: oklch(0.98 0 0 / 0.8);

    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

.promotion-hero__banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: auto;

    padding-top: 3em;
    padding-bottom: 8px;
}

.promotion-hero__banner-link {
    display: block;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    overflow: hidden;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    outline: none;

    transition:
            box-shadow 200ms ease,
            transform 200ms ease;
}

.promotion-hero__banner-link:hover {
    transform: translateY(-2px);
}

.promotion-hero__banner-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
}

.promotion-hero__image {
    display: block;

    width: 100%;
    height: auto;

    max-height: min(500px, 45dvh);

    object-fit: contain;
    object-position: center;
}

@media (min-width: 901px) {
    .promotion-hero__banner-wrapper {
        padding-top: 10em !important;
        padding-bottom: 8px;
    }

    .promotion-hero__image {
        border-radius: 20px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .promotion-hero {
        padding: 24px;
    }

    .promotion-hero__dialog {
        width: min(100%, 680px);

        height: min(740px, calc(100dvh - 48px));

        padding: 44px 36px 28px;
    }

    .promotion-hero__title {
        font-size: 44px;
    }

    .promotion-hero__description {
        max-width: 540px;

        margin-top: 28px;

        font-size: 14px;
    }

    .promotion-hero__banner-wrapper {
        padding-top: 40px;
    }

    .promotion-hero__banner-link {
        max-width: 600px;
    }

    .promotion-hero__image {
        max-height: 300px;
    }
}

@media (max-width: 600px) {
    .promotion-hero {
        padding: 0;

        align-items: stretch;
        justify-content: stretch;
    }

    .promotion-hero__backdrop {
        background: var(--navy);

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .promotion-hero__dialog {
        position: relative;

        width: 100%;
        max-width: none;

        height: 100%;
        height: 100dvh;

        max-height: none;
        min-height: 0;

        padding: 48px 40px 24px;

        margin: 0;

        overflow-x: hidden;
        overflow-y: auto;

        background: var(--navy);

        border: 0;
        border-radius: 0;

        box-shadow: none;

        transform: none;

        transition: none;
    }

    .promotion-hero.is-visible .promotion-hero__dialog {
        transform: none;
    }

    .promotion-hero__close {
        top: 40px;
        right: 40px;

        width: 44px;
        height: 44px;
    }

    .promotion-hero__close i {
        font-size: 19px;
    }

    .promotion-hero__header {
        width: 100%;
        max-width: 100%;
    }

    .promotion-hero__title {
        gap: 12px;

        font-size: clamp(38px, 9vw, 46px);

        font-weight: 700;
        line-height: 1.2;

        letter-spacing: -0.045em;
    }

    .promotion-hero__description {
        width: 100%;
        max-width: 340px;

        margin-top: 38px;

        font-size: 14px;
        line-height: 1.7;
    }

    .promotion-hero__banner-wrapper {
        width: 100%;

        margin-top: auto;

        padding-top: 40px;
        padding-bottom: 8px;
    }

    .promotion-hero__banner-link {
        width: 100%;
        max-width: 480px;
    }

    .promotion-hero__image {
        width: 100%;
        height: auto;

        max-height: none;

        object-fit: contain;
    }
}

@media (max-width: 375px) {
    .promotion-hero__dialog {
        padding: 48px 24px 20px;
    }

    .promotion-hero__close {
        top: 28px;
        right: 24px;

        width: 40px;
        height: 40px;
    }

    .promotion-hero__title {
        font-size: 36px;
        gap: 8px;
    }

    .promotion-hero__description {
        margin-top: 30px;

        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promotion-hero,
    .promotion-hero__dialog,
    .promotion-hero__close,
    .promotion-hero__banner-link {
        transition: none;
    }

    .promotion-hero__close:hover,
    .promotion-hero__banner-link:hover {
        transform: none;
    }
}