/* ============================================
   DATING SITE - ROMANTIC THEME
   Red, hearts, modern, inviting
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #f1948a;
    --primary-glow: rgba(231, 76, 60, 0.15);
    --secondary: #2c3e50;
    --secondary-light: #34495e;
    --accent: #e91e63;
    --accent-light: #f48fb1;
    
    --heart-red: #e74c3c;
    --heart-blue: #3498db;
    
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    
    --bg: #fafafa;
    --bg-card: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-nav: #ffffff;
    
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #bdc3c7;
    --text-white: #ffffff;
    
    --border: #ecf0f1;
    --border-light: #f5f5f5;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-glow: 0 4px 20px rgba(231,76,60,0.2);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --nav-height: 70px;
    --max-width: 1200px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

/* ---- NAVIGATION ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.95);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo .heart-icon {
    font-size: 1.3rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-link .icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
}

/* ---- MAIN CONTENT ---- */
.main {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    padding: 24px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.main.full-width {
    max-width: 100%;
    padding: 0;
}

/* ---- CARDS ---- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-body {
    padding: 20px;
}

/* ---- PROFILE CARDS (grid) ---- */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.profile-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--border-light);
}

.profile-card-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--border-light), var(--border));
}

.profile-card-info {
    padding: 14px 16px;
}

.profile-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-card-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.heart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
}

.heart-badge.seeking {
    color: var(--heart-red);
}

.heart-badge.not-seeking {
    color: var(--heart-blue);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(231,76,60,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
    color: white;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
}

.btn-ghost:hover {
    background: var(--border-light);
    color: var(--text);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

.btn-like {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-glow);
    color: var(--primary);
    border: none;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-like:hover, .btn-like.liked {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

/* ---- FORMS ---- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--bg-card);
    transition: var(--transition);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- MATCH POPUP ---- */
.match-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.match-popup {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    color: white;
    max-width: 400px;
    width: 90%;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.match-popup h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    margin-bottom: 8px;
}

.match-hearts {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: heartbeat 1s ease-in-out infinite;
}

.match-popup .match-users {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 24px 0;
}

.match-popup .match-user-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ---- MESSAGES ---- */
.messages-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
}

.conversations-list {
    border-right: 1px solid var(--border);
    overflow-y: auto;
    background: var(--bg-card);
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
}

.conversation-item:hover, .conversation-item.active {
    background: var(--primary-glow);
}

.conversation-item.unread {
    background: rgba(231, 76, 60, 0.05);
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-name {
    font-weight: 600;
    font-size: 14px;
}

.conversation-preview {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.chat-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 0.2s ease;
}

.message.mine {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.theirs {
    align-self: flex-start;
    background: var(--border-light);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.message.system {
    align-self: center;
    background: var(--border-light);
    color: var(--text-light);
    font-size: 13px;
    font-style: italic;
    border-radius: var(--radius);
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.chat-input-area {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    resize: none;
    max-height: 120px;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ---- LANDING PAGE ---- */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 50%, #ffd6d6 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '❤️';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: -40px;
    right: -40px;
    transform: rotate(15deg);
}

.hero-content {
    max-width: 640px;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- SECTIONS ---- */
.section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- FILTERS BAR ---- */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 20px;
}

.filter-select {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 13px;
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* ---- PROFILE PAGE ---- */
.profile-header {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.profile-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    width: 400px;
    flex-shrink: 0;
}

.profile-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.profile-gallery img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 4/3;
}

.profile-details {
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.profile-age {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
}

.profile-location {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-bio {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 14px;
    background: var(--border-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.profile-actions {
    display: flex;
    gap: 12px;
}

/* ---- NOTIFICATIONS / ALERTS ---- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ---- TOAST NOTIFICATIONS ---- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: var(--secondary);
    color: white;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    max-width: 360px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ---- ADMIN PANEL ---- */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - var(--nav-height));
}

.admin-sidebar {
    background: var(--secondary);
    padding: 24px 0;
    color: white;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.admin-sidebar-link:hover, .admin-sidebar-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-content {
    padding: 32px;
    overflow-y: auto;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.admin-table th {
    background: var(--border-light);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.admin-table tr:hover {
    background: var(--primary-glow);
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-active { background: #d4edda; color: #155724; }
.badge-suspended { background: #fff3cd; color: #856404; }
.badge-banned { background: #f8d7da; color: #721c24; }
.badge-pending { background: #d1ecf1; color: #0c5460; }
.badge-deleted { background: #e2e3e5; color: #383d41; }

/* ---- LOADING & EMPTY STATES ---- */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* ---- MODAL ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: popIn 0.3s ease;
}

.modal h3 {
    margin-bottom: 20px;
}

/* ---- COOKIE CONSENT ---- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 10001;
    font-size: 14px;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ---- FOOTER ---- */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 40px 24px;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: white;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.hidden { display: none !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        border-top: 1px solid var(--border);
        justify-content: space-around;
        padding: 8px 0;
        z-index: 1000;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .nav-link .icon {
        font-size: 20px;
    }
    
    .main {
        padding: 16px;
        padding-bottom: 80px; /* Space for bottom nav */
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .profile-header {
        flex-direction: column;
    }
    
    .profile-gallery {
        width: 100%;
    }
    
    .messages-layout {
        grid-template-columns: 1fr;
    }
    
    .conversations-list.hidden-mobile {
        display: none;
    }
    
    .chat-area.hidden-mobile {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 1.8rem; }
}
