/* ─────────────────────────────────────────────
   PAASSY — Site Vitrine · styles.css
   Dark & Light mode, full sections
───────────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  --purple: #5B13EC;
  --purple-light: #7c40ff;
  --purple-dark: #3d0bb3;
  --purple-glow: rgba(91, 19, 236, .35);
  --heading-font: 'Exo 2', sans-serif;
  --body-font: 'Titillium Web', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── ICONS ── */
.lucide {
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

[data-theme="light"] .lucide {
  stroke-width: 1.75;
  /* Slightly thicker for light mode clarity */
}

/* ── DARK THEME (default) ── */
[data-theme="dark"] {
  --bg: #110C1A;
  --bg-2: #1C1D27;
  --bg-3: #242535;
  --text: #ffffff;
  --text-muted: #8B919E;
  --border: rgba(255, 255, 255, .08);
  --border-hover: rgba(91, 19, 236, .45);
  --card-bg: #1C1D27;
  --input-bg: #242535;
  --nav-scrolled: rgba(17, 12, 26, .88);
  --orb-opacity: 1;
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg: #F6F8FC;
  --bg-2: #ffffff;
  --bg-3: #eef1f8;
  --text: #0f0a1e;
  --text-muted: #6B7280;
  --border: rgba(0, 0, 0, .08);
  --border-hover: rgba(91, 19, 236, .4);
  --card-bg: #ffffff;
  --input-bg: #f1f4fb;
  --nav-scrolled: rgba(246, 248, 252, .92);
  --orb-opacity: .5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  transition: background .4s ease, color .4s ease;
}

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  .container {
    padding-left: max(18px, env(safe-area-inset-left, 18px));
    padding-right: max(18px, env(safe-area-inset-right, 18px));
  }

  .events-page .container {
    padding-left: max(20px, env(safe-area-inset-left, 20px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 30px var(--purple-glow);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--purple-glow);
}

.btn-secondary {
  background: rgba(91, 19, 236, .1);
  color: var(--text);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(91, 19, 236, .18);
  transform: translateY(-2px);
  border-color: var(--purple-light);
}

/* Section shared */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(91, 19, 236, .15);
  color: var(--purple-light);
  border: 1px solid rgba(91, 19, 236, .35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--nav-scrolled);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text) 30%, var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  display: inline-block;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(91, 19, 236, .08);
}

.cta-nav {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  box-shadow: 0 0 20px var(--purple-glow);
}

.cta-nav:hover {
  background: var(--purple-light) !important;
}

.nav-link--active {
  color: var(--text) !important;
  background: rgba(91, 19, 236, .12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-icon-btn:hover {
  color: var(--purple-light);
  background: rgba(91, 19, 236, .1);
}

.nav-icon-btn i {
  width: 20px;
  height: 20px;
}

.nav-icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--purple);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.nav-basket-btn[hidden] {
  display: none !important;
}

/* Theme & Lang toggles */
.theme-toggle,
.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: .8rem;
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--purple-light);
  transform: rotate(5deg) scale(1.05);
}

.theme-icon {
  position: absolute;
  transition: opacity .3s, transform .3s;
  font-size: 1rem;
}

.theme-icon--sun {
  opacity: 0;
  transform: translateY(-4px);
}

.theme-icon--moon {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="light"] .theme-icon--sun {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="light"] .theme-icon--moon {
  opacity: 0;
  transform: translateY(4px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: var(--orb-opacity);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(91, 19, 236, .22);
  top: -100px;
  right: -150px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, .12);
  bottom: -100px;
  left: -80px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, .08);
  top: 50%;
  left: 40%;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(91, 19, 236, .5);
  animation: float-particle var(--dur, 8s) linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: .4;
  }

  100% {
    transform: translateY(-10vh) translateX(var(--dx, 30px));
    opacity: 0;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 19, 236, .12);
  border: 1px solid rgba(91, 19, 236, .35);
  color: var(--purple-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 8px #22c55e;
  }

  50% {
    box-shadow: 0 0 20px #22c55e;
  }
}

.hero-title {
  font-family: var(--heading-font);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-light);
}

.stat-label {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── PHONE FRAME ── */
.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--bg-2);
  border-radius: 34px;
  border: 2px solid var(--border);
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: var(--bg);
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
}

/* ── HERO PHONE APP UI ── */
.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
}

/* Hero phone wrap */
.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: phone-float 4s ease-in-out infinite;
}

@keyframes phone-float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

.phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 19, 236, .45) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.badge-a {
  bottom: 60px;
  left: -40px;
  animation: badge-float-a 5s ease-in-out infinite;
}

.badge-b {
  top: 80px;
  right: -50px;
  animation: badge-float-b 5s ease-in-out infinite 1.5s;
}

@keyframes badge-float-a {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg)
  }

  50% {
    transform: translateY(-8px) rotate(-2deg)
  }
}

@keyframes badge-float-b {

  0%,
  100% {
    transform: translateY(0) rotate(2deg)
  }

  50% {
    transform: translateY(-8px) rotate(2deg)
  }
}

.fb-icon {
  font-size: 1.4rem;
}

.fb-title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
}

.fb-sub {
  font-size: .65rem;
  color: var(--text-muted);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(91, 19, 236, .4);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--purple-light);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(12px);
    opacity: 0
  }
}

