:root {
  --primary: #B39A72;
  --secondary: #C7A86A;
  --accent: #C7A86A;
  --accent-purple: #B39A72;
  --bg: #F7F4EE;
  --card-bg: #FFFFFF;
  --text: #2E3138;
  --text-muted: #4A4A4A;
  --border: #E2E0DA;
  --nav-bg: #B39A72;
  --nav-hover: #F7F4EE;
  --online: #10B981;
  --offline: #CBD5E1;
  --verified: #C7A86A;
  --premium: #C7A86A;
  --gold-hover: #B08B4F;
  --dark: #2E3138;
  --ivory: #F7F4EE;
}

* { box-sizing: border-box; }

html { font-size: 14px; position: relative; min-height: 100%; }

@media (min-width: 768px) { html { font-size: 16px; } }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-muted);
  font-family: 'Inter', 'Segoe UI', 'Poppins', sans-serif;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 { color: var(--text); }
p { color: var(--text-muted); }

/* ===== NAVBAR ===== */
.navbar-tta {
  background: var(--nav-bg);
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.navbar-tta .navbar-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-tta .navbar-brand .logo-icon { color: var(--secondary); }
.navbar-tta .navbar-brand img { vertical-align: middle; }
.navbar-tta .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all .2s;
}
.navbar-tta .nav-link:hover { color: var(--nav-hover) !important; background: rgba(255,255,255,.12); }
.navbar-tta .nav-link.active { color: #fff !important; background: rgba(255,255,255,.12); }

/* ===== BUTTONS ===== */
.btn-primary-tta { background: var(--secondary); color: #fff; border: none; padding: .625rem 1.5rem; border-radius: 10px; font-weight: 600; transition: all .2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-primary-tta:hover { background: var(--gold-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(199,168,106,.35); }

.btn-interest { background: var(--primary); color: #fff; border: none; padding: .625rem 1.5rem; border-radius: 10px; font-weight: 600; transition: all .2s; }
.btn-interest:hover { background: #9A8460; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(179,154,114,.35); }

.btn-success-tta { background: var(--secondary); color: #fff; border: none; padding: .625rem 1.5rem; border-radius: 10px; font-weight: 600; transition: all .2s; }
.btn-success-tta:hover { background: var(--gold-hover); color: #fff; }

.btn-secondary-tta { background: #F1F5F9; color: #334155; border: 1px solid var(--border); padding: .625rem 1.5rem; border-radius: 10px; font-weight: 600; transition: all .2s; }
.btn-secondary-tta:hover { background: #E2E8F0; color: #334155; }

.btn-outline-tta { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); padding: .5rem 1.25rem; border-radius: 10px; font-weight: 600; transition: all .2s; }
.btn-outline-tta:hover { background: var(--secondary); color: #fff; }

/* ===== CARDS ===== */
.card-tta {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  padding: 24px;
  border: none;
  transition: all .3s;
}
.card-tta:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero-gradient {
  background: linear-gradient(135deg, rgba(46,49,56,0.55) 0%, rgba(107,91,69,0.50) 50%, rgba(46,49,56,0.65) 100%),
              url('https://images.unsplash.com/photo-1742134517713-63b4455d5f7b?fm=jpg&q=80&w=1600') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.hero-gradient h1 { color: #fff !important; font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.3); }
.hero-gradient p { color: #fff !important; font-size: 1.15rem; opacity: .98; max-width: 600px; margin: 0 auto 2rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); font-weight: 500; }
.hero-gradient h2 { color: #fff !important; }
.hero-content-box {
  background: rgba(30,33,40,0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  padding: 40px 28px;
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===== DASHBOARD STAT CARDS ===== */
.stat-card {
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-icon { font-size: 2.5rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: .85rem; opacity: .9; }
.stat-blue { background: linear-gradient(135deg, #B39A72, #9A8460); }
.stat-pink { background: linear-gradient(135deg, #C7A86A, #B08B4F); }
.stat-purple { background: linear-gradient(135deg, #8B7355, #6B5B45); }
.stat-cyan { background: linear-gradient(135deg, #C7A86A, #9A8460); }
.stat-green { background: linear-gradient(135deg, #B39A72, #8B7355); }
.stat-amber { background: linear-gradient(135deg, #C7A86A, #B08B4F); }

/* ===== MATCH PROFILE CARD ===== */
.match-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: all .3s;
  border: none;
}
.match-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); transform: translateY(-4px); }
.match-card .match-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #E2E8F0;
}
.match-card .match-info { padding: 16px; }
.match-card .match-name { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.match-card .match-meta { font-size: .875rem; color: #64748B; margin-bottom: 8px; }
.match-card .match-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 700;
}

/* ===== STATUS BADGES ===== */
.badge-online { background: var(--online); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: .75rem; }
.badge-offline { background: var(--offline); color: #475569; padding: 3px 10px; border-radius: 20px; font-size: .75rem; }
.badge-verified { background: var(--verified); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: .75rem; }
.badge-premium { background: var(--premium); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: .75rem; }

/* ===== COMPATIBILITY RING ===== */
.compatibility-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
}
.compat-high { background: var(--accent); }
.compat-medium { background: var(--premium); }
.compat-low { background: #94a3b8; }

/* ===== FORMS ===== */
.form-tta { margin-bottom: 1.5rem; }
.form-tta label { font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; font-size: .9rem; }
.form-tta .form-control, .form-tta .form-select {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: .625rem .875rem;
  font-size: .95rem;
  transition: all .2s;
}
.form-tta .form-control:focus, .form-tta .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(199,168,106,.15);
  outline: none;
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== CHAT ===== */
.chat-container { display: flex; flex-direction: column; height: calc(100vh - 200px); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: #F1F5F9; border-radius: 12px; }
.chat-message { margin-bottom: 12px; max-width: 70%; }
.chat-message.sent { margin-left: auto; }
.chat-message .msg-bubble { padding: 10px 16px; border-radius: 16px; font-size: .95rem; }
.chat-message.sent .msg-bubble { background: var(--secondary); color: #fff; border-bottom-right-radius: 4px; }
.chat-message.received .msg-bubble { background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.chat-input-area { padding: 16px 0; display: flex; gap: 10px; }

/* ===== INTEREST STATUS ===== */
.interest-pending { background: #FEF3C7; color: #92400E; padding: 4px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.interest-accepted { background: #D1FAE5; color: #065F46; padding: 4px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.interest-declined { background: #FEE2E2; color: #991B1B; padding: 4px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; }

/* ===== NOTIFICATION ===== */
.notification-item { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: center; transition: background .2s; }
.notification-item:hover { background: #F1F5F9; }
.notification-item.unread { background: #FDF9F3; }
.notification-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }

/* ===== PROFILE VIEW ===== */
.profile-header {
  background: linear-gradient(135deg, #B39A72 0%, #C7A86A 100%);
  color: #fff;
  padding: 40px 0;
  border-radius: 0 0 24px 24px;
}
.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.gallery-thumb { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: transform .2s; }
.gallery-thumb:hover { transform: scale(1.03); }

/* ===== SUBSCRIPTION PLANS ===== */
.plan-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  background: #fff;
  border: 1px solid #E2E0DA;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.plan-card .plan-header {
  padding: 32px 24px 28px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.plan-card .plan-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.plan-card .plan-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 12px;
  backdrop-filter: blur(4px);
}
.plan-card .plan-header h4 {
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: .02em;
}
.plan-card .plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.plan-card .plan-price small {
  font-size: 1rem;
  font-weight: 500;
  opacity: .8;
}
.plan-card .plan-body {
  padding: 24px 24px 28px;
  background: #fff;
}
.plan-card .plan-desc {
  font-size: .85rem;
  color: #64748B;
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #F1F5F9;
}
.plan-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.plan-card .plan-features li {
  padding: 7px 0;
  font-size: .875rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-card .plan-features li .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  margin-top: 1px;
}

/* Plan-specific colors */
.plan-free .plan-header { background: linear-gradient(135deg, #64748B 0%, #475569 100%); }
.plan-free .check-icon { background: #E2E8F0; color: #475569; }

.plan-public .plan-header { background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%); }
.plan-public .check-icon { background: #E2E8F0; color: #475569; }

.plan-private .plan-header { background: linear-gradient(135deg, #C7A86A 0%, #B08B4F 100%); }
.plan-private .check-icon { background: #FDF3E0; color: #B08B4F; }

.plan-vip .plan-header { background: linear-gradient(135deg, #2E3138 0%, #1a1c20 100%); }
.plan-vip .check-icon { background: #E8E8E8; color: #2E3138; }

/* Featured (most popular) */
.plan-featured {
  border: 2px solid #C7A86A;
  box-shadow: 0 8px 36px rgba(199,168,106,.2);
}
.plan-featured:hover {
  box-shadow: 0 20px 50px rgba(199,168,106,.25);
}
.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #C7A86A, #B08B4F);
  color: #fff;
  padding: 6px 24px;
  border-radius: 0 0 12px 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(199,168,106,.3);
}

/* Current plan */
.plan-current { border-color: #10B981; }
.plan-current .plan-current-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10B981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  z-index: 2;
}

/* Billing toggle */
.billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #E2E0DA;
}
.billing-toggle-wrap .switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.billing-toggle-wrap .switch input { opacity: 0; width: 0; height: 0; }
.billing-toggle-wrap .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #CBD5E1;
  transition: .3s;
}
.billing-toggle-wrap .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: .3s;
  border-radius: 50%;
}
.billing-toggle-wrap .switch input:checked + .slider { background: var(--secondary); }
.billing-toggle-wrap .switch input:checked + .slider:before { transform: translateX(24px); }
.billing-toggle-wrap .slider.round { border-radius: 26px; }

/* Active sub banner */
.active-sub-banner {
  background: linear-gradient(135deg, #FDF9F3 0%, #FFFDF8 100%);
  border: 2px solid #C7A86A;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== FOOTER ===== */
.footer-tta { background: var(--dark); color: rgba(255,255,255,.7); padding: 30px 0; margin-top: 60px; }
.footer-tta a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-tta a:hover { color: #fff; }

/* ===== MISC ===== */
.text-primary-tta { color: var(--primary) !important; }
.text-secondary-tta { color: var(--secondary) !important; }
.text-accent-tta { color: var(--accent) !important; }
.bg-primary-tta { background: var(--primary) !important; }
.bg-secondary-tta { background: var(--secondary) !important; }
.rounded-tta { border-radius: 18px !important; }
.shadow-tta { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.cursor-pointer { cursor: pointer; }
.no-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E2E8F0;
  color: #94a3b8;
  font-size: 3rem;
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.filter-sidebar h5 { font-weight: 700; margin-bottom: 1rem; color: var(--text); }

/* ===== ADMIN ===== */
.admin-sidebar { background: var(--dark); min-height: calc(100vh - 60px); padding: 20px 0; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.8); padding: 10px 16px; border-radius: 8px; margin: 2px 8px; font-size: .9rem; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-content { padding: 24px; }
.stat-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid #E2E8F0; background: #fff; transition: transform .15s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.stat-card .stat-icon { font-size: 1.8rem; line-height: 1; }
.stat-card .stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: .75rem; color: #64748B; text-transform: uppercase; letter-spacing: .03em; }
.stat-blue { background: #FDF9F3; border-color: #E8D5B7; }
.stat-blue .stat-value, .stat-blue .stat-icon { color: #B39A72; }
.stat-green { background: #FDF9F3; border-color: #E8D5B7; }
.stat-green .stat-value, .stat-green .stat-icon { color: #C7A86A; }
.stat-amber { background: #FDF9F3; border-color: #E8D5B7; }
.stat-amber .stat-value, .stat-amber .stat-icon { color: #B08B4F; }
.stat-pink { background: #FDF9F3; border-color: #E8D5B7; }
.stat-pink .stat-value, .stat-pink .stat-icon { color: #C7A86A; }
.stat-purple { background: #FDF9F3; border-color: #E8D5B7; }
.stat-purple .stat-value, .stat-purple .stat-icon { color: #8B7355; }
.stat-cyan { background: #FDF9F3; border-color: #E8D5B7; }
.stat-cyan .stat-value, .stat-cyan .stat-icon { color: #B39A72; }
.stat-red { background: #FEE2E2; border-color: #FECACA; }
.stat-red .stat-value, .stat-red .stat-icon { color: #EF4444; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ===== TIMELINE ===== */
.timeline-tta { position: relative; padding-left: 8px; }
.timeline-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: -8px; width: 2px; background: #E2E8F0; }
.timeline-item.completed:not(:last-child)::before { background: var(--accent); }
.timeline-item.current:not(:last-child)::before { background: linear-gradient(180deg, var(--secondary), #E2E8F0); }
.timeline-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; z-index: 1; }
.timeline-item.completed .timeline-dot { background: var(--accent); color: #fff; }
.timeline-item.current .timeline-dot { background: var(--secondary); color: #fff; box-shadow: 0 0 0 4px rgba(199,168,106,.25); }
.timeline-item.pending .timeline-dot { background: #E2E8F0; color: #94a3b8; }
.timeline-content { padding-top: 4px; }
.timeline-item.pending .timeline-content { opacity: .5; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* ===== HOMEPAGE ===== */
.feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-it-works-card { position: relative; overflow: hidden; }
.how-it-works-card .step-number {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 4rem;
  font-weight: 800;
  color: #F1F5F9;
  line-height: 1;
  z-index: 0;
}
.how-it-works-card > * { position: relative; z-index: 1; }
.why-choose-card { border-top: 3px solid transparent; transition: all .3s; }
.why-choose-card:hover { border-top-color: var(--secondary); }
.match-tag {
  display: inline-block;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.match-badge svg { vertical-align: -1px; margin-right: 2px; }
.no-photo-placeholder svg { opacity: .4; }

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.hero-main { padding: 100px 0; }

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  border-top: 1px solid #E2E0DA;
}
.mobile-bottom-nav .bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #64748B;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 10px;
  transition: color .2s;
  flex: 1;
  text-align: center;
}
.mobile-bottom-nav .bottom-nav-item:hover,
.mobile-bottom-nav .bottom-nav-item.active {
  color: var(--primary);
}

/* ===== MOBILE RESPONSIVE OVERRIDES ===== */
@media (max-width: 991.98px) {
  /* Body padding for bottom nav */
  body { padding-bottom: 64px; }

  /* Navbar mobile improvements */
  .navbar-tta .navbar-collapse {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 12px 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }
  .navbar-tta .navbar-nav { flex-direction: column; gap: 2px; }
  .navbar-tta .nav-link {
    padding: 12px 16px !important;
    border-radius: 10px;
    font-size: 1rem;
  }
  .navbar-tta .dropdown-menu {
    background: rgba(255,255,255,.1);
    border: none;
    padding: 4px 0;
    margin: 4px 0 8px 16px;
  }
  .navbar-tta .dropdown-item {
    color: rgba(255,255,255,.85);
    padding: 10px 16px;
    border-radius: 8px;
  }
  .navbar-tta .dropdown-item:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
  }
  .navbar-tta .navbar-toggler {
    border: 1px solid rgba(255,255,255,.3);
    padding: 6px 10px;
  }
  .navbar-tta .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Container tighter on mobile */
  .container { padding-left: 12px; padding-right: 12px; }

  /* Hero responsive */
  .hero-gradient { padding: 60px 0 !important; }
  .hero-gradient h1 { font-size: 1.75rem !important; }
  .hero-gradient p { font-size: 1rem !important; }
  .hero-gradient .btn-lg { padding: 10px 24px !important; font-size: .95rem !important; }
  .hero-content-box { padding: 32px 20px !important; border-radius: 18px !important; }

  /* Dashboard stat cards - 2 columns on mobile */
  .stat-card { padding: 14px !important; gap: 10px !important; }
  .stat-card .stat-icon { font-size: 1.5rem !important; }
  .stat-card .stat-value { font-size: 1.35rem !important; }
  .stat-card .stat-label { font-size: .72rem !important; }

  /* Match cards - horizontal scroll on mobile */
  .match-card .match-photo { height: 220px !important; }

  /* Cards less padding on mobile */
  .card-tta { padding: 16px !important; border-radius: 14px !important; }

  /* Section titles smaller */
  .section-title { font-size: 1.2rem !important; }

  /* Chat responsive */
  .chat-container { height: calc(100vh - 180px) !important; }
  .chat-message { max-width: 85% !important; }

  /* Profile header */
  .profile-header { padding: 24px 0 !important; }
  .profile-avatar { width: 100px !important; height: 100px !important; }

  /* Footer */
  .footer-tta { padding: 20px 0 !important; margin-top: 30px !important; }
  .footer-tta .col-md-4 { margin-bottom: 16px; }

  /* Plan cards */
  .plan-card .plan-price { font-size: 2rem !important; }
  .plan-card .plan-header { padding: 24px 16px 20px !important; }
  .plan-card .plan-body { padding: 16px !important; }

  /* Filter sidebar */
  .filter-sidebar { padding: 16px !important; }

  /* Admin sidebar */
  .admin-sidebar { min-height: auto !important; }

  /* Buttons touch-friendly */
  .btn-primary-tta, .btn-interest, .btn-success-tta, .btn-secondary-tta, .btn-outline-tta {
    padding: .6rem 1.25rem;
    font-size: .9rem;
  }

  /* Featured profile stack */
  #profile-stack { min-height: 480px !important; }

  /* Gallery thumbs */
  .gallery-thumb { height: 90px !important; }

  /* Timeline */
  .timeline-content { padding-top: 2px; }
  .timeline-dot { width: 28px !important; height: 28px !important; font-size: .65rem !important; }
}

@media (max-width: 575.98px) {
  /* Extra small screens */
  .hero-gradient { padding: 48px 0 !important; }
  .hero-gradient h1 { font-size: 1.5rem !important; }
  .hero-gradient p { font-size: .9rem !important; margin-bottom: 1.5rem !important; }
  .hero-content-box { padding: 24px 16px !important; }

  /* Dashboard welcome */
  .mb-4 h2 { font-size: 1.3rem !important; }

  /* Stat cards compact */
  .stat-card { padding: 12px !important; }
  .stat-card .stat-icon { font-size: 1.25rem !important; }
  .stat-card .stat-value { font-size: 1.15rem !important; }

  /* Match photo smaller */
  .match-card .match-photo { height: 180px !important; }
  .match-card .match-info { padding: 12px !important; }
  .match-card .match-name { font-size: 1.05rem !important; }

  /* Featured card */
  #profile-stack { min-height: 440px !important; }

  /* Forms */
  .form-tta .form-control, .form-tta .form-select { font-size: .9rem; padding: .6rem .75rem; }

  /* Hide footer quick links on very small screens to save space */
  .footer-tta .col-md-4:nth-child(2) { display: none; }

  /* Bottom nav labels even smaller */
  .mobile-bottom-nav .bottom-nav-item { font-size: .62rem; }
  .mobile-bottom-nav .bottom-nav-item svg { width: 20px; height: 20px; }
}