@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&display=swap');

:root {
  --electric: #FF4F00;
  --electric-light: #FF6B2B;
  --deep: #FFFFFF;
  --surface: #F8F7FF;
  --card: #FFFFFF;
  --border: #E8E6F0;
  --border-soft: #F0EEF8;
  --text: #1A1635;
  --text-mid: #3A3558;
  --muted: #6B6785;
  --grad: linear-gradient(135deg, #FF4F00 0%, #FF8C42 100%);
  --grad-soft: linear-gradient(135deg, #FFF4F0 0%, #FFF8F4 100%);
  --shadow-sm: 0 1px 4px rgba(26,22,53,0.07);
  --shadow-md: 0 4px 16px rgba(26,22,53,0.10);
  --shadow-lg: 0 12px 40px rgba(26,22,53,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--surface); color: var(--text); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #D0CDE8; }

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
main { min-height: 100vh; }

/* Navbar */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.3s; background: transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo span { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: -0.03em; }
.logo-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: white; font-family: 'Space Grotesk',sans-serif; }
.nav-links { display: flex; gap: 4px; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-icon-btn { position: relative; background: none; border: none; cursor: pointer; font-size: 18px; padding: 6px 8px; border-radius: 8px; color: var(--muted); transition: color 0.2s; }
.nav-icon-btn:hover { color: var(--text); background: var(--border-soft); }
.badge-dot { position: absolute; top: -1px; right: -1px; background: var(--electric); color: white; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; background: white; border: 1.5px solid var(--border); border-radius: 100px; padding: 5px 14px 5px 6px; cursor: pointer; color: var(--text); transition: all 0.2s; box-shadow: var(--shadow-sm); }
.user-btn:hover { border-color: var(--electric); box-shadow: 0 2px 10px rgba(255,79,0,0.12); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; }
.dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 210px; background: white; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); display: none; }
.dropdown.open { display: block; }
.dropdown a { display: block; padding: 11px 16px; font-size: 13px; color: var(--text-mid); transition: all 0.15s; border-bottom: 1px solid var(--border-soft); font-weight: 500; }
.dropdown a:hover { color: var(--electric); background: #FFF4F0; }
.dropdown a:last-child { border-bottom: none; }

.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }
.mobile-nav { display: none; background: white; border-top: 1px solid var(--border); padding: 16px 20px 24px; flex-direction: column; gap: 2px; box-shadow: 0 8px 32px rgba(26,22,53,0.12); position: absolute; width: 100%; left: 0; top: 68px; z-index: 998; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 8px; color: var(--text-mid); font-size: 15px; border-bottom: 1px solid #F5F3FF; font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 10px; border-radius: 8px; transition: background 0.15s; }
.mobile-nav a:hover { background: #FFF9F7; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .btn-ghost { display: none; }
  /* Hide desktop nav-right items — everything moves to hamburger menu */
  .nav-right .nav-icon-btn { display: none !important; }
  .nav-right .user-menu { display: none !important; }
  .nav-right .btn-primary { display: none !important; }
  /* General mobile spacing */
  .container { padding-left: 16px; padding-right: 16px; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .stat-val { font-size: 22px; }
  .chat-wrap { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }
}

/* Swipeable pill row on mobile */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 768px) {
  .pill-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    gap: 8px;
  }
  .pill-row::-webkit-scrollbar { display: none; }
  .pill-row > * { flex-shrink: 0; scroll-snap-align: start; }
}

/* Swipeable card row on mobile */
.swipe-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 768px) {
  .swipe-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .swipe-row::-webkit-scrollbar { display: none; }
  .swipe-row > * {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 10px; background: var(--grad); color: white; font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all 0.2s; text-decoration: none; box-shadow: 0 2px 10px rgba(255,79,0,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,79,0,0.35); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary.lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 21px; border-radius: 10px; background: white; color: var(--text); font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 14px; border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s; text-decoration: none; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--electric); color: var(--electric); box-shadow: 0 2px 10px rgba(255,79,0,0.12); }
