/* Bien Tickets Design System */
:root {
  --color-prussian: #113A5E;
  --color-azur: #2171B8;
  --color-navy: #113A5E;
  --color-bright-blue: #2171B8;
  --color-blue-light: #4A9FD4;
  --color-blue-pale: #EEF5FB;
  --color-orange: #F97316;
  --color-orange-light: #FDBA74;
  --color-purple: #7C3AED;
  --color-purple-light: #C4B5FD;
  --color-emerald: #10B981;
  --color-coral: #EF4444;
  --color-amber: #F59E0B;
  --color-white: #FFFFFF;
  --color-off-white: #F8FAFC;
  --color-light-gray: #E2E8F0;
  --color-medium-gray: #94A3B8;
  --color-dark-gray: #475569;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-family);
  --shadow-sm: 0 1px 2px rgba(17, 58, 94, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(17, 58, 94, 0.1), 0 2px 4px -2px rgba(17, 58, 94, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(17, 58, 94, 0.12), 0 4px 6px -4px rgba(17, 58, 94, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(17, 58, 94, 0.14), 0 8px 10px -6px rgba(17, 58, 94, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  color: var(--color-dark-gray);
  background-color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Sticky header */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.header-sticky.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.site-header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.site-header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.site-header-nav a:hover,
.site-header-nav a.active {
  color: var(--color-bright-blue);
  font-weight: 600;
}
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.site-header-city {
  position: relative;
  flex-shrink: 0;
}
.site-header-city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.125rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: color var(--transition);
}
.site-header-city-trigger:hover {
  color: var(--color-bright-blue);
}
.site-header-city-trigger:focus-visible {
  outline: 2px solid var(--color-bright-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.site-header-city-trigger i:first-child {
  color: var(--color-bright-blue);
  font-size: 0.75rem;
}
.site-header-city-chevron {
  font-size: 0.625rem;
  color: var(--color-medium-gray);
  transition: transform var(--transition);
}
.site-header-city[data-open] .site-header-city-chevron {
  transform: rotate(180deg);
}
.site-header-city-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.site-header-city-menu:not([hidden]) {
  display: block;
}
.site-header-city-option {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-navy);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.site-header-city-option:hover,
.site-header-city-option:focus {
  background: var(--color-blue-pale);
  color: var(--color-bright-blue);
  outline: none;
}
.site-header-city-option[aria-selected="true"] {
  background: var(--color-blue-pale);
  color: var(--color-bright-blue);
  font-weight: 600;
}

.browse-quick-filters {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid rgba(33, 113, 184, 0.1);
  padding: 0.75rem 0;
}
.browse-quick-filters-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.browse-quick-filters-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-medium-gray);
  flex-shrink: 0;
  display: none;
}
@media (min-width: 768px) {
  .browse-quick-filters-label { display: block; }
}

/* Brand logo icon — portrait asset; never force square dimensions */
.logo-icon {
  height: 2.25rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-icon--lg { height: 2.5rem; }
.logo-icon--md { height: 2rem; }
.logo-icon--sm { height: 1.75rem; }
.logo-icon--xs { height: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
}

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

.btn-primary {
  background: var(--color-bright-blue);
  color: white;
}
.btn-primary:hover { background: var(--color-blue-light); }

.btn-secondary {
  background: var(--color-orange);
  color: white;
}
.btn-secondary:hover { background: var(--color-orange-light); color: var(--color-navy); }

.btn-outline {
  background: transparent;
  color: var(--color-bright-blue);
  border: 2px solid var(--color-bright-blue);
}
.btn-outline:hover { background: var(--color-blue-pale); }

.btn-ghost {
  background: transparent;
  color: var(--color-dark-gray);
}
.btn-ghost:hover { background: var(--color-off-white); }

.btn-danger {
  background: var(--color-coral);
  color: white;
}
.btn-danger:hover { opacity: 0.9; }

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  min-height: 36px;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-gray);
  overflow: hidden;
}

.card-highlighted {
  border-color: var(--color-bright-blue);
  box-shadow: 0 0 0 1px var(--color-bright-blue);
}

/* Event Card */
.event-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-info { background: var(--color-blue-pale); color: var(--color-bright-blue); }
.badge-purple { background: #EDE9FE; color: #5B21B6; }
.badge-default { background: var(--color-off-white); color: var(--color-dark-gray); }

/* Form elements */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-navy);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-bright-blue);
  box-shadow: 0 0 0 3px rgba(33, 113, 184, 0.15);
}

.password-field {
  position: relative;
}
.password-field__input {
  padding-right: 2.75rem;
}
.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-medium-gray);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.password-field__toggle:hover,
.password-field__toggle:focus-visible {
  color: var(--color-navy);
  background: var(--color-blue-pale);
  outline: none;
}
.password-field__toggle[aria-pressed="true"] {
  color: var(--color-bright-blue);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--color-bright-blue) 0%, var(--color-navy) 100%);
}

