/* GatherGel Redesigned Style Sheet - Midnight Lounge & Interactive Map Theme */

/* CSS Variables for Theme Toggling */
:root {
  --bg-primary: #07090e;       /* Deep space navy black */
  --bg-secondary: #0f131e;     /* Midnight deck navy */
  --bg-tertiary: #192032;      /* Slate blue/indigo wood */
  --bg-card: transparent;      /* Minimalist cards: transparent */
  --border-color: rgba(255, 255, 255, 0.08); /* Modern thin neutral border */
  --border-hover: rgba(45, 212, 191, 0.35);  /* Glowing teal border */
  
  /* Text colors */
  --text-primary: #f8fafc;     /* Ice white */
  --text-secondary: #cbd5e1;   /* Cold slate grey */
  --text-muted: #64748b;       /* Cool muted steel */
  
  /* Accent colors */
  --accent-orange: #ff7e5f;    /* Vibrant coral */
  --accent-orange-rgb: 255, 126, 95;
  --accent-yellow: #fcd34d;    /* Candle amber yellow */
  --accent-yellow-rgb: 252, 211, 77;
  --accent-green: #2dd4bf;     /* Bright neon teal/green */
  --accent-green-rgb: 45, 212, 191;
  --accent-blue: #3b82f6;      /* Electric game-board blue */
  --accent-indigo: #6366f1;    /* Glowing violet/indigo */
  --accent-red: #f43f5e;       /* Neon rose red */
  
  /* Dynamic custom inputs & badges */
  --bg-input: rgba(0, 0, 0, 0.25);
  --bg-input-focus: rgba(0, 0, 0, 0.4);
  --bg-badge: rgba(7, 9, 14, 0.85);
  
  /* Banners */
  --banner-bg: transparent;    /* Transparent banner background */
  
  /* Fonts */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows and Blurs */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: none;
  --glass-blur: none;
  
  /* Border Radii */
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
  --bg-primary: #f5f4ef;       /* Cozy warm sand cream - avoids stark bright white */
  --bg-secondary: #ffffff;     /* Pure white for tiles & layouts */
  --bg-tertiary: #e9e8e2;      /* Soft beige-gray for dividers */
  --bg-card: transparent;
  --border-color: rgba(28, 28, 26, 0.08); /* Warm grey border */
  --border-hover: rgba(13, 148, 136, 0.3); /* Cozy teal hover border */
  
  /* Text colors */
  --text-primary: #1c1c1a;     /* Warm off-black for high contrast readability */
  --text-secondary: #4a4a46;   /* Deep charcoal gray */
  --text-muted: #7d7d77;       /* Muted warm gray */
  
  /* Accent colors */
  --accent-orange: #ea580c;    /* Stronger warm orange */
  --accent-yellow: #a16207;    /* Warm dark gold (visible on light bg) */
  --accent-green: #0d9488;     /* Strong teal (high contrast) */
  --accent-blue: #1d4ed8;      /* Strong royal blue */
  --accent-indigo: #4338ca;    /* Strong indigo */
  --accent-red: #be123c;       /* Strong crimson red */
  
  /* Dynamic custom inputs & badges */
  --bg-input: #ffffff;
  --bg-input-focus: #ffffff;
  --bg-badge: #e9e8e2;
  
  /* Banners */
  --banner-bg: transparent;
  
  /* Shadows and Blurs */
  --shadow-sm: 0 1px 2px rgba(28, 28, 26, 0.03);
  --shadow-md: 0 4px 12px rgba(28, 28, 26, 0.04);
  --shadow-lg: 0 10px 25px rgba(28, 28, 26, 0.06);
  --shadow-glow: none;
}

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

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

/* Smooth Page Transitions */
#app-root > * {
  animation: pageEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@media (prefers-reduced-motion: reduce) {
  #app-root > * {
    animation: none !important;
  }
}

/* Ambient glow blobs */
.ambient-glow {
  display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-yellow);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--accent-green);
}

/* App Header & Navigation */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
}
.logo span span {
  color: var(--accent-green);
}
.logo-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-yellow);
  filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.4));
  transition: var(--transition-bounce);
}
.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.main-nav {
  display: flex;
  gap: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}
.nav-icon {
  width: 18px;
  height: 18px;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.nav-link.active {
  color: var(--accent-green);
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--border-color);
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

/* App Main Container */
.app-content-container {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
}

/* Global Buttons & Inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}
.btn-primary {
  background: var(--accent-green);
  color: #07090e;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.btn-accent {
  background: rgba(252, 211, 77, 0.08);
  color: var(--accent-yellow);
  border-color: rgba(252, 211, 77, 0.15);
}
.btn-accent:hover {
  background: var(--accent-yellow);
  color: var(--bg-primary);
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Toggle Buttons for Views (List/Map) */
.view-toggle-container {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.toggle-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}
.toggle-btn:hover {
  color: var(--text-secondary);
}
.toggle-btn.active {
  background: var(--bg-tertiary);
  color: var(--accent-green);
  box-shadow: var(--shadow-sm);
}
.toggle-icon {
  width: 16px;
  height: 16px;
}

/* Loader Styling */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  gap: 20px;
}
.cozy-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Explore Feed Styles */
.explore-hero {
  margin-bottom: 24px;
  text-align: center;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.explore-hero-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--accent-indigo);
  filter: blur(120px);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.explore-hero h1 {
  font-size: 44px;
  margin-bottom: 12px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.explore-hero h1 span {
  color: var(--accent-green);
}
.explore-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Search and Filters */
.filter-panel {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
}
.city-status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.city-status-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .search-row {
    grid-template-columns: 1fr;
  }
}
.search-wrapper {
  position: relative;
}
.search-input {
  width: 100%;
  height: 52px;
  padding: 12px 16px 12px 48px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition-smooth);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-green);
  background: var(--bg-input-focus);
  box-shadow: none;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
