/**
 * GODTASTE™ GMAX — Sovereign Hyper-Lux Gastronomic UI Design System
 * 2026 APEX Standard
 */

:root {
  --bg-main: #07090e;
  --bg-card: rgba(16, 23, 38, 0.75);
  --bg-card-hover: rgba(24, 34, 54, 0.85);
  --bg-glass: rgba(13, 18, 29, 0.85);
  --bg-surface: #0f172a;
  
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --gold-300: #fde047;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.35);

  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--emerald-glow);

  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-500);
}

/* Header & Cockpit Navigation */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--emerald-500), #064e3b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px var(--emerald-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--emerald-400);
}

.logo-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

/* City Selector Pill */
.city-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald-500);
}

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulse-glow 2s infinite;
}

.city-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.city-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.city-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #0d121d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 100;
}

.city-selector:hover .city-dropdown-menu {
  display: block;
}

.city-item {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

.city-item.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.city-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.badge-live {
  font-size: 9px;
  background: var(--emerald-500);
  color: #000;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 800;
}

.badge-soon {
  font-size: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 2px 4px;
  border-radius: 4px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 78, 59, 0.4));
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-savings-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-savings-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.user-savings-pill strong {
  color: var(--emerald-400);
}

.vip-upgrade-btn {
  background: linear-gradient(135deg, var(--gold-500), #b45309);
  color: #000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 16px var(--gold-glow);
  transition: all 0.2s ease;
}

.vip-upgrade-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px var(--gold-glow);
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lang-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--emerald-400);
}

/* Main Viewport Tabs */
.app-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 80px 20px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Hero Cockpit Section */
.hero-cockpit {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.9), rgba(7, 9, 14, 0.95));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-glow-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-400);
  margin-bottom: 16px;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
  animation: pulse-glow 1.5s infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981, #34d399, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 750px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Macro Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--emerald-400);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cta-primary-btn {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #000;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px var(--emerald-glow);
  transition: all 0.2s ease;
}

.cta-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--emerald-glow);
}

.cta-secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-400);
}

.cta-partner-btn {
  background: transparent;
  border: 1px dashed var(--border-light);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.cta-partner-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-400);
}

/* Filter Cockpit */
.filter-cockpit {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 16px;
  font-size: 16px;
  color: var(--text-muted);
}

.search-input-wrapper input {
  flex: 1;
  background: rgba(7, 9, 14, 0.75);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 14px 20px 14px 44px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrapper input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 16px var(--emerald-glow);
}

.geo-near-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-400);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.geo-near-btn:hover {
  background: var(--emerald-500);
  color: #000;
}

/* Category Pills Bar */
.category-scroll-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.cat-pill.active {
  background: var(--emerald-500);
  color: #000;
  font-weight: 800;
  border-color: var(--emerald-400);
  box-shadow: 0 0 14px var(--emerald-glow);
}

/* Sub-filter row */
.sub-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.dropdown-filter, .sort-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-filter label {
  font-size: 13px;
  color: var(--text-muted);
}

select {
  background: #0d121d;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

select:focus {
  border-color: var(--emerald-500);
}

.deal-type-pills {
  display: flex;
  gap: 8px;
}

.deal-pill {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.deal-pill.active {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-400);
  border-color: var(--gold-500);
}

/* Venues Cards Grid */
.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.venue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
}

.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1e293b;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.venue-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-badge-deal {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--emerald-500), #047857);
  color: #000;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.card-badge-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-400);
  font-weight: 800;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-distance-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

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

.card-district {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
  flex: 1;
}

.card-perk-highlight {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--emerald-400);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

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

.btn-open-venue {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-open-venue:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--emerald-400);
}

.btn-quick-claim {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #000;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 12px var(--emerald-glow);
  transition: all 0.2s ease;
}

.btn-quick-claim:hover {
  transform: scale(1.04);
}

/* Map View Radar Layout */
.map-view-cockpit {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  height: calc(100vh - 140px);
  min-height: 600px;
}

.map-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.map-sidebar-header p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.map-quick-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.map-filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.map-filter-chip.active {
  background: var(--emerald-500);
  color: #000;
}

.map-venues-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.map-mini-card {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-mini-card:hover, .map-mini-card.active {
  border-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
}

.map-mini-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.map-mini-perk {
  font-size: 11px;
  color: var(--emerald-400);
  font-weight: 600;
}

.leaflet-map-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

/* Custom Neon Leaflet Marker */
.custom-radar-pin {
  background: var(--emerald-500);
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 0 18px var(--emerald-glow), 0 0 0 2px #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.custom-radar-pin:hover {
  transform: scale(1.2);
}

/* Concierge Tab */
.concierge-cockpit {
  max-width: 900px;
  margin: 0 auto;
}

.concierge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.concierge-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.ai-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--violet-500), #4c1d95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 20px var(--violet-glow);
}

.ai-meta h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.ai-meta p {
  font-size: 13px;
  color: var(--text-secondary);
}

.ai-status-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse-glow 1.5s infinite;
}

.concierge-prompts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-chip:hover {
  color: var(--text-primary);
  border-color: var(--violet-400);
  background: rgba(139, 92, 246, 0.15);
}

.chat-stream {
  min-height: 280px;
  max-height: 440px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  padding-right: 6px;
}

.chat-bubble {
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  max-width: 85%;
  line-height: 1.5;
}

.ai-bubble {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--violet-400);
}

.user-bubble {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 78, 59, 0.4));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--text-primary);
}

.bubble-sender {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--violet-400);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.chat-input-form {
  display: flex;
  gap: 10px;
}

.chat-input-form input {
  flex: 1;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 14px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}

.chat-input-form input:focus {
  border-color: var(--violet-400);
  box-shadow: 0 0 16px var(--violet-glow);
}

