/* ==========================================================================
   The Scene — Enterprise Cosmic Ticket Platform
   Design Language: "Magic meets Hi-Tech meets Outer Space meets Magic"
   Platform: MYai · Beyond Ticketmaster · Beyond Live Nation
   ========================================================================== */

/* ─── Cosmic Design Tokens ────────────────────────────────── */
:root {
  /* Deep-Space Backgrounds (matched to AppColors) */
  --cosmic-deep:    #050510;
  --cosmic-purple:  #1A0A3E;
  --cosmic-violet:  #2D1B69;
  --cosmic-magenta: #4A1942;

  --bg:     #050510;
  --card:   rgba(15, 22, 48, 0.72);
  --card2:  rgba(12, 18, 38, 0.55);
  --card-solid: #0F1630;

  /* Text Hierarchy */
  --text:   #FFFFFF;
  --text2:  #CCCCCC;
  --muted:  #9AA4B2;

  /* Cosmic Accents — Glow System */
  --accent:       #8A6BFF;
  --accent-glow:  #A78BFF;
  --accent2:      #00E5FF;
  --glow:         #00F0FF;
  --glow-soft:    #67E8F9;

  /* Glass / Bubble Surface */
  --glass-fill:      rgba(0, 229, 255, 0.06);
  --glass-border:    rgba(0, 229, 255, 0.22);
  --glass-highlight: rgba(0, 229, 255, 0.12);

  /* Semantic */
  --good:  #00FF88;
  --warn:  #FBBF24;
  --bad:   #FF3B3B;
  --gold:  #D4A017;

  /* Borders */
  --border:       rgba(138, 107, 255, 0.18);
  --border-glow:  rgba(0, 240, 255, 0.25);
  --border-hover: rgba(138, 107, 255, 0.45);

  /* Shadows */
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow:  0 0 30px rgba(0, 229, 255, 0.12), 0 0 60px rgba(138, 107, 255, 0.08);
  --shadow-deep:  0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-card:  0 8px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(138, 107, 255, 0.3);

  /* Radii */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Spacing */
  --pad: 20px;
  --max: 1140px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition:      280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  450ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-cosmic: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  color-scheme: dark;
}

/* ─── Cosmic Animations (keyframes) ──────────────────────── */

/* Nebula color flow — the signature "color movement" */
@keyframes nebula-flow {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 50% 100%; }
  75%  { background-position: 0% 50%; }
  100% { background-position: 0% 0%; }
}

