/* ════════════════════════════════════════════════════════════════════════════
   EventVote — Design System
   Style: Vibrant & Block-based · Dark mode · Calistoga (display) + Inter (body)
   ════════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Surfaces */
  --bg:        #0a0b14;
  --bg-grad:   radial-gradient(1200px 600px at 80% -10%, rgba(124,58,237,.22), transparent 60%),
               radial-gradient(900px 500px at -10% 10%, rgba(236,72,153,.16), transparent 55%),
               #0a0b14;
  --surface:   #14162a;
  --surface-2: #1b1e38;
  --card:      #14162a;
  --border:    rgba(255,255,255,.09);
  --border-2:  rgba(255,255,255,.16);

  /* Text */
  --text:        #f4f5fb;
  --text-soft:   #c4c8da;
  --text-muted:  #8a90a8;

  /* Brand */
  --primary:   #7c3aed;   /* violet */
  --primary-2: #a855f7;
  --accent:    #ec4899;   /* magenta/pink */
  --cyan:      #22d3ee;
  --gold:      #f5b417;
  --grad:      linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.18), rgba(236,72,153,.18));

  /* Semantic */
  --success: #22c55e;
  --danger:  #ef4444;
  --warning: #f59e0b;
  --info:    #38bdf8;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px rgba(0,0,0,.45);
  --shadow-glow: 0 10px 40px rgba(124,58,237,.35);
  --maxw: 1200px;
  --t: 200ms cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(236,72,153,.35); }

