.lemon-squeezy-payment {
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(194, 14, 14, 0.08));
    border: 1px solid rgba(255, 209, 102, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.lemon-squeezy-payment:hover {
    border-color: rgba(255, 209, 102, 0.45);
    box-shadow: var(--shadow-md);
}

.lemon-squeezy-header {
    text-align: center;
}

.lemon-squeezy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.35);
    color: #ffd166;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lemon-squeezy-header h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.lemon-squeezy-header p,
.lemon-squeezy-note {
    color: var(--text-secondary);
    line-height: 1.6;
}

.lemon-squeezy-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.lemon-squeezy-btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ffd166, #ff8c42);
    color: #111;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    transition: transform var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard);
}

.lemon-squeezy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(255, 209, 102, 0.2);
}

.lemon-squeezy-btn-disabled {
    cursor: not-allowed;
    opacity: 0.72;
    filter: grayscale(0.2);
}

.lemon-modal-open {
    overflow: hidden;
}

.lemon-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 240ms var(--ease-standard);
    z-index: 3000;
}

.lemon-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.lemon-modal-backdrop {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(0, 0, 0, 0.72);
    inset: 0;
    position: absolute;
}

.lemon-modal-card {
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 209, 102, 0.24), transparent 28%),
        radial-gradient(circle at 85% 25%, rgba(194, 14, 14, 0.22), transparent 32%),
        var(--surface-1);
    border: 1px solid rgba(255, 209, 102, 0.32);
    border-radius: 28px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 209, 102, 0.12);
    max-width: 560px;
    overflow: hidden;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 280ms var(--ease-out);
    width: min(calc(100% - 2rem), 560px);
}

.lemon-modal.is-visible .lemon-modal-card {
    transform: translateY(0) scale(1);
}

.lemon-modal-prism {
    border: 1px solid rgba(255, 209, 102, 0.34);
    height: 110px;
    opacity: 0.42;
    position: absolute;
    transform: rotate(45deg);
    width: 110px;
}

.lemon-modal-prism-one {
    animation: lemonFloatOne 6s ease-in-out infinite;
    right: -42px;
    top: -38px;
}

.lemon-modal-prism-two {
    animation: lemonFloatTwo 7s ease-in-out infinite;
    bottom: -58px;
    left: -42px;
}

.lemon-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.4rem;
    height: 40px;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 40px;
}

.lemon-modal-kicker {
    color: #ffd166;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.lemon-modal-card h3 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 460px;
}

.lemon-modal-product {
    color: #ffd166;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.lemon-modal-copy {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.lemon-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.lemon-modal-primary,
.lemon-modal-secondary {
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 800;
    min-height: 46px;
    padding: 0.85rem 1.2rem;
}

.lemon-modal-primary {
    background: linear-gradient(135deg, #ffd166, #ff8c42);
    border: none;
    color: #111;
}

.lemon-modal-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
}

@keyframes lemonFloatOne {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(54deg) translate(-10px, 12px);
    }
}

@keyframes lemonFloatTwo {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(36deg) translate(12px, -10px);
    }
}

@media (max-width: 768px) {
    .lemon-squeezy-payment {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .lemon-squeezy-header h3 {
        font-size: 1.3rem;
    }

    .lemon-squeezy-btn {
        width: 100%;
    }

    .lemon-modal-card {
        padding: 2rem 1.25rem;
    }

    .lemon-modal-primary,
    .lemon-modal-secondary {
        width: 100%;
    }
}
