/* ── Locked card state (guest users) ─────────────────────────────────────── */
.link-card.locked {
    filter: grayscale(100%);
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.link-card.locked::after {
    content: '🔒 Bloqueado';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.link-card.locked:hover {
    transform: none;
    box-shadow: var(--kap-shadow-subtle);
}

/* ── Guest access modal ───────────────────────────────────────────────────── */
#kap-guest-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(40px, 8vh, 80px) 16px 16px;
    overflow-y: auto;
}

#kap-guest-modal.open {
    display: flex;
}

.kap-guest-modal-inner {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.kap-guest-modal-inner .modal-lock-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.kap-guest-modal-inner h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #1a202c;
}

.kap-guest-modal-inner p {
    color: #4b5563;
    font-size: 0.9rem;
    margin: 0 0 20px;
    line-height: 1.6;
}

.kap-guest-modal-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.kap-guest-modal-btns a,
.kap-guest-modal-btns button {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-guest-signup {
    background: #F97316;
    color: #fff;
}

.btn-guest-signup:hover {
    background: #ea6c0a;
}

.btn-guest-login {
    background: #fff;
    border: 1.5px solid #F97316 !important;
    color: #F97316;
}

.btn-guest-login:hover {
    background: #fff7ed;
}

.btn-guest-cancel {
    background: transparent;
    color: #9ca3af;
}