.select-filter {
  height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 15px;
  cursor: pointer;
  min-width: 160px;
  transition: var(--transition-smooth);
}
.select-filter:focus {
  outline: none;
  border-color: var(--accent-green);
}

.filter-options-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -6px;
  margin-bottom: 20px;
}
.checkbox-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-smooth);
}
.checkbox-toggle-container:hover {
  color: var(--text-primary);
}
.checkbox-toggle-input {
  display: none;
}
.checkbox-toggle-switch {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
.checkbox-toggle-switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 3px;
  left: 3px;
  transition: var(--transition-smooth);
}
.checkbox-toggle-input:checked + .checkbox-toggle-switch {
  background: rgba(45, 212, 191, 0.25);
  border-color: var(--accent-green);
}
.checkbox-toggle-input:checked + .checkbox-toggle-switch::after {
  transform: translateX(20px);
  background: var(--accent-green);
}
.checkbox-toggle-label {
  line-height: 1;
}

.vibe-chips-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.vibe-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vibe-chip {
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.vibe-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--text-muted);
  color: var(--text-primary);
}
.vibe-chip.selected {
  background: rgba(45, 212, 191, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
  font-weight: 500;
  box-shadow: var(--shadow-glow);
}

/* Event Feed Grid & Map View containers */
.events-section-title {
  margin-bottom: 24px;
  font-size: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.events-count {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feed-map-container {
  height: 550px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.map-element {
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Leaflet Map (Natively styled light basemaps) */
.leaflet-container {
  background-color: #f5f4ef !important;
}
.leaflet-bar {
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: var(--shadow-sm) !important;
}
.leaflet-bar a {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  transition: var(--transition-smooth);
}
.leaflet-bar a:hover {
  background-color: #f4f4f5 !important;
  color: var(--accent-green) !important;
}
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
}
.leaflet-popup-tip {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

/* Custom Marker Styling */
.map-event-popup-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.map-event-popup-game {
  font-size: 12px;
  color: var(--accent-yellow);
  font-weight: 600;
  text-transform: uppercase;
}
.map-event-popup-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.map-event-popup-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  background: var(--accent-indigo);
  color: white !important;
  border-radius: var(--radius-sm);
  text-align: center;
}
.map-event-popup-link:hover {
  background: var(--accent-green);
  color: #07090e !important;
}

/* Event Card Custom design */
.event-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.event-card.hosting-card {
  border-color: rgba(255, 126, 95, 0.45);
}
.event-card.hosting-card:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 6px 20px rgba(255, 126, 95, 0.15);
}
.event-card.joined-card {
  border-color: rgba(45, 212, 191, 0.45);
}
.event-card.joined-card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.15);
}
.event-card-banner {
  background: transparent;
  position: relative;
  padding: 20px 20px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
.event-card-banner::before {
  display: none;
}
.banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
  position: relative;
}
.location-badge {
  background: var(--bg-badge);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.badge-icon {
  width: 13px;
  height: 13px;
  color: var(--accent-green);
}
.gel-match-badge {
  background: var(--accent-green);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #07090e;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(45, 212, 191, 0.3);
}
.gel-match-badge.medium {
  background: var(--accent-yellow);
  border-color: rgba(252, 211, 77, 0.3);
}
.gel-match-badge.low {
  background: var(--accent-orange);
  border-color: rgba(255, 126, 95, 0.3);
}
.gel-match-icon {
  width: 14px;
  height: 14px;
}

.banner-bottom {
  z-index: 1;
  position: relative;
}
.event-game-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.event-card-title {
  font-size: 20px;
  line-height: 1.25;
}

.event-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.event-desc {
  font-size: 14px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.event-details-row {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.event-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-meta-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.event-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.event-card-vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.card-vibe-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.event-card-footer {
  padding: 16px 20px;
  background: transparent;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.host-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}
.host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-green);
  background-size: cover;
  background-position: center;
}
.host-name-wrapper {
  display: flex;
  flex-direction: column;
}
.host-label {
  font-size: 10px;
  color: var(--text-muted);
}
.host-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.price-tag {
  text-align: right;
}
.price-value {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-yellow);
}
.price-free {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-green);
}
.price-period {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

/* Event Detail Page Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.back-btn-container {
  margin-bottom: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
}
.back-link:hover {
  color: var(--accent-green);
}

.detail-main-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 30px;
}
.detail-banner {
  height: 200px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.detail-banner::before {
  display: none;
}
.detail-header-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
}
.detail-game-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.detail-title {
  font-size: 32px;
  line-height: 1.2;
}

.detail-section-title {
  font-size: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}
.detail-description {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
  white-space: pre-line;
}

.detail-map-box {
  height: 240px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Gel Match Gauge Component */
.gel-score-hero-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: none;
}
@media (max-width: 600px) {
  .gel-score-hero-card {
    flex-direction: column;
    text-align: center;
  }
}
.gel-gauge-container {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.gel-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.gel-gauge-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 8;
}
.gel-gauge-fill {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.29; /* 2 * PI * 54 */
  stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 1.2s ease-out;
}
.gel-gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-title);
}
.gel-gauge-percentage {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.gel-gauge-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.gel-score-explanation h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.gel-score-explanation p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.highlight-term {
  color: var(--accent-green);
  font-weight: 600;
}

/* Personality Gel Matrix details */
.compatibility-matrix-card {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 20px 0;
  margin-bottom: 30px;
}
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 600px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }
}
.matrix-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  align-items: center;
  text-align: center;
}
.matrix-icon-wrapper {
  color: var(--accent-green);
  width: 24px;
  height: 24px;
}
.matrix-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.matrix-value {
  font-size: 14px;
  font-weight: 600;
}