.hero-overlay {
  background: linear-gradient(to top, rgba(17, 58, 94, 0.9) 0%, rgba(17, 58, 94, 0.4) 50%, transparent 100%);
}

/* Stats */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

/* Category card */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  border-color: var(--color-bright-blue);
  background: var(--color-blue-pale);
  transform: translateY(-2px);
}

.category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Sidebar nav (dashboard) */
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--color-blue-pale);
  color: var(--color-bright-blue);
}

/* Progress steps */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.step-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--color-light-gray);
  color: var(--color-medium-gray);
  background: white;
}
.step.active .step-circle {
  border-color: var(--color-bright-blue);
  background: var(--color-bright-blue);
  color: white;
}
.step.completed .step-circle {
  border-color: var(--color-emerald);
  background: var(--color-emerald);
  color: white;
}
.step-line {
  flex: 1;
  height: 2px;
  background: var(--color-light-gray);
  min-width: 2rem;
}
.step-line.completed { background: var(--color-emerald); }

/* Quantity selector */
.qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--color-blue-pale); border-color: var(--color-bright-blue); }

/* Scanner */
.scanner-frame {
  border: 3px solid var(--color-bright-blue);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 280px;
}
.scanner-frame::before {
  content: '';
  position: absolute;
  inset: 20%;
  border: 2px dashed rgba(33, 113, 184, 0.6);
  border-radius: var(--radius-md);
  animation: scan-pulse 2s ease-in-out infinite;
}
@keyframes scan-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Toast */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: slide-in 300ms ease;
  max-width: 24rem;
}
@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast-success { background: #D1FAE5; color: #065F46; border-left: 4px solid var(--color-emerald); }
.toast-error { background: #FEE2E2; color: #991B1B; border-left: 4px solid var(--color-coral); }
.toast-info { background: var(--color-blue-pale); color: var(--color-navy); border-left: 4px solid var(--color-bright-blue); }
.toast-warning { background: #FEF3C7; color: #92400E; border-left: 4px solid var(--color-amber); }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-off-white) 25%, var(--color-light-gray) 50%, var(--color-off-white) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .mobile-toggle { display: flex !important; }
  .site-header-bar {
    grid-template-columns: 1fr auto;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-bright-blue);
  outline-offset: 2px;
}

/* Star rating */
.stars { color: #FBBF24; letter-spacing: -1px; }

/* Container */
.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container-main { padding: 0 2rem; }
}

/* Homepage — content-first layout */
.section-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: white;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.filter-pill i {
  font-size: 0.6875rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
}
.filter-pill[data-filter="today"] i { color: var(--color-orange); background: rgba(249, 115, 22, 0.12); }
.filter-pill[data-filter="weekend"] i { color: var(--color-bright-blue); background: rgba(33, 113, 184, 0.1); }
.filter-pill[data-filter="concert"] i { color: var(--color-purple); background: rgba(124, 58, 237, 0.1); }
.filter-pill[data-filter="comedy"] i { color: var(--color-amber); background: rgba(245, 158, 11, 0.12); }
.filter-pill[data-filter="conference"] i { color: #0EA5E9; background: rgba(14, 165, 233, 0.12); }
.filter-pill[data-filter="sports"] i { color: var(--color-emerald); background: rgba(16, 185, 129, 0.12); }
.filter-pill[data-filter="church"] i { color: #6366F1; background: rgba(99, 102, 241, 0.12); }
.filter-pill[data-filter="free"] i { color: var(--color-emerald); background: rgba(16, 185, 129, 0.12); }
.filter-pill:hover {
  border-color: var(--color-light-gray);
  color: var(--color-navy);
}
.filter-pill.active {
  border-color: var(--color-bright-blue);
  background: white;
  color: var(--color-bright-blue);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--color-bright-blue);
}
.filter-pill.active i {
  color: inherit;
  background: var(--color-blue-pale);
}

/* Hidden scrollbar — clean horizontal scroll */
.hide-scrollbar {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.filter-scroll-wrap {
  position: relative;
}
.filter-scroll-wrap::before,
.filter-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2rem;
  z-index: 1;
  pointer-events: none;
}
.filter-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.filter-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
.browse-quick-filters .filter-scroll-wrap::before {
  background: linear-gradient(to right, #ffffff, transparent);
}
.browse-quick-filters .filter-scroll-wrap::after {
  background: linear-gradient(to left, #f8faff, transparent);
}

/* Auto-scroll trending carousel */
.carousel-auto {
  overflow: hidden;
  position: relative;
}
.carousel-auto-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.carousel-auto:hover .carousel-auto-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-auto-track {
    animation: none;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    scrollbar-width: none;
  }
  .carousel-auto-track::-webkit-scrollbar { display: none; }
  .carousel-auto { overflow-x: auto; scrollbar-width: none; }
  .carousel-auto::-webkit-scrollbar { display: none; }
}

/* Payment provider badges */
.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.pay-badge img,
.pay-badge svg {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.pay-badge-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}
.pay-badge-sublabel {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-medium-gray);
}

/* Trending spotlight — editorial bento on brand blue */
.trending-spotlight {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
  background: linear-gradient(168deg, var(--color-prussian) 0%, #0e3352 52%, var(--color-prussian) 100%);
}
@media (min-width: 768px) {
  .trending-spotlight { padding: 2rem 0 3rem; }
}
.trending-spotlight::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -12%;
  width: 55%;
  height: 75%;
  background: radial-gradient(circle, rgba(33, 113, 184, 0.28) 0%, transparent 68%);
  pointer-events: none;
}
.trending-spotlight::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -8%;
  width: 45%;
  height: 65%;
  background: radial-gradient(circle, rgba(33, 113, 184, 0.14) 0%, transparent 68%);
  pointer-events: none;
}
.trending-spotlight > .container-main {
  position: relative;
  z-index: 1;
}
.trending-spotlight .section-label {
  color: white;
}
.trending-spotlight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .trending-spotlight-head { margin-bottom: 1.5rem; }
}
.trending-spotlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.trending-spotlight-kicker .pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: trending-pulse 2s ease infinite;
}
@keyframes trending-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .trending-spotlight-kicker .pulse-dot { animation: none; }
}
.trending-spotlight-lede {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 28rem;
}
.trending-spotlight-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.trending-spotlight-link:hover { color: white; }

