/* PAYWALL OVERLAY */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    /* Controlled by JS */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.paywall-overlay.active {
    display: flex;
    opacity: 1;
}

.paywall-modal {
    background: #0a0a0a;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 0 50px rgba(255, 0, 60, 0.3);
    overflow: hidden;
    animation: glitch-anim 2s infinite alternate-reverse;
}

.modal-header {
    background: var(--secondary);
    color: #000;
    padding: 15px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body h2 {
    color: #fff;
    margin: 0 0 10px;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-tier {
    margin-bottom: 25px;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 4px;
}

.price {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.price small {
    font-size: 1rem;
    color: var(--text-muted);
}

.features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
    font-size: 0.9rem;
}

.features li {
    padding: 5px 0;
    border-bottom: 1px solid #222;
}

.pay-btn {
    width: 100%;
    padding: 15px;
    font-family: var(--font-head);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 700;
    transition: all 0.2s;
}

.pay-btn.stripe {
    background: #6772e5;
    color: #fff;
}

.pay-btn.stripe:hover {
    background: #5469d4;
}

.pay-btn.crypto {
    background: #f7931a;
    color: #fff;
}

.pay-btn.crypto:hover {
    background: #e58611;
}

.processing-status {
    display: none;
    margin-top: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}