/* Guest Sign-In Prompt (replaces gel score in guest mode) */
.gel-guest-signin-prompt {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.gel-guest-signin-prompt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(253, 186, 116, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.gel-guest-prompt-icon {
  margin-bottom: 8px;
  opacity: 0.85;
}

/* Share Event Link Row */
.share-event-row {
  display: flex;
  gap: 8px;
  width: 100%;
}
.btn-share-event {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-share-event:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--accent-green);
}
.btn-copy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--accent-green);
}
.btn-copy-link.copied {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* Event Link Loading Overlay (on top of landing page) */
.event-link-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.45);
  animation: fadeIn 0.3s ease-out;
  transition: opacity 0.3s ease;
}
.event-link-loading-overlay.fade-out {
  opacity: 0;
}
.event-link-loading-interstitial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  border-radius: var(--radius-lg, 16px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Attendee Meeples Visualization */
.attendees-meeple-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  background: rgba(0,0,0,0.15);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.meeple-wrapper {
  position: relative;
  cursor: pointer;
  perspective: 1000px;
}
.meeple-icon {
  width: 44px;
  height: 48px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transition: var(--transition-bounce);
  transform-origin: bottom center;
}
.meeple-wrapper:hover .meeple-icon {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.7));
}
.meeple-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.9);
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  width: 180px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  font-size: 12px;
}
.meeple-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--border-hover);
}
.meeple-wrapper:hover .meeple-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px) scale(1);
}
.tooltip-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
  margin-bottom: 4px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}
.tooltip-mbti {
  color: var(--accent-green);
  font-weight: 600;
}
.tooltip-vibe {
  color: var(--text-secondary);
  font-style: italic;
}

/* Host Profile Section */
.host-profile-card {
  display: flex;
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .host-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.host-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 3px solid var(--accent-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-green);
  background-size: cover;
  background-position: center;
}
.host-info-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.host-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.host-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(45, 212, 191, 0.08);
  color: var(--accent-green);
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}
.host-badge.mbti {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border-color: rgba(99, 102, 241, 0.2);
}
.host-bio {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Sticky Booking widget */
.booking-card {
  position: sticky;
  top: 100px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.booking-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-header h3 {
  font-size: 22px;
}
.booking-seats-left {
  font-size: 13px;
  background: rgba(45, 212, 191, 0.08);
  color: var(--accent-green);
  border: 1px solid rgba(45, 212, 191, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.booking-seats-left.low {
  background: rgba(255, 126, 95, 0.08);
  color: var(--accent-orange);
  border-color: rgba(255, 126, 95, 0.2);
}

.booking-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.booking-info-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Gel Quiz styling inside booking widget */
.booking-quiz-section {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}
.quiz-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.quiz-title-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-yellow);
}
.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-question-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quiz-question-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.quiz-options-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.quiz-option-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}
.quiz-option-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.quiz-option-btn.selected {
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.booking-pricing-breakdown {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}
.pricing-row.total {
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.pricing-row.total .price-val {
  color: var(--accent-yellow);
}

.booking-action-btn {
  width: 100%;
  height: 48px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(15, 19, 30, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #ffffff !important;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 400px;
  animation: slide-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.toast.info {
  border-color: var(--accent-yellow);
}
.toast.error {
  border-color: var(--accent-red);
}
.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.toast.success .toast-icon { color: var(--accent-green); }
.toast.info .toast-icon { color: var(--accent-yellow); }
.toast.error .toast-icon { color: var(--accent-red); }

@keyframes slide-in {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Host Event Form Styles */
.host-form-container {
  max-width: 700px;
  margin: 0 auto;
}
.host-form-header {
  text-align: center;
  margin-bottom: 30px;
}
.host-form-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.host-form-header p {
  color: var(--text-secondary);
}

/* Board Game Path Progress Stepper */
.progress-board-path {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 40px;
  position: relative;
  padding: 0 10px;
}
.progress-board-path::before {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  height: 4px;
  background: var(--bg-tertiary);
  z-index: 0;
}
.progress-board-line {
  position: absolute;
  left: 20px;
  height: 4px;
  background: var(--accent-green);
  z-index: 0;
  transition: width 0.4s ease;
  width: 0%;
}
.path-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  z-index: 1;
  position: relative;
  transition: var(--transition-bounce);
  color: var(--text-muted);
  cursor: pointer;
}
.path-node.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--bg-secondary);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
  transform: scale(1.1);
}
.path-node.completed {
  border-color: var(--accent-green);
  background: var(--accent-green);
  color: #07090e;
}
.node-label {
  position: absolute;
  top: 100%;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.path-node.active .node-label {
  color: var(--text-primary);
}
.path-node.completed .node-label {
  color: var(--accent-green);
}

.form-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
  margin-bottom: 24px;
}
.form-step {
  display: none;
  animation: step-fade 0.4s ease;
}
.form-step.active {
  display: block;
}
@keyframes step-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: 20px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition-smooth);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-green);
  background: var(--bg-input-focus);
}
textarea.form-input {
  height: 100px;
  resize: vertical;
}