.trending-bento {
  display: grid;
  gap: 0.875rem;
}
@media (min-width: 768px) {
  .trending-bento {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
  }
}

/* Featured hero card */
.trending-featured {
  position: relative;
  display: block;
  min-height: 18rem;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
@media (min-width: 768px) {
  .trending-featured {
    grid-row: span 2;
    min-height: 22rem;
    height: 100%;
    aspect-ratio: auto;
  }
  .trending-featured--solo {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 22rem;
    height: auto;
    aspect-ratio: 2.35 / 1;
  }
}
.trending-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.trending-featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.trending-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 58, 94, 0.94) 0%,
    rgba(17, 58, 94, 0.48) 45%,
    rgba(17, 58, 94, 0.06) 100%
  );
  pointer-events: none;
}
.trending-featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.25rem;
}
@media (min-width: 768px) {
  .trending-featured-overlay { padding: 1.5rem; }
}
.trending-rank {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trending-featured-overlay .badge {
  margin-left: 0.375rem;
  vertical-align: middle;
}
.trending-featured h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.375rem;
}
.trending-featured-meta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}
.trending-featured-meta i { margin-right: 0.375rem; opacity: 0.85; }
.trending-featured-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.trending-featured-price {
  font-size: 1rem;
  font-weight: 700;
}
.trending-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-azur);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition);
}
.trending-featured:hover .trending-featured-cta {
  background: var(--color-blue-light);
}

