/* ==========================================================================
   XCLUSIVEPERSONALS - MASTER STYLESHEET
   ts4rent-Inspired: Professional Dark + Hot Pink Neon + Clean Grid
   ========================================================================== */

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

:root {
  /* Surface Layers (Deep Luxury Noir) */
  --bg-canvas: #060608;
  --bg-main: #060608;
  --bg-surface: #0f0f14;
  --bg-card: #16161d;
  --bg-card-hover: #1e1e27;
  --bg-card-subtle: #121218;
  --bg-glass: rgba(22, 22, 29, 0.78);

  /* Structural Borders */
  --border-color: #262633;
  --border-subtle: #1f1f2a;
  --border-card: #262633;
  --border-hover: rgba(255, 20, 147, 0.45);
  --border-focus: #ff1493;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #b3b3c2;
  --text-muted: #727284;
  --text-inverse: #060608;

  /* Brand Accents (Neon Hot Pink) */
  --accent-pink: #ff1493;
  --accent-pink-hover: #ff3da8;
  --accent-pink-glow: rgba(255, 20, 147, 0.35);
  --accent-pink-soft: rgba(255, 20, 147, 0.08);

  /* Badges & Trust Signals */
  --accent-gold: #d4a843;
  --accent-gold-glow: rgba(212, 168, 67, 0.3);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.35);
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;
  --panic-red: #dc2626;

  /* Geometry & Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.75);
  --shadow-main: 0 4px 24px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 20px rgba(255, 20, 147, 0.35);
  --shadow-neon-lg: 0 0 32px rgba(255, 20, 147, 0.5);
  --shadow-gold: 0 0 16px rgba(212, 168, 67, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================================================================
   HEADER & NAVIGATION — Clean, dark, professional
   ======================================================================== */
.navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-icon {
  color: var(--accent-pink);
  font-size: 1.4rem;
}

.brand span {
  color: var(--accent-pink);
  text-shadow: 0 0 12px rgba(255, 20, 147, 0.5);
}

.brand-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  background: var(--accent-pink);
  color: #ffffff;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--accent-pink);
  background-color: var(--accent-pink-soft);
}

/* ========================================================================
   BUTTONS — Crisp, interactive, neon glow on hover
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-pink);
  color: #ffffff;
  box-shadow: 0 0 0 rgba(255, 20, 147, 0);
}
.btn-primary:hover {
  background-color: var(--accent-pink-hover);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #000;
}
.btn-gold:hover {
  background-color: #c4972d;
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background-color: var(--accent-pink-soft);
}

.btn-panic {
  background-color: var(--panic-red);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
}
.btn-panic:hover {
  background-color: #b91c1c;
}

/* ========================================================================
   MAIN CONTAINER
   ======================================================================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.5rem;
  flex: 1;
  width: 100%;
}

/* ========================================================================
   HERO & SEARCH — Big, prominent, ts4rent-style top search bar
   ======================================================================== */
.hero-search {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.hero-search h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.hero-search h1 span {
  color: var(--accent-pink);
  text-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.hero-search p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.search-bar-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 0.5rem;
  background-color: var(--bg-card);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.select-custom, .input-custom {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.select-custom:focus, .input-custom:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px var(--accent-pink-glow);
}

/* ========================================================================
   CATEGORY PILLS — Horizontal scroll filter bar
   ======================================================================== */
.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  padding: 0.4rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.cat-pill:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background-color: var(--accent-pink-soft);
}
.cat-pill.active {
  background-color: var(--accent-pink);
  color: #ffffff;
  border-color: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink-glow);
}

/* ========================================================================
   ADS GRID — Clean card grid, ts4rent profile directory style
   ======================================================================== */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ad-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
  border-color: rgba(255, 20, 147, 0.3);
}

.ad-card.vip-top {
  border: 2px solid var(--accent-pink);
  box-shadow: 0 0 20px var(--accent-pink-glow);
}

.ad-card.highlighted {
  border: 1px solid var(--accent-pink);
}

.ad-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.badge-vip {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 0 10px var(--accent-pink-glow);
}
.badge-highlight {
  background: var(--accent-gold);
  color: #000;
}