.vibe-tag-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vibe-checkbox-label {
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}
.vibe-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text-muted);
}
.vibe-checkbox-input {
  display: none;
}
.vibe-checkbox-input:checked + .vibe-checkbox-label {
  background: rgba(45, 212, 191, 0.15);
  border-color: var(--accent-green);
  color: var(--accent-green);
  font-weight: 500;
}

/* Host form navigation footer */
.form-actions-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* User Profile & Personality Selection */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 992px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}
.profile-sidebar {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}
.profile-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 4px solid var(--accent-yellow);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-yellow);
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.profile-sidebar h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.profile-sidebar-mbti {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: 20px;
}
.stat-box {
  background: rgba(0, 0, 0, 0.15);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}
.stat-num {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-green);
}
.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.profile-main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.profile-card {
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 24px 0;
  box-shadow: none;
}
.profile-card:last-child {
  border-bottom: none;
}
.profile-section-header {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* MBTI Selector Grid */
.mbti-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .mbti-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.mbti-btn {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-bounce);
}
.mbti-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}
.mbti-btn.selected {
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow);
}
.mbti-name-big {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}
.mbti-btn.selected .mbti-name-big {
  color: var(--accent-green);
}
.mbti-desc-short {
  font-size: 10px;
  color: var(--text-muted);
}

/* Interactive MBTI Quick Finder Quiz styling */
.mbti-helper-box {
  background: rgba(45, 212, 191, 0.01);
  border: 1px dashed rgba(45, 212, 191, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}
.mbti-helper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mbti-helper-header h4 {
  font-size: 16px;
  color: var(--accent-green);
}
.mbti-quiz-question {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.mbti-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mbti-quiz-opt {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}
.mbti-quiz-opt:hover {
  border-color: var(--accent-green);
  color: var(--text-primary);
}
.mbti-quiz-opt.selected {
  background: rgba(45, 212, 191, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
}
.mbti-quiz-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* User Events Lists tabs */
.profile-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding-bottom: 10px;
  position: relative;
  transition: var(--transition-smooth);
}
.tab-btn:hover {
  color: var(--text-secondary);
}
.tab-btn.active {
  color: var(--accent-green);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-green);
}

.profile-event-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.profile-event-list-item:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
}
.profile-event-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}
.profile-event-info p {
  font-size: 12px;
  color: var(--text-muted);
}
.profile-event-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.profile-event-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.status-hosting {
  background: rgba(255, 126, 95, 0.15);
  color: var(--accent-orange);
}
.status-joined {
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent-green);
}

/* Location picker card specific styles */
.profile-map-box {
  height: 280px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}

/* Footer Styling */
.app-footer {
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-top: 80px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-logo h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.footer-logo h3 span {
  color: var(--accent-green);
}
.footer-logo p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 450px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  width: 100%;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .app-header {
    position: static;
  }
  .header-container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  .app-content-container {
    padding: 20px 16px;
  }
}

/* Custom Interactive Map Markers (Cozy Speech Bubbles) */
.event-map-marker-container, .user-map-marker-container {
  background: none !important;
  border: none !important;
}

.event-map-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--accent-indigo);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.2s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  box-sizing: border-box;
}

.event-map-marker.high {
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.25), 0 4px 15px rgba(0, 0, 0, 0.7);
}
.event-map-marker.high .marker-gel-badge {
  color: var(--accent-green);
}
.event-map-marker.high .marker-pin-pointer {
  border-right-color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.event-map-marker.medium {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 10px rgba(252, 211, 77, 0.15), 0 4px 15px rgba(0, 0, 0, 0.7);
}
.event-map-marker.medium .marker-gel-badge {
  color: var(--accent-yellow);
}
.event-map-marker.medium .marker-pin-pointer {
  border-right-color: var(--accent-yellow);
  border-bottom-color: var(--accent-yellow);
}

.event-map-marker.low {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}
.event-map-marker.low .marker-gel-badge {
  color: var(--accent-orange);
}
.event-map-marker.low .marker-pin-pointer {
  border-right-color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

.marker-game-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.marker-gel-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marker-pin-pointer {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(7, 9, 14, 0.95);
  border-right: 1.5px solid var(--accent-indigo);
  border-bottom: 1.5px solid var(--accent-indigo);
  z-index: -1;
}

/* Hover effects */
.event-map-marker:hover {
  transform: scale(1.06) translateY(-3px);
  border-color: #ffffff !important;
  background: #111625;
  box-shadow: var(--shadow-glow), 0 8px 25px rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
.event-map-marker:hover .marker-pin-pointer {
  border-right-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
  background: #111625;
}

/* User Marker */
.user-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--accent-indigo);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3), 0 4px 12px rgba(0,0,0,0.6);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.user-map-marker:hover {
  transform: scale(1.05);
}
.user-marker-icon {
  width: 12px;
  height: 12px;
  color: var(--accent-indigo);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  color: var(--accent-yellow);
  border-color: var(--border-hover);
  transform: rotate(20deg);
}
.theme-btn-icon {
  width: 18px;
  height: 18px;
}

/* Light Theme Overrides */
body.light-theme .app-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
body.light-theme .app-footer {
  background: #f1f5f9;
}
body.light-theme .leaflet-container {
  background-color: #f8fafc !important;
}
body.light-theme .leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}
body.light-theme .leaflet-popup-tip {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}
body.light-theme .leaflet-bar a {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}
body.light-theme .event-map-marker {
  background: rgba(255, 255, 255, 0.97);
}
body.light-theme .event-map-marker .marker-pin-pointer {
  background: rgba(255, 255, 255, 0.97);
}
body.light-theme .user-map-marker {
  background: rgba(255, 255, 255, 0.97);
  color: #0f172a;
}
body.light-theme .event-card-banner::before {
  background: rgba(255, 255, 255, 0.1);
}
body.light-theme ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
body.light-theme ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