/* Breathing glow pulse for bubble buttons */
@keyframes bubble-breathe {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(0, 229, 255, 0.25),
      0 0 30px rgba(0, 229, 255, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 0 20px rgba(0, 229, 255, 0.45),
      0 0 50px rgba(0, 229, 255, 0.18),
      0 0 80px rgba(138, 107, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

/* Primary button glow pulse */
@keyframes accent-breathe {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(138, 107, 255, 0.30),
      0 0 30px rgba(138, 107, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 24px rgba(138, 107, 255, 0.50),
      0 0 60px rgba(138, 107, 255, 0.20),
      0 0 90px rgba(0, 229, 255, 0.08);
  }
}

/* Shimmer sweep for loading states */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Star twinkle */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slide up entry */
@keyframes slideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Stagger fade-in for cards */
@keyframes cardReveal {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Toast */
@keyframes toastIn {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes toastOut {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Demand badge pulse */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.72; }
}

/* Presale badge pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

/* Halo ring for special elements */
@keyframes halo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.35); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

/* Float animation for decorative elements */
@keyframes cosmic-float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  overflow-x: hidden;

  /* ── Cosmic deep-space background ── */
  background:
    /* Animated nebula wisps */
    radial-gradient(ellipse 900px 600px at 15% 5%,  rgba(138, 107, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 800px 500px at 85% 15%, rgba(0, 229, 255, 0.10), transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 50%, rgba(45, 27, 105, 0.12), transparent 55%),
    radial-gradient(ellipse 600px 400px at 75% 85%, rgba(74, 25, 66, 0.10), transparent 50%),
    radial-gradient(ellipse 500px 400px at 10% 90%, rgba(0, 255, 136, 0.05), transparent 50%),
    /* 6-stop cosmic gradient base (matches CosmicBackground widget) */
    linear-gradient(
      180deg,
      #050510 0%,
      #1A0A3E 20%,
      #2D1B69 40%,
      #4A1942 55%,
      #1A0A3E 75%,
      #050510 100%
    );
  background-attachment: fixed;
  background-size: 100% 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animated star-field overlay via pseudo-element */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 15%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.2px 1.2px at 40% 8%, rgba(255,255,255,0.6), transparent),
    radial-gradient(0.8px 0.8px at 55% 55%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(0,229,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.3px 1.3px at 15% 80%, rgba(255,255,255,0.45), transparent),
    radial-gradient(0.9px 0.9px at 90% 45%, rgba(138,107,255,0.5), transparent),
    radial-gradient(1.1px 1.1px at 35% 90%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.4px 1.4px at 60% 75%, rgba(0,240,255,0.4), transparent),
    radial-gradient(0.7px 0.7px at 48% 28%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.2px 1.2px at 72% 92%, rgba(138,107,255,0.35), transparent),
    radial-gradient(0.8px 0.8px at 88% 12%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.3px 1.3px at 22% 62%, rgba(0,229,255,0.3), transparent),
    radial-gradient(1px 1px at 95% 88%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 42% 42%, rgba(255,255,255,0.3), transparent),
    radial-gradient(0.9px 0.9px at 67% 5%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.1px 1.1px at 3% 30%, rgba(138,107,255,0.3), transparent),
    radial-gradient(1px 1px at 78% 55%, rgba(0,240,255,0.35), transparent);
  animation: twinkle 8s ease-in-out infinite alternate;
}

/* ─── Accessibility ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ─── Typography — Premium ────────────────────────────────── */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  text-underline-offset: 3px;
}

code {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(138, 107, 255, 0.08);
  border: 1px solid rgba(138, 107, 255, 0.18);
  font-size: 0.85em;
  color: var(--glow-soft);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--glow-soft) 50%, var(--accent-glow) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nebula-flow 8s ease-in-out infinite;
}

h2 {
  font-weight: 800;
  color: var(--text);
}

h3 {
  font-weight: 700;
}

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 90px;
}

/* ─── Top Bar — Frosted Glass ─────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(138, 107, 255, 0.15);
  background: rgba(5, 5, 16, 0.65);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

/* Subtle cosmic glow line under the topbar */
.topbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(138, 107, 255, 0.4) 25%,
    rgba(0, 229, 255, 0.5) 50%,
    rgba(138, 107, 255, 0.4) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: nebula-flow 6s ease-in-out infinite;
}

.topbarInner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  user-select: none;
  text-decoration: none !important;
  flex-shrink: 0;
  position: relative;
}

.brandMark {
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 17px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.brandSub {
  color: var(--glow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* ─── Navigation — Bubble Pills ───────────────────────────── */
.nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav a {
  position: relative;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav a:hover {
  background: rgba(0, 229, 255, 0.10);
  color: #fff;
  border-color: rgba(0, 229, 255, 0.40);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.12);
  text-decoration: none;
}

.nav a.active {
  background: rgba(138, 107, 255, 0.18);
  border-color: rgba(138, 107, 255, 0.55);
  color: #fff;
  box-shadow:
    0 0 12px rgba(138, 107, 255, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25);
}

/* ─── Mobile Menu ─────────────────────────────────────────── */
.mobileMenuBtn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  order: 10;
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--glow);
  border-radius: 2px;
  position: relative;
  transition: background var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--glow);
  border-radius: 2px;
  transition: transform var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.mobileMenuBtn[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobileMenuBtn[aria-expanded="true"] .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.mobileMenuBtn[aria-expanded="true"] .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

.settingsBtn {
  flex-shrink: 0;
}

.settingsBtn svg {
  display: block;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.3));
}

/* ─── Footer — Deep-Space ─────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 16, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Top glow line */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(138, 107, 255, 0.3) 30%,
    rgba(0, 229, 255, 0.35) 50%,
    rgba(138, 107, 255, 0.3) 70%,
    transparent 100%
  );
}

.footerInner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

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

.footerLinks {
  display: flex;
  gap: 22px;
}

.footerLinks a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footerLinks a:hover {
  color: var(--glow);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

.footerMeta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.muted { color: var(--muted); }

/* ─── Loading Skeleton — Cosmic Shimmer ───────────────────── */

/* ─── Feed Error Banner (WEB-R003) ────────────────────────── */
.feedErrorBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.3);
  color: #fca5a5;
  font-size: 14px;
}
.feedErrorBanner .dismissBtn {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  opacity: 0.7;
}
.feedErrorBanner .dismissBtn:hover { opacity: 1; }

