.bcp-overlay {
    --bcp-primary: #0f3d2e;
    --bcp-secondary: #5d8f2f;
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 22% 16%, rgba(93, 143, 47, 0.28), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(15, 61, 46, 0.25), transparent 34%),
        rgba(4, 18, 13, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bcp-overlay.bcp-visible {
    display: flex;
}

.bcp-modal {
    position: relative;
    width: min(94vw, 680px);
    border-radius: 34px;
    color: #111111;
    text-align: center;
    overflow: hidden;
    animation: bcpPopIn 260ms ease-out;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.38);
    isolation: isolate;
}

.bcp-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 246, 0.96)),
        radial-gradient(circle at top left, rgba(93, 143, 47, 0.16), transparent 38%);
    z-index: -2;
}

.bcp-modal::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 33px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(15, 61, 46, 0.08);
    pointer-events: none;
    z-index: -1;
}

.bcp-content {
    position: relative;
    padding: 44px 48px 42px;
}

.bcp-content::before {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    top: 0;
    height: 9px;
    background: linear-gradient(90deg, var(--bcp-primary), var(--bcp-secondary), var(--bcp-primary));
}

.bcp-content::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -110px;
    bottom: -120px;
    border-radius: 50%;
    border: 42px solid rgba(93, 143, 47, 0.10);
    pointer-events: none;
}

.bcp-close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 61, 46, 0.08);
    color: var(--bcp-primary);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease;
}

.bcp-close:hover,
.bcp-close:focus {
    background: rgba(15, 61, 46, 0.14);
    transform: scale(1.04);
    outline: none;
}

.bcp-logo-card {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    margin: 0 auto 24px;
    padding: 18px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 61, 46, 0.10);
    box-shadow: 0 18px 48px rgba(15, 61, 46, 0.13);
}

.bcp-logo-image {
    width: 100%;
    height: auto;
    display: block;
}

.bcp-eyebrow {
    margin: 0 0 12px;
    color: var(--bcp-secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bcp-modal h2 {
    margin: 0 0 15px;
    color: var(--bcp-primary);
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.bcp-modal p#bcp-message {
    margin: 0 auto 30px;
    max-width: 520px;
    color: #343434;
    font-size: 18px;
    line-height: 1.72;
}

.bcp-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bcp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.bcp-button-primary {
    border: 1px solid var(--bcp-primary);
    background: linear-gradient(135deg, var(--bcp-primary), #123f29);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 61, 46, 0.27);
}

.bcp-button-primary:hover,
.bcp-button-primary:focus {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--bcp-secondary), var(--bcp-primary));
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 61, 46, 0.32);
    outline: none;
}

.bcp-button-secondary {
    border: 1px solid rgba(15, 61, 46, 0.22);
    background: rgba(255, 255, 255, 0.78);
    color: var(--bcp-primary);
    box-shadow: none;
}

.bcp-button-secondary:hover,
.bcp-button-secondary:focus {
    transform: translateY(-1px);
    border-color: rgba(15, 61, 46, 0.36);
    background: rgba(15, 61, 46, 0.06);
    outline: none;
}

@keyframes bcpPopIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 560px) {
    .bcp-overlay {
        padding: 16px;
    }

    .bcp-modal {
        border-radius: 26px;
    }

    .bcp-modal::after {
        border-radius: 25px;
    }

    .bcp-content {
        padding: 38px 22px 28px;
    }

    .bcp-logo-card {
        width: min(100%, 300px);
        padding: 14px 16px;
        border-radius: 22px;
        margin-bottom: 20px;
    }

    .bcp-modal p#bcp-message {
        font-size: 16px;
        line-height: 1.62;
    }

    .bcp-actions {
        gap: 10px;
    }

    .bcp-button {
        width: 100%;
        min-height: 48px;
    }

    .bcp-close {
        top: 12px;
        right: 14px;
        width: 38px;
        height: 38px;
    }
}