body.light-theme .vibe-chip {
  background: #ffffff;
  border-color: rgba(28, 28, 26, 0.12);
  color: var(--text-secondary);
}
body.light-theme .vibe-chip:hover {
  background: #fafafa;
  border-color: var(--text-secondary);
  color: var(--text-primary);
}
body.light-theme .vibe-chip.selected {
  background: rgba(13, 148, 136, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
  font-weight: 600;
}
body.light-theme .vibe-checkbox-label {
  background: #ffffff;
  border-color: rgba(28, 28, 26, 0.12);
  color: var(--text-secondary);
}
body.light-theme .vibe-checkbox-label:hover {
  background: #fafafa;
  border-color: var(--text-secondary);
  color: var(--text-primary);
}
body.light-theme .vibe-checkbox-input:checked + .vibe-checkbox-label {
  background: rgba(13, 148, 136, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
  font-weight: 600;
}

body.light-theme .checkbox-toggle-switch {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}
body.light-theme .checkbox-toggle-input:checked + .checkbox-toggle-switch {
  background: rgba(16, 185, 129, 0.2);
}
body.light-theme .checkbox-toggle-switch::after {
  background: #64748b;
}
body.light-theme .checkbox-toggle-input:checked + .checkbox-toggle-switch::after {
  background: var(--accent-green);
}

body.light-theme .search-input,
body.light-theme .select-filter,
body.light-theme .form-input {
  border-color: rgba(28, 28, 26, 0.15);
  color: var(--text-primary);
}
body.light-theme .search-input::placeholder,
body.light-theme .form-input::placeholder {
  color: #7d7d77;
}

@media (min-width: 768px) {
  .event-card {
    flex-direction: row !important;
    align-items: stretch !important;
    height: auto !important;
  }
  .event-card-banner {
    width: 320px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    padding: 24px !important;
    justify-content: space-between;
    gap: 16px;
  }
  .event-card-body {
    flex: 1;
    padding: 24px !important;
    gap: 16px;
    justify-content: center;
  }
  .event-card-footer {
    width: 260px;
    flex-shrink: 0;
    border-left: 1px solid var(--border-color);
    border-top: none !important;
    background: transparent !important;
    padding: 24px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 16px;
  }
}

/* Event Details Side Drawer */
.details-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.details-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 520px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-primary);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 1px solid var(--border-color);
  padding: 40px 24px 24px 24px;
}

.details-drawer.open .drawer-content {
  transform: translateX(0);
}

/* Close button styled nicely */
.drawer-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: scale(1.05);
}

/* Light mode specific hover for close button */
body.light-theme .drawer-close-btn {
  background: rgba(0, 0, 0, 0.03);
}
body.light-theme .drawer-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Hide back to feed button container inside the drawer */
.drawer-content .back-btn-container {
  display: none !important;
}

/* Drawer Detail Grid Layout Override */
.drawer-content .detail-grid {
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}

.drawer-content .detail-left-column,
.drawer-content .detail-right-column {
  width: 100% !important;
}

.drawer-content .detail-main-card {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.drawer-content .booking-card {
  margin-top: 10px;
}

/* Disable body scroll when drawer open */
body.drawer-open {
  overflow: hidden !important;
}

/* Google Login Button Hover styling */
.google-login-btn:hover {
  background-color: #f5f5f5 !important;
}

/* Premium Login Card Styles */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 350px);
  padding: 40px 20px;
}

.login-card {
  max-width: 440px;
  width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(12px);
  animation: login-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes login-slide-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-teal);
  margin-bottom: 24px;
}

.login-logo-icon {
  width: 32px;
  height: 32px;
}

.login-card h2 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.login-card h2 span {
  color: var(--accent-teal);
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.google-login-btn-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f !important;
  background: white !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.google-login-btn-large:hover {
  background: #f8f9fa !important;
  border-color: #d0d0d0 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.google-login-btn-large:active {
  transform: translateY(0);
}

/* Custom Profile Image Uploader & Warning Banner */
.profile-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 50%;
}

.profile-avatar-large:hover .avatar-edit-overlay {
  opacity: 1;
}

.avatar-edit-overlay .camera-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.profile-warning-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--accent-red);
  color: var(--text-primary);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  animation: slide-down 0.3s ease-out;
}

.profile-warning-banner .warning-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-red);
  flex-shrink: 0;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-box.clickable {
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box.clickable:hover {
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.light-theme .stat-box.clickable:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Floating Save Profile Button styling */
#btn-save-profile {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: auto;
  min-width: 150px;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4), 0 8px 10px -6px rgba(99, 102, 241, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 14px 28px;
  border-radius: var(--radius-full);
}

#btn-save-profile:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 30px -5px rgba(99, 102, 241, 0.5), 0 10px 15px -5px rgba(99, 102, 241, 0.5);
}