.ad-media-container {
  height: 220px;
  position: relative;
  background-color: #000;
  overflow: hidden;
  cursor: pointer;
}

.ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s, transform 0.3s;
}
.ad-card:hover .ad-img {
  transform: scale(1.03);
}

.blur-preview {
  filter: blur(14px) brightness(0.9);
}
.ad-media-container:hover .blur-preview {
  filter: blur(0px) brightness(1.0);
}

.blur-hint-overlay {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}

.ad-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ad-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ad-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.ad-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  flex: 1;
  line-height: 1.5;
}

.ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.ad-location {
  color: var(--accent-pink);
  font-weight: 600;
}

/* ========================================================================
   MODALS
   ======================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.modal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.modal-icon {
  font-size: 3rem;
  color: var(--accent-pink);
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.modal-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: left;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ========================================================================
   TABS
   ======================================================================== */
.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn.active {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ========================================================================
   TABLES
   ======================================================================== */
.table-responsive {
  overflow-x: auto;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.table-custom th, .table-custom td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table-custom th {
  background-color: var(--bg-card);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.table-custom tr:hover {
  background-color: var(--bg-card-hover);
}

/* ========================================================================
   FORMS
   ======================================================================== */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px var(--accent-pink-glow);
}

/* ========================================================================
   AI ASSISTANT CARD
   ======================================================================== */
.ai-assistant-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #141418 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.ai-assistant-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent-pink);
}

/* ========================================================================
   NEON SIGN BRAND HEADER — The "playful" layer
   ======================================================================== */
.neon-brand {
  font-family: 'Space Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-pink);
  text-shadow:
    0 0 7px var(--accent-pink),
    0 0 10px var(--accent-pink),
    0 0 21px var(--accent-pink),
    0 0 42px var(--accent-pink),
    0 0 82px var(--accent-pink);
  animation: neon-flicker 3s infinite alternate;
  text-transform: uppercase;
  letter-spacing: 4px;
}

@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 7px var(--accent-pink),
      0 0 10px var(--accent-pink),
      0 0 21px var(--accent-pink),
      0 0 42px var(--accent-pink);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

/* ========================================================================
   VERIFIED BADGE — Professional trust indicator
   ======================================================================== */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================================================
   AVAILABLE NOW INDICATOR
   ======================================================================== */
.available-now {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
}
.available-now::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ========================================================================
   BADGES & TRUST SIGNALS
   ======================================================================== */
.badge-vip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.25) 0%, rgba(255, 20, 147, 0.25) 100%);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(212, 168, 67, 0.25);
}

.badge-2257 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  font-family: 'Space Mono', monospace;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.badge-available-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.beacon-available {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.45);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.beacon-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-beacon 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes pulse-beacon {
  0% { transform: scale(0.92); opacity: 0.6; box-shadow: 0 0 4px var(--accent-green); }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
  100% { transform: scale(0.92); opacity: 0.6; box-shadow: 0 0 4px var(--accent-green); }
}

/* ========================================================================
   ENHANCED AD CARDS & GRID
   ======================================================================== */
.aspect-4-5 {
  aspect-ratio: 4 / 5;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.ad-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.ad-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75), var(--shadow-neon);
}

.ad-card.vip-top {
  border: 2px solid var(--accent-pink);
  box-shadow: 0 0 18px var(--accent-pink-glow);
}

.card-rates-bar {
  background: var(--bg-card-subtle);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.card-rates-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-rates-val {
  color: var(--accent-gold);
  font-weight: 700;
  font-family: 'Space Mono', monospace;
}

/* ========================================================================
   GLASSMORPHISM & MODALS
   ======================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

/* ========================================================================
   TABS NAVIGATION SYSTEM
   ======================================================================== */
.tabs-header {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-header::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: var(--accent-pink);
  border-bottom: 2px solid var(--accent-pink);
  text-shadow: 0 0 10px var(--accent-pink-glow);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================
   FULL PROFILE VIEW LAYOUT
   ======================================================================== */
.profile-ambient-hero {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.profile-ambient-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) brightness(0.3);
  transform: scale(1.1);
}

.profile-header-container {
  max-width: 1280px;
  margin: -100px auto 1.5rem auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  position: relative;
  z-index: 20;
}

.profile-avatar-frame {
  width: 170px;
  height: 215px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--accent-pink);
  box-shadow: var(--shadow-neon-lg);
  flex-shrink: 0;
  background: #000;
}

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

