/* ============================================
   COMMUNITY PAGE — PREMIUM REBUILT CSS
   ============================================ */
:root {
    --c-deep:    #05080f;
    --c-slate:   #0b1120;
    --c-card:    rgba(255,255,255,0.025);
    --c-border:  rgba(255,255,255,0.06);
    --c-hi:      rgba(255,255,255,0.12);
    --c-cyan:    #10b981;
    --c-blue:    #22c55e;
    --c-indigo:  #16a34a;
    --c-success: #10b981;
    --c-main:    #f8fafc;
    --c-muted:   #64748b;
    --c-reading: #cbd5e1;
    --c-sidebar: 260px;
    --c-rpanel:  320px;
    --fh:        'Outfit', sans-serif;
    --fb:        'Inter', sans-serif;
    --type-reflection: #10b981;
    --type-reflection-2: #34d399;
    --type-milestone: #84cc16;
    --type-milestone-2: #facc15;
    --type-question: #22d3ee;
    --type-question-2: #10b981;
}

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

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(16, 185, 129, 0.13), transparent 28%),
        radial-gradient(circle at 84% 8%, rgba(132, 204, 22, 0.07), transparent 24%),
        radial-gradient(circle at 72% 80%, rgba(34, 211, 238, 0.06), transparent 28%),
        var(--c-deep);
    color: var(--c-main);
    font-family: var(--fb);
    overflow: hidden;
    height: 100vh;
}
body.menu-open { overflow: hidden; }

/* Ambient */
.c-ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.c-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
}
.c-glow.g1 { width: 60vw; height: 60vw; top: -20%; left: -20%; background: var(--c-indigo); }
.c-glow.g2 { width: 40vw; height: 40vw; bottom: -10%; right: -10%; background: var(--c-cyan); }
.c-svg-bg  { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; }

/* Shell */
.community-shell {
    display: grid;
    grid-template-columns: var(--c-sidebar) 1fr var(--c-rpanel);
    height: 100vh;
    position: relative;
    z-index: 1;
}

/* ---- LEFT SIDEBAR ---- */
.c-sidebar {
    background: rgba(11,17,32,0.8);
    border-right: 1px solid var(--c-border);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    overflow-y: auto;
    animation: subtle-panel-rise 0.8s ease both;
}

.c-logo {
    font-family: var(--fh);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.5rem;
    margin-bottom: 2.5rem;
}
.c-logo span { color: var(--c-cyan); }
.c-logo::before {
    content: "";
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-block;
    background: url("../logo.png") center 28% / 150px auto no-repeat;
    border-radius: 10px;
    filter: drop-shadow(0 0 14px rgba(16, 185, 129, 0.36));
}

.nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-muted);
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.c-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--c-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    margin-bottom: 0.2rem;
    border: 1px solid transparent;
}
.c-nav-item i { font-size: 1.1rem; }
.c-nav-item:hover { background: rgba(255,255,255,0.04); color: var(--c-main); }
.c-nav-item.active {
    background: rgba(22, 163, 74,0.1);
    color: #fff;
    border-color: rgba(22, 163, 74,0.2);
}
.c-nav-item.active i { color: var(--c-indigo); }

.c-sidebar-bottom { margin-top: auto; }

.c-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--c-border);
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    color: var(--c-main);
    transition: all 0.3s;
}
.c-user-card:hover { background: rgba(255,255,255,0.04); border-color: var(--c-hi); }

/* ---- AVATAR ---- */
.c-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-indigo), var(--c-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}
.c-avatar-sm { width: 36px; height: 36px; font-size: 0.75rem; }

/* ---- MAIN AREA ---- */
.c-main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

.c-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.5rem;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
    animation: subtle-panel-rise 0.75s ease 0.05s both;
    position: relative;
    z-index: 100;
}

.c-page-title {
    font-family: var(--fh);
    font-size: 1.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #fff 40%, var(--c-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}
.c-page-sub { font-size: 0.85rem; color: var(--c-muted); }

.c-topbar-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.c-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border);
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    flex: 0 1 260px;
    min-width: 120px;
}
.c-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--c-main);
    font-family: var(--fb);
    font-size: 0.9rem;
    width: 100%;
    min-width: 80px;
}
.c-search input::placeholder { color: var(--c-muted); }
.c-search i { color: var(--c-muted); }