.loading-skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
}

.skeleton-hero {
  height: 220px;
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, var(--card-solid) 25%, rgba(45, 27, 105, 0.25) 50%, var(--card-solid) 75%);
  background-size: 400% 100%;
  animation: shimmer 2s ease infinite;
}

.skeleton-row {
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--card-solid) 25%, rgba(45, 27, 105, 0.25) 50%, var(--card-solid) 75%);
  background-size: 400% 100%;
  animation: shimmer 2s ease infinite;
}

.skeleton-row.short { width: 60%; }

.loading-skeleton[aria-busy="false"] {
  display: none;
}

/* ─── Cards — Glassmorphism + Cyan Glow ───────────────────── */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--pad);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  animation: cardReveal 0.5s ease-out backwards;
}

/* Specular top highlight */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    rgba(0, 229, 255, 0.12),
    rgba(255, 255, 255, 0.08),
    transparent
  );
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-2px);
}

.card + .card { margin-top: 16px; }

/* ─── Hero Card — Cosmic Nebula ───────────────────────────── */
.hero {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(138, 107, 255, 0.25);
  background:
    radial-gradient(ellipse 700px 450px at 5% 5%,   rgba(138, 107, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 600px 400px at 95% 20%,  rgba(0, 229, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 500px 350px at 50% 100%, rgba(74, 25, 66, 0.12), transparent 55%),
    var(--card);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(138, 107, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  overflow: hidden;
  position: relative;
}

/* Corner glow decoration */
.hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  position: relative;
}

.hero p {
  margin: 14px 0 0;
  color: var(--text2);
  line-height: 1.6;
  max-width: 600px;
  font-size: 15px;
}

/* ─── Grid ────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }
.col-12 { grid-column: span 12; }

/* ─── Flex Rows ───────────────────────────────────────────── */
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Titles ──────────────────────────────────────────────── */
.titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cardHeader,
.dialogHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cardHeader .actionsRow,
.dialogHeader .actionsRow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── Key-Value Pairs ─────────────────────────────────────── */
.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  margin: 8px 0;
  align-items: baseline;
}

.kv .k {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* ─── Chips / Badges — Glass Pill Style ───────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chip.good   { border-color: rgba(0, 255, 136, 0.30); color: var(--good); background: rgba(0, 255, 136, 0.06); }
.chip.warn   { border-color: rgba(251, 191, 36, 0.35); color: var(--warn); background: rgba(251, 191, 36, 0.06); }
.chip.bad    { border-color: rgba(255, 59, 59, 0.35); color: var(--bad); background: rgba(255, 59, 59, 0.06); }
.chip.accent { border-color: rgba(138, 107, 255, 0.35); color: var(--accent-glow); background: rgba(138, 107, 255, 0.08); }

/* ─── Demand Badge (social proof) — Animated ──────────────── */
.demandBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: pulse-glow 2s ease-in-out infinite;
}

.demandBadge.hot {
  background: rgba(255, 59, 59, 0.12);
  color: var(--bad);
  border: 1px solid rgba(255, 59, 59, 0.30);
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.10);
}

.demandBadge.selling-fast {
  background: rgba(251, 191, 36, 0.12);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.30);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.08);
}

.demandBadge.popular {
  background: rgba(138, 107, 255, 0.12);
  color: var(--accent-glow);
  border: 1px solid rgba(138, 107, 255, 0.30);
  box-shadow: 0 0 12px rgba(138, 107, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── BUBBLE BUTTONS — Glass Pill + Breathing Glow ────────── */
/* ═══════════════════════════════════════════════════════════ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px; /* Full pill / bubble */
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  overflow: hidden;

  /* Glass surface */
  border: 1.5px solid var(--glass-border);
  background: var(--glass-fill);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Bubble shadow */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Specular dome highlight */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 50%;
  border-radius: 50px 50px 80% 80%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity var(--transition);
}

.btn:hover {
  background: rgba(0, 229, 255, 0.10);
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateY(-2px) scale(1.02);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0, 229, 255, 0.15),
    0 0 30px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

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

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.30);
}