.btn-ghost { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-mid); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.btn-ghost:hover { color: var(--text); }
.btn-danger { background: #FFF0F0; border: 1.5px solid #FECDD3; color: #DC2626; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-danger:hover { background: #FEE2E2; }
.btn-success { background: #F0FDF4; border: 1.5px solid #BBF7D0; color: #16A34A; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-success:hover { background: #DCFCE7; }

/* Cards */
.card { background: var(--card); border: 1.5px solid var(--border); border-radius: 16px; transition: all 0.25s; }
.card:hover { border-color: rgba(255,79,0,0.25); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }

/* Form inputs */
.form-group { margin-bottom: 20px; }
.form-label { display: block; color: var(--text-mid); font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.form-control { width: 100%; background: white; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 16px; color: var(--text); font-family: 'DM Sans',sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(255,79,0,0.08); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; line-height: 1.6; min-height: 100px; }
select.form-control { cursor: pointer; background-color: white; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-error { font-size: 12px; color: #DC2626; margin-top: 5px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; font-family: 'Space Grotesk',sans-serif; }
.badge-orange { background: #FFF4F0; color: #E84500; border: 1.5px solid #FFD4C2; }
.badge-green  { background: #F0FDF4; color: #15803D; border: 1.5px solid #BBF7D0; }
.badge-blue   { background: #EFF6FF; color: #1D4ED8; border: 1.5px solid #BFDBFE; }
.badge-volt   { background: #FEFCE8; color: #854D0E; border: 1.5px solid #FEF08A; }
.badge-yellow { background: #FFFBEB; color: #B45309; border: 1.5px solid #FDE68A; }
.badge-purple { background: #FAF5FF; color: #7E22CE; border: 1.5px solid #E9D5FF; }

/* Text utilities */
.text-gradient { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }

/* Background */
.mesh-bg {
  background-color: #FAFAFE;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,79,0,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99,102,241,0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,160,0,0.04) 0%, transparent 40%);
}
.grid-bg { background-image: linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px); background-size: 60px 60px; }

/* Alerts */
.alert { padding: 13px 18px; border-radius: 12px; font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-error   { background: #FFF0F0; border: 1.5px solid #FECDD3; color: #DC2626; }
.alert-success { background: #F0FDF4; border: 1.5px solid #BBF7D0; color: #15803D; }
.alert-info    { background: #EFF6FF; border: 1.5px solid #BFDBFE; color: #1D4ED8; }
.alert-warning { background: #FFFBEB; border: 1.5px solid #FDE68A; color: #B45309; }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 900px) { .grid-3,.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* Flex */
.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-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }

/* Spacing */
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}
.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}.mb-48{margin-bottom:48px}
.p-16{padding:16px}.p-20{padding:20px}.p-24{padding:24px}.p-32{padding:32px}

/* Section */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.section-sub { color: var(--text-mid); font-size: 17px; line-height: 1.7; }

/* Gig Card */
.gig-card { background: white; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.25s; box-shadow: var(--shadow-sm); }
.gig-card:hover { transform: translateY(-4px); border-color: rgba(255,79,0,0.3); box-shadow: 0 12px 32px rgba(255,79,0,0.12); }
.gig-thumb { height: 168px; background: linear-gradient(135deg, #FFF4F0, #F5F3FF); display: flex; align-items: center; justify-content: center; font-size: 44px; overflow: hidden; }
.gig-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gig-info { padding: 16px; }
.gig-creator { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.creator-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: white; flex-shrink: 0; }
.gig-title { font-weight: 600; font-size: 14px; color: var(--text); line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gig-meta { display: flex; align-items: center; justify-content: space-between; }
.gig-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.gig-rating .star { color: #F59E0B; }
.gig-price { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 15px; color: var(--electric); }

/* Creator card */
.creator-card { background: white; border: 1.5px solid var(--border); border-radius: 16px; padding: 24px; cursor: pointer; transition: all 0.25s; box-shadow: var(--shadow-sm); }
.creator-card:hover { transform: translateY(-3px); border-color: rgba(255,79,0,0.25); box-shadow: var(--shadow-md); }
.creator-avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: white; flex-shrink: 0; }
.stat-mini { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 10px; padding: 10px 8px; text-align: center; }
.stat-mini-val { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 16px; color: var(--electric); }
.stat-mini-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Stat card */
.stat-card { background: white; border: 1.5px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.stat-val { font-family: 'Space Grotesk',sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.stat-label { color: var(--muted); font-size: 13px; font-weight: 500; margin-top: 4px; }

/* Table */
.table-wrap { background: white; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.vtable { width: 100%; border-collapse: collapse; }
.vtable th { padding: 13px 20px; text-align: left; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--surface); border-bottom: 1.5px solid var(--border); }
.vtable td { padding: 13px 20px; font-size: 13px; border-bottom: 1px solid var(--border-soft); color: var(--text); vertical-align: middle; }
.vtable tr:last-child td { border-bottom: none; }
.vtable tr:hover td { background: #FAFAFE; }

/* Tabs */
.tabs { display: flex; background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 4px; gap: 0; }
.tab-btn { flex: 1; padding: 9px 14px; border-radius: 9px; border: none; cursor: pointer; font-size: 13px; font-weight: 600; font-family: 'Space Grotesk',sans-serif; background: transparent; color: var(--muted); transition: all 0.2s; }
.tab-btn.active { background: var(--grad); color: white; box-shadow: 0 2px 8px rgba(255,79,0,0.25); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,22,53,0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 24px; backdrop-filter: blur(4px); }
.modal { background: white; border: 1.5px solid var(--border); border-radius: 20px; padding: 32px; width: 100%; max-width: 500px; box-shadow: 0 30px 80px rgba(26,22,53,0.2); }
.modal-title { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 8px; }

/* Pills */
.tag-pill { display: inline-block; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; background: white; border: 1.5px solid var(--border); color: var(--text-mid); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.tag-pill:hover, .tag-pill.active { border-color: var(--electric); color: var(--electric); background: #FFF4F0; }

/* Empty state */
.empty-state { padding: 60px 20px; text-align: center; }
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-title { font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-text { color: var(--muted); font-size: 14px; }

/* Footer */
footer { background: #1A1635; color: #B8B4D0; padding: 60px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer-heading { color: white; font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #B8B4D0; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #7A76A0; font-size: 13px; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #F0EEF8 25%, #E8E6F0 50%, #F0EEF8 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 12px; }
@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* Search bar */
.search-bar { display: flex; background: white; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; padding: 5px; max-width: 640px; width: 100%; margin: 0 auto; box-shadow: var(--shadow-md); }
.search-bar input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); padding: 10px 16px; font-size: 15px; font-family: 'DM Sans',sans-serif; }
.search-bar input::placeholder { color: var(--muted); }
.search-bar button { background: var(--grad); border: none; border-radius: 10px; padding: 10px 22px; color: white; font-weight: 600; font-family: 'Space Grotesk',sans-serif; cursor: pointer; font-size: 14px; white-space: nowrap; box-shadow: 0 2px 8px rgba(255,79,0,0.25); }

/* Dashboard sidebar */
.sidebar { background: white; border-right: 1.5px solid var(--border); padding: 24px 0; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: 14px; font-weight: 500; color: var(--text-mid); transition: all 0.15s; cursor: pointer; text-decoration: none; }
.sidebar-link:hover { color: var(--electric); background: #FFF4F0; }
.sidebar-link.active { color: var(--electric); background: #FFF4F0; border-right: 3px solid var(--electric); font-weight: 600; }

/* Package tabs */
.pkg-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1.5px solid var(--border); background: var(--surface); }
.pkg-tab { padding: 13px 8px; font-size: 12px; font-weight: 700; font-family: 'Space Grotesk',sans-serif; text-align: center; border: none; background: transparent; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; transition: all 0.2s; text-transform: capitalize; }
.pkg-tab.active { color: var(--electric); border-bottom-color: var(--electric); background: white; }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 16px; }
.timeline-dot { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.dot.done { background: var(--grad); color: white; }
.dot.pending { background: var(--border); color: var(--muted); }
.dot-line { width: 2px; height: 28px; margin-top: 3px; }
.dot-line.done { background: rgba(255,79,0,0.25); }
.dot-line.pending { background: var(--border); }
.timeline-content { padding-bottom: 24px; }
.timeline-label { font-weight: 600; font-size: 14px; }
.timeline-date { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Chat */
.chat-layout { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 68px); }
.chat-sidebar { background: white; border-right: 1.5px solid var(--border); overflow-y: auto; }
.chat-item { padding: 15px 20px; cursor: pointer; border-bottom: 1px solid var(--border-soft); transition: background 0.15s; }
.chat-item:hover, .chat-item.active { background: #FFF4F0; }
.chat-area { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }
.chat-header { padding: 16px 24px; border-bottom: 1.5px solid var(--border); background: white; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.chat-input-area { padding: 14px 24px; border-top: 1.5px solid var(--border); background: white; display: flex; gap: 12px; }
.msg-bubble { max-width: 70%; padding: 10px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg-own { background: var(--grad); color: white; border-radius: 16px 16px 4px 16px; align-self: flex-end; box-shadow: 0 2px 8px rgba(255,79,0,0.2); }
.msg-other { background: white; border: 1.5px solid var(--border); color: var(--text); border-radius: 16px 16px 16px 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg-time { font-size: 10px; opacity: 0.6; margin-top: 4px; }

/* Marquee */
.marquee-outer { overflow: hidden; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 8px 0; }
.marquee-item { padding: 6px 32px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; border-right: 1px solid var(--border-soft); }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-25%)} }

/* Hero dots decoration */
.hero-dot { position: absolute; border-radius: 50%; pointer-events: none; }

/* Divider */
hr.v-divider { border: none; border-top: 1.5px solid var(--border); margin: 20px 0; }

/* Page header bar */
.page-header { padding-top: 88px; padding-bottom: 28px; background: white; border-bottom: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }

@media (max-width: 768px) { .mobile-hide { display: none !important; } }

/* ============================================
   MOBILE FIXES — comprehensive
   ============================================ */
@media (max-width: 768px) {
  /* Prevent any horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { max-width: 100%; }

  /* Nav — hide everything except logo + hamburger */
  .nav-links, .btn-ghost, .nav-icon-btn,
  .user-menu, .nav-right .btn-primary,
  .nav-right .mobile-hide { display: none !important; }
  .hamburger { display: block !important; }
  .nav-right { gap: 6px; }

  /* Container padding */
  .container { padding-left: 16px !important; padding-right: 16px !important; }

  /* Hero section — keep top padding for navbar clearance */
  section { padding-bottom: 40px !important; }
  section:first-of-type { padding-top: 100px !important; }
  .search-bar { margin: 0 !important; }
  .search-bar input { font-size: 13px !important; padding: 8px 10px !important; }
  .search-bar button { padding: 8px 14px !important; font-size: 13px !important; }

  /* Swipeable pills */
  .pill-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 8px !important;
  }
  .pill-row::-webkit-scrollbar { display: none; }
  .pill-row > * { flex-shrink: 0 !important; }

  /* Swipeable card rows */
  .swipe-row {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .swipe-row::-webkit-scrollbar { display: none; }
  .swipe-row > a, .swipe-row > div {
    flex: 0 0 72vw !important;
    max-width: 260px !important;
    scroll-snap-align: start;
  }

  /* Cards */
  .gig-card, .gig-card-pro { border-radius: 12px; }
  .stat-val { font-size: 20px !important; }
  .section-title { font-size: 1.6rem !important; }

  /* Stats row */
  .stats-row { gap: 12px !important; }

  /* Hide sections that overflow on mobile */
  .hero-dot { display: none !important; }
}

/* Hero top padding on mobile — must clear 68px navbar */
@media (max-width: 768px) {
  .hero-section { padding-top: 100px !important; padding-bottom: 50px !important; }
}

/* ── Creators page search bar ─────────────────── */
.creator-search-bar {
  display: flex;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(26,22,53,0.08);
  position: relative;
}
.csb-input {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 16px;
  gap: 10px;
  min-width: 0;
}
.csb-divider {
  width: 1.5px;
  background: var(--border);
  flex-shrink: 0;
  margin: 10px 0;
}
.csb-drop-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.csb-submit {
  flex-shrink: 0;
  margin: 6px;
  padding: 0 22px;
  background: var(--grad);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .creator-search-bar {
    flex-direction: column;
    border-radius: 14px;
    overflow: visible;
    position: relative;
  }
  .creator-search-bar > div[style*="position:relative"] {
    position: static !important;
  }
  /* Dropdowns full width on mobile */
  #plat-drop, #niche-drop, #cat-drop, #sort-drop {
    position: absolute !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    border-radius: 0 0 14px 14px !important;
    margin-top: 0;
    box-shadow: 0 8px 24px rgba(26,22,53,0.12) !important;
    z-index: 300 !important;
  }
  .csb-input {
    padding: 4px 14px;
    border-bottom: 1.5px solid var(--border);
  }
  .csb-input input { padding: 12px 0; }
  .csb-divider { display: none; }
  .csb-drop-btn {
    width: 100%;
    padding: 13px 14px;
    border-bottom: 1.5px solid var(--border);
    justify-content: space-between;
    height: auto;
  }
  .csb-submit {
    margin: 10px;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
  }
}

/* ── Explore page search form ─────────────────── */
.explore-search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.explore-search-input { width: 200px; }
.explore-search-select { width: 150px; }

@media (max-width: 768px) {
  .explore-search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
  }
  .explore-search-input,
  .explore-search-select { width: 100% !important; }
  .explore-search-form .btn-primary { width: 100%; padding: 12px; text-align: center; }
  .explore-search-form a { width: 100%; text-align: center; display: block; }
}

/* ── Single column cards on mobile ────────────── */
@media (max-width: 768px) {
  /* Creators page */
  .creators-grid { grid-template-columns: 1fr !important; }
  /* Explore page */
  .gigs-grid { grid-template-columns: 1fr !important; }
}

/* ── Gig + Profile page mobile layouts ──────── */
@media (max-width: 768px) {
  .gig-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .gig-layout > div:last-child {
    position: static !important;
    top: auto !important;
  }
  .profile-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .profile-layout > div:last-child {
    position: static !important;
  }
}

/* ── Profile sidebar + gig banner mobile ─────── */
@media (max-width: 768px) {
  .profile-sidebar {
    position: static !important;
    top: auto !important;
  }
  /* Profile hero banner full height on mobile */
  .profile-hero { height: 200px !important; }
  /* Gig banner full width no crop */
  .gig-layout img { max-height: none !important; }
}

/* ── Profile page full mobile fix ───────────── */
@media (max-width: 768px) {
  /* Stats 4-col → 2x2 grid */
  .profile-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Profile tabs wrap */
  .profile-tabs-nav {
    overflow-x: auto;
    white-space: nowrap;
  }
  /* Sidebar stacks below */
  .profile-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .profile-sidebar {
    position: static !important;
    top: auto !important;
  }
  /* Niches/platforms grid */
  .profile-meta-grid {
    grid-template-columns: 1fr !important;
  }
  /* Portfolio 4-col → 2-col */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Why Virally + Trusted sections mobile ── */
@media (max-width: 768px) {
  .why-grid  { grid-template-columns: 1fr !important; }
  .trust-bar { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── Why Virally 2-col + Trust dark section mobile ── */
@media (max-width: 768px) {
  .why-grid  { grid-template-columns: 1fr !important; gap: 40px !important; }
  .trust-bar { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── Trending content grid mobile ─────────── */
@media (max-width: 768px) {
  #content-grid {
    grid-template-columns: repeat(2,1fr) !important;
    gap: 10px !important;
  }
  #content-grid > a:last-child {
    display: none !important;
  }
}

/* ── FAQ + CTA split section mobile ─────── */
@media (max-width: 768px) {
  .faq-cta-section {
    grid-template-columns: 1fr !important;
  }
  .faq-cta-section > div:first-child {
    padding: 48px 24px !important;
  }
  .faq-cta-section > div:last-child {
    padding: 48px 24px !important;
  }
}

/* ── FAQ section mobile ──────────────────── */
@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .faq-layout > div:first-child {
    position: static !important;
  }
}

/* ── FAQ inside CTA mobile ───────────────── */
@media (max-width: 768px) {
  .faq-cta-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) { .hide-mobile { display: none !important; } }

/* ── Tool pages mobile ───────────────────── */
@media (max-width: 768px) {
  .tool-input-grid { grid-template-columns: 1fr !important; }
  .tools-index-grid { grid-template-columns: 1fr !important; }
}
