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

:root {
  /* Tinder Flame + Pathao Crimson Hybrid Palette */
  --brand-crimson: #E11931;
  --tinder-flame: #FD297B;
  --tinder-orange: #FF655B;
  --brand-gradient: linear-gradient(135deg, #FD297B 0%, #FF655B 50%, #E11931 100%);
  --brand-glow: rgba(253, 41, 123, 0.4);
  --brand-light: rgba(253, 41, 123, 0.12);
  
  /* Accent & Functional Colors */
  --accent-gold: #FFB800;
  --accent-cyan: #00E5FF;
  --success-green: #10B981;
  --warning-orange: #F59E0B;
  --info-blue: #3B82F6;
  
  /* Light Theme Defaults */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-card: rgba(255, 255, 255, 0.88);
  --bg-glass-border: rgba(226, 232, 240, 0.8);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 40px -10px rgba(253, 41, 123, 0.2), 0 10px 20px -5px rgba(15, 23, 42, 0.06);
  --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-primary: #0B0E14;
  --bg-secondary: #131722;
  --bg-tertiary: #1C2230;
  --bg-glass: rgba(19, 23, 34, 0.85);
  --bg-glass-card: rgba(28, 34, 48, 0.7);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  --card-shadow-hover: 0 20px 40px -10px rgba(253, 41, 123, 0.3);
  --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

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

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(253, 41, 123, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(225, 25, 49, 0.06) 0%, transparent 40%);
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tinder-flame);
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: all var(--transition-normal);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 15px var(--brand-glow);
  transform: rotate(-5deg);
  transition: transform var(--transition-bounce);
}

.brand:hover .brand-icon {
  transform: rotate(0deg) scale(1.08);
}

.brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.5px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--brand-light);
  color: var(--tinder-flame);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Navigation & Service Tabs */
.nav-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-tertiary);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-glass-border);
}

.nav-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.safety-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--success-green);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
  text-decoration: none;
}

.safety-dot {
  width: 8px;
  height: 8px;
  background: var(--success-green);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  transform: scale(1.06);
  background: var(--brand-light);
  color: var(--tinder-flame);
}

/* Hero Section */
.hero-section {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Subpage Hero & Cards */
.subpage-hero {
  padding: 60px 0 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.subpage-title {
  font-size: 42px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.subpage-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0 60px;
}

.info-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-bounce);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(253, 41, 123, 0.4);
}

.info-card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  padding: 16px;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
}

