/* ============================================
   BOOZLE — Page-Specific Styles
   ============================================ */

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.34) 0%, rgba(13,13,13,0.72) 64%, rgba(13,13,13,0.96) 100%),
    url('https://images.unsplash.com/photo-1519671482749-fd09be7ccebf?w=1800&h=1200&fit=crop') center/cover no-repeat;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,0.72), rgba(13,13,13,0.24), rgba(13,13,13,0.82));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  font-weight: 900;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

.home-hero {
  min-height: 94vh;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(6,7,10,0.92), rgba(10,11,16,0.72) 44%, rgba(6,7,10,0.9)),
    url('https://images.unsplash.com/photo-1519671482749-fd09be7ccebf?w=1800&h=1200&fit=crop') center/cover no-repeat;
}

.home-hero::before {
  background:
    linear-gradient(180deg, rgba(6,7,10,0.12), rgba(6,7,10,0.78)),
    radial-gradient(circle at 76% 28%, rgba(245,166,35,0.17), transparent 28%);
}

.home-hero-grid {
  width: min(1180px, 100%);
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  text-align: left;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy .hero-badge {
  margin-bottom: var(--space-lg);
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  letter-spacing: 0;
}

.home-hero p {
  margin-left: 0;
  margin-right: 0;
  max-width: 660px;
  color: rgba(244,244,248,0.78);
}

.home-hero .hero-buttons,
.home-hero .hero-stats {
  justify-content: flex-start;
}

.home-hero .hero-stats {
  width: min(640px, 100%);
}

.home-command-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(12, 14, 21, 0.82);
  box-shadow: 0 26px 80px rgba(0,0,0,0.46);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-panel-head h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.home-panel-head p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.home-status-list {
  display: grid;
  gap: 10px;
  margin: var(--space-xl) 0;
}

.home-status-list div {
  padding: 13px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
}

.home-status-list strong,
.home-tool-strip strong {
  display: block;
  color: var(--text-primary);
  line-height: 1.25;
}

.home-status-list span,
.home-tool-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-tool-grid a,
.home-tool-strip a,
.home-feature-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  color: var(--text-primary);
  font-weight: 800;
}

.home-tool-grid a:hover,
.home-tool-strip a:hover,
.home-feature-card a:hover {
  border-color: rgba(245,166,35,0.42);
  color: var(--accent-gold);
}

.home-tool-strip {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px auto var(--space-2xl);
  position: relative;
  z-index: 4;
}

.home-tool-strip a {
  min-height: 92px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  background: rgba(18, 20, 29, 0.94);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.home-feature-section {
  padding-top: var(--space-2xl);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-feature-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: var(--space-xl);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.024));
}

.home-feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.24rem;
}

.home-feature-card p {
  flex: 1;
  font-size: 0.94rem;
}

.home-feature-card a {
  margin-top: var(--space-lg);
  justify-content: flex-start;
}

.profile-dashboard-section {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98), var(--bg-primary));
}

.profile-dashboard-grid,
.profile-detail-grid {
  display: grid;
  gap: var(--space-md);
}

.profile-dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: var(--space-md);
}

.profile-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-dashboard-card,
.profile-detail-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(18, 20, 29, 0.86);
  padding: var(--space-lg);
}

.profile-dashboard-card span,
.profile-dashboard-card small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-dashboard-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.15;
}

.profile-detail-card h3 {
  margin-bottom: var(--space-sm);
}

/* Floating bubbles */
.hero-bubbles {
  display: none;
}

