.promotion-banners {
    display: grid;
    width: min(1120px, calc(100% - 32px));
    gap: 12px;
    margin: 18px auto;
}

.promotion-banner {
    position: relative;
    display: block;
    box-sizing: border-box;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 24%);
    background: #101820;
    color: #fff;
    text-decoration: none;
}

.promotion-banner img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promotion-banner-copy {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgb(0 0 0 / 82%));
    color: #fff;
}

.promotion-banner-copy > span,
.promotion-popup-link > span {
    font-weight: 700;
    white-space: nowrap;
}

.promotion-popup {
    position: fixed;
    width: min(560px, calc(100% - 32px));
    max-width: 560px;
    max-height: calc(100% - 32px);
    padding: 24px;
    overflow: auto;
    border: 1px solid #ffffff55;
    background: #12171d;
    color: #fff;
    box-shadow: 0 18px 70px #000b;
}

.promotion-popup::backdrop {
    background: rgb(0 0 0 / 72%);
    backdrop-filter: blur(3px);
}

.promotion-popup h2 {
    margin: 0 42px 16px 0;
    font-size: clamp(1.25rem, 4vw, 1.8rem);
}

.promotion-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 1px solid #ffffff80;
    background: transparent;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.promotion-popup-link {
    display: grid;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.promotion-popup-link img {
    display: block;
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
}

.promotion-popup-link > span {
    justify-self: end;
}

@media (max-width: 600px) {
    .promotion-banners {
        width: calc(100% - 24px);
    }

    .promotion-banner-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 12px;
    }

    .promotion-popup {
        padding: 20px 16px 16px;
    }
}
