/* ═══════════════════════════════════════════════════════════════
   SuperX Mart — Premium Dashboard Styles (Clean Redesign)
   ═══════════════════════════════════════════════════════════════ */

/* ── Utility Classes ── */
.max-w-7xl { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; }
.hidden { display: none !important; }
.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }
.text-error { color: var(--error) !important; }
.mr-2 { margin-right: 0.5rem; }

/* ── Ambient Background ── */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 500px; height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.04;
    z-index: -1;
}
body::after {
    content: '';
    position: fixed;
    bottom: -15%; right: -5%;
    width: 400px; height: 400px;
    background: #8b5cf6;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.03;
    z-index: -1;
}

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    transition: background 0.3s, border-color 0.3s;
}
[data-theme='dark'] .navbar {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-container { height: 70px; display: flex; justify-content: space-between; align-items: center; }
.brand-text { font-size: 22px; font-weight: 800; color: var(--text-color); letter-spacing: -0.5px; }

/* ── Nav Right ── */
.nav-right { display: flex; align-items: center; gap: 16px; }
.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
    display: flex;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 16px;
}
.btn-icon:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* ── Profile ── */
.profile-dropdown { position: relative; }
.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s;
}
.profile-btn:hover { transform: scale(1.05); }
.profile-btn img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dropdown-menu {
    position: absolute; right: 0;
    top: calc(100% + 10px);
    width: 250px;
    background: var(--card-bg, var(--glass-bg));
    border: 1px solid var(--border-color, var(--glass-border));
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.05);
    opacity: 0; visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    backdrop-filter: blur(20px);
    padding: 6px;
}
.dropdown-menu.active {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}
.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color, var(--glass-border));
}
.dropdown-name { font-weight: 700; font-size: 15px; }
.dropdown-email { font-size: 13px; color: var(--text-muted, var(--text-secondary)); }
.dropdown-item {
    display: flex; align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color, var(--text-primary));
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.06);
    color: var(--primary-color);
}

/* ── Sub-header (Search + Filters) ── */
.subheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 20px 12px;
}
.search-container { flex: 1; max-width: 520px; position: relative; }
.search-icon-input {
    position: absolute; left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted, var(--text-secondary));
    pointer-events: none;
    font-size: 14px;
}
.search-input {
    width: 100%;
    padding: 13px 22px 13px 48px;
    border-radius: 14px;
    border: 1.5px solid rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.02);
    color: var(--text-color, var(--text-primary));
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-input::placeholder {
    color: var(--text-muted, var(--text-secondary));
    font-weight: 400;
}
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(59, 130, 246, 0.06);
}

.filter-nav { display: flex; gap: 6px; align-items: center; }
.filter-btn {
    background: transparent;
    border: 1.5px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted, var(--text-secondary));
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; align-items: center; gap: 6px;
}

/* ── Category Dropdown ── */
.category-wrapper {
    position: relative;
    display: inline-block;
}
#categoryBtn {
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--card-bg, var(--glass-bg));
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 200;
    overflow: hidden;
}
.category-item {
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-color, var(--text-primary));
    cursor: pointer;
    transition: background 0.2s;
}
.category-item:hover {
    background: rgba(59,130,246,0.05);
}

/* ── Sell Button — Primary CTA in filter nav ── */
.sell-btn {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
    padding: 9px 20px;
}
.sell-btn:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(59, 130, 246, 0.38) !important;
    border-color: transparent !important;
}
.sell-btn:active { transform: translateY(0); }

/* ── Dashboard Main ── */
.dashboard-main { padding: 10px 20px 120px; }
.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0 4px;
}
.dashboard-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.6px;
    background: linear-gradient(135deg, var(--text-color, var(--text-primary)), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Location Picker ── */
.location-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.04);
    color: var(--text-color, var(--text-primary));
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(59, 130, 246, 0.08);
}
.location-picker:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}
.location-icon { color: var(--primary-color); }

/* ── Product Grid ── */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ── Premium Post Cards — Clean Redesign ── */
.premium-card {
    background: var(--card-bg, var(--glass-bg));
    border: 1px solid rgba(59, 130, 246, 0.06);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.02);
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(59, 130, 246, 0.06),
        0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(59, 130, 246, 0.15);
}