.bubble {
  display: none;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.bubble:nth-child(2) { width: 120px; height: 120px; right: 15%; top: 30%; animation-delay: 1s; animation-duration: 9s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 25%; bottom: 20%; animation-delay: 2s; animation-duration: 6s; }
.bubble:nth-child(4) { width: 100px; height: 100px; right: 25%; bottom: 25%; animation-delay: 3s; animation-duration: 8s; }
.bubble:nth-child(5) { width: 40px; height: 40px; left: 50%; top: 15%; animation-delay: 1.5s; animation-duration: 10s; }

@keyframes floatBubble {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-30px) rotate(10deg); opacity: 1; }
}

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

  .home-command-panel {
    max-width: 720px;
  }

  .home-tool-strip,
  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #000;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.step-card h3 { margin-bottom: var(--space-sm); }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }
  .hero-content { text-align: left; }
  .hero p { margin-left: 0; margin-right: 0; }
  .hero-buttons { justify-content: flex-start; }
  .hero-stats { align-items: stretch; text-align: center; }
  .insight-strip { grid-template-columns: repeat(2, 1fr); }
  .split-panel { grid-template-columns: 1fr; }
  .home-hero-grid,
  .home-feature-grid,
  .home-tool-strip {
    grid-template-columns: 1fr;
  }
  .home-hero {
    padding-bottom: var(--space-2xl);
  }
  .home-command-panel {
    padding: 16px;
  }
  .home-tool-strip {
    width: calc(100% - 24px);
    margin-top: 14px;
  }
  .home-tool-strip a {
    min-height: 74px;
  }
}

/* ---- FEATURED CITIES SECTION ---- */
.city-card .card-image {
  height: 180px;
  position: relative;
}

.city-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
}

.city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  z-index: 2;
}

.city-overlay h3 { font-size: 1.3rem; }

.city-count {
  font-size: 0.85rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  color: var(--accent-gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.indore-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.indore-spotlight-card,
.indore-guide-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  min-height: 360px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.indore-spotlight-media,
.indore-guide-media {
  position: relative;
  display: flex;
  min-height: 280px;
  color: var(--text-primary);
}

.indore-spotlight-media img,
.indore-guide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.indore-spotlight-media::after,
.indore-guide-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.72));
}

.indore-spotlight-media > span {
  position: absolute;
  left: var(--space-lg);
  bottom: var(--space-lg);
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.indore-guide-media > div {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  padding: var(--space-lg);
}

.indore-guide-media > div > span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.indore-guide-media h2 {
  margin: 8px 0 4px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

.indore-guide-media p {
  color: rgba(255,255,255,0.82);
}

.indore-spotlight-content,
.indore-guide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
}

.indore-spotlight-content h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.indore-spotlight-content p,
.indore-guide-body p {
  max-width: 620px;
}

.indore-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
}

.indore-stat-row div {
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.18);
}

.indore-stat-row strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.indore-stat-row span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.indore-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.indore-mini-grid,
.city-module-grid {
  display: grid;
  gap: var(--space-md);
}

.indore-mini-card,
.city-module-card,
.city-guide-insights article {
  padding: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.045);
}

.indore-mini-card span,
.city-guide-insights span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.indore-mini-card p,
.city-module-card p,
.city-guide-insights p {
  font-size: 0.92rem;
}

.city-guide-search {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
}

.city-guide-quicklinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.city-guide-quicklinks a,
.city-module-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: rgba(255,255,255,0.045);
  font-weight: 700;
}

.city-guide-quicklinks a:hover,
.city-module-card a:hover {
  border-color: rgba(245,166,35,0.35);
  color: var(--accent-gold);
}

.indore-guide-grid {
  display: grid;
  gap: var(--space-xl);
}

.city-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-module-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
}

.city-module-card a {
  margin-top: var(--space-md);
}

.city-guide-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

@media (max-width: 900px) {
  .indore-feature-grid,
  .indore-spotlight-card,
  .indore-guide-card,
  .city-module-grid,
  .city-guide-insights {
    grid-template-columns: 1fr;
  }

  .indore-spotlight-content,
  .indore-guide-body {
    padding: var(--space-xl);
  }
}

@media (max-width: 560px) {
  .indore-stat-row {
    grid-template-columns: 1fr;
  }

  .indore-action-row .btn {
    width: 100%;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--bg-secondary); }

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: var(--space-2xl);
  text-align: center;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-author-info h4 { font-size: 1rem; }