/* ── TRUSTED ── */
.trusted-section {
  padding: 40px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trusted-logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.trusted-logo:hover {
  color: var(--purple-light);
}

/* ── FEATURES ── */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon-wrap {
  margin-bottom: 16px;
}

.feature-icon {
  font-size: 2rem;
}

.feature-title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.chip {
  background: rgba(91, 19, 236, .12);
  color: var(--purple-light);
  border: 1px solid rgba(91, 19, 236, .25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 600;
}

/* ── EVENTS SECTION ── */
.events-page {
  padding-top: 84px;
  min-height: 60vh;
}

.events-page-head {
  padding: 12px 0 8px;
}

.events-page-title {
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.events-by-category {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.events-category-rail {
  min-width: 0;
}

.events-category-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.events-category-rail-title {
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.events-category-rail-count {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.events-category-rail-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}

.events-category-rail-scroll--static {
  overflow-x: hidden;
}

.events-category-rail-scroll::-webkit-scrollbar {
  display: none;
}

.events-category-rail-item {
  flex: 0 0 clamp(180px, 62vw, 220px);
  scroll-snap-align: start;
}

.events-category-rail-item .ev-card {
  height: 100%;
}

.events-list-body--filtered .events-by-category {
  display: none;
}

.events-list-body--filtered .events-grid {
  display: grid;
}

.events-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: sticky;
  top: 72px;
  z-index: 50;
  padding-top: 16px;
  padding-bottom: 16px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.events-toolbar.is-stuck {
  border-bottom-color: var(--border);
}

.events-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 520px;
  flex: 1;
}

.events-search-icon {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  pointer-events: none;
  z-index: 2;
  color: var(--text-muted);
}

.events-search-icon svg {
  width: 18px;
  height: 18px;
}

.events-search {
  width: 100%;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.events-search:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.category-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-muted);
  font-family: var(--body-font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.category-chip:hover,
.category-chip.active {
  border-color: var(--purple);
  background: rgba(91, 19, 236, .15);
  color: var(--text);
}

.events-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.events-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.events-filter-group--price {
  min-width: 110px;
  max-width: 130px;
}

.events-filter-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.events-filter-input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--body-font);
  font-size: .9rem;
}

.events-filter-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.events-filter-reset {
  align-self: flex-end;
  padding: 10px 16px;
  font-size: .85rem;
}

/* Trending carousel */
.events-trending {
  margin-bottom: 32px;
}

.trending-section-header {
  margin-bottom: 14px;
}

.trending-slide-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.trending-slide-chip {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

.trending-carousel {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(91, 19, 236, .15);
}

.trending-carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.trending-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: clamp(260px, 55vw, 420px);
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.trending-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.trending-slide:hover .trending-slide-bg {
  transform: scale(1.05);
}

.trending-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, transparent 55%);
  pointer-events: none;
}

.trending-slide,
.trending-slide-content,
.trending-slide-title,
.trending-slide-meta,
.trending-slide-meta span {
  color: #fff;
}

.trending-slide-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: clamp(260px, 55vw, 420px);
  padding: clamp(20px, 5vw, 40px);
  padding-bottom: clamp(28px, 6vw, 48px);
  gap: 10px;
}

.trending-slide-chip {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}

.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 19, 236, .25);
  border: 1px solid rgba(91, 19, 236, .4);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--purple-light);
}

.trending-badge i {
  width: 14px;
  height: 14px;
}

.trending-slide-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  max-width: 720px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .65);
}

.trending-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(.8125rem, 2.5vw, .9375rem);
}

.trending-slide-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

.trending-slide-meta i {
  width: 16px;
  height: 16px;
}

.trending-slide-cta {
  align-self: flex-start;
  margin-top: 8px;
  pointer-events: none;
}

.trending-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(17, 12, 26, .6);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}

.trending-carousel-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
}

.trending-carousel-btn--prev { left: 16px; }
.trending-carousel-btn--next { right: 16px; }

.trending-carousel-btn i {
  width: 24px;
  height: 24px;
}

.trending-carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.trending-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.trending-dot.active {
  background: var(--purple);
  transform: scale(1.2);
}

/* Sticky trending bar */
.trending-sticky-bar {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--bg-2) 95%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
  pointer-events: none;
}

.trending-sticky-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.trending-sticky-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trending-sticky-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--purple-light);
}

.trending-sticky-label i {
  width: 14px;
  height: 14px;
}

.trending-sticky-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.trending-sticky-scroll::-webkit-scrollbar {
  display: none;
}

.trending-sticky-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), background var(--transition);
  max-width: 260px;
}

.trending-sticky-item:hover,
.trending-sticky-item.active {
  border-color: var(--purple);
  background: rgba(91, 19, 236, .1);
}

.trending-sticky-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.trending-sticky-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.trending-sticky-title {
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events-list-body {
  padding-bottom: 80px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (min-width: 1400px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ev-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ev-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 19, 236, .4);
  box-shadow: 0 12px 40px var(--purple-glow);
}

.ev-card-media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--bg);
}

.ev-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ev-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

.ev-card-img--placeholder i {
  width: 48px;
  height: 48px;
  opacity: .4;
}

.ev-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-card-chip {
  align-self: flex-start;
  margin-bottom: 4px;
}

.ev-card-title {
  font-family: var(--heading-font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.ev-card-venue,
.ev-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
}

.ev-card-venue i,
.ev-card-date i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
}

.events-load-more-wrap {
  text-align: center;
  padding-bottom: 80px;
}

/* Homepage events teaser */
.homepage-events-teaser {
  padding: 100px 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(91, 19, 236, .06) 0%, transparent 70%);
}

.homepage-events-showcase {
  margin-bottom: 32px;
}

.hp-events-loading {
  text-align: center;
  padding: 48px 0;
}