.c-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--c-deep);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--fb);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.c-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,0.15); }

/* Small icon button used for topbar menu */
.c-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    color: var(--c-main);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
}
.c-btn-icon:hover { background: rgba(255,255,255,0.06); border-color: var(--c-border); transform: translateY(-1px); }

/* Site menu modal (topbar menu for mobile/quick-nav) */
.site-menu-modal { position: fixed; inset: 0; z-index: 11000; display: block; pointer-events: none; }
.site-menu-modal.active { pointer-events: auto; }
.site-menu-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.18s ease; }
.site-menu-modal.active .site-menu-backdrop { opacity: 1; }
.site-menu-panel { position: fixed; left: 0; top: 0; bottom: 0; width: 300px; max-width: 84%; transform: translateX(-102%); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); background: linear-gradient(180deg, rgba(11,17,32,0.92), rgba(11,17,32,0.96)); border-right: 1px solid rgba(255,255,255,0.04); border-radius: 0 12px 12px 0; padding: 0.9rem; z-index: 11001; box-shadow: 12px 20px 60px rgba(3,6,12,0.6); }
.site-menu-modal.active .site-menu-panel { transform: translateX(0); }

.site-menu-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0.6rem 0.9rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.site-menu-header .site-menu-avatar { width: 52px; height: 52px; }
.site-menu-header .site-menu-avatar img { width:100%;height:100%;object-fit:cover;display:block;border-radius:50%; }
.site-menu-userinfo { display:flex;flex-direction:column; }
.site-menu-username { font-weight:700; color:#fff; font-size:0.98rem; }
.site-menu-userrole { font-size:0.78rem; color:var(--c-muted); margin-top:2px; }

.site-menu-links { display:flex;flex-direction:column; gap:0.25rem; margin-top:0.6rem; }
.site-menu-links a { display:flex; align-items:center; gap:0.75rem; padding:0.7rem 0.75rem; color:var(--c-reading); text-decoration:none; border-radius:8px; transition: all 0.18s ease; font-weight:600; }
.site-menu-links a i { font-size:1.05rem; color:var(--c-cyan); width:22px; text-align:center; }
.site-menu-links a span { flex:1; }
.site-menu-links a:hover { background: rgba(255,255,255,0.02); color:#fff; transform: translateX(4px); }
.site-menu-links a.active { background: linear-gradient(90deg, rgba(16,185,129,0.06), rgba(52,211,153,0.03)); color:#fff; border-left: 3px solid var(--c-cyan); padding-left:0.65rem; }

.site-menu-panel .site-menu-close { position:absolute; right:12px; top:12px; background:transparent; border:none; color:var(--c-muted); font-size:1.1rem; }
.site-menu-panel .site-menu-close { position: absolute; right: 12px; top: 12px; background: transparent; border: none; color: var(--c-muted); font-size: 1.05rem; cursor: pointer; }
.site-menu-links { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.4rem; }
.site-menu-links a { display: block; padding: 0.75rem 0.9rem; color: var(--c-main); text-decoration: none; border-radius: 8px; font-weight: 600; }
.site-menu-links a:hover { background: rgba(255,255,255,0.03); color: var(--c-cyan); }
.site-menu-links a.active { color: var(--c-cyan); }

.c-content-area { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; scroll-behavior: smooth; }
.c-content-area::-webkit-scrollbar { width: 6px; }
.c-content-area::-webkit-scrollbar-track { background: transparent; }
.c-content-area::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 3px; transition: background 0.3s; }
.c-content-area::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.7); }

/* ---- CARDS ---- */
.c-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

