/* nonadate.css - Isolated styling for NonaDate (Pastel Pink, Lavender, Purple, White) */
.nd-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.nd-hero {
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 55%, #ffffff 100%);
    border: 1px solid #f5d0fe;
    border-radius: 22px;
    padding: 32px 24px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.08);
    text-align: center;
}

.nd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fce7f3;
    color: #be185d;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.nd-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin: 0 0 10px;
    background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 850;
}

.nd-hero p {
    color: #475569;
    max-width: 680px;
    margin: 0 auto 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.nd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nd-btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #9333ea 100%);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.nd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(147, 51, 234, 0.32);
}

.nd-btn-secondary {
    background: #fff;
    color: #7e22ce;
    border: 1px solid #d8b4fe;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nd-btn-secondary:hover {
    background: #faf5ff;
}

.nd-filters {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.04);
}

.nd-input, .nd-select, .nd-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #0f172a;
    box-sizing: border-box;
}

.nd-input:focus, .nd-select:focus, .nd-textarea:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.18);
}

.nd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.nd-card {
    background: #fff;
    border: 1px solid #f3e8ff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(147, 51, 234, 0.12);
}

.nd-card.style-pastel-pink { background: linear-gradient(180deg, #fff1f2 0%, #ffffff 42%); border-color: #fecdd3; }
.nd-card.style-lavender { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 42%); border-color: #ddd6fe; }
.nd-card.style-royal-purple { background: linear-gradient(180deg, #faf5ff 0%, #ffffff 42%); border-color: #e9d5ff; }

.nd-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.nd-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.nd-card-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
}

.nd-card-meta {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.nd-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #fce7f3;
    color: #be185d;
    margin-bottom: 10px;
}

.nd-bio {
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 12px;
    word-break: break-word;
}

.nd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.nd-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 8px;
}

.nd-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    gap: 8px;
}

.nd-like-btn {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.nd-like-btn:hover { background: #ffe4e6; transform: scale(1.04); }

.nd-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.nd-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.nd-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.nd-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.nd-faq {
    margin-top: 40px;
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 18px;
    padding: 24px;
}

.nd-faq h2 { margin-top: 0; color: #581c87; }
.nd-faq details { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.nd-faq summary { font-weight: 700; cursor: pointer; color: #1e293b; }
.nd-faq p { color: #475569; margin: 8px 0 0; line-height: 1.6; font-size: 14px; }

@media (max-width: 640px) {
    .nd-hero { padding: 22px 16px; }
    .nd-modal { padding: 18px; }
}