.profile-header-meta {
  flex: 1;
  padding-bottom: 0.5rem;
}

.profile-header-meta h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.profile-actions-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Photo Gallery & Lightbox */
.profile-gallery-viewport {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  position: relative;
  border: 1px solid var(--border-card);
  cursor: zoom-in;
}

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

.profile-gallery-viewport:hover .profile-gallery-main-img {
  transform: scale(1.02);
}

.profile-thumb-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: thin;
}

.profile-thumb-item {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.2s ease;
  background: #000;
}

.profile-thumb-item:hover, .profile-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink-glow);
}

.profile-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs Grid Cards */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.spec-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-card);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

/* Rates Table */
.rates-matrix {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-card);
}

.rates-matrix th, .rates-matrix td {
  padding: 0.85rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.rates-matrix th {
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rates-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-family: 'Space Mono', monospace;
}

/* ========================================================================
   DRAG-AND-DROP MEDIA UPLOADER & GALLERY
   ======================================================================== */
.upload-dropzone {
  border: 2px dashed var(--border-card);
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.upload-dropzone:hover, .upload-dropzone.drag-over {
  border-color: var(--accent-pink);
  background: var(--accent-pink-soft);
  box-shadow: var(--shadow-neon);
}

.upload-icon {
  font-size: 2.8rem;
  color: var(--accent-pink);
  margin-bottom: 0.75rem;
}

.progress-container {
  width: 100%;
  background: var(--bg-card);
  height: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 1rem 0;
  display: none;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-gold) 100%);
  transition: width 0.2s ease;
  box-shadow: 0 0 10px var(--accent-pink-glow);
}

.gallery-manage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gallery-manage-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: #000;
}

.gallery-manage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-manage-item:hover .gallery-controls-overlay {
  opacity: 1;
}

/* ========================================================================
   CREATOR DASHBOARD & ANALYTICS
   ======================================================================== */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink);
}

.stat-card.gold::before {
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.stat-card.green::before {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0.35rem 0;
  font-family: 'Space Mono', monospace;
}

.stat-diff {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* Availability Master Toggle */
.toggle-switch-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #151522 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-card);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* ========================================================================
   RESPONSIVENESS (Down to 375px Viewport)
   ======================================================================== */
@media (max-width: 991px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
  }
  .profile-gallery-viewport {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
    height: auto;
    padding: 0.75rem 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .search-bar-wrap {
    grid-template-columns: 1fr;
  }
  .hero-search h1 {
    font-size: 1.5rem;
  }
  .profile-header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -60px;
  }
  .profile-avatar-frame {
    width: 140px;
    height: 175px;
  }
  .profile-actions-bar {
    justify-content: center;
  }
  .toggle-switch-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }
  .ads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .ad-card .ad-title {
    font-size: 0.88rem;
  }
  .card-rates-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0.75rem 0.5rem;
  }
  .ads-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .profile-actions-bar .btn {
    width: 100%;
    text-align: center;
  }
  .navbar {
    padding: 0.5rem;
  }
}

/* ==========================================================================
   VIP SUBSCRIPTION PAYWALL MODAL & BADGES (R1)
   Obsidian Luxury Dark (#060608 / #0f0f14 / #16161d) + Hot Pink Neon (#ff1493)
   ========================================================================== */

#subscriptionModal {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.subscription-modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-pink);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 35px var(--accent-pink-glow), 0 16px 48px rgba(0, 0, 0, 0.95);
  padding: 2.2rem 1.8rem;
  text-align: center;
  position: relative;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.sub-crown-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 16px rgba(255, 20, 147, 0.6));
}

.sub-pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  text-align: left;
}

.sub-feature-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.sub-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

.sub-feature-list li .feat-icon {
  color: var(--accent-pink);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-vip-pass {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.2) 0%, rgba(212, 168, 67, 0.2) 100%);
  border: 1px solid var(--accent-pink);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--accent-pink-glow);
  text-transform: uppercase;
}