@media (max-width: 600px) {
  #btn-save-profile {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: calc(100% - 32px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
    border-radius: var(--radius-md) !important;
    padding: 12px !important;
  }
}

/* Attendee Avatar and profile details popup styles */
.attendee-avatar-wrapper {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 52px;
}

.attendee-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: white;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.attendee-avatar-wrapper:hover .attendee-avatar {
  transform: scale(1.05);
  border-color: var(--accent-yellow);
}

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

.attendee-mini-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.attendee-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.25s ease-out forwards;
}

.attendee-modal-overlay.closing {
  animation: fade-out 0.2s ease-in forwards;
}

.attendee-modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.attendee-modal-overlay.closing .attendee-modal-card {
  animation: scale-down 0.2s ease-in forwards;
}

.attendee-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
}

.attendee-modal-close-btn:hover {
  color: var(--text-primary);
}

.attendee-modal-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 3px solid var(--accent-yellow);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-yellow);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.attendee-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.attendee-modal-mbti {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(253, 186, 116, 0.1);
  color: var(--accent-yellow);
  border: 1px solid rgba(253, 186, 116, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}

.attendee-modal-body {
  text-align: left;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.modal-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@keyframes scale-up {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-down {
  to {
    transform: scale(0.92);
    opacity: 0;
  }
}

/* Host avatar border & wrapper styling */
.host-avatar-wrapper {
  position: relative;
}

.host-avatar-wrapper .attendee-avatar {
  border: 2px solid var(--accent-yellow) !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.attendee-mini-badge.host-badge {
  background: var(--accent-yellow) !important;
  color: #07090e !important;
  font-weight: 800;
  border: 1px solid var(--accent-yellow);
}

/* Past event reviews card & items */
.past-event-reviews-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
  box-shadow: var(--shadow-md);
}

.review-submission-row {
  transition: all 0.25s ease;
}

.review-submission-row.submitted {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.light-theme .review-submission-row.submitted {
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.01);
}

/* Star rating button animations */
.rating-input-stars .star-btn {
  transition: transform 0.15s ease, color 0.15s ease;
}

.rating-input-stars .star-btn:hover {
  transform: scale(1.25);
  color: var(--accent-yellow) !important;
}

.rating-input-stars .star-btn:active {
  transform: scale(0.9);
}

.review-comment-textarea:focus {
  outline: none;
  border-color: var(--accent-yellow) !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

/* Attendee profile modal reviews */
.attendee-modal-card {
  max-height: 90vh;
  overflow-y: auto;
}

.modal-reviews-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.light-theme .modal-reviews-summary {
  background: rgba(0, 0, 0, 0.015);
}

.avg-rating-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.avg-rating-stars {
  display: flex;
  align-items: center;
}

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

.modal-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom scrollbar for reviews list */
.modal-reviews-list::-webkit-scrollbar {
  width: 6px;
}

.modal-reviews-list::-webkit-scrollbar-track {
  background: transparent;
}

.modal-reviews-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.modal-review-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.light-theme .modal-review-item {
  background: rgba(0, 0, 0, 0.01);
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.reviewer-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
}

.review-item-stars {
  margin-bottom: 6px;
  display: flex;
  gap: 2px;
}

.review-item-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
  margin: 0;
}

/* Gathering Chatroom styles */
.gathering-chat-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: 16px;
  box-shadow: var(--shadow-md);
}

.chat-messages-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 300px;
  overflow-y: auto;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border-color);
}

/* Custom scrollbar for chat box */
.chat-messages-box::-webkit-scrollbar {
  width: 6px;
}
.chat-messages-box::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages-box::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.chat-message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 85%;
}

.chat-message-row.me {
  align-self: flex-end;
}

.chat-message-row.other {
  align-self: flex-start;
}

.chat-message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 2px;
}

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

.chat-message-avatar span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
}

.chat-message-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.chat-message-row.me .chat-message-bubble {
  background: var(--accent-green);
  color: #07090e;
  border-bottom-right-radius: 2px;
}

.chat-message-row.other .chat-message-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
}

.light-theme .chat-message-row.other .chat-message-bubble {
  background: rgba(0, 0, 0, 0.03);
}

.chat-message-sender {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 2px;
}

.chat-message-text {
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.chat-message-time {
  font-size: 9px;
  align-self: flex-end;
  margin-top: 4px;
  opacity: 0.6;
}

.chat-message-row.me .chat-message-time {
  color: #07090e;
}

/* danger state for button */
.btn-danger {
  background: #ef4444 !important;
  color: #ffffff !important;
  border: 1px solid #dc2626 !important;
}

.btn-danger:hover {
  background: #dc2626 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
}

/* success state for button */
.btn-success {
  background: #10b981 !important;
  color: #07090e !important;
  border: 1px solid #059669 !important;
  font-weight: 600;
}

.btn-success:hover {
  background: #059669 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3) !important;
}

/* Notification button in header nav */
.notification-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.notification-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #07090e;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

body.light-theme .notification-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .notification-btn:hover {
  background: #fafafa;
  border-color: rgba(0, 0, 0, 0.2);
}
body.light-theme .notification-badge {
  border-color: #ffffff;
}

/* Notification Dropdown Menu */
.notification-dropdown {
  position: absolute;
  top: calc(100% - 10px);
  right: 24px;
  width: 340px;
  max-height: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-dropdown-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
}
.notification-dropdown-header h3 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.close-dropdown-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.close-dropdown-btn:hover {
  color: var(--text-primary);
}

.notification-dropdown-body {
  flex: 1;
  overflow-y: auto;
  max-height: 380px;
  padding: 8px 0;
}

/* Scrollbar styling for notification dropdown */
.notification-dropdown-body::-webkit-scrollbar {
  width: 6px;
}
.notification-dropdown-body::-webkit-scrollbar-track {
  background: transparent;
}
.notification-dropdown-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}