/* ---- COMPOSE BOX ---- */
.compose-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}
.compose-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(52,211,153,0.04));
    opacity: 0.45;
    pointer-events: none;
    transition: background 0.25s ease, opacity 0.25s ease;
}
.compose-box[data-active-type="milestone"]::before {
    background: linear-gradient(135deg, rgba(132,204,22,0.11), rgba(250,204,21,0.04));
}
.compose-box[data-active-type="question"]::before {
    background: linear-gradient(135deg, rgba(34,211,238,0.09), rgba(16,185,129,0.04));
}
.compose-inner,
.compose-footer {
    position: relative;
    z-index: 1;
}
.compose-inner { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.compose-textarea {
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    color: var(--c-main);
    font-family: var(--fb);
    font-size: 0.95rem;
    resize: none;
    min-height: 90px;
    outline: none;
    transition: border-color 0.3s;
}
.compose-textarea:focus { border-color: var(--c-indigo); }

.compose-footer { display: flex; justify-content: space-between; align-items: center; }
.compose-tags { display: flex; gap: 0.5rem; }
.tag-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    border: 1px solid var(--c-border);
    background: transparent;
    color: var(--c-muted);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--fb);
    transition: transform 0.2s, color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tag-pill:hover { transform: translateY(-1px); }
.tag-pill[data-tag="reflection"] {
    color: #6ee7b7;
    border-color: rgba(16,185,129,0.24);
    background: rgba(16,185,129,0.06);
}
.tag-pill[data-tag="milestone"] {
    color: #bef264;
    border-color: rgba(132,204,22,0.24);
    background: rgba(132,204,22,0.06);
}
.tag-pill[data-tag="question"] {
    color: #67e8f9;
    border-color: rgba(34,211,238,0.24);
    background: rgba(34,211,238,0.05);
}
.tag-pill.active, .tag-pill:hover {
    color: #fff;
}
.tag-pill[data-tag="reflection"].active, .tag-pill[data-tag="reflection"]:hover {
    border-color: rgba(16,185,129,0.58);
    background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(52,211,153,0.11));
    box-shadow: 0 8px 22px rgba(16,185,129,0.13);
}
.tag-pill[data-tag="milestone"].active, .tag-pill[data-tag="milestone"]:hover {
    border-color: rgba(132,204,22,0.5);
    background: linear-gradient(135deg, rgba(132,204,22,0.18), rgba(250,204,21,0.09));
    box-shadow: 0 8px 22px rgba(132,204,22,0.12);
}
.tag-pill[data-tag="question"].active, .tag-pill[data-tag="question"]:hover {
    border-color: rgba(34,211,238,0.48);
    background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(16,185,129,0.08));
    box-shadow: 0 8px 22px rgba(34,211,238,0.10);
}

/* ---- POST CARD ---- */
.post-card {
    padding: 1.8rem 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    animation: card-breathe-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.post-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    opacity: 0.95;
}
.post-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
}
.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--c-hi);
    box-shadow: 0 18px 44px rgba(0,0,0,0.34);
}
.post-type-reflection {
    border-color: rgba(56,189,248,0.13);
}
.post-type-reflection::before {
    background: linear-gradient(180deg, var(--type-reflection), var(--type-reflection-2));
}
.post-type-reflection::after {
    background: radial-gradient(circle at 0 0, rgba(16,185,129,0.10), transparent 42%);
}
.post-type-milestone {
    border-color: rgba(132,204,22,0.13);
}
.post-type-milestone::before {
    background: linear-gradient(180deg, var(--type-milestone), var(--type-milestone-2));
}
.post-type-milestone::after {
    background: radial-gradient(circle at 0 0, rgba(132,204,22,0.10), transparent 42%);
}
.post-type-question {
    border-color: rgba(34,211,238,0.12);
}
.post-type-question::before {
    background: linear-gradient(180deg, var(--type-question), var(--type-question-2));
}
.post-type-question::after {
    background: radial-gradient(circle at 0 0, rgba(34,211,238,0.09), transparent 42%);
}

.post-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }

.post-meta { flex: 1; }
.post-name {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}
.post-time { font-size: 0.78rem; color: var(--c-muted); }

.post-circle-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(16, 185, 129,0.1);
    color: var(--c-cyan);
    border: 1px solid rgba(16, 185, 129,0.2);
    font-weight: 500;
}

.post-type-pill, .milestone-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    background: rgba(16,185,129,0.08);
    color: var(--c-success);
    border: 1px solid rgba(16,185,129,0.2);
    font-weight: 600;
    white-space: nowrap;
}
.post-type-pill-reflection {
    background: rgba(16,185,129,0.11);
    color: #6ee7b7;
    border-color: rgba(16,185,129,0.28);
}
.post-type-pill-milestone {
    background: rgba(132,204,22,0.11);
    color: #bef264;
    border-color: rgba(132,204,22,0.26);
}
.post-type-pill-question {
    background: rgba(34,211,238,0.09);
    color: #67e8f9;
    border-color: rgba(34,211,238,0.24);
}

