/* ═══════════════════════════════════════════════════════════════
   MoyoMatch 2.0 — Premium Design System (Navy + Gold)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

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

:root {
    --primary: #FFD93D;
    --primary-hover: #F9C932;
    --primary-glow: rgba(255, 217, 61, 0.25);
    --secondary: #001F3F;
    --secondary-light: #002B5C;
    --accent: #FFD93D;

    --bg: #F8F6F0;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);

    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);

    --sidebar-width: 260px;
    --header-height: 72px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════ SIDEBAR ═══════ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    padding: 28px 16px;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: 36px;
    text-decoration: none;
}
.sidebar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}
.sidebar-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Nav items */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255,255,255,0.85);
}
.nav-item.active {
    background: var(--primary);
    color: var(--secondary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.3);
}
.nav-item .material-symbols-outlined {
    font-size: 22px;
}
.nav-item .badge {
    position: absolute;
    right: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.nav-item.active .badge {
    background: var(--secondary);
}

/* Sidebar user card */
.sidebar-user {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    transition: background 0.2s;
}
.sidebar-user-card:hover {
    background: rgba(255,255,255,0.1);
}
.sidebar-user-card .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,217,61,0.3);
}
.sidebar-user-card .user-info {
    flex: 1;
    min-width: 0;
}
.sidebar-user-card .user-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-user-card .user-role {
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

/* ═══════ MAIN CONTENT ═══════ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* ═══════ PAGE HEADER ═══════ */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    background: rgba(248, 246, 240, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}
.page-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ═══════ BUTTONS ═══════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    font-family: inherit;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--secondary);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px var(--primary-glow);
}
.btn-secondary {
    background: var(--secondary);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--secondary);
    background: rgba(0,31,63,0.03);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 12px;
}
.btn-ghost:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text);
}
.btn-icon {
    padding: 10px;
    border-radius: 50%;
}
.btn-danger {
    background: transparent;
    color: #ef4444;
}
.btn-danger:hover {
    background: rgba(239,68,68,0.06);
}

/* ═══════ CARDS ═══════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card-padded {
    padding: 28px;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-lg);
}

/* ═══════ PROFILE CARD (Swipe) ═══════ */
.swipe-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    cursor: grab;
}
.swipe-card .card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}
.swipe-card:hover .card-image {
    transform: scale(1.05);
}
.swipe-card .card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
}
.swipe-card .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
}
.swipe-card .card-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.swipe-card .card-info p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Swipe action buttons */
.swipe-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}
.swipe-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    background: var(--bg-card);
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
}
.swipe-btn:hover {
    transform: scale(1.1);
}
.swipe-btn.like {
    width: 64px;
    height: 64px;
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.25);
}
.swipe-btn.like:hover {
    box-shadow: 0 8px 30px rgba(0, 31, 63, 0.35);
}
.swipe-btn.pass:hover { color: #ef4444; }
.swipe-btn.star:hover { color: var(--primary); }
.swipe-btn.chat:hover { color: var(--secondary); }

/* ═══════ VIBE CHIPS ═══════ */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 31, 63, 0.06);
    color: var(--secondary);
    white-space: nowrap;
}
.chip-light {
    background: rgba(255,255,255,0.2);
    color: #fff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.chip-gold {
    background: rgba(255, 217, 61, 0.15);
    color: #b8860b;
}

/* ═══════ DISCOVER GRID ═══════ */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.discover-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: all 0.3s;
}
.discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.discover-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discover-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.discover-card .card-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.discover-card .card-overlay small {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.discover-card .match-pct {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
}
.discover-card .heart-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.discover-card .heart-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}
.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    display: inline-block;
}
.online-dot-sm {
    width: 8px;
    height: 8px;
}

/* ═══════ TABS ═══════ */
.tabs {
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.04);
    padding: 4px;
    border-radius: var(--radius-full);
    width: fit-content;
}
.tab {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.tab.active {
    background: var(--bg-card);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.tab:hover:not(.active) {
    color: var(--text);
}

/* ═══════ MESSAGES ═══════ */
.chat-layout {
    display: flex;
    height: calc(100vh - var(--header-height) - 1px);
}
.chat-sidebar {
    width: 340px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}
.chat-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-search {
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
}
.chat-search input {
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--bg);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.chat-search input:focus {
    border-color: var(--secondary);
}
.chat-list {
    flex: 1;
    overflow-y: auto;
}
.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}
.chat-item:hover {
    background: rgba(0,31,63,0.03);
}
.chat-item.active {
    background: rgba(255, 217, 61, 0.06);
    border-left-color: var(--primary);
}
.chat-item .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.chat-item .chat-meta {
    flex: 1;
    min-width: 0;
}
.chat-item .chat-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.chat-item .chat-preview {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.chat-item .chat-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}
.chat-item .unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* Chat area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}
.chat-area-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.chat-area-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-area-header .chat-partner-name {
    font-size: 15px;
    font-weight: 700;
}
.chat-area-header .chat-partner-status {
    font-size: 12px;
    color: var(--text-muted);
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.message {
    max-width: 65%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}
.message.sent {
    align-self: flex-end;
    background: var(--secondary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.message.received {
    align-self: flex-start;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.message .msg-time {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
    text-align: right;
}
.message.received .msg-time {
    color: var(--text-muted);
}
.message-date {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
}
.chat-input-area {
    padding: 16px 28px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-input-area input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--bg);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.chat-input-area input:focus {
    border-color: var(--secondary);
}
.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.send-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* ═══════ PROFILE PAGE ═══════ */
.profile-hero {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.profile-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* ═══════ MATCHES ROW ═══════ */
.matches-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.match-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.match-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    padding: 2px;
}
.match-avatar span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ═══════ STAT CARDS (Admin) ═══════ */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s;
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.stat-card .stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}
.stat-card .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    margin-left: 8px;
}
.stat-card .stat-change.negative { color: #ef4444; }
.stat-card .stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-top: 16px;
    height: 48px;
}
.stat-card .stat-chart .bar {
    flex: 1;
    background: rgba(255, 217, 61, 0.3);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}

/* ═══════ TABLES (Admin) ═══════ */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 16px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.data-table tr:hover td {
    background: rgba(0, 31, 63, 0.02);
}
.data-table .user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.data-table .user-cell img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

/* Status badges */
.status { 
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}
.status-pending {
    background: rgba(255, 217, 61, 0.15);
    color: #b8860b;
}
.status-suspended {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}
.status-verified {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

/* ═══════ FORM INPUTS ═══════ */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    outline: none;
    transition: all 0.2s;
}
.form-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 31, 63, 0.06);
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

/* ═══════ SEARCH BAR ═══════ */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    max-width: 320px;
    width: 100%;
    transition: border-color 0.2s;
}
.search-bar:focus-within {
    border-color: var(--secondary);
}
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    color: var(--text);
}
.search-bar .material-symbols-outlined {
    color: var(--text-muted);
    font-size: 20px;
}

/* ═══════ EMPTY STATES ═══════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state .emoji {
    font-size: 48px;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ═══════ UTILITIES ═══════ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-10 { padding-left: 40px; padding-right: 40px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.flex-1 { flex: 1; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 14px; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════ SCROLLBAR ═══════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .chat-sidebar { width: 100%; }
    .discover-grid { grid-template-columns: repeat(2, 1fr); }
}
