.bkbg-cl-app { display: block; }

/* ── Outer wrapper ── */
.bkbg-cl-wrap {
    position: relative;
    overflow: hidden;
}

/* ── Blurred content ── */
.bkbg-cl-content {
    pointer-events: none;
    user-select: none;
    position: relative;
    line-height: 1.7;
}

.bkbg-cl-content.is-revealed {
    pointer-events: auto;
    user-select: auto;
    filter: none !important;
}

/* ── Fade overlay for blur style ── */
.bkbg-cl-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(255,255,255,0.97) 55%);
    pointer-events: none;
}

/* ── Gate card ── */
.bkbg-cl-gate {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bkbg-cl-icon {
    font-size: 40px;
    line-height: 1;
    animation: bkbg-cl-wobble 2.5s ease-in-out infinite;
}

@keyframes bkbg-cl-wobble {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-4deg); }
    80% { transform: rotate(4deg); }
}

.bkbg-cl-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bkbg-cl-heading {
    margin: 0;
    font-family: var(--bkcl-head-font-family, inherit);
    font-size: var(--bkcl-head-font-size-d, var(--bkcl-head-font-size, 22px));
    font-weight: var(--bkcl-head-font-weight, 700);
    font-style: var(--bkcl-head-font-style, normal);
    text-transform: var(--bkcl-head-text-transform, none);
    text-decoration: var(--bkcl-head-text-decoration, none);
    line-height: var(--bkcl-head-line-height-d, var(--bkcl-head-line-height, 1.3));
    letter-spacing: var(--bkcl-head-letter-spacing-d, var(--bkcl-head-letter-spacing, normal));
    word-spacing: var(--bkcl-head-word-spacing-d, var(--bkcl-head-word-spacing, normal));
}

.bkbg-cl-subtext {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* ── Form ── */
.bkbg-cl-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bkbg-cl-input {
    width: 100%;
    border-style: solid;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-size: 15px;
}

.bkbg-cl-input:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.bkbg-cl-btn {
    border: none;
    cursor: pointer;
    font-family: var(--bkcl-btn-font-family, inherit);
    font-size: var(--bkcl-btn-font-size-d, var(--bkcl-btn-font-size, 15px));
    font-weight: var(--bkcl-btn-font-weight, 700);
    font-style: var(--bkcl-btn-font-style, normal);
    text-transform: var(--bkcl-btn-text-transform, none);
    text-decoration: var(--bkcl-btn-text-decoration, none);
    line-height: var(--bkcl-btn-line-height-d, var(--bkcl-btn-line-height, 1.4));
    letter-spacing: var(--bkcl-btn-letter-spacing-d, var(--bkcl-btn-letter-spacing, normal));
    word-spacing: var(--bkcl-btn-word-spacing-d, var(--bkcl-btn-word-spacing, normal));
    transition: opacity 0.2s, transform 0.15s;
}

.bkbg-cl-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.bkbg-cl-privacy {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.bkbg-cl-error {
    font-size: 13px;
    color: #dc2626;
    display: none;
    font-weight: 500;
}

.bkbg-cl-error.is-visible {
    display: block;
}

/* ── Success banner ── */
.bkbg-cl-success {
    display: none;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.bkbg-cl-success.is-visible {
    display: block;
}

.bkbg-cl-success-heading {
    font-weight: 700;
    color: #166534;
    margin: 0 0 2px;
    font-size: 15px;
}

.bkbg-cl-success-text {
    color: #15803d;
    margin: 0;
    font-size: 13px;
}

/* ── Revealed content ── */
.bkbg-cl-unlocked-content {
    line-height: 1.7;
    display: none;
}

.bkbg-cl-unlocked-content.is-revealed {
    display: block;
}

/* Responsive typography */
@media (max-width: 1024px) {
    .bkbg-cl-heading {
        font-size: var(--bkcl-head-font-size-t, var(--bkcl-head-font-size-d, var(--bkcl-head-font-size, 22px)));
        line-height: var(--bkcl-head-line-height-t, var(--bkcl-head-line-height-d, var(--bkcl-head-line-height, 1.3)));
        letter-spacing: var(--bkcl-head-letter-spacing-t, var(--bkcl-head-letter-spacing-d, var(--bkcl-head-letter-spacing, normal)));
        word-spacing: var(--bkcl-head-word-spacing-t, var(--bkcl-head-word-spacing-d, var(--bkcl-head-word-spacing, normal)));
    }
    .bkbg-cl-btn {
        font-size: var(--bkcl-btn-font-size-t, var(--bkcl-btn-font-size-d, var(--bkcl-btn-font-size, 15px)));
        line-height: var(--bkcl-btn-line-height-t, var(--bkcl-btn-line-height-d, var(--bkcl-btn-line-height, 1.4)));
        letter-spacing: var(--bkcl-btn-letter-spacing-t, var(--bkcl-btn-letter-spacing-d, var(--bkcl-btn-letter-spacing, normal)));
        word-spacing: var(--bkcl-btn-word-spacing-t, var(--bkcl-btn-word-spacing-d, var(--bkcl-btn-word-spacing, normal)));
    }
}
@media (max-width: 767px) {
    .bkbg-cl-heading {
        font-size: var(--bkcl-head-font-size-m, var(--bkcl-head-font-size-t, var(--bkcl-head-font-size-d, var(--bkcl-head-font-size, 22px))));
        line-height: var(--bkcl-head-line-height-m, var(--bkcl-head-line-height-t, var(--bkcl-head-line-height-d, var(--bkcl-head-line-height, 1.3))));
        letter-spacing: var(--bkcl-head-letter-spacing-m, var(--bkcl-head-letter-spacing-t, var(--bkcl-head-letter-spacing-d, var(--bkcl-head-letter-spacing, normal))));
        word-spacing: var(--bkcl-head-word-spacing-m, var(--bkcl-head-word-spacing-t, var(--bkcl-head-word-spacing-d, var(--bkcl-head-word-spacing, normal))));
    }
    .bkbg-cl-btn {
        font-size: var(--bkcl-btn-font-size-m, var(--bkcl-btn-font-size-t, var(--bkcl-btn-font-size-d, var(--bkcl-btn-font-size, 15px))));
        line-height: var(--bkcl-btn-line-height-m, var(--bkcl-btn-line-height-t, var(--bkcl-btn-line-height-d, var(--bkcl-btn-line-height, 1.4))));
        letter-spacing: var(--bkcl-btn-letter-spacing-m, var(--bkcl-btn-letter-spacing-t, var(--bkcl-btn-letter-spacing-d, var(--bkcl-btn-letter-spacing, normal))));
        word-spacing: var(--bkcl-btn-word-spacing-m, var(--bkcl-btn-word-spacing-t, var(--bkcl-btn-word-spacing-d, var(--bkcl-btn-word-spacing, normal))));
    }
}