.hp-events-layout {
  --hp-header-h: 44px;
  --hp-carousel-h: clamp(360px, 44vw, 460px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.hp-events-layout--single {
  grid-template-columns: 1fr;
}

.hp-events-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 12px;
}

.hp-events-col-header,
.hp-events-rail-header {
  flex-shrink: 0;
  min-height: var(--hp-header-h);
  display: flex;
  align-items: center;
}

.hp-events-rail-header {
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.hp-trending-carousel,
.hp-events-rail-panel {
  height: var(--hp-carousel-h);
  flex-shrink: 0;
}

.hp-trending-carousel {
  display: flex;
  flex-direction: column;
}

.hp-trending-carousel .trending-carousel-track {
  height: 100%;
  flex: 1;
}

.hp-trending-carousel .trending-slide {
  min-height: 100%;
  height: 100%;
}

.hp-trending-carousel .trending-slide-content {
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}

.hp-events-rail-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: 12px 16px;
  box-shadow: 0 16px 48px rgba(91, 19, 236, .08);
  box-sizing: border-box;
  overflow: hidden;
}

.hp-events-rail-title {
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  margin: 0;
  color: var(--text);
}

.hp-events-rail-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hp-rail-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
}

.hp-rail-btn:hover:not(:disabled) {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.hp-rail-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.hp-rail-btn i {
  width: 20px;
  height: 20px;
}

.hp-events-rail-scroll {
  display: flex;
  gap: 16px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px;
  align-items: flex-start;
}

.hp-events-rail-scroll::-webkit-scrollbar {
  display: none;
}

.hp-events-rail-item {
  flex: 0 0 clamp(200px, 72vw, 240px);
  scroll-snap-align: start;
}

.trending-slide-meta svg,
.ev-card-venue svg,
.ev-card-date svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.homepage-events-cta {
  text-align: center;
}

/* Event detail page */
.event-detail-page {
  padding-top: 100px;
  padding-bottom: 100px;
}

.event-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-muted);
  padding: 16px 0 24px;
}

.event-breadcrumb a {
  color: var(--purple-light);
  text-decoration: none;
}

.event-breadcrumb a:hover {
  text-decoration: underline;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.event-detail-main {
  min-width: 0;
}

.event-detail-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-sidebar-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.event-sidebar-card h1 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 12px 0 16px;
  line-height: 1.25;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.event-detail-hero {
  margin-bottom: 32px;
  background: transparent;
  border: none;
  overflow: visible;
}

/* Media carousel */
.media-carousel {
  position: relative;
  line-height: 0;
}

.media-carousel-viewport {
  position: relative;
  overflow: hidden;
  background: transparent;
  height: auto;
}

.media-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  touch-action: pan-y pinch-zoom;
}

.media-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  line-height: 0;
  min-height: 0;
}

.media-carousel-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 560px);
  display: block;
  margin: 0;
  cursor: zoom-in;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
}

.media-carousel-video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 560px);
  display: block;
  margin: 0;
  background: #000;
  border-radius: var(--radius);
}

.media-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  pointer-events: none;
}

.media-type-badge i {
  width: 14px;
  height: 14px;
}

.media-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}

.media-carousel-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.media-carousel-btn--prev { left: 12px; }
.media-carousel-btn--next { right: 12px; }

.media-carousel-btn i {
  width: 22px;
  height: 22px;
}

.media-carousel-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
}

.media-carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 0 0;
  overflow-x: auto;
  background: transparent;
  border-top: none;
}

.media-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--bg);
  transition: border-color var(--transition);
}

.media-thumb.active {
  border-color: var(--purple);
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-video {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 19, 236, .15);
  color: var(--purple-light);
}

.media-thumb-video i {
  width: 20px;
  height: 20px;
}

/* Lightbox */
.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .9);
}

.media-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

.media-lightbox-content img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.media-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Seating plan */
.event-seating-plan {
  margin-bottom: 48px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.event-seating-plan-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.event-seating-plan-header i {
  width: 22px;
  height: 22px;
  color: var(--purple-light);
}

.seating-plan-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.seating-plan-image {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.seating-plan-image:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 24px var(--purple-glow);
}

.seating-plan-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 400px;
}

.seating-plan-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seating-plan-zoom i {
  width: 18px;
  height: 18px;
}

.seating-layout-block {
  margin-top: 20px;
}

.seating-layout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.seating-layout-header h4 {
  margin: 0;
  font-size: 1rem;
}

.seating-layout-header span {
  font-size: .8125rem;
  color: var(--text-muted);
}

.seating-layout-canvas {
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}

.seating-layout-canvas canvas {
  display: block;
  max-width: 100%;
}

.seating-layout-hint {
  margin: 10px 0 0;
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
}

.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: var(--text-muted);
  font-size: .9375rem;
  margin-bottom: 24px;
}

.event-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-detail-meta i {
  width: 16px;
  height: 16px;
}

.event-price-from {
  color: var(--purple-light) !important;
  font-weight: 600;
}

.event-description {
  margin-bottom: 48px;
}

.event-description h2,
.event-sessions h2,
.event-dl-cta h2 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.event-description-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.0625rem;
  text-align: start;
  unicode-bidi: plaintext;
}

.event-description-text .text-block {
  margin: 0 0 1em;
  text-align: start;
  unicode-bidi: plaintext;
}

.event-description-text .text-block:last-child {
  margin-bottom: 0;
}

.event-description-text .text-block--rtl {
  direction: rtl;
  text-align: right;
}

.event-description-text .text-block--ltr {
  direction: ltr;
  text-align: left;
}