.post-owner-delete {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.025);
    color: var(--c-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.post-owner-delete:hover {
    transform: translateY(-1px);
    color: #f87171;
    border-color: rgba(248,113,113,0.32);
    background: rgba(248,113,113,0.08);
}

.post-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-reading);
    margin-bottom: 1.5rem;
}
.post-body strong { color: #fff; font-weight: 600; }
.post-body em { color: var(--c-cyan); font-style: normal; }

.post-footer {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--c-border);
    padding-top: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--c-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--fb);
    transition: all 0.25s;
    position: relative;
    overflow: visible;
}
.post-action-btn:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--c-border);
    color: var(--c-main);
}
.post-count {
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
}
.encourage-btn:hover,
.encourage-btn.encouraged {
    color: var(--c-cyan);
    border-color: rgba(16, 185, 129,0.34);
    background: rgba(16, 185, 129,0.08);
    box-shadow: 0 8px 22px rgba(16,185,129,0.12);
}
.encourage-btn.encouraged i {
    animation: clap-pop 1.1s ease infinite;
}
.encourage-btn.encourage-release {
    color: #94a3b8;
    border-color: rgba(148,163,184,0.22);
    background: rgba(148,163,184,0.05);
}
.encourage-burst {
    position: absolute;
    inset: 50% auto auto 50%;
    pointer-events: none;
}
.encourage-burst span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--c-cyan);
    box-shadow: 0 0 10px rgba(16,185,129,0.8);
    animation: encourage-spark 0.72s ease-out forwards;
}
.encourage-burst span:nth-child(1) { --x: -38px; --y: -22px; background: #22c55e; }
.encourage-burst span:nth-child(2) { --x: -18px; --y: -38px; background: #38bdf8; }
.encourage-burst span:nth-child(3) { --x: 12px; --y: -34px; background: #fbbf24; }
.encourage-burst span:nth-child(4) { --x: 34px; --y: -12px; background: #10b981; }
.encourage-burst span:nth-child(5) { --x: 24px; --y: 24px; background: #8b5cf6; }
.encourage-burst span:nth-child(6) { --x: -28px; --y: 20px; background: #14b8a6; }
.post-card-pulse {
    animation: card-pulse-glow 0.85s ease-out;
}

/* ---- RIGHT PANEL ---- */
.c-right-panel {
    background: rgba(11,17,32,0.6);
    border-left: 1px solid var(--c-border);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.c-right-panel::-webkit-scrollbar { width: 6px; }
.c-right-panel::-webkit-scrollbar-track { background: transparent; }
.c-right-panel::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 3px; transition: background 0.3s; }
.c-right-panel::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.7); }

.c-widget { padding: 1.5rem; }

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.widget-link {
    font-size: 0.8rem;
    color: var(--c-cyan);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--fb);
    font-weight: 600;
}

/* Circles */
.circle-list { display: flex; flex-direction: column; gap: 0.8rem; }
.circle-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 10px;
    transition: background 0.2s;
    cursor: pointer;
    position: relative;
}
.circle-row:hover { background: rgba(255,255,255,0.03); }
.circle-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.circle-row-info { flex: 1; }
.circle-name { display: block; font-size: 0.88rem; font-weight: 500; color: var(--c-main); margin-bottom: 0.15rem; }
.circle-members { font-size: 0.75rem; color: var(--c-muted); }

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-success);
    box-shadow: 0 0 8px var(--c-success);
    animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* Challenge */
.challenge-widget { background: linear-gradient(145deg, rgba(22, 163, 74,0.08), rgba(16, 185, 129,0.04)); border-color: rgba(22, 163, 74,0.2); }
.challenge-inner { text-align: center; }
.challenge-icon { font-size: 2rem; color: var(--c-indigo); margin-bottom: 1rem; }
.challenge-inner h4 { font-size: 1.1rem; margin-bottom: 0.5rem; font-family: var(--fh); }
.challenge-inner p { font-size: 0.85rem; color: var(--c-muted); margin-bottom: 1.2rem; line-height: 1.5; }
.challenge-progress-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.challenge-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.challenge-fill { height: 100%; background: linear-gradient(90deg, var(--c-indigo), var(--c-cyan)); border-radius: 100px; transition: width 1s ease; }

/* Insight */
.insight-widget { background: rgba(255,255,255,0.01); }
.insight-quote {
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--fh);
    font-weight: 300;
    color: var(--c-reading);
    font-style: italic;
    border-left: 2px solid var(--c-indigo);
    padding-left: 1rem;
    margin: 0 0 1rem 0;
}
.insight-source { font-size: 0.75rem; color: var(--c-muted); }

