/* ============================================================
   jumpin. — index.html styles
   Hero, city switcher, discovery section, strips.
   ============================================================ */

/* ─── Hero ────────────────────────────────────────────────────── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  min-height: calc(100svh - var(--nav-height));
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    padding-top: var(--space-16);
  }
}

/* Headline word-by-word animation */
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-in 400ms var(--ease-spring) forwards;
  animation-delay: calc(var(--i) * 80ms + 200ms);
}

.hero-headline .hero-accent {
  color: var(--color-primary);
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline .word { opacity: 1; transform: none; animation: none; }
}

.hero-sub {
  font-size: var(--text-md);
  color: var(--color-text-2);
  max-width: 480px;
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

/* Social proof strip */
.hero-social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-3);
}
.proof-chip {
  display: flex;
  align-items: center;
  gap: 4px;
}
.proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
.proof-dot { color: var(--color-border-strong); }

/* ─── Hero floating cards (desktop) ─────────────────────────── */
.hero-cards {
  display: none;
  position: relative;
  height: 420px;
  perspective: 1000px;
}

@media (min-width: 1024px) {
  .hero-cards { display: block; }
}

.hero-card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-3);
  transition: transform 80ms linear;
  will-change: transform;
  overflow: hidden;
}

.hero-card-back {
  width: 220px;
  top: 60px; right: 20px;
  transform: rotate(-5deg) translateZ(-40px);
  opacity: 0.8;
}
.hero-card-mid {
  width: 280px;
  top: 40px; left: 20px;
  transform: rotate(4deg) translateZ(0px);
}
.hero-card-front {
  width: 260px;
  bottom: 20px; left: 50px;
  transform: rotate(-2deg) translateZ(40px);
}

.hero-card-inner { padding: var(--space-5); }

/* Ticket card preview */
.ticket-card-preview { background: linear-gradient(135deg, var(--color-surface), var(--color-bg-3)); }
.tcp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); }
.tcp-date { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-3); }
.ticket-card-preview h4 { font-size: var(--text-md); font-weight: 700; margin-bottom: 4px; }
.ticket-card-preview p { font-size: var(--text-xs); color: var(--color-text-3); margin-bottom: var(--space-4); }
.tcp-barcode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  background: var(--color-bg);
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
}
.tcp-qr { font-size: 32px; color: var(--color-primary); }
.tcp-ref { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-3); }

/* Scanner result card */
.hc-scanner-icon { font-size: 32px; margin-bottom: var(--space-3); }
.hc-text { margin-bottom: var(--space-3); }
.hc-text strong { display: block; font-weight: 700; }
.hc-text span { font-size: var(--text-xs); color: var(--color-text-3); }

/* Event preview card */
.ep-img-placeholder {
  height: 100px;
  background: var(--cat-tech);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: var(--space-3);
}
.ep-info h4 { font-size: var(--text-sm); font-weight: 700; margin-bottom: 4px; }
.ep-info p { font-size: var(--text-xs); color: var(--color-text-3); margin-bottom: var(--space-3); }
.ep-footer { display: flex; align-items: center; justify-content: space-between; }
.ep-price { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); color: var(--color-primary); }

/* Mobile single card (shown instead of 3 cards) */
.hero-mobile-card {
  display: block;
}
@media (min-width: 1024px) { .hero-mobile-card { display: none; } }

/* ─── Discovery section ──────────────────────────────────────── */
.discovery-section {
  padding-bottom: var(--space-12);
}

.discovery-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ─── Strip sections ─────────────────────────────────────────── */
.strip-section {
  padding-bottom: var(--space-10);
}

/* Drag-to-scroll feedback */
.events-strip.dragging { cursor: grabbing; user-select: none; }
