/* ============================================================================
   TAMASHA · STYLES
   Truck-art-meets-twilight. Warm, cosy, funky. Built mobile-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surfaces — warm espresso-plum night */
  --bg:        #1a1016;
  --bg-soft:   #20141c;
  --surface:   #281a23;
  --surface-2: #32232e;
  --surface-3: #3d2c39;
  --line:      rgba(255, 240, 230, 0.10);
  --line-2:    rgba(255, 240, 230, 0.16);

  /* ink */
  --cream:   #f9eee1;
  --muted:   #c6ad9f;
  --muted-2: #9a8275;

  /* funky accents */
  --saffron: #ffc247;
  --rose:    #ff5c8a;
  --teal:    #22c7b8;
  --coral:   #ff7a59;
  --violet:  #9b6dff;
  --lime:    #c8f03c;
  --sky:     #4cc9f0;

  /* roles */
  --primary: var(--saffron);
  --grad-primary: linear-gradient(135deg, #ffc247 0%, #ff7a59 52%, #ff5c8a 100%);
  --grad-cool:    linear-gradient(135deg, #22c7b8 0%, #4cc9f0 100%);

  /* shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  /* shadow */
  --sh-1: 0 2px 10px rgba(0,0,0,.25);
  --sh-2: 0 14px 34px rgba(0,0,0,.38);
  --sh-glow: 0 18px 50px rgba(255, 92, 138, .28);

  --maxw: 1200px;
  --nav-h: 68px;

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* warm ambient glows behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 12% -6%, rgba(255, 122, 89, .16), transparent 60%),
    radial-gradient(50% 45% at 100% 0%, rgba(155, 109, 255, .14), transparent 55%),
    radial-gradient(55% 60% at 50% 110%, rgba(34, 199, 184, .12), transparent 60%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
::selection { background: var(--rose); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 18px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--pill); font-weight: 700;
  font-size: 0.95rem; white-space: nowrap; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: var(--grad-primary); color: #2a1206;
  box-shadow: 0 10px 24px rgba(255, 122, 89, .32);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(255, 92, 138, .42); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); color: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--line-2); }
.btn-outline { border-color: var(--line-2); color: var(--cream); }
.btn-outline:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 16, 22, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 14px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-primary); box-shadow: 0 6px 16px rgba(255,122,89,.4);
  font-size: 20px; transform: rotate(-6deg);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand-name b { color: var(--saffron); }
.brand-name .brand-pk { opacity: .5; font-weight: 700; }
.brand-name .brand-i { font-size: 1.22em; font-style: italic; }

.nav-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill);
  padding: 9px 16px; max-width: 420px; transition: border-color .2s, background .2s;
}
.nav-search:focus-within { border-color: var(--rose); background: var(--surface-2); }
.nav-search input { flex: 1; background: none; border: none; outline: none; font-size: .95rem; }
.nav-search input::placeholder { color: var(--muted-2); }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.city-pick {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill);
  padding: 9px 14px; font-weight: 600; font-size: .9rem;
}
.city-pick:hover { border-color: var(--line-2); }
.city-pick select { background: none; border: none; outline: none; font-weight: 700; color: var(--cream); cursor: pointer; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface);
  border: 1.5px solid var(--line); font-size: 1.1rem; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--rose); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg);
}