/* Notification Item */
.notification-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.notification-item:last-child {
  border-bottom: none;
}
.notification-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
body.light-theme .notification-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.notification-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.notification-item-avatar span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.notification-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notification-item-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notification-user-name {
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
}
.notification-user-name:hover {
  color: var(--accent-green);
  text-decoration: underline;
}
.notification-user-mbti {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.2);
  color: var(--accent-yellow);
  border-radius: 100px;
  text-transform: uppercase;
}
.notification-event-title {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}
.notification-event-title span {
  color: var(--text-primary);
  font-weight: 600;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Extra small buttons inside notifications */
.btn-xs {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-admit {
  background: var(--accent-green);
  border: 1px solid #059669;
  color: #07090e;
}
.btn-admit:hover {
  background: #059669;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}
.btn-decline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.btn-decline:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

body.light-theme .btn-decline {
  background: rgba(0, 0, 0, 0.03);
  color: #1c1c1a;
}
body.light-theme .btn-decline:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

/* Attendee Profile Modal Quiz Alignment Styles */
.modal-quiz-question-compare {
  transition: var(--transition-smooth);
}
.alignment-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.alignment-badge.aligned {
  background: rgba(45, 212, 191, 0.12);
  color: var(--accent-green);
}
.alignment-badge.disaligned {
  background: rgba(244, 63, 94, 0.1);
  color: var(--accent-red);
}
.compare-value.match {
  color: var(--accent-green);
}
.compare-value.mismatch {
  color: var(--accent-orange);
}
body.light-theme .alignment-badge.aligned {
  background: rgba(13, 148, 136, 0.1);
}
body.light-theme .alignment-badge.disaligned {
  background: rgba(190, 18, 60, 0.1);
}
body.light-theme .compare-value.mismatch {
  color: var(--accent-orange);
}

/* User Profile Basics, Lifestyle Badges and Icebreakers */
.lifestyle-badges-row {
  margin-top: 10px;
  margin-bottom: 5px;
  justify-content: center;
}
.lifestyle-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.lifestyle-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}
body.light-theme .lifestyle-badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(28, 28, 26, 0.08);
  color: var(--text-secondary);
}
body.light-theme .lifestyle-badge:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(13, 148, 136, 0.2);
  color: var(--text-primary);
}
.badge-icon {
  font-size: 12px;
  line-height: 1;
}
.icebreaker-prompt-card {
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.icebreaker-prompt-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.3) !important;
}
.profile-basics-grid {
  margin-bottom: 10px;
}

/* =========================================================================
   MOBILE RESPONSIVENESS AND MOBILE LAYOUT OPTIMIZATIONS
   ========================================================================= */

/* Direct overrides for components inside the details drawer container */
.drawer-content .matrix-grid {
  grid-template-columns: 1fr !important;
}

/* Form Node Stepper Labels overlapping/overflow issues on mobile */
@media (max-width: 500px) {
  .node-label {
    font-size: 9px !important;
    white-space: normal !important;
    text-align: center !important;
    width: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    line-height: 1.1 !important;
  }
  .progress-board-path {
    margin: 20px 0 50px !important;
  }
  
  /* Mobile Tab-bar-like clean header icons */
  .main-nav {
    width: 100% !important;
    justify-content: space-around !important;
  }
  .nav-link span {
    display: none !important; /* hide navigation link text on small screens */
  }
  .nav-link {
    padding: 8px 12px !important;
  }
}

/* Explore Title Row & Map sizing on mobile viewport sizes */
@media (max-width: 600px) {
  .events-section-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  
  .feed-map-container {
    height: 350px !important;
  }
  
  .explore-hero h1 {
    font-size: 28px !important;
  }
  
  .detail-title {
    font-size: 24px !important;
  }
}

/* Drawer padding reductions to save space on mobile views */
@media (max-width: 480px) {
  .drawer-content {
    padding: 30px 16px 16px 16px !important;
  }
}

/* Ensure flex-wrap for explore filters so switches wrap properly */
.filter-options-row {
  flex-wrap: wrap !important;
}

/* =========================================================================
   UNAUTHENTICATED LANDING PAGE
   ========================================================================= */

/* --- Force dark mode on entire page when landing is active --- */
body.landing-active {
  background-color: #050709 !important;
}
body.landing-active .ambient-glow {
  display: none !important;
}
body.landing-active .app-header {
  background: rgba(5, 7, 9, 0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom-color: rgba(255,255,255,0.04) !important;
}
body.landing-active .app-header .logo span,
body.landing-active .app-header .logo span span {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}
body.landing-active .app-header .main-nav {
  display: none !important;
}
body.landing-active .app-footer {
  display: none !important;
}
body.landing-active .app-content-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- Wrapper: single scroll, no inner overflow --- */
.landing-page-wrapper {
  position: relative;
  width: 100%;
}

/* --- Hero background image: fixed, covers entire viewport --- */
.landing-hero-media {
  position: fixed;
  inset: 0;
  z-index: 1;
}
.landing-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.38) saturate(1.15);
  pointer-events: none;
  animation: landingKenBurns 25s ease-in-out infinite alternate;
}
@keyframes landingKenBurns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08) translate(-0.5%, -0.3%); }
}

