.wcc-popup[hidden] {
    display: none;
}

.wcc-popup,
.wcc-popup * {
    box-sizing: border-box;
}

.wcc-popup {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: 18px;
}

.wcc-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .66);
    backdrop-filter: blur(5px);
}

.wcc-popup__dialog {
    position: relative;
    width: min(860px, 100%);
    border-radius: 16px;
    padding: 0 0 14px;
    overflow: hidden;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.wcc-popup__dialog::before {
    content: none;
}

.wcc-popup__close {
    position: absolute;
    z-index: 2;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.wcc-popup__sr-only,
.wcc-popup__visual,
.wcc-popup__actions,
.wcc-popup__timer {
    position: relative;
    z-index: 1;
}

.wcc-popup__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wcc-popup__visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 18px 0;
}

.wcc-popup__visual img {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .4));
}

.wcc-popup__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.wcc-popup__button,
.wcc-popup__ghost {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.wcc-popup__button {
    background: #f59e0b;
    color: #111827;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wcc-popup__button:hover {
    color: #111827;
    background: #fbbf24;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(245, 158, 11, .24);
}

.wcc-popup__ghost {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.wcc-popup__timer {
    margin-top: 14px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 575px) {
    .wcc-popup__dialog {
        padding: 24px 18px;
    }

    .wcc-popup h2 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wcc-popup__button {
        transition: none;
    }
}