/* White cards lift off the blue section */
.trending-spotlight .trending-mini,
.trending-spotlight .trending-tile {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.trending-spotlight .trending-mini:hover,
.trending-spotlight .trending-tile:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* Side stack — compact horizontal cards */
.trending-stack {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.trending-mini {
  display: flex;
  gap: 0.875rem;
  padding: 0.75rem;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.trending-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 113, 184, 0.2);
}
.trending-mini > img {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .trending-mini > img {
    width: 5.5rem;
    height: 5.5rem;
  }
}
.trending-mini-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.trending-mini-body .badge {
  align-self: flex-start;
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
}
.trending-mini-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}
.trending-mini-meta {
  font-size: 0.75rem;
  color: var(--color-medium-gray);
}
.trending-mini-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* Bottom row — tile cards */
.trending-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(9.5rem, 1fr));
  gap: 0.875rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .trending-row {
    grid-column: 1 / -1;
    overflow: visible;
    padding-bottom: 0;
  }
}
.trending-row::-webkit-scrollbar { display: none; }
.trending-tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.trending-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trending-tile-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.trending-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.trending-tile:hover .trending-tile-img img {
  transform: scale(1.04);
}
.trending-tile-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}
.trending-tile-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.trending-tile-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}
.trending-tile-meta {
  font-size: 0.75rem;
  color: var(--color-medium-gray);
}
.trending-tile-price {
  margin-top: auto;
  padding-top: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-bright-blue);
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Poster-style event card (reference-inspired) */
.poster-card {
  width: 280px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}
.poster-card:hover { transform: translateY(-4px); }
.poster-card img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.poster-card h3 {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-navy);
  margin-top: 0.75rem;
  line-height: 1.3;
}
.poster-card .meta {
  font-size: 0.8125rem;
  color: var(--color-medium-gray);
  margin-top: 0.25rem;
}

.watermark-section {
  position: relative;
  overflow: hidden;
}
.watermark-section::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 15vw, 10rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.watermark-section > .container-main { position: relative; z-index: 1; }

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-light-gray);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-navy);
}
.carousel-btn:hover {
  border-color: var(--color-bright-blue);
  color: var(--color-bright-blue);
  background: var(--color-blue-pale);
}
.carousel-btn.dark {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}
.carousel-btn.dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.organizer-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.organizer-avatar:hover { transform: scale(1.08); }

.host-cta {
  background: linear-gradient(135deg, #113A5E 0%, #1a4a75 50%, #2171B8 100%);
  position: relative;
  overflow: hidden;
}
.host-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1200&q=80') center/cover;
  opacity: 0.25;
}
/* Page hero banner */
.page-hero {
  background: linear-gradient(135deg, var(--color-bright-blue) 0%, var(--color-navy) 100%);
  color: white;
  padding: 2.5rem 0;
}
.page-hero-compact {
  background: white;
  border-bottom: 1px solid var(--color-light-gray);
  padding: 2rem 0;
}

/* Auth layout */
.auth-page {
  min-height: 100vh;
}

.auth-scene {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .auth-scene {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.auth-aside {
  display: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0a2844 0%, var(--color-navy) 38%, #1a5088 72%, var(--color-bright-blue) 100%);
  color: white;
  padding: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 1024px) {
  .auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.auth-aside__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14) 0, transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(74,159,212,0.22) 0, transparent 35%),
    radial-gradient(circle at 60% 85%, rgba(255,255,255,0.08) 0, transparent 40%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(180deg, black 40%, transparent 100%);
}

.auth-aside__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
}

.auth-aside__orb--1 {
  width: 320px;
  height: 320px;
  top: -8%;
  right: -12%;
  background: radial-gradient(circle, rgba(74,159,212,0.35) 0%, transparent 68%);
  animation: auth-drift 14s ease-in-out infinite;
}

.auth-aside__orb--2 {
  width: 220px;
  height: 220px;
  bottom: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  animation: auth-drift 18s ease-in-out infinite reverse;
}

.auth-aside__orb--3 {
  width: 140px;
  height: 140px;
  top: 42%;
  right: 18%;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 72%);
  animation: auth-drift 11s ease-in-out infinite;
}

.auth-ticket {
  position: absolute;
  width: 128px;
  height: 68px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px dashed rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.auth-ticket::before,
.auth-ticket::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: rgba(10,40,68,0.95);
}

.auth-ticket::before { left: -7px; }
.auth-ticket::after { right: -7px; }

.auth-ticket--1 {
  top: 14%;
  left: 10%;
  transform: rotate(-12deg);
  animation: auth-float 9s ease-in-out infinite;
}

.auth-ticket--2 {
  top: 58%;
  right: 8%;
  width: 148px;
  height: 76px;
  transform: rotate(8deg);
  animation: auth-float 11s ease-in-out infinite reverse;
}