/* ---------- Marquee ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
  overflow: hidden; font-size: .82rem; color: var(--muted);
}
.ticker-track { display: inline-flex; gap: 38px; padding: 8px 0; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker b { color: var(--saffron); }
.ticker .dot { color: var(--rose); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 8px; }
.hero-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  box-shadow: var(--sh-2); border: 1px solid var(--line-2);
}
.hero-card .poster { position: absolute; inset: 0; }
.hero-card .poster-bg { position: absolute; inset: 0; }
.hero-card .poster-content { display: none; }
.hero-overlay {
  position: relative; z-index: 2; width: 100%;
  padding: 32px clamp(20px, 4vw, 48px);
  background: linear-gradient(to top, rgba(16,8,12,.92) 6%, rgba(16,8,12,.45) 48%, transparent 85%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--bg);
  background: var(--saffron); padding: 5px 12px; border-radius: var(--pill); margin-bottom: 14px;
}
.hero-title { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; max-width: 16ch; }
.hero-sub { color: var(--cream); opacity: .92; margin-top: 8px; font-size: 1.05rem; max-width: 40ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 20px; font-weight: 600; color: var(--cream); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-from { color: var(--cream); font-weight: 600; }
.hero-from b { font-family: var(--font-display); font-size: 1.25rem; }
.hero-dots { position: absolute; z-index: 3; bottom: 18px; right: 22px; display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); transition: all .2s; }
.hero-dots button.on { background: #fff; width: 26px; border-radius: 999px; }

/* ---------- Section headers ---------- */
.section { padding: 30px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
.section-head .sub { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.section-head a.more { color: var(--saffron); font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: var(--pill); font-weight: 700; font-size: .9rem;
  background: var(--surface); border: 1.5px solid var(--line); transition: all .18s;
}
.chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.chip.on { background: var(--cream); color: #2a1206; border-color: var(--cream); }
.chip .e { font-size: 1.05rem; }

/* ---------- Event grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(248px, 280px); gap: 18px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card-poster { position: relative; aspect-ratio: 4 / 3; }
.card-stickers { position: absolute; top: 10px; left: 10px; z-index: 4; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; background: rgba(16,8,12,.5); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 1rem; border: 1px solid rgba(255,255,255,.18); }
.card-fav.on { color: var(--rose); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .76rem; font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: .05em; }
.card-title { font-size: 1.08rem; font-weight: 700; font-family: var(--font-display); }
.card-meta { font-size: .85rem; color: var(--muted); display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price-from { font-size: .76rem; color: var(--muted-2); }
.price-from b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); }
.price-from b .free { color: var(--lime); }

/* sticker badges (rotated, funky) */
.sticker {
  font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 8px;
  box-shadow: var(--sh-1); transform: rotate(-3deg); letter-spacing: .01em;
}
.sticker.hot   { background: var(--rose);   color: #fff; }
.sticker.few   { background: var(--saffron);color: #3a1d04; transform: rotate(2deg); }
.sticker.free  { background: var(--lime);   color: #20300a; }
.sticker.soon  { background: var(--violet); color: #fff; transform: rotate(2deg); }

/* ---------- Posters (shared) ---------- */
.poster { position: relative; width: 100%; height: 100%; overflow: hidden; }
.poster-bg { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.poster-pattern {
  position: absolute; inset: 0; background-repeat: repeat; opacity: .5; mix-blend-mode: soft-light;
  background-image: var(--poster-pattern);
}
.poster-sheen { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 40%); }
.poster-motif {
  position: absolute; right: -8px; bottom: -14px; font-size: 8.5rem; line-height: 1;
  opacity: .9; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transform: rotate(-8deg);
  user-select: none;
}
.poster-content { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; z-index: 2;
  background: linear-gradient(to top, rgba(16,8,12,.66) 4%, transparent 58%); }
.poster-kicker { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.92); }
.poster-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); line-height: 1.05; }
.poster-artist { font-size: .82rem; color: rgba(255,255,255,.85); font-weight: 600; }
.poster-date {
  position: absolute; bottom: 16px; left: 12px; z-index: 3; background: rgba(16,8,12,.62);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
  padding: 6px 10px; text-align: center; line-height: 1; box-shadow: var(--sh-1);
}
.poster-date .pd-day { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; }
.poster-date .pd-mon { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .08em; color: var(--saffron); }
.poster-scallop {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 12px; z-index: 3;
  background: radial-gradient(circle at 8px -2px, transparent 8px, var(--surface) 9px) repeat-x;
  background-size: 16px 12px;
}
/* hero/detail posters hide the small built-in title + scallop */
.hero-card .poster-scallop, .detail-poster .poster-scallop { display: none; }

/* ---------- Event detail ---------- */
.detail { padding: 24px 0 60px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.back-link:hover { color: var(--cream); }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.detail-poster { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--sh-2); border: 1px solid var(--line-2); }
.detail-poster .poster-content { padding: 22px; }
.detail-poster .poster-title { font-size: clamp(1.5rem, 4vw, 2.4rem); }
.detail-poster .poster-motif { font-size: 11rem; }

.detail-head h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag { font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }

.fact-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.fact {
  display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 16px; min-width: 150px;
}
.fact .fi { font-size: 1.3rem; }
.fact small { display: block; color: var(--muted-2); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.fact b { font-size: .98rem; font-family: var(--font-display); }

.about { color: var(--cream); opacity: .92; line-height: 1.7; margin: 6px 0 4px; }
.lineup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lineup .li { display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill); padding: 7px 13px; font-weight: 600; font-size: .88rem; }

h3.block-title { font-size: 1.2rem; margin: 26px 0 12px; display: flex; align-items: center; gap: 9px; }

/* tiers */
.tiers { display: flex; flex-direction: column; gap: 12px; }
.tier {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s, background .2s;
}
.tier.has-qty { border-color: var(--saffron); background: var(--surface-2); }
.tier.sold-out { opacity: .55; }
.tier-info { flex: 1; min-width: 0; }
.tier-name { font-weight: 800; font-family: var(--font-display); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.tier-perks { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.tier-left { font-size: .76rem; font-weight: 700; margin-top: 5px; }
.tier-left.warn { color: var(--saffron); }
.tier-left.ok { color: var(--muted-2); }
.tier-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.tier-price .free { color: var(--lime); }
.tier-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* stepper */
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--bg-soft); border: 1.5px solid var(--line-2); border-radius: var(--pill); padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; font-weight: 800; display: grid; place-items: center; color: var(--cream); transition: background .15s; }
.stepper button:hover { background: var(--surface-3); }
.stepper button[disabled] { opacity: .35; pointer-events: none; }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 800; font-family: var(--font-display); }
.soldout-pill { font-size: .76rem; font-weight: 800; color: var(--muted-2); padding: 6px 12px; border: 1.5px dashed var(--line-2); border-radius: var(--pill); }

/* sticky buy bar (detail) */
.buybar {
  position: sticky; bottom: 0; z-index: 40; margin-top: 22px;
  background: rgba(40, 26, 35, .92); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--sh-2);
}
.buybar .bb-total { flex: 1; }
.buybar .bb-total small { color: var(--muted); font-size: .8rem; }
.buybar .bb-total b { display: block; font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; }
.buybar .bb-actions { display: flex; gap: 10px; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 200; background: rgba(8,4,6,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201; width: min(420px, 100%);
  background: var(--bg-soft); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.5);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.25rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--surface); }

.cart-item { display: flex; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.cart-item .ci-poster { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.cart-item .ci-main { flex: 1; min-width: 0; }
.cart-item .ci-title { font-weight: 700; font-size: .95rem; }
.cart-item .ci-tier { color: var(--muted); font-size: .82rem; }
.cart-item .ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item .ci-price { font-family: var(--font-display); font-weight: 800; }
.ci-remove { color: var(--muted-2); font-size: .82rem; font-weight: 600; }
.ci-remove:hover { color: var(--rose); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .e-emoji { font-size: 3.4rem; margin-bottom: 10px; }
.empty h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: 6px; }

.sum-line { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-size: .92rem; }
.sum-line.total { color: var(--cream); font-weight: 800; font-size: 1.2rem; font-family: var(--font-display); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.sum-line .disc { color: var(--lime); }

/* ---------- Checkout ---------- */
.checkout { padding: 24px 0 60px; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.co-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.co-card + .co-card { margin-top: 18px; }
.co-card h3 { font-size: 1.2rem; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.co-card .hint { color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; color: var(--cream); }
.field input, .field select {
  width: 100%; padding: 13px 15px; background: var(--bg-soft); border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); outline: none; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { border-color: var(--rose); background: var(--surface); }
.field input::placeholder { color: var(--muted-2); }
.field.invalid input { border-color: var(--rose); }
.field .err { color: var(--rose); font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* payment methods */
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.pay-method {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px; cursor: pointer;
  background: var(--bg-soft); border: 1.5px solid var(--line-2); border-radius: var(--r-md); transition: all .18s;
}
.pay-method:hover { border-color: var(--line-2); background: var(--surface-2); }
.pay-method.on { border-color: var(--saffron); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(255,194,71,.14); }
.pay-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: .7rem; color: #fff; flex-shrink: 0; letter-spacing: -.02em; text-align: center; line-height: 1; }
.pl-jazz { background: linear-gradient(135deg,#e11b22,#b3141a); }
.pl-easy { background: linear-gradient(135deg,#5cb531,#3d8a1f); }
.pl-card { background: linear-gradient(135deg,#3a3f55,#23273a); }
.pl-bank { background: linear-gradient(135deg,#1f6f8b,#13495c); }
.pay-method .pm-name { font-weight: 700; font-size: .92rem; }
.pay-method .pm-sub { font-size: .76rem; color: var(--muted); }

.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; text-transform: uppercase; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(200,240,60,.1); border: 1px solid rgba(200,240,60,.35); border-radius: var(--r-sm); padding: 10px 14px; margin-top: 10px; }
.promo-applied .pa-label { color: var(--lime); font-weight: 700; font-size: .88rem; }
.promo-applied button { color: var(--muted); font-size: .8rem; font-weight: 600; }

.summary-card { position: sticky; top: calc(var(--nav-h) + 16px); }
.summary-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 230px; overflow-y: auto; }
.summary-item { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.summary-item .si-q { color: var(--muted); }
.trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; margin-top: 14px; justify-content: center; }

/* ---------- Confirmation + Tickets ---------- */
.confirm { padding: 40px 0 70px; text-align: center; }
.confirm-badge { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.6rem; background: var(--grad-cool); box-shadow: 0 16px 40px rgba(34,199,184,.4); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.confirm h1 { font-size: clamp(1.8rem,5vw,2.8rem); }
.confirm .sub { color: var(--muted); margin: 8px 0 6px; font-size: 1.05rem; }
.confirm .ref { font-family: var(--font-display); font-weight: 800; color: var(--saffron); font-size: 1.1rem; }

.tickets-list { display: flex; flex-direction: column; gap: 18px; max-width: 540px; margin: 28px auto 0; text-align: left; }
.ticket {
  position: relative; display: flex; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
}
.ticket-stub { position: relative; width: 120px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ticket-stub .poster { position: absolute; inset: 0; }
.ticket-stub .poster-bg { position: absolute; inset: 0; }
.ticket-stub .poster-scallop, .ticket-stub .poster-motif { display: none; }
.ticket-stub .stub-cat { position: relative; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.ticket-main { flex: 1; padding: 18px 18px 18px 22px; position: relative; }
/* perforation */
.ticket-main::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 2px;
  background-image: radial-gradient(circle, var(--bg-soft) 1.6px, transparent 2px);
  background-size: 2px 12px; background-repeat: repeat-y;
}
.ticket-main::after, .ticket-stub::after { content: ""; position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.ticket-stub::after { content: none; }
.tk-notch-top, .tk-notch-bot { position: absolute; left: 112px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); z-index: 3; }
.tk-notch-top { top: -8px; } .tk-notch-bot { bottom: -8px; }
.tk-title { font-size: 1.15rem; font-weight: 800; font-family: var(--font-display); }
.tk-artist { color: var(--muted); font-size: .85rem; }
.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 14px 0; }
.tk-grid small { display: block; color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.tk-grid b { font-size: .92rem; font-family: var(--font-display); }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line-2); padding-top: 12px; }
.tk-qr { width: 64px; height: 64px; border-radius: 10px; background: #fff; padding: 5px; flex-shrink: 0; }
.tk-qr canvas, .tk-qr img, .tk-qr svg { width: 100%; height: 100%; display: block; }
.tk-ref small { display: block; color: var(--muted-2); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.tk-ref b { font-family: var(--font-display); letter-spacing: .04em; }
.tk-status { font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: var(--pill); }
.tk-status.up { background: rgba(34,199,184,.16); color: var(--teal); }

.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(1.8rem,4.5vw,2.6rem); }
.page-head p { color: var(--muted); margin-top: 4px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; width: max-content; max-width: 92vw; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 12px 20px; box-shadow: var(--sh-2); font-weight: 600; animation: toastIn .3s cubic-bezier(.2,1.3,.4,1); }
.toast .te { font-size: 1.2rem; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Confetti ---------- */
.confetti { position: fixed; inset: 0; z-index: 250; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -16px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 40px 0 26px; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 14px; }
.footer a { display: block; color: var(--muted); padding: 5px 0; font-size: .92rem; }
.footer a:hover { color: var(--cream); }
.footer .blurb { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 10px; }
.pay-strip { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pay-strip span { font-size: .68rem; font-weight: 800; padding: 6px 10px; border-radius: 8px; color: #fff; }
.footer-base { border-top: 1px solid var(--line); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--muted-2); font-size: .84rem; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .detail-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
  .detail-poster { position: sticky; top: calc(var(--nav-h) + 16px); aspect-ratio: 3/4; }
  .checkout-grid { grid-template-columns: 1.5fr 0.9fr; }
  .hero-card { min-height: 440px; }
}
.nav-list-cta { padding: 9px 14px; font-size: .88rem; white-space: nowrap; }
@media (max-width: 719px) {
  .nav-search { display: none; }
  .nav-list-cta { display: none; }
  .city-pick .cp-name { display: none; }
  .brand-name { font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .f-about { grid-column: 1 / -1; }
  .buybar { flex-direction: column; align-items: stretch; gap: 12px; }
  .buybar .bb-actions { width: 100%; }
  .buybar .bb-actions .btn { flex: 1; }
}
@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .hero-meta { font-size: .9rem; }
}

/* mobile bottom search bar */
.mobile-search { display: none; }
@media (max-width: 719px) {
  .mobile-search { display: flex; padding: 12px 0 0; }
  .mobile-search .nav-search { display: flex; max-width: none; }
}

/* ---------- Premium bank-transfer pay step ---------- */
.pay-switch { display: flex; gap: 8px; margin-bottom: 12px; }
.pay-switch-btn { flex: 1; padding: 9px 10px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--bg-soft); color: var(--cream); font-weight: 700; font-size: .85rem; }
.pay-switch-btn.on { border-color: var(--saffron); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(255,194,71,.14); }
.pay-maint { background: rgba(255,194,71,.12); border: 1px solid rgba(255,194,71,.32); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 12px; font-size: .9rem; line-height: 1.5; color: var(--cream); }
.pay-amount { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(255,194,71,.14), rgba(255,92,138,.12)); border: 1px solid var(--line-2); margin-bottom: 12px; }
.pay-amount span { color: var(--muted); font-size: .9rem; }
.pay-amount b { font-family: var(--font-display); font-size: 1.5rem; display: inline-flex; align-items: center; gap: 8px; }
.pay-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: none; }
.pay-row-l { color: var(--muted); font-size: .85rem; flex-shrink: 0; }
.pay-row-v { font-weight: 700; text-align: right; word-break: break-all; display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; }
.copy-btn { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--cream); font-size: .9rem; cursor: pointer; }
.copy-btn:hover { background: var(--surface-3); }
.pay-up { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px 16px; border: 2px dashed var(--line-2); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-up:hover { border-color: var(--saffron); background: var(--surface-2); }
.pay-up .up-ico { font-size: 2.2rem; }
.pay-up #proofInner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proof-prev { max-width: 200px; max-height: 200px; border-radius: 10px; border: 1px solid var(--line-2); }
.up-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0 2px; }
.up-btns .btn { padding: 9px 14px; }
.acct-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acct-chip { font-size: .85rem; color: var(--ink-2, #c6ad9f); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; display: inline-block; }
.acct-chip a { color: var(--saffron); font-weight: 600; }
/* Founding-member popup + discount + referral */
.fm-scrim { position: fixed; inset: 0; background: rgba(20,10,16,.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 9999; opacity: 0; transition: opacity .22s; }
.fm-scrim.on { opacity: 1; }
.fm-card { position: relative; width: 100%; max-width: 380px; background: linear-gradient(160deg,#2a1a24,#1f1118); border: 1px solid rgba(255,194,71,.4); border-radius: 22px; padding: 28px 24px; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.5); transform: translateY(12px) scale(.97); transition: transform .26s cubic-bezier(.2,.9,.3,1.3); }
.fm-scrim.on .fm-card { transform: none; }
.fm-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--ink-2,#c6ad9f); font-size: 1rem; cursor: pointer; }
.fm-spark { font-size: 2.6rem; filter: drop-shadow(0 4px 10px rgba(255,194,71,.4)); }
.fm-h { font-size: 1.3rem; font-weight: 800; margin: 6px 0; line-height: 1.2; }
.fm-sub { color: var(--ink-2,#c6ad9f); font-size: .9rem; margin: 0 0 16px; }
.fm-code { background: rgba(255,194,71,.1); border: 1px dashed rgba(255,194,71,.5); border-radius: 12px; padding: 10px; margin: 0 0 12px; }
.fm-code span { display: block; color: var(--ink-2,#c6ad9f); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.fm-code b { font-family: ui-monospace, Menlo, monospace; font-size: 1.4rem; letter-spacing: 2px; color: #ffd66b; }
.fm-amt { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; font-size: .95rem; }
.fm-amt b { font-size: 1.15rem; } .fm-amt s { color: var(--ink-2,#c6ad9f); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.fm-foot { color: var(--ink-2,#c6ad9f); font-size: .76rem; margin-top: 10px; }
.fm-applied { background: rgba(34,199,184,.14); border: 1px solid rgba(34,199,184,.4); color: var(--teal,#22c7b8); border-radius: 10px; padding: 8px 12px; font-size: .84rem; font-weight: 600; margin: 0 0 12px; }
.fm-tl { height: 12px; border-radius: 999px; background: rgba(255,240,230,.1); overflow: hidden; }
.fm-tl > i { display: block; height: 100%; background: linear-gradient(90deg,#1f9e93,#22c7b8); }
.ref-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; }
.ref-code b { font-family: ui-monospace, Menlo, monospace; font-size: 1.3rem; letter-spacing: 2px; color: var(--saffron); }
.ref-stats { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-2,#c6ad9f); margin: 0 0 10px; }
.ref-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sum-fineprint { font-size: .7rem; color: var(--ink-2,#c6ad9f); line-height: 1.45; margin: 4px 0 8px; opacity: .85; }
.status-timeline { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 22px auto 0; max-width: 460px; }
.st-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.st-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: var(--surface-2); border: 1.5px solid var(--line-2); color: var(--muted); }
.st-step.done .st-dot { background: var(--teal); color: #06241f; border-color: var(--teal); }
.st-step.active .st-dot { background: var(--saffron); color: #3a1d04; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(255,194,71,.18); }
.st-l { font-size: .76rem; color: var(--muted); font-weight: 600; }
.st-step.done .st-l, .st-step.active .st-l { color: var(--cream); }
.st-bar { flex: 1; height: 2px; background: var(--line-2); margin-bottom: 22px; min-width: 24px; }
.st-bar.done { background: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .ticker-track { animation: none; }
}