.testimonial-author-info p { font-size: 0.85rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* ---- CITIES PAGE ---- */
.page-hero {
  padding: calc(var(--nav-height) + 36px) 0 36px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.page-hero h1 { margin-bottom: var(--space-md); }

/* ---- Boozle Pages ---- */
.insight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.insight-card {
  padding: var(--space-lg);
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
}

.insight-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-primary);
}

.insight-card span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 3px;
}

.feature-card {
  min-height: 100%;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.28);
  background: var(--bg-card-hover);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  color: #000;
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.feature-card .feature-icon.text-icon {
  padding: 0 7px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.feature-card p {
  font-size: 0.93rem;
  margin-bottom: var(--space-lg);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-2xl);
  align-items: start;
}

.planner-preview,
.recommendation-panel {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mini-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.mini-list-item h4 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.mini-list-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.venue-card .venue-image {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.venue-card .venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-browser {
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  gap: var(--space-lg);
}

.venue-filter-panel {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
}

.venue-results {
  min-width: 0;
}

.venue-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.venue-results-head strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.venue-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.venue-compact-card {
  overflow: hidden;
  border-radius: 10px;
}

.venue-compact-card .venue-image {
  height: 104px;
}

.venue-compact-card .card-body {
  padding: 14px;
}

.venue-compact-card .card-title {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.venue-compact-card .card-text {
  margin-bottom: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.venue-compact-card .group-tags {
  gap: 6px;
  margin-bottom: 10px !important;
}

.venue-compact-card .tag {
  padding: 5px 8px;
  font-size: 0.68rem;
}

.venue-compact-card .group-footer {
  gap: 8px;
}

.venue-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.planner-result {
  display: grid;
  gap: var(--space-md);
}

.timeline-step {
  position: relative;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.event-host-card {
  padding: var(--space-3xl);
  text-align: center;
  border-radius: var(--radius-xl);
}

/* ---- CITY DETAIL PAGE ---- */
.city-banner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.city-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, rgba(13,13,13,0.3) 100%);
}

.city-banner-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.city-banner-content h1 { margin-bottom: var(--space-sm); }

/* ---- PROFILE PAGE ---- */
.profile-header {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--gradient-hero);
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.profile-avatar-wrap .avatar-xl {
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-glow-gold);
}

.profile-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--accent-teal);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
}

.profile-name { margin-bottom: var(--space-xs); }

.profile-location {
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.profile-bio {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  font-size: 1rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.profile-actions .danger-action {
  color: var(--accent-rose);
  border-color: rgba(255, 77, 106, 0.26);
}

.profile-section { padding: var(--space-3xl) 0; }
.profile-section h2 { margin-bottom: var(--space-xl); }

/* ---- GROUPS PAGE ---- */
.group-card .card-body { padding: var(--space-xl); }
.group-card .group-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.group-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #050608;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  flex-shrink: 0;
}

.group-info h3 { font-size: 1.1rem; margin-bottom: 2px; }
.group-info p { font-size: 0.85rem; }

.group-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.group-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.group-members {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---- JOIN / SIGNUP PAGE ---- */
.join-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  background: var(--gradient-hero);
}

.join-container {
  width: 100%;
  max-width: 560px;
}

.join-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.join-header h1 { margin-bottom: var(--space-sm); font-size: 2rem; }

.join-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.step-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.step-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-glass);
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.step-indicator.active {
  background: var(--gradient-cta);
  border-color: var(--accent-gold);
  color: #000;
}

.step-indicator.completed {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: #000;
}