.event-sidebar-card h1,
.trending-slide-title,
.ev-card-title,
.pricing-name,
.trending-slide-meta span,
.ev-card-venue,
.ev-card-date {
  text-align: start;
  unicode-bidi: plaintext;
}

[dir="rtl"].trending-slide-title,
[dir="rtl"].ev-card-title,
[dir="rtl"].event-sidebar-card h1,
[dir="rtl"].pricing-name {
  text-align: right;
}

.event-sessions {
  margin-bottom: 48px;
}

.session-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.session-card:hover {
  border-color: rgba(91, 19, 236, .4);
}

.session-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.session-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.session-header h3 i {
  width: 18px;
  height: 18px;
  color: var(--purple-light);
}

.session-hall {
  font-size: .875rem;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(91, 19, 236, .1);
}

.session-pricings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-family: var(--body-font);
  font-size: .9375rem;
  color: var(--text);
  text-align: left;
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
}

.pricing-row:hover {
  border-color: var(--purple);
  background: rgba(91, 19, 236, .08);
}

.pricing-name {
  flex: 1;
  font-weight: 600;
}

.pricing-price {
  color: var(--purple-light);
  font-weight: 700;
}

.pricing-sold-out {
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, .15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, .35);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.pricing-row--sold-out {
  opacity: .75;
  border-color: rgba(239, 68, 68, .25);
}

.pricing-row--sold-out .pricing-price {
  color: var(--text-muted);
}

.session-no-pricing {
  color: var(--text-muted);
  font-size: .875rem;
  margin: 0;
}

.event-detail-sidebar .event-dl-cta {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(91, 19, 236, .12) 0%, var(--bg-2) 100%);
  text-align: center;
}

.event-dl-cta h2 {
  font-size: 1.125rem;
}

.event-dl-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .875rem;
}

.event-dl-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-badge {
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(91, 19, 236, .15);
  color: var(--purple-light);
  font-weight: 600;
}

/* Booking gate modal */
.book-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.book-gate-modal[hidden] {
  display: none;
}

.book-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
}

.book-gate-dialog {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.book-gate-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-gate-close:hover {
  color: var(--text);
}

.book-gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(91, 19, 236, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
}

.book-gate-icon i {
  width: 32px;
  height: 32px;
}

.book-gate-dialog h3 {
  font-family: var(--heading-font);
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.book-gate-dialog p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.book-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sticky download bar (mobile) */
.sticky-dl-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  backdrop-filter: blur(12px);
}

.sticky-dl-bar.visible {
  display: flex;
}

.sticky-dl-bar p {
  font-size: .8125rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.sticky-dl-actions {
  display: flex;
  gap: 8px;
}

.sticky-dl-actions .btn,
.btn-sm {
  padding: 8px 14px;
  font-size: .8125rem;
}

@media (max-width: 1024px) {
  .event-detail-layout {
    grid-template-columns: 1fr;
  }

  .event-detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .events-page .container {
    padding-left: max(20px, env(safe-area-inset-left, 20px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }

  .events-toolbar {
    top: 60px;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 16px;
    margin-bottom: 28px;
  }

  .events-search-wrap {
    max-width: none;
    width: 100%;
  }

  .category-chips {
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 8px;
    scroll-padding-inline: 4px;
  }

  .category-chip {
    padding: 8px 16px;
    font-size: .8125rem;
  }

  .hp-events-layout {
    --hp-carousel-h: clamp(300px, 68vw, 380px);
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hp-events-rail-item {
    flex: 0 0 clamp(200px, 78vw, 240px);
  }

  .events-trending {
    margin-bottom: 24px;
  }

  .trending-section-header {
    margin-bottom: 12px;
  }

  .trending-carousel {
    border-radius: var(--radius);
  }

  .trending-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .trending-carousel-btn--prev { left: 10px; }
  .trending-carousel-btn--next { right: 10px; }

  .trending-carousel-dots {
    right: 16px;
    bottom: 14px;
  }

  .trending-slide-title {
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
    max-width: 100%;
  }

  .media-carousel-img,
  .media-carousel-video {
    max-height: min(50vh, 400px);
  }

  .sticky-dl-bar.visible {
    display: flex;
  }

  .event-detail-page {
    padding-bottom: 72px;
  }

  .event-detail-page .container {
    padding-left: max(20px, env(safe-area-inset-left, 20px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }

  .trending-sticky-bar {
    top: 56px;
  }
}

@media (max-width: 900px) {
  .events-page .container,
  .events-page .events-toolbar.container {
    padding-left: max(20px, env(safe-area-inset-left, 20px));
    padding-right: max(20px, env(safe-area-inset-right, 20px));
  }
}

@media (min-width: 1200px) {
  .trending-slide {
    min-height: 480px;
  }

  .trending-slide-content {
    min-height: 480px;
    padding: 48px 56px;
  }
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(91, 19, 236, .08) 0%, transparent 70%);
}

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 20px;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 50%, var(--purple) 100%);
  opacity: .3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(91, 19, 236, .4);
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
}

/* ── PRO SECTION ── */
.pro-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pro-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: var(--orb-opacity);
}

.pro-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(91, 19, 236, .18);
  top: -100px;
  right: -100px;
}

.pro-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(168, 85, 247, .1);
  bottom: -80px;
  left: -60px;
}

.pro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pro-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 16px 0 32px;
  max-width: 440px;
}

.pro-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pro-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.pro-feature-item:hover {
  border-color: var(--border-hover);
  background: rgba(91, 19, 236, .05);
}

.pro-feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.pro-feature-item h4 {
  font-family: var(--heading-font);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.pro-feature-item p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.pro-visual-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: visual-float 6s ease-in-out infinite;
}

@keyframes visual-float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