.auth-ticket--3 {
  bottom: 12%;
  left: 28%;
  width: 108px;
  height: 58px;
  transform: rotate(-4deg);
  animation: auth-float 13s ease-in-out infinite;
  opacity: 0.75;
}

.auth-aside__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.auth-aside__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1rem;
}

.auth-aside__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.auth-aside__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 28rem;
}

.auth-aside__features {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

.auth-aside__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

.auth-aside__features i {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: white;
  flex-shrink: 0;
}

.auth-main {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1.25rem;
  background: linear-gradient(180deg, #f8fbff 0%, var(--color-off-white) 100%);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .auth-main {
    background: #ffffff;
  }
}

.auth-main__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .auth-main__backdrop {
    display: none;
  }
}

.auth-main__backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(33,113,184,0.16) 0%, transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(17,58,94,0.12) 0%, transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(33,113,184,0.1) 0%, transparent 45%),
    linear-gradient(180deg, #eef5fb 0%, #f8fafc 100%);
}

.auth-main__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.auth-main__orb--1 {
  width: 280px;
  height: 280px;
  top: -6rem;
  right: -5rem;
  background: radial-gradient(circle, rgba(33,113,184,0.18) 0%, transparent 68%);
  animation: auth-drift 16s ease-in-out infinite;
}

.auth-main__orb--2 {
  width: 200px;
  height: 200px;
  bottom: -4rem;
  left: -3rem;
  background: radial-gradient(circle, rgba(17,58,94,0.12) 0%, transparent 70%);
  animation: auth-drift 20s ease-in-out infinite reverse;
}

.auth-main__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.auth-main__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.auth-main__card {
  width: 100%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2rem);
  box-shadow: 0 24px 60px rgba(17,58,94,0.12);
  backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
  .auth-main__card {
    background: white;
    box-shadow: 0 18px 48px rgba(17,58,94,0.08);
  }
}

.auth-main__footer {
  font-size: 0.8125rem;
  color: var(--color-medium-gray);
  text-align: center;
}

.auth-form--compact .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
}

.auth-form--compact .form-input {
  padding: 0.5rem 0.75rem;
  min-height: 40px;
  font-size: 0.9375rem;
}

.auth-form__terms {
  line-height: 1.4;
}

@keyframes auth-float {
  0%, 100% { transform: translateY(0) rotate(var(--auth-rotate, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--auth-rotate, 0deg) + 2deg)); }
}

.auth-ticket--1 { --auth-rotate: -12deg; }
.auth-ticket--2 { --auth-rotate: 8deg; }
.auth-ticket--3 { --auth-rotate: -4deg; }

@keyframes auth-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -16px) scale(1.04); }
}

/* Legacy auth wrap (prototype pages) */
.auth-wrap {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--color-off-white);
}

/* Dashboard stat card */
.stat-card-dash {
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--transition);
}
.stat-card-dash:hover {
  box-shadow: var(--shadow-md);
}

/* Dashboard enhancements */
.dash-welcome {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a6e 60%, var(--color-bright-blue) 100%);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.dash-welcome::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.stat-card-dash {
  position: relative;
  overflow: hidden;
}
.stat-card-dash .stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.stat-card-dash .stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.dash-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: white;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition);
  text-align: center;
}
.dash-quick-action:hover {
  border-color: var(--color-bright-blue);
  background: var(--color-blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.dash-quick-action i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.ticket-card-dash {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  background: white;
  transition: all var(--transition);
}
.ticket-card-dash:hover {
  border-color: var(--color-bright-blue);
  box-shadow: var(--shadow-md);
}

.event-row-dash {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-light-gray);
  align-items: center;
}
.event-row-dash:last-child { border-bottom: none; }
.event-row-dash:hover { background: var(--color-off-white); }

.progress-bar-dash {
  height: 6px;
  background: var(--color-light-gray);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.375rem;
}
.progress-bar-dash > div {
  height: 100%;
  background: var(--color-bright-blue);
  border-radius: 9999px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-light-gray);
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sidebar-profile {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-light-gray);
  margin: -0.75rem -0.75rem 0.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--color-blue-pale) 0%, white 100%);
}
.sidebar-wallet {
  margin: 0.5rem -0.75rem -0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-light-gray);
  background: var(--color-off-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.chart-bar-dash {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  padding-top: 1rem;
}
.chart-bar-dash .bar {
  flex: 1;
  background: var(--color-bright-blue);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity var(--transition);
  min-height: 8px;
}
.chart-bar-dash .bar:hover { opacity: 1; }
.chart-bar-dash .bar.current { opacity: 1; background: var(--color-emerald); }

.dash-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--color-light-gray);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.dash-tab {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-medium-gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  margin-bottom: -1px;
}
.dash-tab:hover { color: var(--color-navy); }
.dash-tab.active {
  color: var(--color-bright-blue);
  font-weight: 600;
  border-bottom-color: var(--color-bright-blue);
}