.btn-upgrade-vip {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #c01072 100%);
  color: #ffffff;
  border: 1px solid #ff69b4;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-pink-glow);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-upgrade-vip:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 20, 147, 0.6);
  background: linear-gradient(135deg, #ff3da8 0%, #d81682 100%);
}

/* ==========================================================================
   TEASER PROFILES & MEDIA LOCKING (R1)
   ========================================================================== */

.teaser-blur {
  filter: blur(14px) brightness(0.6);
  user-select: none;
  pointer-events: none;
  transition: filter 0.3s ease;
}

.teaser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  z-index: 10;
  border-radius: inherit;
}

.teaser-locked-badge {
  background: var(--bg-card);
  border: 1px solid var(--accent-pink);
  box-shadow: 0 0 20px var(--accent-pink-glow);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  max-width: 380px;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-locked-badge:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
}

.blurred-contact-text {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.55;
  color: var(--text-muted);
}

.teaser-contact-card {
  background: var(--bg-card);
  border: 1px dashed var(--accent-pink);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-top: 1rem;
}

.gallery-thumb-locked {
  position: relative;
  overflow: hidden;
  cursor: pointer !important;
}

.gallery-thumb-locked img {
  filter: blur(10px) brightness(0.55) !important;
  transform: scale(1.06);
}

.gallery-thumb-locked::after {
  content: '🔒 VIP';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(6, 6, 8, 0.45);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.chat-paywall-banner {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.15) 0%, rgba(22, 22, 29, 0.95) 100%);
  border-bottom: 1px solid var(--accent-pink);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
}

/* ==========================================================================
   HOT-OR-NOT SWIPE INTERFACE (R2)
   Mobile-First Touch & Gesture Card Deck
   ========================================================================== */

.swipe-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.swipe-deck {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 540px;
  margin-bottom: 1.5rem;
}

@media (max-height: 700px) {
  .swipe-deck {
    height: 440px;
  }
}

.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  will-change: transform, opacity;
}

.swipe-card.dragging {
  cursor: grabbing;
  transition: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

.swipe-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swipe-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.1) 0%, rgba(6, 6, 8, 0.4) 50%, rgba(6, 6, 8, 0.95) 100%);
  pointer-events: none;
}

.swipe-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem;
  color: #ffffff;
  pointer-events: none;
}

.swipe-card-name {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.swipe-card-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.swipe-card-bio {
  font-size: 0.85rem;
  color: #d1d1db;
  line-height: 1.4;
  max-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Visual Stamps */
.swipe-stamp {
  position: absolute;
  top: 30px;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.1s ease;
}

.swipe-stamp-like {
  right: 25px;
  border: 4px solid var(--accent-green);
  color: var(--accent-green);
  transform: rotate(15deg);
  text-shadow: 0 0 12px var(--accent-green-glow);
  box-shadow: 0 0 16px var(--accent-green-glow);
}

.swipe-stamp-pass {
  left: 25px;
  border: 4px solid var(--accent-red);
  color: var(--accent-red);
  transform: rotate(-15deg);
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.swipe-stamp-super {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  border: 4px solid var(--accent-cyan);
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

/* Tactile Bottom Action Controls */
.swipe-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.btn-swipe-action {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-swipe-action:hover {
  transform: scale(1.1);
}

.btn-swipe-action:active {
  transform: scale(0.92);
}

.btn-swipe-pass {
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--accent-red);
}

.btn-swipe-pass:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.btn-swipe-super {
  width: 48px;
  height: 48px;
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.btn-swipe-super:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.btn-swipe-like {
  border-color: var(--accent-pink);
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.25) 0%, rgba(255, 20, 147, 0.1) 100%);
  color: var(--accent-pink);
}

.btn-swipe-like:hover {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #c01072 100%);
  color: #ffffff;
  box-shadow: 0 0 25px var(--accent-pink-glow);
}

.swipe-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  z-index: 50;
  border: 1px dashed var(--accent-pink);
}

/* ==========================================================================
   AVAILABLE TONIGHT GEO-MAP INTERFACE (R2)
   Leaflet.js + CartoDB Dark Matter + Pulsating Radar Pins
   ========================================================================== */

.map-page-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  height: calc(100vh - 60px);
  overflow: hidden;
}

.map-filter-bar {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  max-width: 90vw;
  flex-wrap: wrap;
  justify-content: center;
}

#mapContainer {
  width: 100%;
  height: 100%;
  background: #060608;
}