/* ─── Primary Bubble Button — Accent Glow ─────────────────── */
.btn.primary {
  border: 1.5px solid rgba(138, 107, 255, 0.55);
  background: linear-gradient(
    135deg,
    rgba(138, 107, 255, 0.85) 0%,
    rgba(108, 77, 225, 0.90) 50%,
    rgba(78, 47, 195, 0.85) 100%
  );
  background-size: 200% 200%;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: accent-breathe 3s ease-in-out infinite;
}

/* Animated gradient color movement on primary button */
.btn.primary:hover {
  background-size: 200% 200%;
  animation: nebula-flow 4s ease-in-out infinite, accent-breathe 2s ease-in-out infinite;
  border-color: rgba(138, 107, 255, 0.80);
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.12);
  box-shadow:
    0 6px 28px rgba(138, 107, 255, 0.35),
    0 0 50px rgba(138, 107, 255, 0.15),
    0 0 80px rgba(0, 229, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  animation: none;
  filter: grayscale(0.3);
}

/* ─── Ghost / Secondary Bubble ────────────────────────────── */
.ghost {
  position: relative;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  color: var(--glow);
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ghost:hover {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.40);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.10);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

.ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25);
}

/* ─── Form Inputs — Cosmic Glass ──────────────────────────── */
.input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: rgba(15, 22, 48, 0.55);
  color: var(--text);
  font-size: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(0, 240, 255, 0.10),
    0 0 16px rgba(0, 229, 255, 0.08);
}

.input::placeholder {
  color: rgba(154, 164, 178, 0.5);
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ─── Dividers — Gradient ─────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), rgba(0, 229, 255, 0.12), var(--border), transparent);
  margin: 18px 0;
}

.small { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── Event Lists ─────────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.eventItem {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.poster {
  width: 160px;
  min-width: 160px;
  height: 105px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 22, 48, 0.55);
  object-fit: cover;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.poster:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(138, 107, 255, 0.12);
}

.eventBody {
  flex: 1;
  min-width: 0;
}

.heroPoster {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 22, 48, 0.55);
  object-fit: cover;
  margin-bottom: 18px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.heroPoster:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 32px rgba(138, 107, 255, 0.12);
}

/* ─── List Items — Glass Surface ──────────────────────────── */
.item {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 22, 48, 0.35);
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.item:hover {
  background: rgba(15, 22, 48, 0.55);
  border-color: var(--border-hover);
  box-shadow: 0 2px 16px rgba(138, 107, 255, 0.10);
  transform: translateY(-1px);
}

/* ─── Dialog / Modal — Cosmic Glass ───────────────────────── */
.dialogBack {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 16, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn var(--transition);
}

.dialog {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 22, 48, 0.92);
  border: 1px solid rgba(138, 107, 255, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep), var(--shadow-glow);
  padding: 24px;
  animation: slideUp var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dialog h3 { margin: 6px 0 0; }
.dialog .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ─── Stripe Elements ─────────────────────────────────────── */
#stripeCardContainer {
  padding: 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: rgba(15, 22, 48, 0.55);
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#stripeCardContainer:focus-within {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.08);
}

/* ─── QR Code ─────────────────────────────────────────────── */
#qrContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
}

#qrContainer svg {
  max-width: 260px;
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 229, 255, 0.08);
}

/* ─── Toast — Glass Pill ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 12px 22px;
  background: rgba(15, 22, 48, 0.92);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 107, 255, 0.08);
  animation: toastIn 250ms ease, toastOut 250ms ease 2.5s forwards;
}

/* ─── Trust Badges — Cosmic Strip ─────────────────────────── */
.trustBar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-top: 22px;
}

.trustItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform var(--transition);
}

.trustItem:hover {
  transform: translateY(-3px);
}

.trustItem .icon {
  font-size: 26px;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.2));
}