.ticket-card-full {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  background: white;
  overflow: hidden;
  transition: all var(--transition);
}
@media (min-width: 768px) {
  .ticket-card-full { grid-template-columns: 200px 1fr; }
}
.ticket-card-full:hover {
  border-color: var(--color-bright-blue);
  box-shadow: var(--shadow-md);
}
.ticket-card-full .ticket-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .ticket-card-full .ticket-img { height: 100%; min-height: 180px; }
}

.payout-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-light-gray);
  align-items: center;
}
.payout-row:last-child { border-bottom: none; }
.payout-row:hover { background: var(--color-off-white); }

.qr-preview-card {
  border: 2px solid var(--color-bright-blue);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--color-blue-pale) 0%, white 40%);
}

/* Event detail buying flow */
.event-buy-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #17233f 55%, #1d4ed8 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.event-buy-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.14), transparent 32%);
  pointer-events: none;
}
.event-buy-hero .container-main {
  position: relative;
  z-index: 1;
}
.event-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}
.event-fact i {
  color: var(--color-orange-light);
  margin-top: 0.125rem;
}
.event-buy-card {
  border: 2px solid var(--color-bright-blue);
  box-shadow: var(--shadow-xl);
}
.ticket-option {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: 1rem;
  background: white;
}
.payment-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  background: white;
}
.payment-choice.active {
  border-color: var(--color-bright-blue);
  background: var(--color-blue-pale);
}
.payment-choice img {
  width: auto;
  height: 1.75rem;
  object-fit: contain;
}
.mobile-pay-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: white;
  border-top: 1px solid var(--color-light-gray);
  box-shadow: 0 -8px 24px rgba(26,43,76,0.12);
  padding: 0.75rem 1rem;
  display: none;
}
@media (max-width: 1023px) {
  .mobile-pay-bar { display: block; }
  body:has(.mobile-pay-bar) { padding-bottom: 5rem; }
  body:has(.mobile-pay-bar) .chatbot-fab { bottom: 5.5rem; }
  body:has(.mobile-pay-bar) .chatbot-panel { bottom: 5.5rem; }
}

/* Chatbot widget */
.chatbot-root {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 70;
  font-family: var(--font-family);
}
.chatbot-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--color-bright-blue), #1d4ed8);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(33, 113, 184, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.chatbot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 113, 184, 0.5);
}
.chatbot-fab i { font-size: 1.125rem; }
.chatbot-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(33, 113, 184, 0.5);
  animation: chatbot-pulse 2.5s ease infinite;
  pointer-events: none;
}
@keyframes chatbot-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}
.chatbot-fab-label { display: none; }
@media (min-width: 480px) {
  .chatbot-fab-label { display: inline; }
}

.chatbot-panel {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  width: min(380px, calc(100vw - 2rem));
  height: min(520px, calc(100vh - 7rem));
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-light-gray);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.25s ease;
}
.chatbot-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.875rem;
  background: linear-gradient(135deg, var(--color-navy), #1e3a6e);
  color: white;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.chatbot-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-avatar img { width: 1.25rem; height: auto; }
.chatbot-title {
  font-weight: 800;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.chatbot-subtitle {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.125rem;
}
.chatbot-online {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--color-emerald);
  display: inline-block;
}
.chatbot-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-close:hover { background: rgba(255,255,255,0.2); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-off-white);
}
.chatbot-msg {
  display: flex;
  gap: 0.5rem;
  max-width: 92%;
}
.chatbot-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.chatbot-msg-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.chatbot-msg-avatar img { width: 0.875rem; height: auto; }
.chatbot-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.chatbot-msg--bot .chatbot-bubble {
  background: white;
  border: 1px solid var(--color-light-gray);
  color: var(--color-dark-gray);
  border-top-left-radius: 0.25rem;
}
.chatbot-msg--user .chatbot-bubble {
  background: var(--color-bright-blue);
  color: white;
  border-top-right-radius: 0.25rem;
}
.chatbot-bubble p { margin: 0; }