/* Accent line on hover */
.premium-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
    border-radius: 3px;
}
.premium-card:hover::after {
    opacity: 1;
    left: 10%; right: 10%;
}

/* Card Image */
.post-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf5, #dde4ef);
}
[data-theme='dark'] .post-image-container {
    background: linear-gradient(135deg, #1a2332, #243044);
}
.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover .product-img { transform: scale(1.06); }

/* Badges */
.badges {
    position: absolute;
    top: 14px; left: 14px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 2;
}
.badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex; align-items: center; gap: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.3px;
}
.badge.verified {
    background: linear-gradient(135deg, #10b981, #059669);
}
.badge.new {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    width: fit-content;
}

/* Card Content */
.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: var(--card-bg, var(--glass-bg));
}
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}
.product-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color, var(--text-primary));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted, var(--text-secondary));
    margin-top: auto;
}
.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Card Action Buttons ── */
.card-actions-row {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}
.card-actions-row .btn {
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 12px;
    font-weight: 650;
    letter-spacing: 0.2px;
}
.card-actions-row .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}
.card-actions-row .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   FLOATING ACTION BUTTON — Premium Design
   ══════════════════════════════════════════════════════ */
@keyframes fabPulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(2); opacity: 0; }
}
@keyframes fabFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fab {
    position: fixed;
    bottom: 32px; right: 32px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    animation: fabFloat 3s ease-in-out infinite;
    color: white;
    border: none;
    padding: 0 22px 0 0;
    height: 54px;
    border-radius: 27px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.fab:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 14px 36px rgba(59, 130, 246, 0.4),
        0 4px 16px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}
.fab:active { transform: translateY(-1px) scale(0.97); }

.fab-pulse {
    position: absolute; inset: 0;
    border-radius: 27px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    animation: fabPulse 2.5s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}
.fab:hover .fab-pulse { animation: none; opacity: 0; }

.fab-icon-wrap {
    width: 54px; height: 54px; min-width: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}
.fab-icon-wrap::after {
    content: '+';
    position: absolute;
    bottom: 3px; right: 3px;
    width: 16px; height: 16px;
    background: #fff;
    color: #3b82f6;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    line-height: 1;
}
.fab:hover .fab-icon-wrap {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(-12deg) scale(1.06);
}

.fab-label {
    margin-left: 6px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 1;
    transition: all 0.3s ease;
}
.fab:hover .fab-label { letter-spacing: 1.5px; }

/* ══════════════════════════════════════════════════════
   NOTIFICATION SYSTEM
   ══════════════════════════════════════════════════════ */
.notification-menu { width: 300px; right: -10px; background: var(--bg-color); }
.notification-badge {
    position: absolute;
    top: 6px; right: 6px;
    width: 9px; height: 9px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-item {
    display: flex; align-items: flex-start;
    gap: 12px; padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, var(--glass-border));
    cursor: pointer;
    transition: background 0.2s;
}
.notification-item:hover { background: rgba(59, 130, 246, 0.04); }
.notif-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.bg-primary-100 { background: rgba(59, 130, 246, 0.08); }
.notif-title {
    font-size: 14px; font-weight: 600;
    color: var(--text-color, var(--text-primary));
    margin: 0 0 4px 0; line-height: 1.3;
}
.notif-time { font-size: 12px; color: var(--text-muted, var(--text-secondary)); margin: 0; }