.trustItem .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Fee Badge — Glow Pill ───────────────────────────────── */
.feeBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.22);
  font-size: 13px;
  font-weight: 700;
  color: var(--good);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.06);
  animation: bubble-breathe 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── RESPONSIVE — Cosmic on Every Screen ─────────────────── */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .mobileMenuBtn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(5, 5, 16, 0.94);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 8px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .col-7, .col-5 {
    grid-column: span 12;
  }

  .grid {
    gap: 14px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero {
    padding: 24px;
  }

  .container {
    padding: 18px 16px 70px;
  }

  .footerInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footerMeta {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .poster {
    width: 110px;
    min-width: 110px;
    height: 76px;
  }

  .heroPoster {
    height: 180px;
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .trustBar {
    gap: 18px;
  }

  .kv {
    grid-template-columns: 120px 1fr;
    gap: 8px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .topbar, .footer, .mobileMenuBtn, .settingsBtn, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  body::before { display: none !important; }
  .card, .hero, .item { border: 1px solid #ccc !important; box-shadow: none !important; background: #fff !important; backdrop-filter: none !important; }
  .chip { border: 1px solid #999 !important; background: #f5f5f5 !important; color: #333 !important; }
  h1 { -webkit-text-fill-color: #000 !important; background: none !important; }
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── Fan Scene Feature Cards — Glass Grid ────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.featureGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.featureCard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  overflow: hidden;
  animation: cardReveal 0.5s ease-out backwards;
}

/* Nebula corner glow */
.featureCard::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 107, 255, 0.10), transparent 70%);
  transition: opacity var(--transition);
  pointer-events: none;
}

.featureCard:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 40px rgba(138, 107, 255, 0.16),
    0 0 30px rgba(0, 229, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.featureCard:hover::before {
  opacity: 1.5;
}

.featureCard .featureIcon {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.15));
}

.featureCard .featureTitle {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.featureCard .featureDesc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.featureCard .featureTag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featureTag.included {
  background: rgba(0, 255, 136, 0.08);
  color: var(--good);
  border: 1px solid rgba(0, 255, 136, 0.20);
}

.featureTag.premium {
  background: rgba(138, 107, 255, 0.08);
  color: var(--accent-glow);
  border: 1px solid rgba(138, 107, 255, 0.22);
}

.featureTag.coming {
  background: rgba(251, 191, 36, 0.08);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.20);
}

/* ─── VIP Tier Cards — Glass + Color Top ──────────────────── */
.tierGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.tierCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tierCard:hover {
  border-color: var(--border-glow);
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.10);
  transform: translateY(-2px);
}

.tierCard.silver   { border-top: 3px solid #C0C0C0; }
.tierCard.gold     { border-top: 3px solid #FFD700; box-shadow: 0 0 20px rgba(255, 215, 0, 0.06); }
.tierCard.platinum { border-top: 3px solid #E5E4E2; }
.tierCard.diamond  { border-top: 3px solid var(--glow); box-shadow: 0 0 20px rgba(0, 229, 255, 0.08); }

.tierCard .tierName {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 4px;
}

.tierCard .tierPrice {
  font-size: 15px;
  color: var(--good);
  font-weight: 700;
  margin-bottom: 12px;
}

.tierCard .tierPerks {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tierCard .tierPerks li {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid rgba(138, 107, 255, 0.08);
}

.tierCard .tierPerks li::before {
  content: '✓ ';
  color: var(--good);
  font-weight: 700;
}

/* ─── Presale Badge ───────────────────────────────────────── */
.presaleBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(138, 107, 255, 0.08);
  color: var(--accent-glow);
  border: 1px solid rgba(138, 107, 255, 0.22);
  margin: 4px 4px 4px 0;
}

.presaleBadge.active {
  background: rgba(0, 255, 136, 0.08);
  color: var(--good);
  border-color: rgba(0, 255, 136, 0.22);
  animation: pulse 2s ease-in-out infinite, halo-pulse 2.5s ease-in-out infinite;
}

/* ─── Guest List Lookup ───────────────────────────────────── */
.lookupForm {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 14px;
}

.lookupForm .input {
  flex: 1;
}

.lookupResult {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lookupResult.found {
  border-color: rgba(0, 255, 136, 0.30);
  background: rgba(0, 255, 136, 0.04);
}

.lookupResult.notFound {
  border-color: rgba(255, 59, 59, 0.25);
  background: rgba(255, 59, 59, 0.04);
}

/* ─── Loyalty Progress Bar — Cyan Glow ────────────────────── */
.loyaltyBar {
  background: rgba(15, 22, 48, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 14px;
  overflow: hidden;
  margin-top: 8px;
}

.loyaltyBar .fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--glow));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.30);
  transition: width var(--transition-slow);
  position: relative;
}

/* Shimmer on progress bar */
.loyaltyBar .fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 2.5s ease infinite;
}

/* ─── Section Heading ─────────────────────────────────────── */
.sectionHeading {
  font-size: 20px;
  font-weight: 900;
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  letter-spacing: -0.01em;
}

.sectionHeading .icon {
  margin-right: 8px;
}

/* ─── Stat Cards — Glow Numbers ───────────────────────────── */
.statRow {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.statItem {
  flex: 1;
  min-width: 120px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.statItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.08);
}

.statItem .statValue {
  font-size: 30px;
  font-weight: 900;
  color: var(--glow);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.statItem .statLabel {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ─── CTA Banner — Cosmic Gradient ────────────────────────── */
.ctaBanner {
  position: relative;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(138, 107, 255, 0.15), transparent 55%),
    radial-gradient(ellipse 500px 350px at 80% 70%, rgba(0, 229, 255, 0.10), transparent 50%),
    var(--card);
  border: 1px solid rgba(138, 107, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  margin-top: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

/* Animated gradient border glow */
.ctaBanner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 107, 255, 0.4),
    rgba(0, 229, 255, 0.5),
    rgba(138, 107, 255, 0.4),
    transparent
  );
  background-size: 200% 100%;
  animation: nebula-flow 5s ease-in-out infinite;
}

.ctaBanner h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.ctaBanner p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

/* ─── Extra Responsive for Feature/Tier Grids ─────────────── */
@media (max-width: 600px) {
  .featureGrid { grid-template-columns: 1fr; }
  .tierGrid    { grid-template-columns: 1fr; }
  .lookupForm  { flex-direction: column; }
  .statRow     { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── HOME PAGE — HERO SECTION ────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.homeHero {
  position: relative;
  padding: 80px 32px 64px;
  text-align: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: -28px -24px 32px;
  background:
    radial-gradient(ellipse 900px 600px at 20% 20%, rgba(138, 107, 255, 0.25), transparent 55%),
    radial-gradient(ellipse 800px 500px at 80% 30%, rgba(0, 229, 255, 0.15), transparent 50%),
    radial-gradient(ellipse 700px 500px at 50% 80%, rgba(74, 25, 66, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(5,5,16,0.3), rgba(26,10,62,0.5) 50%, rgba(5,5,16,0.4));
}

.homeHero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('images/concerts/live_music_01.jpeg') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
  filter: blur(3px) saturate(1.5);
}

.homeHeroContent {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  animation: slideUp 0.8s ease-out;
}

.homeHeroTitle {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #FFFFFF 10%, var(--glow-soft) 45%, var(--accent-glow) 80%, #FFFFFF 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nebula-flow 8s ease-in-out infinite;
}

.homeHeroSub {
  color: var(--text2);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.homeHeroActions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn.large {
  padding: 15px 36px;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.btn.glass {
  border: 1.5px solid var(--glass-border);
  background: rgba(0, 229, 255, 0.06);
  color: var(--glow);
  animation: bubble-breathe 4s ease-in-out infinite;
}

.btn.glass:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.homeHeroStats {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.heroStat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.heroStatNum {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF, var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heroStatLabel {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.heroStatDivider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── HOME PAGE — SECTIONS ────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.homeSection {
  margin-bottom: 48px;
  animation: slideUp 0.6s ease-out backwards;
}

.homeSectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.homeSectionTitle {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.homeSectionLink {
  color: var(--glow);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.homeSectionLink:hover {
  color: var(--accent-glow);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── FEATURED EVENTS GRID ────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.featuredGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.featuredCard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  animation: cardReveal 0.5s ease-out backwards;
  animation-delay: var(--delay, 0s);
}

.featuredCard:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-4px) scale(1.01);
  text-decoration: none;
}

.featuredCardImage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.featuredPoster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featuredCard:hover .featuredPoster {
  transform: scale(1.06);
}

.featuredOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(5,5,16,0.9));
  display: flex;
  justify-content: flex-start;
}

.featuredGenre {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(138, 107, 255, 0.3);
  border: 1px solid rgba(138, 107, 255, 0.5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
}

.featuredInfo {
  padding: 14px 16px;
}

.featuredTitle {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featuredMeta {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.featuredPrice {
  font-weight: 800;
  font-size: 14px;
  color: var(--glow);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── CITY TABS ───────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.cityTabsRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.cityTab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--glass-fill);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}

.cityTab:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
}

.cityTab.active {
  background: rgba(138, 107, 255, 0.18);
  border-color: rgba(138, 107, 255, 0.55);
  color: #fff;
  box-shadow: 0 0 12px rgba(138, 107, 255, 0.15);
}

.cityCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── EVENTS GRID + CARDS ─────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.eventsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.eventCard {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all var(--transition);
  animation: cardReveal 0.5s ease-out backwards;
}

.eventCard:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-3px);
}

.eventCardLink {
  display: block;
  text-decoration: none;
  color: inherit;
}

.eventCardLink:hover {
  text-decoration: none;
}

.eventCardPoster {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.eventCard:hover .eventCardPoster {
  transform: scale(1.04);
}

.eventCardBody {
  padding: 16px;
}

.eventCardGenre {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(138, 107, 255, 0.12);
  border: 1px solid rgba(138, 107, 255, 0.25);
  color: var(--accent-glow);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.eventCardTitle {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 4px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eventCardVenue {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 2px;
}

.eventCardDate {
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.eventCardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.eventCardPrice {
  font-weight: 800;
  font-size: 15px;
  color: var(--glow);
}

.eventCardBadges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.eventBadge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eventBadge.vip {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.30);
}

.eventBadge.presale {
  background: rgba(0, 255, 136, 0.10);
  color: var(--good);
  border: 1px solid rgba(0, 255, 136, 0.25);
  animation: pulse 2s ease infinite;
}

.eventBadge.demo {
  background: rgba(255, 170, 0, 0.12);
  color: var(--warn);
  border: 1px solid rgba(255, 170, 0, 0.30);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── HOME SEARCH ─────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.homeSearchWrap {
  flex: 1;
  max-width: 340px;
}

.homeSearchInput {
  width: 100%;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--glass-border);
  background: rgba(15, 22, 48, 0.55);
  color: var(--text);
  font-size: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.homeSearchInput:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.10);
}

.homeSearchInput::placeholder {
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── WHY SECTION ─────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.whySection {
  padding: 48px 0;
}

.whyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.whyCard {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: all var(--transition);
}

.whyCard:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-3px);
}

.whyIcon {
  font-size: 36px;
  margin-bottom: 14px;
  animation: cosmic-float 4s ease-in-out infinite;
}

.whyCard h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.whyCard p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── CTA SECTION ─────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.ctaSection {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(138, 107, 255, 0.25);
  background:
    radial-gradient(ellipse 700px 450px at 30% 30%, rgba(138, 107, 255, 0.20), transparent 55%),
    radial-gradient(ellipse 600px 400px at 70% 70%, rgba(0, 229, 255, 0.12), transparent 50%),
    var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ctaSection h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF, var(--glow-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ctaSection p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 24px;
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── RESPONSIVE — HOME PAGE ──────────────────────────────── */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .featuredGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .whyGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .homeHero {
    padding: 56px 20px 48px;
    margin: -28px -24px 24px;
  }
  .homeHeroTitle {
    font-size: 32px;
  }
  .homeHeroStats {
    gap: 16px;
  }
  .heroStatNum {
    font-size: 20px;
  }
  .featuredGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eventsGrid {
    grid-template-columns: 1fr;
  }
  .whyGrid {
    grid-template-columns: 1fr;
  }
  .homeSectionHeader {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .homeSearchWrap {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .homeHero {
    padding: 40px 16px 36px;
  }
  .homeHeroTitle {
    font-size: 28px;
  }
  .featuredGrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .featuredCardImage {
    aspect-ratio: 1 / 1;
  }
  .cityTabsRow {
    gap: 6px;
  }
  .cityTab {
    padding: 6px 14px;
    font-size: 12px;
  }
  .ctaSection {
    padding: 36px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── EVENTS PAGE — HERO BANNER + FILTERS ─────────────────── */
/* ═══════════════════════════════════════════════════════════ */

.eventsHeroBanner {
  text-align: center;
  padding: 48px 24px 32px;
  margin-bottom: 28px;
}

.eventsHeroBanner h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 8px;
}

.eventsHeroBanner p {
  margin: 0 0 24px;
}

.eventsFiltersRow {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.filterSelect {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--glass-border);
  background: rgba(15, 22, 48, 0.55);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2300E5FF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.filterSelect:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.10);
}

.filterSelect option {
  background: #0F1630;
  color: var(--text);
}

@media (max-width: 600px) {
  .eventsFiltersRow {
    flex-direction: column;
    align-items: stretch;
  }
  .eventsFiltersRow .homeSearchInput {
    max-width: 100% !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* ─── REDUCED MOTION — Respect Preferences ────────────────── */
/* ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  body::before { animation: none !important; opacity: 0.4; }
  h1 { animation: none !important; }
}