.btn-send-chat {
  background: linear-gradient(135deg, var(--violet-500), #7c3aed);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.btn-send-chat:hover {
  transform: scale(1.04);
}

/* Passport Tab */
.passport-view-cockpit {
  max-width: 800px;
  margin: 0 auto;
}

.passport-card-metal {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.2);
  margin-bottom: 32px;
  overflow: hidden;
}

.metal-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.card-super {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-400);
}

.passport-title-box h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.passport-tier-badge {
  background: linear-gradient(135deg, var(--gold-500), #b45309);
  color: #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.passport-chip-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.gold-chip {
  width: 48px;
  height: 36px;
  background: linear-gradient(135deg, #fde047, #ca8a04);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.contactless-icon {
  font-size: 22px;
  color: var(--gold-400);
}

.passport-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.p-stat .p-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.p-stat .p-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.highlight-green { color: var(--emerald-400); }
.highlight-gold { color: var(--gold-400); }
.text-active { color: #38bdf8; }

/* Achievements Grid */
.achievements-section {
  margin-bottom: 32px;
}

.achievements-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.badge-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.badge-item.unlocked {
  border-color: var(--gold-500);
  background: rgba(245, 158, 11, 0.08);
}

.badge-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.badge-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Referral Box */
.referral-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.ref-icon {
  font-size: 44px;
}

.ref-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.ref-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.ref-link-row {
  display: flex;
  gap: 8px;
}

.ref-link-row input {
  flex: 1;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid var(--border-light);
  color: var(--emerald-400);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  outline: none;
}

.btn-copy-ref {
  background: var(--emerald-500);
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}

/* Modals System */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: #0d121d;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Venue Modal Specifics */
.venue-modal-dialog {
  max-width: 780px;
  padding: 0;
  overflow: hidden;
}

.v-modal-hero {
  height: 260px;
  position: relative;
}

.v-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-modal-content {
  padding: 28px;
}

.v-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 6px;
}

.v-modal-address {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.v-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v-perks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v-perk-card {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.v-perk-txt {
  font-weight: 600;
  font-size: 14px;
}

.v-secret-card {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.v-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.v-menu-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.v-menu-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.v-menu-price {
  color: var(--emerald-400);
}

.v-menu-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Instant Redeem Modal */
.redeem-modal-dialog {
  max-width: 440px;
  padding: 32px;
  text-align: center;
}

.redeem-pulse-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: #000;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 25px var(--emerald-glow);
}

.redeem-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.redeem-deal-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  border: 1px solid var(--emerald-500);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.qr-stage-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-canvas-box canvas {
  width: 180px !important;
  height: 180px !important;
}

.countdown-badge {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.countdown-badge strong {
  color: #dc2626;
  font-size: 16px;
}

.token-code-text {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 2px;
  margin-top: 4px;
}

.redeem-instruction {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.staff-pin-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
}

.staff-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pin-inputs-row {
  display: flex;
  gap: 8px;
}

.pin-inputs-row input {
  width: 90px;
  background: #07090e;
  border: 1px solid var(--border-light);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 18px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 4px;
}

.btn-verify-pin {
  flex: 1;
  background: var(--emerald-500);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}

.pin-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Success Modal */
.success-modal-dialog {
  max-width: 420px;
  padding: 36px 28px;
  text-align: center;
}

.success-icon-anim {
  font-size: 60px;
  margin-bottom: 16px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.saved-callout {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-500);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}

.saved-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--emerald-400);
}

.coins-bonus {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 24px;
}

.btn-success-close {
  width: 100%;
  background: var(--emerald-500);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
}

/* VIP Modal Stage */
.vip-modal-dialog {
  max-width: 780px;
  padding: 36px;
}

.vip-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.vip-crown {
  font-size: 48px;
  display: block;
  margin-bottom: 8px;
}

.pricing-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card.featured {
  border-color: var(--gold-500);
  background: rgba(245, 158, 11, 0.06);
  box-shadow: 0 0 25px var(--gold-glow);
}

.best-deal-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: #000;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-secondary);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  margin: 12px 0 16px 0;
}

.plan-price .currency {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-select-plan {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.btn-select-plan.featured {
  background: linear-gradient(135deg, var(--gold-500), #b45309);
  color: #000;
  border: none;
}

.payment-box {
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px 0;
}

.pay-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.pay-tab.active {
  background: var(--emerald-500);
  color: #000;
  border-color: var(--emerald-400);
}

.blik-input-row {
  display: flex;
  gap: 10px;
}

.blik-input-row input {
  width: 200px;
  background: #07090e;
  border: 1px solid var(--border-light);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 4px;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
}

.btn-pay-action {
  flex: 1;
  background: var(--emerald-500);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}

/* B2B Partner Modal */
.partner-modal-dialog {
  max-width: 580px;
  padding: 32px;
}

.b2b-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-light);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  outline: none;
}

.form-group input:focus {
  border-color: var(--emerald-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit-b2b {
  background: var(--emerald-500);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.m-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  cursor: pointer;
}

.m-nav-btn.active {
  color: var(--emerald-400);
}

.m-icon {
  font-size: 20px;
}

.m-label {
  font-size: 10px;
  font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .hero-headline {
    font-size: 32px;
  }
  .map-view-cockpit {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-sidebar {
    height: 300px;
  }
  .leaflet-map-canvas {
    height: 400px;
  }
  .pricing-cards-row {
    grid-template-columns: 1fr;
  }
  .v-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-cockpit {
    padding: 28px 20px;
  }
  .hero-headline {
    font-size: 26px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .venues-grid {
    grid-template-columns: 1fr;
  }
  .user-savings-pill {
    display: none;
  }
  .sub-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}