h1, h2, h3, .display { font-family: 'Calistoga', Georgia, serif; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-soft); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.grid { display: grid; gap: 22px; }
.grid-events { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap; min-height: 44px;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(236,72,153,.45); }
.btn-gold { background: linear-gradient(135deg,#f5b417,#f59e0b); color: #1a1400; }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: var(--primary-2); }
.btn-outline { background: transparent; color: var(--primary-2); border-color: var(--primary); }
.btn-outline:hover { background: rgba(124,58,237,.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .82rem; min-height: 38px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ── Badges / chips ──────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge-accent  { background: var(--grad-soft); color: var(--primary-2); border: 1px solid rgba(168,85,247,.3); }
.badge-gold    { background: rgba(245,180,23,.14); color: var(--gold); border: 1px solid rgba(245,180,23,.3); }
.badge-success { background: rgba(34,197,94,.14); color: var(--success); }
.badge-live    { background: rgba(239,68,68,.16); color: #ff6b6b; }
.badge-live::before { content:''; width:7px; height:7px; border-radius:50%; background:#ff6b6b; box-shadow:0 0 0 0 rgba(255,107,107,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,107,107,.6)} 70%{box-shadow:0 0 0 8px rgba(255,107,107,0)} 100%{box-shadow:0 0 0 0 rgba(255,107,107,0)} }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-soft);
  font-size: .88rem; font-weight: 600; transition: var(--t); white-space: nowrap;
}
.chip:hover, .chip.active { background: var(--grad-soft); border-color: var(--primary); color: #fff; }

/* ── Event card (signature) ──────────────────────────────────────────────── */
.event-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.event-card .ec-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.event-card .ec-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.event-card:hover .ec-media img { transform: scale(1.06); }
.event-card .ec-media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(10,11,20,.65)); }
.ec-date {
  position: absolute; top: 12px; left: 12px; z-index: 2; text-align: center;
  background: rgba(10,11,20,.7); backdrop-filter: blur(8px); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 7px 11px; line-height: 1;
}
.ec-date .d { font-family: 'Calistoga', serif; font-size: 1.25rem; color: #fff; }
.ec-date .m { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 800; margin-top: 3px; }
.ec-cat { position: absolute; top: 12px; right: 12px; z-index: 2; }
.event-card .ec-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card .ec-title { font-family: 'Inter',sans-serif; font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.event-card .ec-meta { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .84rem; }
.event-card .ec-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.event-card .ec-price { font-weight: 800; color: var(--text); }
.event-card .ec-price .free { color: var(--success); }

/* ── Cards / panels ──────────────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .v { font-family: 'Calistoga',serif; font-size: 2rem; }
.stat-card .l { color: var(--text-muted); font-size: .82rem; margin-top: 2px; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--border-2); color: var(--text);
  border-radius: var(--radius-sm); padding: 13px 15px; font-size: 1rem; font-family: inherit; transition: var(--t);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.25); background: rgba(255,255,255,.06); }
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; margin-bottom: 16px; border: 1px solid transparent; }
.alert-success { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #6ee7a8; }
.alert-danger  { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); color: #fca5a5; }
.alert-info    { background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.3); color: #7dd3fc; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(10,11,20,.82); border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(10px)) { .nav { backdrop-filter: blur(14px); } }
.nav .container { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Calistoga',serif; font-size: 1.4rem; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(236,72,153,.7); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 9px 13px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--text-soft); transition: var(--t); }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-toggle { display: none; background: rgba(255,255,255,.05); border: 1px solid var(--border-2); color: #fff; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; font-size: 1.2rem; margin-left: auto; }

/* ── Hero (marketplace, search-focused) ──────────────────────────────────── */
.hero { position: relative; padding: 64px 0 52px; text-align: center; }
.hero .eyebrow { display: inline-flex; gap: 7px; align-items: center; }
.hero h1 { margin: 16px 0 14px; }
.hero p.lead { color: var(--text-soft); font-size: clamp(1rem, 2.4vw, 1.18rem); max-width: 620px; margin: 0 auto 26px; }
.searchbar {
  display: flex; gap: 8px; max-width: 640px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 7px 7px 7px 18px; box-shadow: var(--shadow);
}
.searchbar input { flex: 1; background: transparent; border: none; color: var(--text); font-size: 1rem; outline: none; min-width: 0; }
.searchbar input::placeholder { color: var(--text-muted); }
.hero-stats { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-stats .hs .v { font-family: 'Calistoga',serif; font-size: 1.6rem; }
.hero-stats .hs .l { color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

/* ── Leaderboard row ─────────────────────────────────────────────────────── */
.lb-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; transition: var(--t); }
.lb-row:hover { border-color: var(--border-2); }
.lb-rank { font-family: 'Calistoga',serif; font-size: 1.3rem; width: 34px; text-align: center; color: var(--text-muted); }
.lb-row.top .lb-rank { color: var(--gold); }
.lb-avatar { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.lb-info { flex: 1; min-width: 0; }
.lb-name { font-weight: 700; }
.lb-bar { height: 6px; background: rgba(255,255,255,.07); border-radius: 6px; margin-top: 6px; overflow: hidden; }
.lb-bar > span { display: block; height: 100%; background: var(--grad); border-radius: 6px; transition: width 600ms ease; }
.lb-votes { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-votes .l { font-size: .72rem; color: var(--text-muted); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: rgba(0,0,0,.25); margin-top: 40px; }
.footer .container { padding-top: 44px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { font-family: 'Inter',sans-serif; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 14px; }
.footer a { display: block; color: var(--text-soft); padding: 5px 0; font-size: .92rem; transition: var(--t); }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 18px; color: var(--text-muted); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Mobile drawer ───────────────────────────────────────────────────────── */
.nav-backdrop { display: none; position: fixed; inset: 66px 0 0 0; background: rgba(0,0,0,.55); z-index: 1024; opacity: 0; visibility: hidden; transition: opacity var(--t); }
.nav-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 66px; right: 0; height: calc(100dvh - 66px); width: min(82vw, 320px);
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 16px;
    background: var(--surface); border-left: 1px solid var(--border-2); box-shadow: -14px 0 40px rgba(0,0,0,.5);
    transform: translateX(100%); visibility: hidden; transition: transform var(--t), visibility 0s linear var(--t);
    overflow-y: auto; z-index: 1040;
  }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform var(--t); }
  .nav-link { padding: 14px 14px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-actions { display: none; }
  .nav-links .nav-actions { display: flex; flex-direction: column; margin-top: 12px; gap: 10px; }
  .nav-links .nav-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty .ico { font-size: 2.6rem; opacity: .5; margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ════════════════════════════════════════════════════════════════════════════
   Admin / Organizer dashboard shell
   ════════════════════════════════════════════════════════════════════════════ */
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100dvh; }
.admin-side {
  background: var(--surface); border-right: 1px solid var(--border);
  padding: 18px 14px; position: sticky; top: 0; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.admin-side .brand { padding: 6px 8px 16px; font-size: 1.25rem; }
.a-link { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 11px; color: var(--text-soft); font-weight: 600; font-size: .92rem; transition: var(--t); }
.a-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.a-link.active { background: var(--grad-soft); color: #fff; border: 1px solid rgba(168,85,247,.3); }
.a-link .ico { flex-shrink: 0; opacity: .9; }
.admin-side .spacer { flex: 1; }
.admin-side .a-foot { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 6px; }
.admin-main { padding: 26px 26px 60px; min-width: 0; }

/* Sidebar header row + collapse toggle */
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px 14px; }
.side-top .brand { padding: 0; }
.sidebar-toggle { flex-shrink: 0; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 9px; background: rgba(255,255,255,.04); color: var(--text-soft); cursor: pointer; transition: var(--t); }
.sidebar-toggle:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-toggle svg { transform: rotate(180deg); transition: transform .2s; }

/* Collapsed state — icon rail */
.admin-shell.collapsed { grid-template-columns: 66px 1fr; }
.admin-shell.collapsed .admin-side { padding: 18px 8px; }
.admin-shell.collapsed .a-link { justify-content: center; padding: 11px 0; gap: 0; }
.admin-shell.collapsed .a-link .lbl { display: none; }
.admin-shell.collapsed .side-top { flex-direction: column; gap: 12px; padding: 6px 0 14px; }
.admin-shell.collapsed .brand-name { display: none; }
.admin-shell.collapsed .sidebar-toggle svg { transform: rotate(0deg); }
@media (max-width: 768px) { .sidebar-toggle, .side-top { display: none; } .admin-shell.collapsed { grid-template-columns: 1fr; } }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.admin-topbar .who { color: var(--text-muted); font-size: .88rem; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 16px; position: relative; overflow: hidden; }
.kpi .ico-wrap { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; color: var(--primary-2); margin-bottom: 12px; }
.kpi .v { font-family: 'Calistoga', serif; font-size: 1.9rem; line-height: 1; }
.kpi .l { color: var(--text-muted); font-size: .82rem; margin-top: 4px; }
.kpi.accent .ico-wrap { background: linear-gradient(135deg,rgba(245,180,23,.2),rgba(245,158,11,.2)); color: var(--gold); }
.kpi.green  .ico-wrap { background: rgba(34,197,94,.15); color: var(--success); }

/* Tables */
.tbl-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.tbl th { text-align: left; padding: 13px 16px; color: var(--text-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); white-space: nowrap; }
table.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: rgba(255,255,255,.02); }
.badge-status { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: capitalize; }
.s-active { background: rgba(34,197,94,.14); color: var(--success); }
.s-draft  { background: rgba(255,255,255,.08); color: var(--text-muted); }
.s-completed { background: rgba(56,189,248,.14); color: var(--info); }
.s-cancelled { background: rgba(239,68,68,.14); color: #fca5a5; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; overflow-x: auto; align-items: center; gap: 6px; padding: 10px 12px; }
  .admin-side .brand { display: none; }
  .admin-side .spacer, .admin-side .a-foot { display: none; }
  .a-link { white-space: nowrap; padding: 9px 12px; font-size: .86rem; }
  .a-link span.lbl { display: inline; }
  .admin-main { padding: 18px 16px 50px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Animated Aurora Hero (adapted from 21st.dev "Aurora Hero" → pure CSS)
   ════════════════════════════════════════════════════════════════════════════ */
.hero-aurora { position: relative; overflow: hidden; padding: 84px 0 70px; isolation: isolate; }
.hero-aurora .aurora, .hero-aurora .veil, .hero-aurora .dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-aurora .aurora {
  inset: -130%;
  background: repeating-linear-gradient(100deg,
     #7c3aed 8%, #6366f1 14%, #3b82f6 20%, #ec4899 26%, #7c3aed 32%, #22d3ee 38%);
  background-size: 300% 100%;
  filter: blur(72px) saturate(1.2);
  opacity: .50;
  animation: auroraMove 20s linear infinite;
  will-change: background-position;
}
.hero-aurora .aurora.two { opacity: .32; mix-blend-mode: screen; animation-duration: 30s; animation-direction: reverse; filter: blur(96px); }
@keyframes auroraMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* readability vignette so text stays high-contrast over the aurora */
.hero-aurora .veil { background: radial-gradient(ellipse 90% 70% at 50% 32%, transparent 0%, rgba(10,11,20,.45) 58%, var(--bg) 100%); }

/* floating sparkle dots */
.hero-aurora .dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 10px rgba(236,72,153,.7); opacity: .0; animation: dotFloat linear infinite; }
@keyframes dotFloat { 0% { transform: translateY(8px); opacity: 0; } 20% { opacity: .7; } 80% { opacity: .7; } 100% { transform: translateY(-26px); opacity: 0; } }

.hero-aurora .container { position: relative; z-index: 2; }

/* gradient-text shimmer on the headline accent */
.hero-aurora .text-grad { background-size: 200% auto; animation: heroShine 6s linear infinite; }
@keyframes heroShine { to { background-position: 200% center; } }

/* staggered entrance */
.hero-rise { opacity: 0; transform: translateY(26px); animation: heroRise .85s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-rise.d1 { animation-delay: .05s; } .hero-rise.d2 { animation-delay: .16s; }
.hero-rise.d3 { animation-delay: .28s; } .hero-rise.d4 { animation-delay: .42s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* pulsing glow ring behind the search bar */
.hero-aurora .searchbar { position: relative; }
.hero-aurora .searchbar::after { content:''; position:absolute; inset:-2px; border-radius:999px; padding:2px; background:linear-gradient(120deg,#7c3aed,#ec4899,#22d3ee,#7c3aed); background-size:300% 100%; -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.6; animation:auroraMove 8s linear infinite; z-index:-1; }

@media (prefers-reduced-motion: reduce) {
  .hero-aurora .aurora, .hero-aurora .dot, .hero-aurora .text-grad, .hero-aurora .searchbar::after { animation: none !important; }
  .hero-rise { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Interactive seat map (buyer)
   ════════════════════════════════════════════════════════════════════════════ */
.seatmap-wrap { overflow-x: auto; padding: 6px; }
.seatmap { min-width: max-content; margin: 0 auto; }
.stage { background: linear-gradient(180deg, rgba(255,255,255,.1), transparent); border: 1px solid var(--border-2); border-radius: 8px; text-align: center; padding: 8px; font-size: .72rem; letter-spacing: .25em; color: var(--text-muted); margin-bottom: 20px; max-width: 480px; margin-left:auto;margin-right:auto; }
.seat-section { margin-bottom: 18px; }
.seat-section h4 { font-family: 'Inter',sans-serif; font-size: .8rem; font-weight: 700; color: var(--text-soft); display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.seat-section h4 .dot { width: 11px; height: 11px; border-radius: 3px; }
.seat-row { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.seat-row .rl { width: 20px; font-size: .68rem; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.seat {
  width: 26px; height: 26px; border-radius: 6px 6px 7px 7px; border: none; font-size: .6rem; font-weight: 700; color: #0a0b14;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform var(--t), box-shadow var(--t); padding: 0;
}
.seat:hover:not(:disabled) { transform: translateY(-2px) scale(1.08); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.seat.sold, .seat.held { background: #2a2f45 !important; color: var(--text-muted); cursor: not-allowed; opacity: .5; }
.seat.selected { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 3px rgba(255,255,255,.25); transform: translateY(-2px); }
.seat-legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .78rem; color: var(--text-muted); margin-top: 14px; }
.seat-legend span span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 4px; }
.seat-cart { position: sticky; bottom: 0; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; box-shadow: var(--shadow); }
.seat-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--grad-soft); border: 1px solid rgba(168,85,247,.3); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 600; margin: 2px; }

/* ── Favourites + currency switcher ─────────────────────────────────────────── */
.fav-btn { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10,11,20,.6); backdrop-filter: blur(6px); border: 1px solid var(--border-2); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform var(--t), background var(--t); }
.fav-btn:hover { transform: scale(1.12); background: rgba(10,11,20,.85); }
.fav-btn .ico { fill: none; }
.fav-btn.active { color: #ec4899; background: rgba(236,72,153,.16); border-color: rgba(236,72,153,.5); }
.fav-btn.active .ico { fill: #ec4899; }
.nav-cur { background: rgba(255,255,255,.05); border: 1px solid var(--border-2); color: var(--text-soft); border-radius: 9px;
  padding: 8px 10px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.nav-cur:focus { outline: none; border-color: var(--primary); }

/* ── Share row ──────────────────────────────────────────────────────────────── */
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: none; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform var(--t), filter var(--t); font-weight: 700; }
.share-btn:hover { transform: translateY(-2px) scale(1.06); filter: brightness(1.1); }
.share-btn.copied { background: var(--success) !important; }