/* ══════════════════════════════════════════════════════
   MODALS — Clean Glass Design
   ══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

.modal-content {
    width: 90%; max-width: 800px;
    padding: 28px;
    border-radius: 24px;
    background: var(--card-bg, var(--glass-bg));
    border: 1px solid rgba(59, 130, 246, 0.06);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; gap: 20px;
    position: relative;
    max-height: 90vh; overflow-y: auto;
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute; top: 18px; right: 18px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    color: var(--text-color, var(--text-primary));
    font-size: 22px;
    cursor: pointer;
    width: 38px; height: 38px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}
[data-theme='dark'] .modal-close { background: rgba(255, 255, 255, 0.06); }
.modal-close:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color, var(--text-primary));
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Modal Layout */
.modal-layout { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) {
    .modal-layout { flex-direction: row; }
    .modal-img, .modal-info { flex: 1; }
}
.modal-img { position: relative; border-radius: 16px; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; max-height: 400px; }
.modal-info h2 {
    font-size: 24px; font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-color, var(--text-primary));
}
.modal-price { font-size: 28px; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; }
.modal-location { color: var(--text-muted, var(--text-secondary)); font-size: 14px; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════
   CART SIDEBAR
   ══════════════════════════════════════════════════════ */
.cart-sidebar {
    position: fixed; top: 0;
    right: -420px;
    width: 400px; max-width: 100%;
    height: 100vh;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color, var(--glass-border));
    z-index: 1001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
}
.cart-sidebar.open { right: 0; }
.cart-header {
    padding: 22px;
    border-bottom: 1px solid var(--border-color, var(--glass-border));
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 {
    margin: 0; font-size: 18px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    color: var(--text-color, var(--text-primary));
}
.cart-items {
    flex: 1; overflow-y: auto;
    padding: 20px;
    display: flex; flex-direction: column; gap: 14px;
}
.empty-cart-msg {
    text-align: center;
    color: var(--text-muted, var(--text-secondary));
    font-size: 14px;
    margin-top: 40px;
    line-height: 1.6;
}
.cart-item {
    display: flex; gap: 14px;
    background: rgba(59, 130, 246, 0.03);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.06);
    align-items: center;
    position: relative;
    transition: all 0.2s;
}
.cart-item:hover {
    background: rgba(59, 130, 246, 0.06);
}
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item-info { flex: 1; padding-right: 24px; }
.cart-item-title {
    font-size: 14px; font-weight: 600;
    color: var(--text-color, var(--text-primary));
    margin: 0 0 5px 0; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--primary-color); }
.remove-cart-item {
    position: absolute; right: 12px; top: 12px;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444; border: none;
    border-radius: 8px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
    font-size: 12px;
}
.remove-cart-item:hover { background: #ef4444; color: white; transform: scale(1.05); }

/* ══════════════════════════════════════════════════════
   EMPTY STATE — Beautiful Clean Design
   ══════════════════════════════════════════════════════ */
@keyframes emptyIconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.04); }
}
@keyframes emptyPulseRing {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.15; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
@keyframes gentleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 40px;
    text-align: center;
    background: var(--card-bg, var(--glass-bg));
    border: 1.5px solid rgba(59, 130, 246, 0.06);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative elements */
.empty-state::before {
    content: '';
    position: absolute;
    top: -40%; left: -30%;
    width: 160%; height: 160%;
    background:
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.empty-state::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.empty-state-icon {
    width: 110px; height: 110px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.06));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
    animation: emptyIconFloat 4s ease-in-out infinite;
    position: relative;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.06);
}
.empty-state-icon::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 40px;
    border: 1.5px dashed rgba(59, 130, 246, 0.1);
    animation: gentleSpin 20s linear infinite;
}
.empty-state-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), transparent);
    animation: emptyPulseRing 4s ease-in-out infinite;
    z-index: -1;
}
.empty-state-icon i {
    font-size: 42px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color, var(--text-primary));
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.empty-state-text {
    font-size: 15px;
    color: var(--text-muted, var(--text-secondary));
    max-width: 380px;
    line-height: 1.7;
    margin: 0 0 32px 0;
}
.empty-state-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.empty-state-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}
.empty-state-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}
.empty-state-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ══════════════════════════════════════════════════════
   COMMENT SECTION
   ══════════════════════════════════════════════════════ */
.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.02);
    color: var(--text-color, var(--text-primary));
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s;
}
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .subheader { flex-direction: column; align-items: stretch; gap: 16px; }
    .search-container { max-width: 100%; }
    .filter-nav { justify-content: space-between; }
    .empty-state { padding: 60px 24px; }
    .empty-state-title { font-size: 22px; }
}
@media (max-width: 640px) {
    .post-grid { grid-template-columns: 1fr; }
    .fab { bottom: 20px; right: 20px; height: 50px; padding: 0 16px 0 0; }
    .fab-icon-wrap { width: 50px; height: 50px; min-width: 50px; font-size: 16px; }
    .fab-label { font-size: 10px; }
    .empty-state { padding: 50px 20px; }
    .empty-state-icon { width: 90px; height: 90px; border-radius: 26px; }
    .empty-state-icon i { font-size: 34px; }
    .empty-state-title { font-size: 20px; }
}