/* Tab Content */
.c-tab-content { display: none; }
.c-tab-content.active { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .community-shell { grid-template-columns: var(--c-sidebar) 1fr; }
    .c-right-panel { display: none; }
}
@media (max-width: 768px) {
    .community-shell { grid-template-columns: 1fr; }
    .c-sidebar { display: none; }
    body { overflow: auto; }
    .c-main { height: 100vh; }
    .c-topbar { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
    .c-search input { width: 140px; }
    .c-content-area { padding: 1.5rem; }
    .compose-tags { flex-wrap: wrap; }
    .compose-footer { flex-direction: column; gap: 0.75rem; align-items: stretch; }
    .compose-submit { width: 100%; justify-content: center; }
    .post-footer { gap: 0.6rem; }
    .post-action-btn { flex: 1 1 48%; min-width: 120px; justify-content: center; padding: 0.6rem 0.8rem; }
}

@media (max-width: 1024px) {
    .c-page-title { font-size: 1.4rem; }
    .c-page-sub { display: none; }
    .c-btn-primary { padding: 0.5rem 0.9rem; }
    .c-search { flex: 1 1 180px; }
}

/* Hide mobile-only topbar controls on larger (desktop) screens */
@media (min-width: 1025px) {
    #menu-toggle,
    #saved-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ---- SAVED POSTS TAB ---- */
.saved-posts-header {
    margin-bottom: 1.5rem;
}
.saved-title {
    font-family: var(--fh);
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}
.saved-title i {
    color: var(--c-cyan);
    font-size: 1.3rem;
}
.saved-subtitle {
    font-size: 0.85rem;
    color: var(--c-muted);
}
.saved-empty-state {
    padding: 3rem 2rem !important;
    text-align: center;
    color: var(--c-muted);
}
.saved-empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}
.saved-empty-state p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.feed-empty-state {
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--c-muted);
}
.feed-empty-state i {
    font-size: 2rem;
    opacity: 0.4;
    display: block;
    margin-bottom: 0.75rem;
}
#feed-empty-state .ph-spinner {
    animation: spin 1s linear infinite;
}
.feed-empty-state p {
    font-size: 0.92rem;
    line-height: 1.6;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- COMMENT OVERLAY ---- */
.comment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOverlayIn 0.25s ease;
}
@keyframes fadeOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.comment-modal {
    background: var(--c-slate);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    width: 90%;
    max-width: 560px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideModalUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideModalUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.comment-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--c-border);
}
.comment-modal-header h3 {
    font-family: var(--fh);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}