.dash-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.dash-card:hover {
  transform: scale(1.05) translateZ(10px);
  border-color: var(--purple-light);
}

/* Main Chart Card */
.dash-card--main {
  width: 320px;
  height: 220px;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(91, 19, 236, 0.1));
}

.dash-card--main:hover {
  /* Merge the positioning translate with the hover scale to prevent flickering */
  transform: translate(-50%, -50%) scale(1.05) translateZ(10px);
}

/* Small Stat Cards */
.dash-card--stat-1 {
  width: 140px;
  top: 10%;
  left: 0;
  z-index: 3;
}

.dash-card--stat-2 {
  width: 160px;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.dash-card--scanner {
  width: 120px;
  top: 15%;
  right: -20px;
  z-index: 1;
  opacity: 0.6;
}

.dash-card h4 {
  font-family: var(--heading-font);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-val {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.dash-trend {
  font-size: 0.7rem;
  color: #4ade80;
  margin-left: 8px;
}

/* Abstract Chart */
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-top: 20px;
}

.dash-chart--bar {
  flex: 1;
  background: var(--purple);
  border-radius: 4px 4px 0 0;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.dash-chart--bar.active {
  opacity: 1;
  background: linear-gradient(to top, var(--purple), var(--purple-light));
}

/* Scanner Abstract */
.dash-scanner-box {
  width: 100%;
  height: 60px;
  border: 1px dashed var(--purple-light);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.dash-scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--purple-light);
  box-shadow: 0 0 10px var(--purple-light);
  animation: dash-scan 2s ease-in-out infinite;
}

@keyframes dash-scan {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: 100%;
  }
}

.scanner-viewfinder {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-corner {
  position: absolute;
  width: 16px;
  height: 16px;
}

.scanner-corner.tl {
  top: 0;
  left: 0;
  border: 3px solid var(--purple-light);
  border-right: none;
  border-bottom: none;
  border-radius: 3px 0 0 0;
}

.scanner-corner.tr {
  top: 0;
  right: 0;
  border: 3px solid var(--purple-light);
  border-left: none;
  border-bottom: none;
  border-radius: 0 3px 0 0;
}

.scanner-corner.bl {
  bottom: 0;
  left: 0;
  border: 3px solid var(--purple-light);
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 3px;
}

.scanner-corner.br {
  bottom: 0;
  right: 0;
  border: 3px solid var(--purple-light);
  border-left: none;
  border-top: none;
  border-radius: 0 0 3px 0;
}

.scanner-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--purple-light);
  top: 20px;
  animation: scan-line 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--purple-light);
}

@keyframes scan-line {

  0%,
  100% {
    top: 15%
  }

  50% {
    top: 75%
  }
}

.scanner-qr-icon {
  font-size: 1.6rem;
  color: rgba(91, 19, 236, .25);
}

.scanner-status {
  font-size: .6rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.scanner-status.valid {
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, .4);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(91, 19, 236, .15), var(--card-bg));
  border-color: rgba(91, 19, 236, .35);
  box-shadow: 0 0 40px rgba(91, 19, 236, .1);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
}

.avatar-1 {
  background: linear-gradient(135deg, #5B13EC, #7c40ff);
  color: #fff;
}

.avatar-2 {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
}

.avatar-3 {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
}

.author-name {
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
}

.author-loc {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── DOWNLOAD ── */
.download-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.download-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: var(--orb-opacity);
}

.dl-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(91, 19, 236, .2);
  top: -100px;
  left: -100px;
}

.dl-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, .08);
  bottom: -50px;
  right: -50px;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dl-title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 16px 0;
  color: var(--text);
}

.dl-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.dl-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 22px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.dl-btn svg,
.btn svg,
.dl-btn .lucide,
.btn .lucide {
  fill: none;
  /* Lucide icons are strokes, not fills */
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.success-icon {
  color: #10b981;
  margin-right: 8px;
  width: 1.2rem;
  height: 1.2rem;
}

.heart-icon {
  color: #ef4444;
  width: 1.1em;
  height: 1.1em;
  fill: #ef4444;
  /* Give the heart a fill */
  display: inline-block;
  vertical-align: sub;
}

.dl-btn:hover {
  background: rgba(91, 19, 236, .1);
  border-color: var(--purple-light);
  transform: translateY(-2px);
}

.dl-btn-sub {
  font-size: .7rem;
  color: var(--text-muted);
}

.dl-btn-main {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1rem;
}

/* Coming Soon Badge */
.dl-btn-container {
  position: relative;
  display: inline-block;
}

.badge-soon {
  position: absolute;
  top: -8px;
  right: -5px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(91, 19, 236, 0.4);
  pointer-events: none;
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .badge-soon {
    top: -6px;
    right: -2px;
    font-size: 0.5rem;
  }
}

.dl-phone-float {
  display: flex;
  justify-content: center;
  position: relative;
  animation: phone-float 4s ease-in-out infinite 0.5s;
}

.dl-phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 19, 236, .45) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
}

.dl-phone {
  width: 260px;
  height: 520px;
}

/* Ticket screen */
.ticket-screen {
  padding: 30px 10px 10px;
  height: 100%;
}

.ticket-header {
  font-family: var(--heading-font);
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
  color: var(--text);
}

