body {
  font-family: "Inter", system-ui, sans-serif;
  background: #FFFFFF;
  color: #2c3e50;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* Mobile-first: clean white background */
}

@media (min-width: 768px) {
  body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  }
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
  height: 56px;
  display: flex;
    align-items: center;
  justify-content: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  padding: 0 1rem;
  height: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.group-mode-toggle {
  background: white;
  border: 2px solid #ff6b6b;
  color: #ff6b6b;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.group-mode-toggle:hover {
  background: #fff8f0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.group-mode-toggle.active {
  background: #ff6b6b;
  color: white;
}

.toggle-icon {
  font-size: 1rem;
}

.toggle-label {
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .group-mode-toggle .toggle-label {
    display: none;
  }
  .group-mode-toggle {
    padding: 8px;
    min-width: 36px;
    justify-content: center;
  }
}

.logo {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
  text-align: center;
}

.filter-icon {
  background: none;
  border: none;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.filter-icon:hover {
  background: rgba(0, 0, 0, 0.05);
}

.container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 56px);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.main-cta {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
}

.main-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.main-cta:hover::before {
  left: 100%;
}

.main-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.main-cta:active {
    transform: translateY(0);
  }

.cta-text {
  font-weight: 700;
}

.cta-icon {
  font-size: 1.3rem;
}