.form-step { display: none; }
.form-step.active { display: block; animation: fadeInStep 0.4s ease; }

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

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.drink-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.drink-option {
  padding: 12px;
  text-align: center;
  background: var(--bg-glass);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.drink-option:hover { border-color: var(--accent-gold); }

.drink-option.selected {
  background: rgba(245,166,35,0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.drink-option .drink-emoji { font-size: 1.5rem; display: block; margin-bottom: 4px; }

.style-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.style-option {
  padding: 16px;
  background: var(--bg-glass);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.style-option:hover { border-color: var(--accent-gold); }

.style-option.selected {
  background: rgba(245,166,35,0.12);
  border-color: var(--accent-gold);
}

.style-option .style-emoji { font-size: 2rem; display: block; margin-bottom: var(--space-sm); }
.style-option h4 { font-size: 0.95rem; margin-bottom: 2px; }
.style-option p { font-size: 0.8rem; }

/* ---- ABOUT PAGE ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about-story-image img { width: 100%; height: 400px; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.2);
}

.value-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.value-card h3 { margin-bottom: var(--space-sm); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-xl);
  max-width: 1240px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base);
}

.team-card:hover { transform: translateY(-4px); }
.team-card .avatar-lg { margin: 0 auto var(--space-md); }
.team-card h4 { margin-bottom: 2px; }
.team-card p { font-size: 0.85rem; }

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-xl);
  max-width: 980px;
  margin: var(--space-2xl) auto 0;
}

.about-contact-card {
  padding: var(--space-xl);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.about-contact-card h3 {
  margin: 8px 0 var(--space-sm);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.about-contact-card .btn {
  margin-top: var(--space-md);
}

.safety-section {
  background: var(--bg-secondary);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.safety-card {
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-md);
}

.safety-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 4px; }
.safety-card h4 { margin-bottom: var(--space-xs); }

@media (max-width: 768px) {
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid,
  .about-contact-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .profile-dashboard-grid,
  .profile-detail-grid { grid-template-columns: 1fr; }
  .drink-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .insight-strip { grid-template-columns: 1fr; }
  .profile-actions { flex-direction: column; }
  .profile-actions .btn { width: 100%; }
}

/* ---- Mobile Layout + Page Flows ---- */
.split-panel > *,
.planner-preview,
.recommendation-panel,
.venue-card,
.event-card,
.profile-dashboard-card,
.profile-detail-card {
  min-width: 0;
}

body.settings-page .settings-container,
body.settings-page .settings-section,
body.settings-page .setting-row-info h4 {
  color: var(--text-primary) !important;
}

body.settings-page .settings-nav-item,
body.settings-page .settings-section p,
body.settings-page .setting-row-info p,
body.settings-page .settings-email-box p {
  color: var(--text-secondary) !important;
}

body.settings-page .settings-nav-item.active {
  color: var(--accent-gold) !important;
}

body.settings-page .settings-nav-item.danger {
  color: var(--accent-rose) !important;
}

body.settings-page .settings-field label,
body.settings-page .settings-label {
  color: var(--text-muted) !important;
}

@media (max-width: 820px) {
  .page-hero {
    padding: calc(var(--nav-height) + 34px) 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .split-panel {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .venue-filter-panel {
    position: static;
  }

  .venue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .planner-preview,
  .recommendation-panel {
    padding: var(--space-lg);
    border-radius: 12px;
  }

  .recommendation-panel > div:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start !important;
  }

  .filter-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex: 0 0 auto;
    min-height: 38px;
    white-space: nowrap;
  }

  .profile-header {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  }

  .profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .profile-actions .btn {
    width: 100%;
    padding-inline: 14px;
  }

  .profile-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .planner-preview,
  .recommendation-panel,
  .feature-card,
  .insight-card,
  .profile-dashboard-card,
  .profile-detail-card {
    padding: var(--space-md);
    border-radius: 10px;
  }

  .recommendation-panel > div:first-child {
    grid-template-columns: 1fr;
    gap: var(--space-sm) !important;
  }

  .recommendation-panel > div:first-child .btn {
    justify-self: start;
  }

  .mini-list-item {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .timeline-step {
    padding: 14px 14px 14px 30px;
  }

  .venue-card .venue-image {
    height: 168px;
  }

  .venue-compact-card .venue-image {
    height: 96px;
  }

  .venue-compact-card .card-body {
    padding: 12px;
  }

  .venue-compact-card .group-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .venue-compact-card .group-footer .btn,
  .venue-compact-card .js-save {
    width: 100%;
  }

  .event-card {
    border-radius: 10px !important;
  }

  .event-host-card {
    padding: var(--space-xl) var(--space-md);
    border-radius: 12px;
  }

  .event-banner {
    height: 136px !important;
  }

  .event-banner-emoji {
    font-size: 3.15rem !important;
  }

  .event-body {
    padding: var(--space-md) !important;
  }

  .event-meta {
    gap: 7px 12px !important;
  }

  .event-footer {
    display: grid !important;
    gap: 12px;
    align-items: stretch !important;
  }

  .event-footer .btn {
    width: 100%;
  }

  .profile-avatar-wrap .avatar-xl {
    width: 96px;
    height: 96px;
  }

  .profile-name {
    font-size: 2.3rem;
  }

  .profile-location {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-bio {
    max-width: 92%;
  }

  .profile-tags {
    gap: 7px;
  }

  .settings-container {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }

  .settings-section {
    padding: 14px !important;
    border-radius: 10px !important;
    margin-bottom: 14px !important;
  }

  body.settings-page .settings-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible !important;
    gap: 8px !important;
  }

  body.settings-page .settings-nav-item {
    justify-content: center;
    text-align: center;
    white-space: normal !important;
  }

  body.settings-page #logout-btn {
    grid-column: 1 / -1;
  }

  .setting-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center !important;
  }

  .setting-row-info {
    min-width: 0;
  }

  .setting-row-info p {
    overflow-wrap: anywhere;
  }

  .danger-zone {
    padding: 14px !important;
  }
}

@media (max-width: 520px) {
  .otp-page {
    align-items: start !important;
    place-items: start center !important;
    min-height: 100svh !important;
    padding: calc(var(--nav-height) + 16px) 10px 18px !important;
  }

  .otp-shell {
    gap: 12px !important;
  }

  .otp-card,
  .otp-story {
    padding: 16px !important;
  }

  .otp-card h2 {
    font-size: 1.45rem !important;
  }

  .otp-story h1 {
    font-size: 1.9rem !important;
  }

  .otp-story p,
  .otp-card p {
    font-size: 0.9rem !important;
  }

  .profile-step-dots {
    grid-template-columns: repeat(5, minmax(58px, 1fr)) !important;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .profile-step-dots::-webkit-scrollbar {
    display: none;
  }

  .profile-step-dots button {
    min-height: 34px !important;
    padding: 6px 7px;
    font-size: 0.64rem !important;
    line-height: 1.05;
    white-space: normal;
  }

  .email-otp-actions,
  .settings-otp-row {
    grid-template-columns: 1fr !important;
  }

  .photo-control-grid,
  .photo-preview-grid {
    grid-template-columns: 1fr !important;
  }

  .profile-page h3 {
    font-size: 1.12rem !important;
  }

  .profile-actions-row .btn {
    width: 100%;
  }

  .profile-actions,
  .profile-dashboard-grid,
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .settings-container {
    padding-inline: 0 !important;
  }

  .settings-nav {
    gap: 6px !important;
    padding-bottom: 2px;
  }

  .settings-nav-item {
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.78rem !important;
    line-height: 1.15;
  }

  .settings-grid,
  .settings-avatar-row,
  .setting-row {
    grid-template-columns: 1fr !important;
  }

  .setting-row .toggle-switch {
    justify-self: start;
  }

  .settings-email-box {
    padding: 12px !important;
  }
}

@media (max-width: 420px) {
  .hero-buttons,
  .form-actions,
  .indore-action-row,
  .city-guide-quicklinks {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn,
  .form-actions .btn,
  .city-guide-quicklinks a {
    width: 100%;
  }

  .filter-tab {
    padding-inline: 14px;
  }
}