.ticket-card {
  background: linear-gradient(135deg, var(--bg-2), #2a1050);
  border: 1px solid rgba(91, 19, 236, .35);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.ticket-event-name {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: .8rem;
  margin-bottom: 4px;
  color: #fff;
}

.ticket-date {
  font-size: .6rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 2px;
}

.ticket-type {
  font-size: .6rem;
  color: var(--purple-light);
  margin-bottom: 12px;
}

.qr-zone {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
}

.qr-mock {
  display: grid;
  gap: 4px;
}

.qr-row {
  display: flex;
  gap: 4px;
}

.qr-b,
.qr-w {
  width: 28px;
  height: 28px;
  border-radius: 3px;
}

.qr-b {
  background: #111;
}

.qr-w {
  background: #fff;
}

.ticket-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(91, 19, 236, .3);
  border: 1px solid rgba(91, 19, 236, .5);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: .55rem;
  font-weight: 700;
  color: var(--purple-light);
}

/* ── CONTACT ── */
.contact-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: var(--transition);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contact-info-item:hover {
  border-color: var(--border-hover);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.contact-info-val {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
}

.contact-social-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--body-font);
  font-size: .92rem;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  outline: none;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 19, 236, .12);
}

.form-group select option {
  background: var(--bg-2);
  color: var(--text);
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 10px;
  padding: 14px 18px;
  color: #4ade80;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* ── PRIVACY ── */
.privacy-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

/* ── LEGAL PAGE LAYOUT ── */
.policy-page {
  padding-top: 120px;
  min-height: 100vh;
  position: relative;
  /* Removed overflow: hidden as it breaks position: sticky */
}

.policy-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-top: 60px;
  position: relative;
}

.policy-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  z-index: 10;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.policy-sidebar-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.8;
}

.policy-nav-list {
  list-style: none;
  padding: 0;
}

.policy-nav-item a {
  display: block;
  padding: 10px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 0.95rem;
  transition: var(--transition);
}

.policy-nav-item a:hover {
  color: var(--purple-light);
  transform: translateX(5px);
}

.policy-main {
  max-width: 850px;
}

.policy-header {
  margin-bottom: 60px;
}

.policy-header .section-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin: 15px 0 20px;
}

.last-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

.policy-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  transition: var(--transition);
}

.policy-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.policy-card h2 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
}

.policy-card h2 .lucide {
  width: 32px;
  height: 32px;
}

.policy-card p {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.policy-card ul {
  list-style: none;
  padding-left: 0;
}

.policy-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
}

.policy-card strong {
  color: var(--text);
  font-weight: 600;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 40px;
}

.back-home:hover {
  color: var(--purple-light);
  transform: translateX(-5px);
}

@media (max-width: 1024px) {
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-sidebar {
    position: static;
    margin-bottom: 30px;
    padding: 20px 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .policy-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .policy-nav-item a {
    background: rgba(91, 19, 236, .08);
    border: 1px solid rgba(91, 19, 236, .2);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: .85rem;
    display: inline-block;
  }
}

/* ── BILINGUAL SUPPORT ── */
.fr-block, .en-block {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

html[lang="fr"] .en-block { display: none !important; }
html[lang="en"] .fr-block { display: none !important; }

.privacy-card p strong {
  color: var(--purple-light);
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(91, 19, 236, .08);
  border: 1px solid rgba(91, 19, 236, .25);
  border-radius: 12px;
  padding: 20px 24px;
}

.privacy-notice-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.privacy-notice p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
}

.privacy-notice a {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 700;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text);
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: .82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .82rem;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--purple-light);
}

