/* ═══════════════════════════════════════════
   NavPrompts — Design System v3
   Clean · Soft · Community-style (purple)
   ═══════════════════════════════════════════ */

:root {
    --primary: #7C5CFF;
    --primary-dark: #6847E8;
    --primary-light: #F1EDFF;
    --bg: #F7F7FA;
    --card: #FFFFFF;
    --text: #17151F;
    --muted: #6E6A7C;
    --border: #E9E7F0;
    --green: #16A34A;
    --green-light: #DCFCE7;
    --red: #DC2626;
    --amber: #D97706;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 3px rgba(23, 21, 31, 0.06);
    --shadow-md: 0 6px 20px rgba(23, 21, 31, 0.08);
    --shadow-hover: 0 10px 28px rgba(124, 92, 255, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(ellipse 90% 500px at 50% -80px, rgba(124, 92, 255, 0.16), transparent),
        linear-gradient(180deg, #ECE7FD 0%, #F4F2FB 420px, var(--bg) 850px);
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }

a { color: var(--primary); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

::selection { background: var(--primary-light); }

/* ─── Header ─── */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 13px;
    padding-bottom: 13px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { color: var(--primary); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 24px; }

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: color .15s;
}

.main-nav a:hover { color: var(--text); }

.main-nav .nav-btn {
    background: var(--primary);
    color: #fff;
    padding: 9px 20px;
    border-radius: 999px;
    transition: background .15s;
}

.main-nav .nav-btn:hover { background: var(--primary-dark); color: #fff; }
.main-nav .nav-admin { color: var(--primary); }

.nav-toggle, .nav-toggle-cb { display: none; }

/* ─── Buttons ─── */

.btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.4;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124, 92, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 92, 255, 0.32);
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #12813B; color: #fff; transform: translateY(-1px); }

.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-danger { background: var(--red); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ─── Cover Banner + Profile (Homepage) ─── */

.cover {
    height: 250px;
    background: linear-gradient(115deg, #6847E8 0%, #7C5CFF 45%, #A78BFA 100%);
    position: relative;
    overflow: hidden;
}

.cover-img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.cover-full {
    border-radius: 0;
    box-shadow: none;
    max-height: 320px;
    object-fit: cover;
    object-position: center 22%;
}

/* ─── Cover Slider ─── */

.cover-slider {
    position: relative;
    width: 100%;
    height: min(250px, 33.3vw);
    overflow: hidden;
    background: linear-gradient(115deg, #6847E8, #A78BFA);
}

.cover-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.cover-slide.active { opacity: 1; }

/* ─── Profile strip (avatar + name under banner) ─── */

.profile-strip { padding: 0 0 10px; }

.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-top: -64px;
}

.avatar-wrap .profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
    display: block;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 32px;
    height: 32px;
    background: #1D9BF0;
    border-radius: 50%;
    border: 3px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-size: 27px;
    font-weight: 800;
    margin: 10px 0 2px;
}

.profile-name b { color: var(--primary); font-weight: 800; }

.profile-box {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding-bottom: 26px;
}

.profile-inner {
    text-align: center;
    margin-top: -44px;
    position: relative;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
    background: #fff;
}

.profile-inner h1 { font-size: 30px; margin: 10px 0 2px; font-weight: 800; }
.profile-inner h1 b { color: var(--primary); font-weight: 800; }

.byline {
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.byline strong { color: var(--text); font-weight: 700; }

.profile-desc {
    font-size: 14.5px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 18px;
}

.profile-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }

.chip {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.section-note { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 1px; }

/* ─── Product List (nas.com style rows) ─── */

.plist { max-width: 900px; margin: 0 auto; padding: 10px 20px 44px; }

.plist-head {
    font-size: 22px;
    font-weight: 800;
    margin: 34px 0 16px;
}

.prow {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    margin-bottom: 18px;
    text-decoration: none;
    color: var(--text);
    transition: all .18s;
}

.prow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #D8CFFF;
}

.prow-thumb {
    width: 330px;
    min-width: 330px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.prow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prow-emoji { font-size: 46px; }

.prow-file-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #EC4899;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.prow-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
}

.prow-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 7px; }

.prow-cat {
    display: block;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 7px;
}

.prow-price { font-size: 15px; font-weight: 700; color: var(--text); }
.prow-price.is-free { color: var(--green); }

.prow-btn {
    display: inline-block;
    background: var(--text);
    color: #fff;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .15s;
    margin-top: 16px;
}

.prow:hover .prow-btn { background: var(--primary); }

.prow-btn-free { background: var(--text); }
.prow:hover .prow-btn-free { background: var(--green); }

@media (max-width: 640px) {
    .prow { flex-direction: column; align-items: stretch; gap: 14px; }
    .prow-thumb { width: 100%; min-width: 0; }
    .prow-body { padding: 0 4px 6px; }
}

/* ─── Benefits ─── */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.benefit {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: all .18s;
}

.benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.benefit-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.benefit h3 { font-size: 16px; margin-bottom: 6px; }
.benefit p { font-size: 13.5px; color: var(--muted); }

/* ─── Sections ─── */

.section { padding: 38px 0 10px; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.section-head h2 { font-size: 21px; font-weight: 800; }

.section-head .view-all {
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
    white-space: nowrap;
}

.section-head .view-all:hover { text-decoration: underline; }

.section-title { font-size: clamp(24px, 4vw, 30px); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 32px; font-size: 15px; }

/* ─── Prompt Cards ─── */

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

.pcard {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .18s;
    box-shadow: var(--shadow-sm);
}

.pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #D8CFFF;
}

.pcard-thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; }

.thumb-emoji { font-size: 46px; }

/* Soft gradient thumbs */
.g0 { background: linear-gradient(135deg, #FFE3EC, #FFB8D0); }
.g1 { background: linear-gradient(135deg, #DCFCE7, #86EFAC); }
.g2 { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.g3 { background: linear-gradient(135deg, #F1EDFF, #C4B5FD); }
.g4 { background: linear-gradient(135deg, #FEF9C3, #FDE047); }
.g5 { background: linear-gradient(135deg, #CFFAFE, #67E8F9); }
.g6 { background: linear-gradient(135deg, #FFEDD5, #FDBA74); }
.g7 { background: linear-gradient(135deg, #E0E7FF, #A5B4FC); }

.lock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(23, 21, 31, 0.75);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.pcard-body { padding: 15px 16px 8px; flex: 1; }

.pcard-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 9px;
}

.pcard-title { font-size: 15.5px; margin-bottom: 5px; font-weight: 700; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a:hover { color: var(--primary); }

.pcard-ex { font-size: 13px; color: var(--muted); }

.pcard-foot { padding: 10px 16px 16px; }

/* ─── Filters / Pills ─── */

.filters { margin-bottom: 24px; }

.search-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto 18px; }

.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 14.5px;
    font-family: inherit;
}

.search-form input:focus { outline: none; border-color: var(--primary); }

.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.pill {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    color: var(--muted);
    background: #fff;
    transition: all .12s;
}

.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Banner strip ─── */

.mem-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(115deg, #6847E8, #7C5CFF);
    padding: 16px 22px;
    border-radius: var(--radius);
    margin-bottom: 26px;
    color: #fff;
    font-weight: 500;
    font-size: 14.5px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-md);
}

.mem-banner .btn { background: #fff; color: var(--primary); font-weight: 700; }
.mem-banner .btn:hover { background: #F1EDFF; transform: translateY(-1px); }

/* ─── Pagination ─── */

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }

.page-link {
    padding: 8px 15px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    background: #fff;
}

.page-link.active, .page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── Single Prompt ─── */

.prompt-single { max-width: 840px; margin: 40px auto; padding: 0 20px; }

.back-link {
    display: inline-block;
    color: var(--muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 7px 16px;
    transition: all .12s;
}

.back-link:hover { color: var(--primary); border-color: var(--primary); }

.prompt-head h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 12px; }

.prompt-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 26px; font-weight: 500; flex-wrap: wrap; }

.prompt-meta span {
    background: #fff;
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
}

.prompt-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.prompt-gallery img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
    transition: all .15s;
}

.prompt-gallery img:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.copy-bar { display: flex; justify-content: flex-end; margin-bottom: 10px; }

.prompt-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    font-size: 15px;
    line-height: 1.85;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ─── Locked view ─── */

.locked-box { text-align: center; padding: 36px 22px 16px; }

.teaser {
    color: var(--muted);
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    max-height: 110px;
    overflow: hidden;
    margin-bottom: -46px;
}

.lock-panel {
    position: relative;
    background: linear-gradient(180deg, transparent, var(--bg) 30%);
    padding-top: 72px;
}

.lock-panel .ico { font-size: 42px; margin-bottom: 12px; }
.lock-panel h3 { font-size: 23px; margin-bottom: 8px; }
.lock-panel p { color: var(--muted); margin-bottom: 22px; }

.lock-buttons { display: flex; flex-direction: column; gap: 11px; max-width: 330px; margin: 0 auto; }

/* ─── Pricing ─── */

.pricing-wrap { max-width: 500px; margin: 40px auto 30px; padding: 0 20px; }

.price-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px 34px;
    background: #fff;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(124, 92, 255, 0.3);
}

.price-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price-per { font-size: 17px; color: var(--muted); font-weight: 500; }

.features { list-style: none; margin: 26px 0; text-align: left; }

.features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.features li:last-child { border-bottom: none; }

.features li::before {
    content: "✓";
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    font-weight: 800;
    font-size: 11px;
    margin-right: 10px;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 640px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.trust {
    text-align: center;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.trust b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.trust span { font-size: 12.5px; color: var(--muted); }

/* ─── FAQ ─── */

.faq-list { max-width: 700px; margin: 0 auto; }

.faq {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.faq summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14.5px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 20px; font-weight: 600; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 15px; font-size: 14px; color: var(--muted); }

/* ─── CTA ─── */

.final-cta {
    text-align: center;
    padding: 52px 22px;
    background: linear-gradient(115deg, #6847E8, #8B6FFF);
    border-radius: 20px;
    margin: 24px auto 50px;
    max-width: 1040px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.final-cta h2 { font-size: clamp(23px, 4vw, 30px); margin-bottom: 10px; color: #fff; }
.final-cta p { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: 15px; }
.final-cta .btn-primary { background: #fff; color: var(--primary); }
.final-cta .btn-primary:hover { background: #F1EDFF; }

/* ─── Auth / Forms ─── */

.auth-box { max-width: 430px; margin: 60px auto; padding: 0 20px; }

.auth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}

.auth-card h1 { font-size: 24px; margin-bottom: 22px; text-align: center; }

.fld { margin-bottom: 16px; }

.fld label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fld input, .fld select, .fld textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-size: 14.5px;
    font-family: inherit;
}

.fld input:focus, .fld textarea:focus, .fld select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.fld textarea { min-height: 300px; line-height: 1.75; resize: vertical; }

.auth-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ─── Alerts ─── */

.alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-ok { background: var(--green-light); color: #166534; }

/* ─── Account ─── */

.account-wrap { max-width: 660px; margin: 46px auto; padding: 0 20px; }

.acc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px;
    margin-bottom: 18px;
}

.acc-card h3 { margin-bottom: 14px; font-size: 17px; }
.acc-card p { font-size: 14.5px; margin-bottom: 7px; }

.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.badge-active { background: var(--green-light); color: #14532D; }
.badge-inactive { background: #FEE2E2; color: #7F1D1D; }

/* ─── Footer ─── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0 16px;
    margin-top: 50px;
    background: #fff;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.f-left { text-align: left; }
.f-center { flex: 1; justify-content: center; }
.f-right { text-align: center; }

.follow-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}

.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand b { color: var(--primary); }

.footer-tag { color: var(--muted); font-size: 13px; margin: 0; }

.social-row { display: flex; justify-content: center; gap: 10px; }

.social-ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all .15s;
}

.social-ic:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-nav { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }

.footer-dot { color: #C9C5D6; font-weight: 700; }

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
}

.footer-nav a:hover { color: var(--primary); }

.footer-copy { font-size: 12px; color: #A5A1B2; text-align: center; margin-top: 14px; }

@media (max-width: 820px) {
    .footer-grid { flex-direction: column; gap: 16px; text-align: center; }
    .f-left { text-align: center; }
    .footer-brand { justify-content: center; }
}

/* ─── Community ─── */

.community-wrap { max-width: 680px; margin: 0 auto; padding: 0 20px 44px; }

.composer {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    margin-bottom: 24px;
}

.composer textarea {
    width: 100%;
    min-height: 90px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    padding: 12px 15px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text);
    resize: vertical;
}

.composer textarea:focus { outline: none; border-color: var(--primary); background: #fff; }

.composer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 12px;
}

.composer-attach {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    padding: 8px 14px;
    border: 1.5px dashed var(--border);
    border-radius: 999px;
}

.composer-attach:hover { border-color: var(--primary); color: var(--primary); }
.attach-name { color: var(--green); font-size: 12.5px; }

.cpost {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    margin-bottom: 18px;
}

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

.cpost-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cpost-admin-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    margin-left: 4px;
}

.cpost-time { font-size: 12.5px; color: var(--muted); }

.cpost-text { font-size: 14.5px; margin-bottom: 12px; word-wrap: break-word; }

.cpost-media { margin-bottom: 12px; }

.cpost-media img,
.cpost-media video {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #0F0E13;
}

.cpost-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.cact {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 999px;
    transition: all .12s;
}

.cact:hover { background: var(--bg); color: var(--text); }
.cact.liked { color: var(--red); }

.cpost-comments {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 12px;
}

.ccomment {
    font-size: 13.5px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 12px;
    margin-bottom: 8px;
}

.ccomment strong { margin-right: 6px; }

.ccomment-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ccomment-form input {
    flex: 1;
    padding: 9px 15px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    font-family: inherit;
    font-size: 13.5px;
    color: var(--text);
}

.ccomment-form input:focus { outline: none; border-color: var(--primary); background: #fff; }

/* ─── Copy feedback ─── */

.btn-copied {
    background: var(--green) !important;
    color: #fff !important;
}

.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #17151F;
    color: #fff;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 900;
    white-space: nowrap;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── WhatsApp Support Float (premium members) ─── */

.wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    font-weight: 700;
    font-size: 14.5px;
    transition: all .18s;
}

.wa-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
    color: #fff;
}

.wa-float-label { line-height: 1; }

@media (max-width: 520px) {
    .wa-float { padding: 13px; bottom: 16px; right: 16px; }
    .wa-float-label { display: none; }
}

/* ─── Lightbox ─── */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(23, 21, 31, 0.92);
    z-index: 999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; }

/* ─── Legacy support (old classes still used on some pages) ─── */

.hero { text-align: center; padding: 60px 20px 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.hero p.sub { font-size: 16.5px; color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.grad { color: var(--primary); }

/* ─── Responsive ─── */

@media (max-width: 820px) {
    .trust-row { grid-template-columns: 1fr; max-width: 400px; }

    .nav-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        color: var(--text);
        user-select: none;
        line-height: 1;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 12px;
    }

    .nav-toggle-cb:checked ~ .main-nav { display: flex; }

    .main-nav a {
        padding: 13px 4px;
        border-top: 1px solid var(--border);
    }

    .main-nav .nav-btn {
        background: none;
        color: var(--primary);
        border-radius: 0;
        padding: 13px 4px;
    }

    .cover { height: 160px; }
}

@media (max-width: 767px) {
    .search-form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-form input[type="text"] {
        flex: 1 1 100%;
    }
}

@media (max-width: 520px) {
    .grid { grid-template-columns: 1fr; }
    .price-num { font-size: 46px; }
    .prompt-content { padding: 20px; font-size: 14px; }
    .mem-banner { flex-direction: column; text-align: center; }
    .auth-card { padding: 28px 22px; }
    .profile-inner h1 { font-size: 25px; }
    .cover::after { font-size: 18px; }
    .section-head h2 { font-size: 18px; }
}