.comment-close-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--c-border);
    color: var(--c-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.comment-close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.comment-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 120px;
}
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-track { background: transparent; }
.comment-list::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 3px; transition: background 0.3s; }
.comment-list::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.7); }
.comment-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--c-indigo), var(--c-cyan));
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-bubble {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 0.7rem 1rem;
}
.comment-reply {
    margin-left: 2.5rem;
}
.comment-reply .comment-bubble {
    border-color: rgba(16,185,129,0.18);
    background: rgba(16,185,129,0.04);
}
.comment-actions {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.55rem;
}
.comment-mini-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 0;
    background: transparent;
    color: var(--c-muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-family: var(--fb);
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.comment-mini-action:hover {
    color: var(--c-cyan);
    transform: translateY(-1px);
}
.delete-comment-btn:hover {
    color: #f87171;
}
.comment-reply-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1.5rem;
    border-top: 1px solid var(--c-border);
    color: #6ee7b7;
    font-size: 0.78rem;
    background: rgba(16,185,129,0.05);
}
.comment-reply-context[hidden] {
    display: none;
}
.comment-cancel-reply {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--c-muted);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    cursor: pointer;
    font-family: var(--fb);
    font-size: 0.72rem;
}
.comment-cancel-reply:hover {
    color: #fff;
    border-color: rgba(16,185,129,0.3);
}
.comment-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
}
.comment-text {
    font-size: 0.88rem;
    color: var(--c-reading);
    line-height: 1.5;
}
.comment-time {
    font-size: 0.7rem;
    color: var(--c-muted);
    margin-top: 0.3rem;
}
.comment-empty {
    text-align: center;
    color: var(--c-muted);
    font-size: 0.88rem;
    padding: 2rem 0;
}
.comment-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--c-border);
    align-items: flex-end;
}
.comment-input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 0.7rem 1rem;
    color: var(--c-main);
    font-family: var(--fb);
    font-size: 0.9rem;
    outline: none;
    resize: none;
    min-height: 42px;
    max-height: 100px;
    transition: border-color 0.3s;
}
.comment-input:focus {
    border-color: var(--c-indigo);
}
.comment-send-btn {
    background: linear-gradient(135deg, var(--c-indigo), var(--c-cyan));
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.25s;
}
.comment-send-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
.comment-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ---- SAVED BOOKMARK ACTIVE STATE ---- */
.save-post-btn.saved {
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(245, 158, 11, 0.08);
    box-shadow: 0 8px 22px rgba(245,158,11,0.12);
}
.save-post-btn.saved i {
    font-weight: bold;
}
.save-post-btn.save-pop i {
    animation: bookmark-pop 0.55s ease;
}
.save-post-btn.save-release i {
    animation: bookmark-release 0.45s ease;
}

/* ---- COMPOSE BOX IMPROVEMENTS ---- */
.compose-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-color: rgba(22, 163, 74, 0.15);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.compose-box:focus-within {
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: 0 0 30px rgba(22, 163, 74, 0.06);
}

/* ---- POST TIME RELATIVE ---- */
.post-time-relative {
    font-size: 0.78rem;
    color: var(--c-muted);
}

/* ---- SIDEBAR SAVED POSTS ---- */
.saved-sidebar-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.saved-sidebar-item:hover {
    background: rgba(255,255,255,0.03);
}
.saved-sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.saved-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.saved-sidebar-info {
    flex: 1;
    min-width: 0;
}
.saved-sidebar-text {
    font-size: 0.82rem;
    color: var(--c-reading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 0.15rem;
}
.saved-sidebar-by {
    font-size: 0.72rem;
    color: var(--c-muted);
}

.community-notif-item {
    align-items: flex-start;
    gap: 0.75rem;
}
.community-notif-item .notif-dot {
    width: 30px;
    height: 30px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(16,185,129,0.10);
    color: var(--c-cyan);
    border: 1px solid rgba(16,185,129,0.18);
}
.community-notif-item .notif-copy {
    flex: 1;
    min-width: 0;
}
.notif-type-comment .notif-dot,
.notif-type-reply .notif-dot {
    background: rgba(34,211,238,0.08);
    color: #67e8f9;
    border-color: rgba(34,211,238,0.16);
}
.notif-delete-btn {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--c-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.notif-delete-btn:hover {
    color: #f87171;
    background: rgba(248,113,113,0.08);
    transform: scale(1.05);
}
.notif-view-all {
    text-align: center;
    padding-top: 0.9rem;
    margin-top: 0.4rem;
    border-top: 1px solid var(--c-border);
}
.notif-view-all a {
    color: var(--c-cyan);
    font-size: 0.82rem;
    text-decoration: none;
}
.community-notif-empty .notif-dot {
    background: rgba(100,116,139,0.14);
}

.post-success-burst {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 5;
    pointer-events: none;
}
.post-success-burst span {
    --angle: calc(var(--i) * 36deg);
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: hsl(calc(var(--i) * 36), 82%, 62%);
    animation: post-success-spark 0.95s ease-out forwards;
}

.app-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

/* ---- NOTIFICATION BUTTON & PANEL ---- */
.notification-btn {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--c-border);
    color: var(--c-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    z-index: 11;
}
.notification-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--c-indigo);
    transform: translateY(-2px);
}
.notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid var(--c-deep);
    opacity: 0;
    transition: opacity 0.3s;
}
.notification-dot.active {
    opacity: 1;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.notif-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 360px;
    max-width: 90vw;
    max-height: 480px;
    background: var(--c-slate);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    z-index: 10002;
    opacity: 0;
    scale: 0.97;
    pointer-events: none;
    transition: opacity 0.18s ease, scale 0.18s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}