/* Subtle vignette only — NO bottom black fade */
.landing-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(5,7,9,0.45) 100%);
  pointer-events: none;
  z-index: 2;
}

/* --- Floating game cards layer (fixed, behind text) --- */
.floating-cards-layer {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.card-interactive-wrapper {
  position: absolute;
  width: clamp(54px, 4.8vw, 72px);
  aspect-ratio: 203 / 292;
  z-index: 4;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.card-float-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  animation: float3d var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate;
}

.floating-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.card-interactive-wrapper:hover .floating-card-3d {
  transform: translateZ(42px) rotateY(168deg) rotateX(8deg);
}

.floating-card {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 7px;
  opacity: 0.72;
  overflow: hidden;
  background: transparent;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateZ(2px);
}

.floating-card-back {
  transform: rotateY(180deg) translateZ(2px);
}

.floating-card-edge {
  position: absolute;
  inset: 2px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(11,13,18,0.92) 18%, rgba(255,255,255,0.12) 82%, rgba(0,0,0,0.82));
  transform: translateZ(0);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.floating-card-img {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% * var(--sprite-size) / var(--src-w));
  height: calc(100% * var(--sprite-size) / var(--src-h));
  max-width: none;
  transform: translate(
    calc(var(--src-x) * -100% / var(--sprite-size)),
    calc(var(--src-y) * -100% / var(--sprite-size))
  );
  pointer-events: none;
  user-select: none;
}

/* 3D floating and rotating animation */
@keyframes float3d {
  0% {
    transform: translate3d(0, 0, 0) 
               rotateX(var(--rotX, 0deg)) 
               rotateY(var(--rotY, 0deg)) 
               rotateZ(var(--rot, 0deg));
  }
  100% {
    transform: translate3d(var(--driftX, 10px), var(--driftY, -20px), var(--driftZ, 30px)) 
               rotateX(calc(var(--rotX, 0deg) * -1.5)) 
               rotateY(calc(var(--rotY, 0deg) * -1.5)) 
               rotateZ(calc(var(--rot, 0deg) + 12deg));
  }
}

/* Typing animation tagline styles */
.typing-container {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 20px 0 35px;
  min-height: 40px; /* Prevent layout shifting */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.typing-text {
  background: linear-gradient(135deg, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-cursor {
  color: #2dd4bf;
  font-weight: 300;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Scroll content layer (above image + cards) --- */
.landing-scroll-container {
  position: relative;
  z-index: 5;
}

/* --- Sections --- */
.landing-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px 60px;
  box-sizing: border-box;
}

/* --- Hero text --- */
.landing-hero-text {
  max-width: 620px;
  text-align: center;
  animation: landingFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.22);
  color: #2dd4bf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.landing-main-title {
  font-family: var(--font-title);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.landing-main-title span {
  background: linear-gradient(135deg, #14b8a6, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-tagline {
  font-family: var(--font-title);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 14px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.5);
}

.landing-subtext {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA buttons --- */
.landing-buttons-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.landing-btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.25);
}
.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(20, 184, 166, 0.4);
}

.landing-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.landing-btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-2px);
}

/* --- Scroll hint --- */
.landing-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.landing-scroll-icon {
  width: 18px;
  height: 18px;
  animation: landingBounce 2.5s ease-in-out infinite;
}

/* --- Features section: semi-transparent, image still shows through --- */
.landing-section-features {
  background: rgba(5, 7, 9, 0.88);
  position: relative;
}

.landing-features-block {
  max-width: 860px;
  text-align: center;
  animation: landingFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-features-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}

.landing-features-sub {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 40px;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.landing-feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px 22px 28px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.landing-feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(20, 184, 166, 0.25);
  transform: translateY(-4px);
}

.landing-feature-emoji {
  font-size: 36px;
  margin-bottom: 16px;
}

.landing-feature-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.landing-feature-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* --- Keyframes --- */
@keyframes landingFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes landingBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .landing-section {
    padding: 80px 20px 40px;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 380px;
    margin: 0 auto;
  }
  .landing-btn {
    padding: 12px 24px;
    font-size: 13px;
  }
  .card-interactive-wrapper {
    width: 48px;
  }
  .floating-card {
    opacity: 0.3;
  }
  .typing-container {
    font-size: 20px;
    margin: 15px 0 25px;
    min-height: 30px;
  }
}

@media (max-width: 480px) {
  .landing-buttons-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .landing-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .landing-subtext {
    font-size: 13.5px;
  }
  .card-interactive-wrapper {
    width: 40px;
  }
  .floating-card {
    opacity: 0.22;
  }
  .typing-container {
    font-size: 17px;
    margin: 10px 0 20px;
    min-height: 26px;
  }
}

.modal-vibe-chip:hover {
  border-color: var(--accent-indigo) !important;
  color: var(--text-primary) !important;
  background: rgba(79, 70, 229, 0.05) !important;
}
.modal-vibe-chip.selected:hover {
  background: var(--accent-indigo) !important;
  color: #ffffff !important;
}