.info-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.info-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Verification Lookup Box */
.verification-box {
  background: var(--bg-glass-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 680px;
  margin: 0 auto 60px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.verification-input-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 600px) {
  .verification-input-row {
    flex-direction: column;
  }
}

/* Tinder Swipe Card View (Left Column) */
.tinder-swipe-box {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.tinder-swipe-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

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

.swipe-header h2 {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-counter-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  background: var(--brand-light);
  color: var(--tinder-flame);
  border-radius: var(--radius-full);
}

.tinder-card-wrapper {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  margin-bottom: 24px;
  border: 1px solid var(--bg-glass-border);
}

.tinder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tinder-card-wrapper:hover .tinder-img {
  transform: scale(1.03);
}

.tinder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  padding: 32px 24px 24px;
  color: white;
}

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

.tinder-name {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.tinder-age {
  font-size: 26px;
  font-weight: 400;
  opacity: 0.9;
}

.tinder-distance {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tinder-bio {
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 14px;
}

.tinder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tinder-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

/* Tinder Swipe Action Buttons */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.swipe-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.swipe-btn:hover {
  transform: scale(1.15) translateY(-3px);
}

.btn-pass {
  color: #EF4444;
  border: 2px solid rgba(239, 68, 68, 0.2);
}

.btn-pass:hover {
  background: #EF4444;
  color: white;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-superlike {
  width: 52px;
  height: 52px;
  font-size: 22px;
  color: var(--accent-cyan);
  border: 2px solid rgba(0, 229, 255, 0.2);
}

.btn-superlike:hover {
  background: var(--accent-cyan);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

.btn-match {
  width: 72px;
  height: 72px;
  font-size: 30px;
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 10px 25px var(--brand-glow);
}

.btn-match:hover {
  transform: scale(1.18) translateY(-4px);
  box-shadow: 0 15px 35px var(--brand-glow);
}

/* Pathao Instant Pickup Dispatch Panel (Right Column) */
.dispatch-panel {
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--card-shadow);
}

.dispatch-header {
  margin-bottom: 24px;
}

.dispatch-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dispatch-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.location-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.location-icon {
  position: absolute;
  left: 16px;
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
}

.form-select, .form-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1.5px solid var(--bg-glass-border);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  transition: all var(--transition-fast);
  appearance: none;
}

.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--tinder-flame);
  box-shadow: 0 0 0 4px var(--brand-light);
}

.location-connector {
  width: 2px;
  height: 18px;
  background: var(--bg-glass-border);
  margin-left: 24px;
  position: relative;
}

.location-connector::after {
  content: '⬇';
  position: absolute;
  left: 8px;
  top: -2px;
  font-size: 12px;
  color: var(--text-muted);
}

.category-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.category-option {
  padding: 12px;
  background: var(--bg-primary);
  border: 1.5px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.category-option:hover {
  border-color: var(--tinder-flame);
  transform: translateY(-2px);
}

.category-option.active {
  background: var(--brand-light);
  border-color: var(--tinder-flame);
}

.category-icon {
  font-size: 22px;
}

.category-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.category-info p {
  font-size: 11px;
  color: var(--text-secondary);
}

.fare-banner {
  background: var(--bg-primary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fare-details {
  display: flex;
  flex-direction: column;
}

.fare-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fare-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--tinder-flame);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -1px;
}

.eta-details {
  text-align: right;
}

.eta-time {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.eta-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-request {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  color: white;
  font-size: 18px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--brand-glow);
  transition: all var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.btn-request:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 30px rgba(253, 41, 123, 0.5);
}

/* Map Simulation Box */
.map-simulation-box {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #1A202C;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-glass-border);
  background-image: radial-gradient(#334155 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  margin-bottom: 24px;
}

.map-overlay-title {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 5;
}

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  z-index: 3;
}

.pin-bubble {
  background: var(--bg-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  border: 1.5px solid var(--tinder-flame);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pin-icon {
  width: 28px;
  height: 28px;
  background: var(--tinder-flame);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px var(--brand-glow);
}

/* Directory Grid */
.directory-section {
  padding: 40px 0 80px;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-title p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.companions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.companion-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.companion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(253, 41, 123, 0.4);
}

.card-header-bg {
  position: relative;
  height: 140px;
  background: var(--brand-gradient);
  overflow: hidden;
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.card-avatar-wrapper {
  position: relative;
  margin: -60px 24px 12px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  overflow: hidden;
  background: var(--bg-tertiary);
}

.card-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 0 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.card-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.card-rate {
  font-size: 16px;
  font-weight: 800;
  color: var(--tinder-flame);
}

.card-bio {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--bg-glass-border);
}

.card-actions {
  padding: 16px 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-book-instant {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient);
  color: white;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.btn-book-instant:hover {
  transform: scale(1.05);
}

/* Modal Overlay & "IT'S A MATCH!" Screen */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--modal-shadow);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--bg-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-close-modal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  padding: 32px 24px;
  text-align: center;
}

.match-celebration-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.matched-avatars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}

.matched-avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--tinder-flame);
  object-fit: cover;
  box-shadow: 0 10px 25px var(--brand-glow);
}

.matched-heart-icon {
  font-size: 36px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.tracking-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 20px 0 10px;
}

.tracking-fill {
  height: 100%;
  background: var(--brand-gradient);
  width: 0%;
  transition: width 0.5s ease;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-glass-border);
  padding: 60px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--tinder-flame);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--bg-glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* --- 10/10 MASTERCLASS UPGRADE STYLES --- */

/* Drag Stamps */
.swipe-stamp {
  position: absolute;
  z-index: 10;
  padding: 8px 18px;
  border: 4px solid;
  border-radius: var(--radius-md);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  backdrop-filter: blur(8px);
}
.stamp-match {
  top: 40px;
  left: 30px;
  color: var(--success-green);
  border-color: var(--success-green);
  background: rgba(16, 185, 129, 0.25);
  transform: rotate(-15deg);
}
.stamp-pass {
  top: 40px;
  right: 30px;
  color: #EF4444;
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.25);
  transform: rotate(15deg);
}
.stamp-super {
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.25);
}

/* Interactive Icebreaker Chat Box */
.chat-container {
  background: var(--bg-primary);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin: 16px 0;
}
.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.4;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.chat-match {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--bg-glass-border);
}
.chat-user {
  background: var(--brand-gradient);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.quick-reply-pill {
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--tinder-flame);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quick-reply-pill:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--brand-glow);
}

/* bKash & Nagad Payment Selection */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.payment-card {
  padding: 14px;
  background: var(--bg-primary);
  border: 2px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.payment-card:hover {
  transform: translateY(-2px);
}
.payment-card.active-bkash {
  border-color: #E2136E;
  background: rgba(226, 19, 110, 0.12);
}
.payment-card.active-nagad {
  border-color: #F36F21;
  background: rgba(243, 111, 33, 0.12);
}
.payment-card.active-cash {
  border-color: var(--success-green);
  background: rgba(16, 185, 129, 0.12);
}

/* Live Map Canvas/Leaflet Container */
.live-map-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--tinder-flame);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  margin: 16px 0;
  background: #1E293B;
}
#live-map-canvas {
  width: 100%;
  height: 100%;
}

/* Put Yourself on Thapao Header Button */
.btn-create-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--brand-gradient);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--brand-glow);
  transition: all var(--transition-bounce);
  text-decoration: none;
}
.btn-create-profile:hover {
  transform: scale(1.06) translateY(-2px);
}