/* ── AOS ANIMATIONS ── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-delay="50"] {
  transition-delay: .05s;
}

[data-delay="80"] {
  transition-delay: .08s;
}

[data-delay="100"] {
  transition-delay: .1s;
}

[data-delay="150"] {
  transition-delay: .15s;
}

[data-delay="160"] {
  transition-delay: .16s;
}

[data-delay="200"] {
  transition-delay: .2s;
}

[data-delay="250"] {
  transition-delay: .25s;
}

[data-delay="300"] {
  transition-delay: .3s;
}

[data-delay="350"] {
  transition-delay: .35s;
}

[data-delay="400"] {
  transition-delay: .4s;
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle,
  .dl-subtitle,
  .pro-subtitle {
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card--large {
    grid-column: span 2;
  }

  .pro-inner,
  .download-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .pro-subtitle {
    max-width: 100%;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-scrolled);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .features-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
  }

  .steps-wrap {
    grid-template-columns: 1fr;
  }

  .steps-line {
    display: none;
  }

  .testimonials-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 16px;
  }

  .badge-a,
  .badge-b {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:480px) {
  .hero-cta,
  .dl-btns {
    flex-direction: column;
    align-items: center;
  }

  /* Scale down reCAPTCHA on phones — it has a hardcoded 304px width from Google */
  .g-recaptcha {
    transform-origin: 0 0;
    transform: scale(calc(100vw / 340));
    max-width: 100%;
    overflow: hidden;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-inner {
    gap: 32px;
  }

  .contact-form {
    padding: 20px 16px;
    gap: 16px;
  }

  .contact-info-item {
    padding: 14px;
    gap: 12px;
  }

  .contact-info-val {
    font-size: 0.85rem;
    overflow-wrap: break-word;
    word-break: break-all;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .g-recaptcha {
    transform: scale(calc(100vw / 360));
  }

  .contact-inner {
    gap: 24px;
  }

  .contact-info-item {
    padding: 12px;
    gap: 10px;
  }

  .contact-form {
    padding: 14px;
    gap: 14px;
  }

  .form-group label {
    font-size: 0.78rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .form-submit {
    padding: 13px;
    font-size: 0.92rem;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .g-recaptcha {
    transform: scale(calc(100vw / 320));
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .contact-icon {
    font-size: 1.2rem;
  }
}

/* ── POLICY PAGES ── */
.policy-page {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  z-index: 10;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-header {
  margin-bottom: 60px;
  text-align: left;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-section h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--purple);
  border-radius: 4px;
}

.policy-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-section ul {
  list-style: none;
  margin-bottom: 16px;
}

.policy-section li {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.policy-section li::before {
  content: '•';
  color: var(--purple-light);
  font-weight: 900;
  margin-top: 2px;
}

.back-home {
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
}

.back-home:hover {
  transform: translateX(-5px);
  color: var(--text);
}

.last-updated {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ── GLOBAL HIDDEN ── */
[hidden] {
  display: none !important;
}

/* ── MOBILE APP BANNER (fixed bottom) ── */
body.has-mobile-app-banner {
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

.mobile-app-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.has-mobile-app-banner .event-checkout-bar {
  bottom: calc(68px + env(safe-area-inset-bottom));
}

.mobile-app-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
}

.mobile-app-banner-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-app-banner-text strong {
  font-family: var(--heading-font);
  font-size: .88rem;
}

.mobile-app-banner-text span {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.mobile-app-banner-cta {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--purple);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-app-banner-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-app-banner-close i {
  width: 18px;
  height: 18px;
}

/* ── NAV AUTH ── */
.nav-auth-slot {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-auth-login {
  position: absolute;
  inset: 0;
}

.nav-auth-login[hidden] {
  display: none !important;
}

.nav-account-menu {
  position: absolute;
  inset: 0;
}

.nav-account-menu[hidden] {
  display: none !important;
}

.nav-account-trigger {
  width: 100%;
  height: 100%;
}

.nav-account-basket-link {
  display: block;
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(91, 19, 236, .12);
  color: var(--purple-light) !important;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.nav-account-basket-link:hover {
  background: rgba(91, 19, 236, .2);
}

.nav-account-name {
  margin: 0 0 4px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}

.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  z-index: 1200;
}

.nav-account-email {
  margin: 0 0 10px;
  font-size: .78rem;
  color: var(--text-muted);
  word-break: break-all;
}

.nav-account-logout {
  width: 100%;
  border: 1px solid rgba(248, 113, 113, .35);
  background: rgba(248, 113, 113, .1);
  color: #f87171;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}

.nav-account-logout:hover {
  background: rgba(248, 113, 113, .2);
}

/* ── BASKET ADDED TOAST ── */
.basket-added-toast {
  position: fixed;
  bottom: 88px;
  left: 16px;
  right: 16px;
  z-index: 960;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(34, 197, 94, .15);
  border: 1px solid rgba(34, 197, 94, .4);
  backdrop-filter: blur(12px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  pointer-events: none;
}

.basket-added-toast.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.basket-added-toast-msg {
  flex: 1;
  font-weight: 700;
  font-size: .9rem;
  color: #4ade80;
}

.basket-added-toast-link {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.basket-added-toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.basket-added-toast-close i {
  width: 16px;
  height: 16px;
}

/* ── WEB CHECKOUT ── */

.checkout-page {
  padding: 110px 0 80px;
  min-height: 70vh;
}

.checkout-container {
  max-width: 1100px;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.checkout-header h1 {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0;
}

.basket-timer-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
}

.basket-timer-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-muted);
}

.basket-timer {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
}

.basket-timer--warning {
  background: #dc2626;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-sidebar {
  position: sticky;
  top: 100px;
}

.basket-summary-card,
.basket-item,
.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.basket-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.basket-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.basket-item-top {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: start;
}

.basket-item-media img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
}

.basket-item-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.basket-item-body h3 {
  font-family: var(--heading-font);
  font-size: 1rem;
  margin: 0 0 6px;
}

.basket-item-meta,
.basket-item-date {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.basket-item-qty,
.pricing-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}

.pricing-qty-row--active {
  border-color: var(--purple);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: rgba(91, 19, 236, .12);
  color: var(--purple-light);
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.basket-item-unit-price {
  text-align: right;
  min-width: 92px;
}

.basket-item-unit-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.basket-item-unit-price strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1rem;
}

.basket-item-unit-fee {
  display: block;
  margin-top: 4px;
  font-size: .72rem;
  color: var(--purple-light);
  font-weight: 600;
}

.basket-item-breakdown {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(91, 19, 236, .06);
  border: 1px solid rgba(91, 19, 236, .14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: .84rem;
  color: var(--text-muted);
}

.price-breakdown-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.price-breakdown-label i {
  width: 14px;
  height: 14px;
  opacity: .75;
}

.price-breakdown-row--fee .price-breakdown-value {
  color: var(--purple-light);
  font-weight: 600;
}

.price-breakdown-row--line-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(91, 19, 236, .2);
  color: var(--text);
  font-size: .9rem;
}

.basket-summary-card h2 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.basket-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.basket-summary-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.basket-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: .88rem;
}

.basket-summary-item-title {
  flex: 1;
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}

.basket-summary-row--indent {
  padding-left: 10px;
  font-size: .82rem;
}

.basket-summary-fee-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--purple-light);
}

.basket-summary-fee-label i {
  width: 13px;
  height: 13px;
  opacity: .8;
}

.basket-summary-row--fees {
  color: var(--purple-light);
  font-weight: 600;
}

.basket-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, .06);
  margin: 6px 0;
}

.basket-summary-divider--strong {
  background: var(--border);
  margin: 10px 0 8px;
}

.basket-summary-total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  color: var(--text);
  font-size: 1.05rem;
}

.basket-summary-total strong {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--purple-light);
}

.basket-summary-note {
  margin: 10px 0 0;
  font-size: .74rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.basket-summary-card .btn {
  margin-top: 12px;
}

.basket-empty,
.checkout-loading {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.basket-phone-gate {
  background: rgba(91, 19, 236, .08);
  border: 1px solid rgba(91, 19, 236, .25);
  border-radius: var(--radius);
  padding: 24px;
}

.checkout-alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: .9rem;
}

.checkout-alert--error {
  background: rgba(220, 38, 38, .12);
  border: 1px solid rgba(220, 38, 38, .3);
  color: #fca5a5;
}

/* Mobile-style pricing cards */
.pricing-card,
.session-card,
.session-pricings {
  -webkit-tap-highlight-color: transparent;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  margin-bottom: 10px;
}

.pricing-card--in-basket {
  border-color: rgba(91, 19, 236, .45);
}

.pricing-card--sold-out {
  opacity: .65;
  pointer-events: none;
}

.pricing-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.pricing-card-info {
  flex: 1;
  min-width: 0;
}

.pricing-card .pricing-name {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
}

.pricing-card .pricing-price {
  display: block;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.pricing-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.pricing-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
}

.pricing-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pricing-avail--ok { color: #4ade80; }
.pricing-avail--ok .pricing-avail-dot { background: #4ade80; }
.pricing-avail--sold { color: #f87171; }
.pricing-avail--sold .pricing-avail-dot { background: #f87171; }

.pricing-in-basket {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--purple-light);
}

.pricing-in-basket i {
  width: 12px;
  height: 12px;
}

.pricing-fee-hint {
  display: block;
  margin-top: 2px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--purple-light);
}

.pricing-subtotal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(91, 19, 236, .08);
  border: 1px solid rgba(91, 19, 236, .16);
  font-size: .76rem;
  color: var(--text-muted);
}

.pricing-breakdown-line {
  display: block;
}

.pricing-breakdown-line--fee {
  color: var(--purple-light);
}

.pricing-breakdown-total {
  display: block;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed rgba(91, 19, 236, .2);
  font-weight: 700;
  color: var(--text);
}

.pricing-breakdown-line strong,
.pricing-breakdown-total strong {
  color: var(--text);
}

.mobile-qty {
  flex-shrink: 0;
  background: var(--bg-2);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--border);
  touch-action: manipulation;
}

.qty-btn--round {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn--round:active {
  background: rgba(91, 19, 236, .2);
  color: var(--purple-light);
}

/* Sticky bottom checkout bar (like mobile) */
.event-checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(18, 12, 28, .92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.event-checkout-basket {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 48px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.event-checkout-basket i {
  width: 22px;
  height: 22px;
}

.event-checkout-basket-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 100px;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(18, 12, 28, .92);
}

.event-checkout-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}

.event-checkout-timer--warning {
  background: #dc2626;
}

.event-checkout-timer i {
  width: 14px;
  height: 14px;
}

.event-checkout-cta {
  flex: 1;
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(91, 19, 236, .35);
}

.event-checkout-cta:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.event-checkout-cta:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.event-checkout-cta--loading {
  opacity: .7;
  pointer-events: none;
}

.event-checkout-cta i {
  width: 18px;
  height: 18px;
}

.event-detail-page {
  padding-bottom: 88px;
}

.auth-page {
  padding: 120px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.auth-card-header {
  margin-bottom: 24px;
}

.auth-card h1 {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  margin: 0 0 8px;
}

.auth-subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-tab {
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-muted);
  border-radius: 10px;
  padding: 12px 10px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: rgba(91, 19, 236, .15);
  border-color: var(--purple);
  color: var(--text);
}

.auth-panels {
  margin-bottom: 4px;
}

.auth-panel {
  display: block;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-field span {
  font-size: .82rem;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--body-font);
  font-size: .95rem;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 19, 236, .12);
}

.auth-submit {
  margin-top: 4px;
}

.auth-google-btn {
  gap: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-legal {
  margin-top: 16px;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

.auth-legal a {
  color: var(--purple-light);
}

.checkout-result-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.checkout-result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.checkout-result-icon--success {
  background: rgba(34, 197, 94, .15);
  color: #4ade80;
}

.checkout-result-icon--fail {
  background: rgba(220, 38, 38, .15);
  color: #f87171;
}

.checkout-result-icon i {
  width: 40px;
  height: 40px;
}

.checkout-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
  }

  .basket-item-top {
    grid-template-columns: 72px 1fr;
  }

  .basket-item-unit-price {
    grid-column: 2;
    text-align: left;
    margin-top: 4px;
  }

  .pricing-card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-qty {
    align-self: flex-end;
  }

  .event-checkout-cta {
    max-width: none;
  }
}

/* ── ERROR PAGES (404 / security) ── */
.error-page {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 48px 0 80px;
  overflow: hidden;
}

.error-page-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.error-page-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}

.error-page-orb--1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(91, 19, 236, .55), transparent 70%);
}

.error-page-orb--2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(167, 139, 250, .35), transparent 70%);
}

.error-page-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 40px;
  align-items: center;
}

.error-illus svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(91, 19, 236, .25));
}

.error-page-content {
  max-width: 520px;
}

.error-page-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(91, 19, 236, .16);
  border: 1px solid rgba(167, 139, 250, .35);
  color: var(--purple-light);
  font-family: var(--heading-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.error-page--security-block .error-page-badge {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(248, 113, 113, .35);
  color: #fca5a5;
}

.error-page-content h1 {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.error-page-message {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.error-page-hint {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 24px;
  opacity: .85;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .error-page-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .error-page-content {
    margin: 0 auto;
  }

  .error-page-actions {
    justify-content: center;
  }
}