.notif-panel.open {
    opacity: 1;
    scale: 1;
    pointer-events: auto;
}

.notif-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--c-border);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
}

.notif-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.notif-list::-webkit-scrollbar {
    width: 6px;
}
.notif-list::-webkit-scrollbar-track {
    background: transparent;
}
.notif-list::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.4);
    border-radius: 3px;
    transition: background 0.3s;
}
.notif-list::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.7);
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
    transition: background 0.2s;
}
.notif-item:hover {
    background: rgba(255,255,255,0.04);
}
.notif-item:last-of-type {
    border-bottom: none;
}

.notif-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(16,185,129,0.12);
    color: #10b981;
    font-size: 1rem;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.notif-sub {
    font-size: 0.8rem;
    color: var(--c-muted);
    line-height: 1.3;
    word-wrap: break-word;
}

.notif-delete-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--c-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}
.notif-delete-btn:hover {
    color: #f87171;
    background: rgba(248,113,113,0.1);
    transform: scale(1.1);
}

.notif-view-all {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--c-border);
    text-align: center;
    flex-shrink: 0;
}

.notif-view-all a {
    color: var(--c-cyan);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.notif-view-all a:hover {
    color: #34d399;
}

/* ---- RESPONSIVE NOTIFICATION PANEL ---- */
@media (max-width: 768px) {
    .notif-panel {
        position: fixed;
        width: calc(100vw - 2rem);
        max-width: 360px;
        right: 1rem;
        top: 70px;
        max-height: 70vh;
        z-index: 9999;
    }
    
    .notif-item {
        padding: 0.8rem 1rem;
    }
    
    .notif-list {
        max-height: calc(70vh - 100px);
    }
}

@media (max-width: 480px) {
    .notif-panel {
        width: calc(100vw - 1rem);
        right: 0.5rem;
        max-height: 60vh;
    }
    
    .notif-item {
        gap: 0.5rem;
    }
    
    .notif-dot {
        width: 28px;
        height: 28px;
    }
    
    .notif-title {
        font-size: 0.85rem;
    }
    
    .notif-sub {
        font-size: 0.75rem;
    }
}

    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes card-breathe-in {
    from { opacity: 0; transform: translateY(14px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes clap-pop {
    0%, 100% { transform: rotate(0deg) scale(1); }
    35% { transform: rotate(-10deg) scale(1.12); }
    65% { transform: rotate(8deg) scale(1.04); }
}
@keyframes encourage-spark {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.2); }
    70% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
    100% { opacity: 0; transform: translate(calc(-50% + var(--x) * 1.25), calc(-50% + var(--y) * 1.25)) scale(0.1); }
}
@keyframes card-pulse-glow {
    0% { box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
    42% { box-shadow: 0 18px 48px rgba(16,185,129,0.18), 0 0 0 1px rgba(16,185,129,0.22); }
    100% { box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
}
@keyframes bookmark-pop {
    0% { transform: translateY(4px) scale(0.6) rotate(-8deg); }
    55% { transform: translateY(-4px) scale(1.22) rotate(8deg); }
    100% { transform: translateY(0) scale(1) rotate(0); }
}
@keyframes bookmark-release {
    0% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.75; }
}
@keyframes post-success-spark {
    0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(0.3); }
    80% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(74px) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateX(92px) scale(0.1); }
}

.admin-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.35rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.32);
    color: var(--accent-gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.admin-author-badge-small {
    font-size: 0.62rem;
    padding: 0.1rem 0.38rem;
}

/* ---- MEDIA ATTACHMENTS & LIGHTBOX ---- */
.post-media {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.post-media img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.post-media-video {
    cursor: default;
    background: #000;
}
.post-media-video video {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}
.post-media:not(.post-media-video):hover img {
    transform: scale(1.02);
}
.post-media:not(.post-media-video)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.post-media:not(.post-media-video):hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 15, 0.95);
    backdrop-filter: blur(15px);
}
.lightbox-content {
    position: relative;
    z-index: 100000;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(16, 185, 129, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}
.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