.chatbot-events {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.625rem;
}
.chatbot-event-card {
  display: flex;
  gap: 0.625rem;
  padding: 0.5rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.chatbot-event-card:hover {
  border-color: var(--color-bright-blue);
  box-shadow: var(--shadow-sm);
}
.chatbot-event-card img {
  width: 4.5rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.chatbot-event-body { min-width: 0; }
.chatbot-event-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-orange);
  letter-spacing: 0.04em;
}
.chatbot-event-title {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-navy);
  line-height: 1.25;
}
.chatbot-event-meta {
  font-size: 0.625rem;
  color: var(--color-medium-gray);
  margin-top: 0.125rem;
}
.chatbot-event-price {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-bright-blue);
  margin-top: 0.25rem;
}

.chatbot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0 1rem 0.5rem;
  background: var(--color-off-white);
}
.chatbot-chips[hidden] { display: none; }
.chatbot-chip {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-light-gray);
  background: white;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--transition);
}
.chatbot-chip:hover {
  border-color: var(--color-bright-blue);
  background: var(--color-blue-pale);
  color: var(--color-bright-blue);
}

.chatbot-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--color-light-gray);
  background: white;
}
.chatbot-input input {
  flex: 1;
  border: 1px solid var(--color-light-gray);
  border-radius: 9999px;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  outline: none;
}
.chatbot-input input:focus {
  border-color: var(--color-bright-blue);
  box-shadow: 0 0 0 3px rgba(33, 113, 184, 0.12);
}
.chatbot-send {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: var(--color-bright-blue);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chatbot-send:hover { background: var(--color-blue-light); }

.chatbot-typing .chatbot-bubble {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
}
.chatbot-typing .chatbot-bubble span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--color-medium-gray);
  animation: chatbot-dot 1.2s ease infinite;
}
.chatbot-typing .chatbot-bubble span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing .chatbot-bubble span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-dot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot-fab-pulse { animation: none; }
  .chatbot-panel { transition: none; }
}

/* Browse page filters */
.browse-toolbar {
  background: white;
  border-bottom: 1px solid var(--color-light-gray);
  position: sticky;
  top: 4rem;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

/* Legal pages (Terms, Privacy) */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0a2844 0%, var(--color-navy) 42%, #1a5a96 100%);
  color: white;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}
.legal-hero__glow {
  position: absolute;
  inset: auto -10% -40% 35%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 159, 212, 0.35) 0%, transparent 68%);
  pointer-events: none;
}
.legal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.legal-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.legal-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}
.legal-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.legal-page {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(33, 113, 184, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(17, 58, 94, 0.05), transparent 50%),
    var(--color-off-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5rem);
}
.legal-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.legal-toc {
  display: none;
}
@media (min-width: 1024px) {
  .legal-toc {
    display: block;
    position: sticky;
    top: 5.5rem;
  }
}
.legal-toc__label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-medium-gray);
}
.legal-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 2px solid var(--color-light-gray);
  padding-left: 0.9rem;
}
.legal-toc__nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-medium-gray);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.legal-toc__nav a:hover,
.legal-toc__nav a.is-active {
  color: var(--color-navy);
  transform: translateX(2px);
}
.legal-toc__related {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-bright-blue);
  text-decoration: none;
}
.legal-toc__related:hover {
  text-decoration: underline;
}
.legal-content {
  max-width: 42rem;
  animation: legal-fade-in 0.55s ease both;
}
.legal-section {
  scroll-margin-top: 6rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.legal-section--last {
  border-bottom: none;
  padding-bottom: 0;
}
.legal-section__head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.legal-section__num {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-bright-blue);
}
.legal-section h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}
.legal-section p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-dark-gray);
}
.legal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.legal-pills li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--color-light-gray);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
}
.legal-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #EEF5FB 0%, #ffffff 100%);
  border: 1px solid rgba(33, 113, 184, 0.15);
}
.legal-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.legal-contact__link i {
  color: var(--color-bright-blue);
}
.legal-contact__link:hover {
  color: var(--color-bright-blue);
}
@keyframes legal-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .legal-content { animation: none; }
  .legal-toc__nav a { transition: none; }
}