/* Custom Pulsating Neon Pins */
.custom-leaflet-marker {
  background: transparent !important;
  border: none !important;
}

.neon-pin-wrapper {
  position: relative;
  width: 46px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.pin-avatar-frame {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent-pink);
  overflow: hidden;
  box-shadow: 0 0 14px var(--accent-pink-glow);
  position: relative;
  background: var(--bg-card);
}

.neon-pin-wrapper.live-beacon .pin-avatar-frame {
  border-color: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
}

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

.pin-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 1.5px solid var(--bg-surface);
}

.pin-radar-ring {
  position: absolute;
  top: -6px;
  left: -4px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  animation: pinRadarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pinRadarPulse {
  0% {
    transform: scale(0.7);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.8);
    opacity: 0.15;
    box-shadow: 0 0 0 14px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.pin-label-pill {
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Map Creator Preview Popup / Drawer */
.map-creator-drawer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;
  width: 92vw;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--accent-pink);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 35px var(--accent-pink-glow), 0 16px 40px rgba(0, 0, 0, 0.9);
  padding: 1.25rem;
  display: none;
  animation: slideUpDrawer 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpDrawer {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.map-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 980;
  padding: 1.5rem;
  text-align: center;
}

.radar-sweep-scanner {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(255, 20, 147, 0.3);
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.2);
}

.radar-sweep-scanner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%, rgba(255, 20, 147, 0.45) 0deg, transparent 60deg, transparent 360deg);
  border-radius: 50%;
  animation: radarSweep 2.5s linear infinite;
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ========================================================================
   RESPONSIVE NAVIGATION — Hamburger Menu & Mobile Collapse
   ======================================================================== */

/* Hamburger toggle button (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  z-index: 1010;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Prominent Auth Buttons */
.btn-auth-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-pink);
  background: transparent;
  color: var(--accent-pink);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-auth-login:hover {
  background: var(--accent-pink-soft);
  box-shadow: 0 0 12px var(--accent-pink-glow);
}

.btn-auth-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent-pink);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(255, 20, 147, 0);
}
.btn-auth-signup:hover {
  background: var(--accent-pink-hover);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
  transform: translateY(-1px);
}

/* Auth button group in navbar */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* Nav link divider */
.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
  margin: 0 0.25rem;
}

/* ========================================================================
   MOBILE RESPONSIVE — All breakpoints
   ======================================================================== */

/* Tablet (< 1024px) */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 1rem;
  }
  .nav-links .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.55rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--accent-pink);
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: var(--accent-pink-soft);
  }
  .nav-links .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }
  .nav-links .btn,
  .nav-links .btn-auth-login,
  .nav-links .btn-auth-signup {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin: 0.25rem 0;
  }
  .nav-links .nav-auth-group {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }
  .nav-links .nav-auth-group .btn-auth-login,
  .nav-links .nav-auth-group .btn-auth-signup {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }

  /* Stack cards on mobile */
  .ad-grid {
    grid-template-columns: 1fr !important;
  }
  .search-bar-wrap {
    grid-template-columns: 1fr !important;
  }
  .hero-search h1 {
    font-size: 1.5rem;
  }
  .container {
    padding: 1rem;
  }
  .btn-panic {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}

/* Small phones (< 480px) */
@media (max-width: 480px) {
  .navbar {
    height: 54px;
    padding: 0 0.75rem;
  }
  .brand {
    font-size: 1rem;
    gap: 0.4rem;
  }
  .brand-badge {
    display: none;
  }
  .hero-search {
    padding: 1.5rem 1rem;
  }
  .hero-search h1 {
    font-size: 1.25rem;
  }
  .hero-search p {
    font-size: 0.85rem;
  }
  .modal-content {
    margin: 0.5rem;
    max-height: 95vh;
  }
  .ad-card {
    border-radius: var(--radius-sm);
  }
}

/* ========================================================================
   PILLAR 1: BOTTOM TAB BAR — Mobile Persistent Navigation (Instagram/TikTok style)
   ======================================================================== */
