/* ================================================================
   GEO-Blocked Pages
   ================================================================ */

/* Full-page GEO block */
.sn-geo-block {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--sn-bg, #0f0f23);
}

.sn-geo-block__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.sn-geo-block__card {
    position: relative;
    max-width: 560px;
    width: 100%;
    text-align: center;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
}

.sn-geo-block__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.sn-geo-block__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sn-text, #e2e8f0);
    margin: 0 0 1rem;
}

.sn-geo-block__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sn-text-muted, #94a3b8);
    margin: 0 0 0.75rem;
}

.sn-geo-block__subtext {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--sn-text-muted, #64748b);
    margin: 0 0 1.5rem;
}

.sn-geo-block__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sn-geo-block__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.sn-geo-block__btn--outline {
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
    background: transparent;
}

.sn-geo-block__btn--outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #818cf8;
}

.sn-geo-block__legal {
    font-size: 0.75rem;
    color: var(--sn-text-muted, #475569);
    margin: 0;
}


/* ================================================================
   Demo GEO-Blocked Placeholder (on slot pages)
   ================================================================ */

.sn-demo__wrapper--blocked {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: var(--sn-surface, #1a1a2e);
    border-radius: 0.75rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.sn-demo__blocked-content {
    text-align: center;
    padding: 2rem;
}

.sn-demo__blocked-icon {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.sn-demo__blocked-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sn-text, #e2e8f0);
    margin: 0 0 0.5rem;
}

.sn-demo__blocked-text {
    font-size: 0.875rem;
    color: var(--sn-text-muted, #94a3b8);
    margin: 0;
}


/* ================================================================
   AI Rate Limit Message
   ================================================================ */

.sn-ai__limit-msg {
    text-align: center;
    padding: 1.5rem;
}

.sn-ai__limit-msg p {
    color: var(--sn-text-muted, #94a3b8);
    margin: 0 0 1rem;
    font-size: 0.875rem;
}

.sn-ai__limit-msg .sn-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--sn-primary, #6366f1);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.sn-ai__limit-msg .sn-btn:hover {
    background: #4f46e5;
}


/* ================================================================
   AI CAPTCHA
   ================================================================ */

.sn-ai__captcha {
    text-align: center;
    padding: 1.5rem;
}

.sn-ai__captcha p {
    color: var(--sn-text-muted, #94a3b8);
    margin: 0 0 1rem;
    font-size: 0.875rem;
}

.sn-ai__captcha-challenge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
}

.sn-ai__captcha-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sn-text, #e2e8f0);
}

.sn-ai__captcha-input {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sn-text, #e2e8f0);
    font-size: 0.875rem;
    width: 120px;
    text-align: center;
}

.sn-ai__captcha-submit {
    padding: 0.5rem 1.25rem;
    background: var(--sn-primary, #6366f1);
    color: #fff;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sn-ai__captcha-submit:hover {
    background: #4f46e5;
}


/* ================================================================
   Light theme overrides
   ================================================================ */

[data-theme="light"] .sn-geo-block {
    background: #f1f5f9;
}

[data-theme="light"] .sn-geo-block__card {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .sn-geo-block__title {
    color: #1e293b;
}

[data-theme="light"] .sn-geo-block__text {
    color: #475569;
}

[data-theme="light"] .sn-demo__wrapper--blocked {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .sn-demo__blocked-title {
    color: #1e293b;
}

[data-theme="light"] .sn-demo__blocked-text {
    color: #64748b;
}