.cta-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.filter-link {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.filter-link:hover {
  color: #ff5252;
  text-decoration: underline;
}

/* Quick Chips */
.quick-chips {
  padding: 0 1rem 2rem;
}

.chips-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chips-container::-webkit-scrollbar {
  display: none;
}

.chip {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.chip:hover {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-1px);
}

.chip.random {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.chip.random:hover {
  background: linear-gradient(135deg, #ff5252, #ff7043);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* Filter Modal */
.filter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.filter-modal {
  background: white;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.filter-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.filter-tabs {
  display: flex;
  padding: 0 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn.active {
  color: #ff6b6b;
  border-bottom-color: #ff6b6b;
}

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

.filter-content {
  padding: 1.5rem;
}

.tab-content {
  display: none;
}

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

.filter-group {
    margin-bottom: 2rem;
  }

.filter-group h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-chip {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #495057;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.filter-chip:hover {
  background: rgba(255, 107, 107, 0.05);
  border-color: rgba(255, 107, 107, 0.2);
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider-container input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e9ecef;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.slider-container input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6b6b;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.slider-container span {
  font-weight: 600;
  color: #ff6b6b;
  min-width: 80px;
  text-align: right;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ff6b6b;
}

.toggle-text {
  font-size: 1rem;
  color: #495057;
}

.filter-footer {
  padding: 1.5rem;
  border-top: 1px solid #f0f0f0;
  position: sticky;
  bottom: 0;
  background: white;
}

.apply-filters-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.apply-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.apply-filters-btn:active {
  transform: translateY(0);
}

/* Results Header */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 56px;
  z-index: 90;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.results-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
  text-align: center;
}

.refresh-btn-small {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.refresh-btn-small:hover {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-1px);
}

.refresh-icon {
  font-size: 1rem;
}

.refresh-text {
  font-size: 0.8rem;
}

/* Cards */
.card {
  background: white;
  border-radius: 16px;
  margin: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card-hero {
  margin-bottom: 0.75rem;
}

.card-alternate {
  margin-bottom: 0.625rem;
  opacity: 0.95;
}

.card-label {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border-radius: 16px 16px 0 0;
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.card-hero .card-image-container {
  height: 220px;
}

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

.card:hover .card-image {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
}

.status-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.status-badge.open {
  background: rgba(76, 175, 80, 0.9);
  color: white;
}

.status-badge.closed {
  background: rgba(255, 152, 0, 0.9);
  color: white;
}

.distance-badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.mini-map {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  color: #666;
}

.card-content {
  padding: 16px;
}

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

.card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  flex: 1;
  line-height: 1.3;
}

.card-hero .card-title {
  font-size: 22px;
}

.rating-inline {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.tag {
  background: #f8f9fa;
  color: #666;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
}

.description-text {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.description-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 1.4em;
  background: linear-gradient(to right, transparent, #FFFFFF);
}

.why-pick {
  color: #888;
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 12px;
  font-style: italic;
}

.card-actions {
  display: flex;
  gap: 6px;
  margin-top: 0;
}

.action-btn {
  flex: 1;
  height: 40px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}

.action-btn.secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
}

.action-btn.secondary:hover {
  background: #e9ecef;
}

.action-btn.tertiary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
}

.action-btn.tertiary:hover {
  background: #e9ecef;
}

.btn-icon {
  font-size: 14px;
}

.btn-text {
  font-size: 11px;
}

/* Location Status */
.location-box {
  text-align: center;
  padding: 1rem;
}

.location-status {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Skeleton Loaders */
.skeleton-container {
  padding: 1rem;
}

.skeleton-container.hidden {
  display: none;
}

.skeleton-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.skeleton-hero {
  margin-bottom: 1.5rem;
}

.skeleton-secondary {
  display: flex;
  gap: 1rem;
}

.skeleton-small {
  flex: 1;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 50%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-hero .skeleton-image {
  height: 250px;
}

.skeleton-small .skeleton-image {
  height: 150px;
}

.skeleton-content {
  padding: 1.25rem;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 50%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.skeleton-title {
  width: 60%;
  height: 24px;
}

.skeleton-subtitle {
  width: 40%;
  height: 18px;
}

.skeleton-text {
  width: 80%;
  height: 14px;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  .hero-section {
    padding: 2rem 1rem 1.5rem;
  }
  
  .main-cta {
    padding: 16px 24px;
    font-size: 1rem;
    max-width: 280px;
  }
  
  .quick-chips {
    padding: 0 1rem 1.5rem;
  }
  
  .chip {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .card {
    margin: 0.75rem;
  }
  
  .card-image-container {
    height: 180px;
  }
  
  .card-hero .card-image-container {
    height: 220px;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-hero .card-title {
    font-size: 1.3rem;
  }
  
  .action-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-height: 40px;
  }
  
  .btn-text {
    font-size: 0.75rem;
  }
  
  .filter-modal {
    max-height: 85vh;
  }
  
  .filter-content {
    padding: 1rem;
  }
  
  .filter-group {
    margin-bottom: 1.5rem;
  }
  
  .chip-group {
    gap: 0.5rem;
  }
  
  .filter-chip {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 2rem 3rem;
  }
  
  .main-cta {
    max-width: 400px;
    padding: 20px 40px;
    font-size: 1.2rem;
  }
  
  .quick-chips {
    padding: 0 2rem 3rem;
  }
  
  .chips-container {
    justify-content: center;
  }
  
  .card {
    margin: 1.5rem;
  }
  
  .card-image-container {
    height: 220px;
  }
  
  .card-hero .card-image-container {
    height: 280px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .card-hero .card-title {
    font-size: 1.5rem;
  }
  
  .action-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .filter-modal {
    max-width: 600px;
    border-radius: 24px;
  }
  
  .filter-content {
    padding: 2rem;
  }
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-screen.fade-in {
  opacity: 1;
  visibility: visible;
}

.cooking-animation {
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

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

.chef-hat {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1s infinite;
}

.cooking-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: #667eea;
  border-radius: 50%;
  animation: loadingDots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes loadingDots {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

#intent-box {
  margin: 1rem 0;
  text-align: left;
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.intent-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.intent-row:last-child {
  margin-bottom: 0;
}

.intent-label {
  font-weight: 600;
  color: #667eea;
  min-width: 120px;
  font-size: 0.9rem;
}

.intent-value {
  font-weight: 500;
  color: #2c3e50;
}

.location-value {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.price-bags {
  display: flex;
  gap: 2px;
}

.money-bag {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.money-bag:hover {
  transform: scale(1.2);
}

.dietary-display {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dietary-tag {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.no-restrictions {
  color: #9e9e9e;
  font-style: italic;
  font-size: 0.9rem;
}

.filters {
  margin-top: 0.5rem;
}

.filter-tag {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 2px;
}

.filter-tag.dietary {
  background: #e3f2fd;
  color: #1565c0;
}

.filter-tag.occasion {
  background: #fce4ec;
  color: #c2185b;
}

.filter-tag.feature {
  background: #fff3e0;
  color: #ef6c00;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: slideInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
}

.rating-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 120px;
}

.stars {
  font-size: 1rem;
  line-height: 1;
}

.review-count {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* Pick for Me Button */
.pick-for-me-container {
  text-align: center;
  margin: 2rem 0;
}

.pick-for-me-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.pick-for-me-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.pick-for-me-btn:active {
  transform: translateY(-1px);
}

.dice-emoji {
  font-size: 1.3rem;
  animation: spin 2s linear infinite;
}

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

/* Card Selection Animation */
.card.selected {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
  border: 3px solid #ff6b6b;
  animation: selectedPulse 0.6s ease-out;
}

@keyframes selectedPulse {
  0% { transform: translateY(-8px) scale(1); }
  50% { transform: translateY(-12px) scale(1.1); }
  100% { transform: translateY(-8px) scale(1.05); }
}

/* Pick Animation */
.pick-animation {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  animation: pickBounce 0.6s ease-out;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

@keyframes pickBounce {
  0% { 
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.5);
  }
  50% { 
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1.1);
  }
  100% { 
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.maps-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #2c3e50;
  text-decoration: none;
}

.maps-link:hover {
  text-decoration: underline;
}

/* Expandable reason block */
details.reason {
  margin-top: 0.5rem;
  background: #f9f9f9;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

details.reason summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

details.reason[open] {
  background: #f1f1f1;
}

details.reason.low-rating {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
}

details.reason.low-rating summary {
  color: #f57c00;
  font-weight: 600;
}

details.reason.low-rating[open] {
  background: #ffe0b2;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .quick-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
}

@media (min-width: 769px) {
  .quick-actions {
    justify-content: space-evenly;
  }
}

.quick-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  min-width: 100px;
}

.quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.quick-btn.super-nearby {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.quick-btn.surprise-me {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.quick-btn.imma-walk {
  background: linear-gradient(135deg, #2196F3, #1976D2);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.quick-btn.off {
  background: linear-gradient(135deg, #9e9e9e, #757575);
  box-shadow: 0 4px 15px rgba(158, 158, 158, 0.3);
  opacity: 0.6;
}

.quick-btn.active {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.quick-btn.super-nearby.active {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.quick-btn.imma-walk.active {
  background: linear-gradient(135deg, #2196F3, #1976D2);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.quick-btn.price-toggle.off {
  background: linear-gradient(135deg, #9e9e9e, #757575);
  box-shadow: 0 4px 15px rgba(158, 158, 158, 0.3);
}

.quick-btn.price-toggle.broke {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
  color: #333;
  box-shadow: 0 4px 15px rgba(189, 189, 189, 0.3);
}

.quick-btn.price-toggle.ballin {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-text {
  font-weight: 700;
}

.btn-subtitle {
  font-size: 0.7rem;
  opacity: 0.8;
}


/* Modern Group Voting */
.group-vote-trigger {
  text-align: center;
  margin: 2rem 0;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.group-vote-btn {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.group-vote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

/* Modern Modal Overlay */
.group-voting-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.group-voting-modal {
  background: white;
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.voting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.voting-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.close-btn {
  background: transparent;
  color: #999;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
  transform: rotate(90deg);
}

/* Voting Steps */
.voting-step {
  padding: 2rem;
}

.voting-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Group Size Selector */
.group-size-selector {
  text-align: center;
}

.group-size-selector label {
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.number-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.number-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #9c27b0;
  background: white;
  color: #9c27b0;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.number-btn:hover {
  background: #9c27b0;
  color: white;
  transform: scale(1.1);
}

.number-input-container input {
  width: 80px;
  height: 80px;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  border: 3px solid #9c27b0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  color: #9c27b0;
}

/* Modern Buttons */
.modern-btn {
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modern-btn.primary {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  color: white;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.modern-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

.modern-btn.secondary {
  background: linear-gradient(135deg, #4caf50, #388e3c);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.modern-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Progress Bar */
.voting-progress {
  margin-bottom: 2rem;
}

.progress-text {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9c27b0, #7b1fa2);
  transition: width 0.5s ease;
  border-radius: 10px;
}

.voting-options {
  margin-bottom: 1.5rem;
}

.voting-option {
  background: #f8f9fa;
  border: 3px solid #e9ecef;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.voting-option:hover {
  border-color: #9c27b0;
  background: #f3e5f5;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.2);
}

.voting-option.voted {
  border-color: #4caf50;
  background: #e8f5e9;
  transform: scale(1.05);
}

.option-info h4 {
  margin: 0 0 0.5rem 0;
  color: #333;
}

.option-info p {
  margin: 0 0 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

.option-rating {
  color: #ff9800;
  font-weight: 600;
  font-size: 0.9rem;
}

.vote-count {
  background: #667eea;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.voting-actions {
  text-align: center;
}

/* Winner Announcement */
.winner-announcement {
  text-align: center;
  padding: 2rem;
}

.confetti {
  font-size: 4rem;
  animation: confettiFall 2s ease infinite;
}

@keyframes confettiFall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.winner-title {
  font-size: 1.8rem;
  color: #333;
  margin: 1rem 0 2rem 0;
}

.winner-card {
  background: linear-gradient(135deg, #fff8e1, #fff);
  border: 3px solid #ffd54f;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.winner-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1s ease infinite;
}

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

.winner-card h3 {
  font-size: 1.8rem;
  color: #333;
  margin: 0 0 1.5rem 0;
}

.winner-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
}

.winner-location, .winner-price {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #555;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3000;
  transition: bottom 0.3s ease;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  bottom: 30px;
}

.toast.toast-success {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.toast.toast-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.toast.toast-info {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

/* Group Winner Highlight */
.card.group-winner {
  border: 3px solid #4CAF50;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
  animation: winnerPulse 2s infinite;
}

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

/* Conflict and Constraint UI Styles */
.conflict-container, .constraint-container {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #f39c12;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(243, 156, 18, 0.2);
  animation: slideInUp 0.6s ease-out;
}

.conflict-header, .constraint-header {
  text-align: center;
  margin-bottom: 25px;
}

.conflict-emoji, .constraint-emoji {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}

.conflict-title, .constraint-title {
  color: #d68910;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.conflict-subtitle, .constraint-subtitle {
  color: #8b4513;
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.8;
}

.conflict-details, .constraint-details {
  margin-bottom: 25px;
}

.conflict-details h3, .constraint-details h3 {
  color: #8b4513;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.conflict-item, .constraint-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  border-left: 4px solid #f39c12;
  transition: transform 0.2s ease;
}

.conflict-item:hover, .constraint-item:hover {
  transform: translateX(5px);
}

.constraint-item.high {
  border-left-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.constraint-item.medium {
  border-left-color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
}

.conflict-message, .constraint-message {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.conflict-filters {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-style: italic;
}

.constraint-impact {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 5px;
}

.suggestions-section {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 20px;
}

.suggestions-section h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.suggestion-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.suggestion-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

.suggestion-btn:active {
  transform: translateY(0);
}

.suggestion-icon {
  font-size: 1.2rem;
}

.suggestion-text {
  flex: 1;
  text-align: left;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

/* Fallback UI Styles */
.fallback-container {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 20px;
  margin: 1rem 0;
  color: white;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.fallback-header {
  margin-bottom: 2rem;
}

.fallback-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.fallback-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fallback-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.fallback-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.fallback-card {
  background: white;
  color: #333;
  border: 3px solid #ff6b6b;
  position: relative;
  overflow: hidden;
}

.fallback-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ee5a24, #ff6b6b);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.fallback-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.fallback-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.fallback-footer p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.error-message {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #dee2e6;
  margin: 1rem 0;
}

.error-message h3 {
  color: #dc3545;
  margin-bottom: 1rem;
}

.error-message p {
  color: #6c757d;
  margin: 0;
}

.retry-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Clarification UI Styles */
.clarification-container {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px solid #2196f3;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.2);
  animation: slideInUp 0.6s ease-out;
}

.clarification-header {
  text-align: center;
  margin-bottom: 25px;
}

.clarification-emoji {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}

.clarification-header h2 {
  color: #1976d2;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.clarification-header p {
  color: #424242;
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.8;
}

.clarification-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.clarification-btn {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.clarification-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}

.clarification-btn:active {
  transform: translateY(0);
}

/* No Results UI Styles */
.no-results-container {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 2px solid #ff9800;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.2);
  animation: slideInUp 0.6s ease-out;
}

/* Restaurant Images Gallery */
.restaurant-images-gallery {
  margin: 12px 0;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item.featured {
  grid-row: 1 / 3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.image-credit {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .image-credit {
  opacity: 1;
}

.more-photos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  z-index: 2;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .gallery-container {
    height: 120px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  
  .gallery-item.featured {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
}

/* Image Modal */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.image-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: slideInUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.modal-image-container {
  padding: 20px;
  text-align: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.modal-image-credit {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

/* Modal Carousel */
.modal-carousel {
  position: relative;
}

.modal-carousel-container {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.modal-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-slide.active {
  opacity: 1;
}

.modal-slide .modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.modal-prev,
.modal-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-prev:hover,
.modal-next:hover {
  background: white;
  transform: scale(1.1);
}

.modal-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: #f8f9fa;
}

.modal-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-indicator.active {
  background: #667eea;
  transform: scale(1.2);
}

.modal-indicator:hover {
  background: #5a6fd8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Restaurant Action Buttons */
.restaurant-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.action-btn.like {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.action-btn.like:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

.action-btn.dislike {
  background: linear-gradient(135deg, #757575 0%, #616161 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(117, 117, 117, 0.3);
}

.action-btn.dislike:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(117, 117, 117, 0.4);
}

/* Feedback Animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.no-results-header {
  text-align: center;
  margin-bottom: 25px;
}

.no-results-emoji {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: bounce 2s infinite;
}

.no-results-header h2 {
  color: #f57c00;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.no-results-header p {
  color: #8b4513;
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.8;
}

.no-results-suggestions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
  margin: 0 auto;
}

.no-results-suggestions .suggestion-btn {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.no-results-suggestions .suggestion-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
  background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
}

.no-results-suggestions .suggestion-btn:active {
  transform: translateY(0);
}

.suggestion-icon {
  font-size: 1.2rem;
}

.suggestion-text {
  flex: 1;
  text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(102, 126, 234, 0.95);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  z-index: 1500;
  display: none;
  align-items: center;
  gap: 8px;
  animation: bounceUpDown 2s infinite;
  backdrop-filter: blur(10px);
}

.scroll-indicator.visible {
  display: flex;
}

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

.scroll-indicator .arrow {
  font-size: 1.2rem;
  animation: arrowBounce 1.5s infinite;
}

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

/* Mobile-specific Quick Actions */
@media (max-width: 767px) {
  .quick-actions {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  
  .quick-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
    min-width: calc(50% - 0.3rem);
  }
  
  .btn-subtitle {
    font-size: 0.7rem;
  }
  
  .btn-icon {
    font-size: 1.2rem;
  }
}

/* Results optimized for mobile scrolling */
@media (max-width: 767px) {
  .recommendation-card {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .recommendation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .restaurant-image {
    max-height: 180px;
  }
}

/* Sticky filter bar for mobile */
.filter-sticky-wrapper {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  margin: -1rem -1rem 1rem -1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .filter-sticky-wrapper {
    position: static;
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* ========================================
   MVP SKELETON LOADERS - Fast Perceived Performance
   WHY: Users perceive skeleton loaders as 2x faster than spinners
   ======================================== */

.skeleton-container {
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

.skeleton-container.hidden {
  display: none;
}

.skeleton-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.skeleton-hero {
  margin-bottom: 2rem;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 50%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-hero .skeleton-image {
  height: 300px;
}

.skeleton-content {
  padding: 1.25rem;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 50%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.skeleton-title {
  width: 60%;
  height: 24px;
}

.skeleton-subtitle {
  width: 40%;
  height: 18px;
}

.skeleton-text {
  width: 80%;
  height: 14px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

/* ========================================
   MVP CARD ENHANCEMENTS - Clean & Modern
   ======================================== */

.card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hero {
  border: 2px solid #FF6B6B;
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.2);
}

.card-alternate {
  opacity: 0.95;
}

/* "Why this?" Chip - Moved below image to avoid blocking */
.why-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #667eea;
  cursor: help;
  transition: all 0.2s ease;
  margin-right: 6px;
  margin-bottom: 6px;
}

.why-chip:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-1px);
}

.why-icon {
  font-size: 0.9rem;
}

.why-text {
  white-space: nowrap;
}

/* Open Now Badge - Moved to inline position */
.open-now-badge {
  display: inline-flex;
  align-items: center;
  background: #4CAF50;
  color: white;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(76, 175, 80, 0.25);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Refresh Button - Modern & Minimal */
.refresh-container {
  text-align: center;
  margin: 2rem 0 1.5rem 0;
}

.refresh-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.refresh-btn:active {
  transform: scale(0.98);
}

.refresh-icon {
  font-size: 1.2rem;
}

.refresh-btn:hover .refresh-icon {
  animation: spin 0.6s ease;
}

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

/* "Not into this" Button - Secondary Action */
.action-btn.secondary {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.action-btn.secondary:hover {
  background: #e0e0e0;
  color: #333;
  transform: translateY(-1px);
}

/* Mobile optimizations for MVP */
@media (max-width: 767px) {
  .skeleton-grid {
    grid-template-columns: 1fr;
  }
  
  .why-chip {
    font-size: 0.7rem;
    padding: 3px 8px;
    margin-right: 4px;
    margin-bottom: 4px;
  }
  
  .why-icon {
    font-size: 0.8rem;
  }
  
  .open-now-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    margin-right: 4px;
    margin-bottom: 4px;
  }
  
  .refresh-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* Details Modal Styles */
.details-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease-out;
}

.details-modal {
  background: #FFFFFF;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.details-header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
  z-index: 100;
}

.details-back-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.details-back-btn:hover {
  background-color: #f5f5f5;
}

.details-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.details-save-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}

.details-save-btn:hover {
  background-color: #f5f5f5;
}

.details-save-btn.saved {
  color: #ff6b6b;
}

/* Photo Carousel */
.photo-carousel {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f8f8f8;
}

.carousel-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-indicator.active {
  background: #FFFFFF;
  transform: scale(1.2);
}

/* Restaurant Info */
.restaurant-info {
  flex: 1;
  padding: 24px 20px;
  overflow-y: auto;
}

.restaurant-header {
  margin-bottom: 16px;
}

.restaurant-name {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.restaurant-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 16px;
  color: #ffd700;
}

.review-count {
  font-size: 14px;
  color: #666;
}

.restaurant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.restaurant-tags .tag {
  background: #f8f9fa;
  color: #666;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.restaurant-address,
.restaurant-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
}

.restaurant-description {
  margin-bottom: 24px;
}

.restaurant-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Map Preview */
.map-preview {
  height: 120px;
  background: #f8f8f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #999;
}

/* Details Actions */
.details-actions {
  position: sticky;
  bottom: 0;
  background: #FFFFFF;
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
}

.details-actions .action-btn {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.details-actions .action-btn.primary {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
}

.details-actions .action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.details-actions .action-btn.secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
}

.details-actions .action-btn.secondary:hover {
  background: #e9ecef;
}

/* Mobile Responsiveness for Details Modal */
@media (max-width: 480px) {
  .details-header {
    padding: 12px 16px;
  }
  
  .details-title {
    font-size: 16px;
  }
  
  .photo-carousel {
    height: 250px;
  }
  
  .restaurant-info {
    padding: 20px 16px;
  }
  
  .restaurant-name {
    font-size: 20px;
  }
  
  .details-actions {
    padding: 12px 16px;
  }
  
  .details-actions .action-btn {
    height: 44px;
    font-size: 13px;
  }
}

/* Tinder-Style Swipe Modal */
.swipe-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.swipe-modal-overlay.modal-visible {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999 !important;
}

.swipe-modal {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.swipe-step {
  padding: 2rem;
}

.swipe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.swipe-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.swipe-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.swipe-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 12px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.swipe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.swipe-form label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}

.swipe-form input[type="text"],
.swipe-form input[type="number"] {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.swipe-form input[type="text"]:focus,
.swipe-form input[type="number"]:focus {
  outline: none;
  border-color: #ff6b6b;
}

/* Room Code Display */
.room-code-display {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
  border-radius: 16px;
}

.room-code-label {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem 0;
}

.room-code {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6b6b;
  letter-spacing: 0.2em;
  margin: 0.5rem 0 1rem 0;
  font-family: 'Courier New', monospace;
}

.participants-list {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
}

/* Swipe Progress */
.swipe-progress {
  font-weight: 600;
  color: #666;
}

/* Swipe Content Area */
.swipe-content-swipe {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 500px;
}

.swipe-stack {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto;
}

.swipe-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.swipe-card:active {
  cursor: grabbing;
}

.swipe-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 4px solid;
  padding: 1rem 2rem;
  border-radius: 16px;
}

.swipe-overlay-like {
  color: #4CAF50;
  border-color: #4CAF50;
  background: rgba(76, 175, 80, 0.1);
}

.swipe-overlay-pass {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.swipe-card-image {
  width: 100%;
  height: 60%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.open-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #4CAF50;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.swipe-card-content {
  padding: 1.5rem;
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swipe-card-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.swipe-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.rating-stars {
  font-size: 1rem;
}

.swipe-card-distance,
.swipe-card-price,
.swipe-card-location {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* Swipe Actions */
.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.swipe-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swipe-btn.pass-btn {
  background: white;
  color: #ff6b6b;
  border: 3px solid #ff6b6b;
}

.swipe-btn.pass-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: scale(1.1);
}

.swipe-btn.like-btn {
  background: white;
  color: #4CAF50;
  border: 3px solid #4CAF50;
}

.swipe-btn.like-btn:hover {
  background: #4CAF50;
  color: white;
  transform: scale(1.1);
}

.swipe-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Matches List */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.match-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.match-card:hover {
  border-color: #ff6b6b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.2);
}

.match-card.selected {
  border-color: #ff6b6b;
  background: #fff8f0;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.match-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.match-card-content {
  padding: 1.5rem;
}

.match-card-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: #2c3e50;
}

.match-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.match-card-content p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #666;
}

.no-matches {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 1rem;
}

.match-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modern-btn.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.modern-btn.tertiary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
}

.modern-btn.tertiary:hover {
  background: #e9ecef;
}

/* Mobile Responsiveness for Swipe Modal */
@media (max-width: 480px) {
  .swipe-modal {
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .swipe-step {
    padding: 1.5rem;
  }
  
  .swipe-content-swipe {
    min-height: 400px;
  }
  
  .swipe-stack {
    height: 400px;
  }
  
  .swipe-card-content {
    padding: 1rem;
  }
  
  .swipe-card-content h3 {
    font-size: 1.3rem;
  }
  
  .swipe-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Group Mode View */
.group-mode-hero {
  padding: 3rem 1rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.group-mode-content {
  max-width: 500px;
  margin: 0 auto;
}

.group-mode-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
}

.group-mode-description {
  font-size: 1rem;
  color: #666;
  margin: 0 0 2rem 0;
}

.group-mode-cta {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 280px;
  margin: 0 auto 3rem;
}

.group-mode-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.group-mode-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .group-mode-title {
    font-size: 1.5rem;
  }
  
  .group-mode-description {
    font-size: 0.9rem;
  }
  
  .group-mode-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
  }
}