.bottom-tab-bar {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  padding: 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}
.bottom-tab-bar .tab-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}
.bottom-tab-bar .tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  flex: 1;
  height: 100%;
  transition: color 0.2s;
  position: relative;
}
.bottom-tab-bar .tab-item:hover,
.bottom-tab-bar .tab-item.active {
  color: var(--accent-pink);
}
.bottom-tab-bar .tab-item .tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.bottom-tab-bar .tab-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: var(--accent-red);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

@media (max-width: 768px) {
  .bottom-tab-bar {
    display: block;
  }
  body {
    padding-bottom: 64px; /* Space for persistent bottom bar */
  }
}

/* ========================================================================
   PILLAR 1: NOTIFICATION BELL & DROPDOWN
   ======================================================================== */
.nav-bell {
  position: relative;
  cursor: pointer;
  padding: 0.4rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-bell:hover {
  color: var(--accent-pink);
  background: rgba(255, 20, 147, 0.08);
}
.nav-bell .bell-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
  overflow: hidden;
}
.notification-dropdown.open {
  display: block;
  animation: fadeIn 0.15s ease-out;
}
.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background-color 0.15s;
}
.notification-item:hover {
  background: var(--bg-card-hover);
}
.notification-item.unread {
  background: rgba(255, 20, 147, 0.08);
  border-left: 3px solid var(--accent-pink);
}
.notification-item .notif-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.notification-item .notif-body {
  flex: 1;
}
.notification-item .notif-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.notification-item .notif-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}
.notification-item .notif-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 480px) {
  .notification-dropdown {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(100vh - 114px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

/* ========================================================================
   PILLAR 3: SOCIAL "FEEL ALIVE" COMPONENTS
   ======================================================================== */

/* Online Status Dot */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}
.status-dot.away {
  background: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-gold);
}
.status-dot.offline {
  background: var(--text-muted);
  box-shadow: none;
}

/* Activity Ticker Bar */
.activity-ticker-container,
.activity-ticker {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  height: 40px;
  gap: 0.75rem;
}
.ticker-badge-pill {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 20, 147, 0.15);
  color: var(--accent-pink);
  border: 1px solid var(--accent-pink);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.activity-ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}
.activity-ticker-item {
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: tickerSlide 5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
@keyframes tickerSlide {
  0% { transform: translateY(100%); opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  90% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}

/* Stories Bubbles Row */
.stories-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 1.25rem 0.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}
.story-bubble-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.story-avatar-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #ff1493, #ffd700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.story-avatar-ring:hover {
  transform: scale(1.06);
}
.story-avatar-ring.viewed {
  background: var(--border-color);
}
.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-main);
}
.story-model-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* ========================================================================
   MILESTONE 3: PILLAR 3 SOCIAL ENHANCEMENTS
   ======================================================================== */

/* Thread Pulse Dot Online/Offline State */
.thread-pulse-dot.offline {
  background: var(--text-muted);
  box-shadow: none;
}
.thread-pulse-dot.online {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

/* Fullscreen Ephemeral Story Modal Viewer */
.story-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}
.story-viewer-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 90vh;
  max-height: 780px;
  background: #111116;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 20, 147, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.story-progress-container {
  display: flex;
  gap: 4px;
  padding: 12px 14px 6px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
.story-progress-segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
}
.story-progress-fill.full {
  width: 100%;
}
.story-progress-fill.active {
  width: 100%;
  transition: width 5s linear;
}
.story-viewer-header {
  position: absolute;
  top: 22px;
  left: 14px;
  right: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-author-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-pink);
}
.story-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.story-time-ago {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.story-close-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-viewer-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #060608;
}
.story-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.story-text-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  background: radial-gradient(circle at center, rgba(255, 20, 147, 0.15), transparent 70%);
  width: 100%;
}
.story-caption-overlay {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}
.story-link-btn {
  position: absolute;
  bottom: 16px;
  background: var(--accent-pink);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.4);
  z-index: 15;
}
.story-tap-zone {
  position: absolute;
  top: 60px;
  bottom: 50px;
  width: 40%;
  z-index: 12;
  cursor: pointer;
}
.story-tap-zone.left {
  left: 0;
}
.story-tap-zone.right {
  right: 0;
}
.story-viewer-footer {
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  z-index: 20;
}


