/* ==========================================================================
   SHABAMOLA EVENTS — public site theme
   Black & gold. Bold condensed display + brush accents. No build step.
   ========================================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --surface-solid: #141414;
  --surface-2: #1b1b1b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .17);
  --ink: #f7f6f2;
  --ink-2: #b9b5ab;
  --ink-3: #7d7a72;
  --gold: #f5b301;
  --gold-2: #ffd34d;
  --gold-deep: #c98d00;
  --grad: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  --ok: #22c55e;
  --warn: #f5b301;
  --bad: #f43f5e;
  --live: #e11d2e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .65);
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-brush: "Permanent Marker", "Comic Sans MS", cursive;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 85% -120px, rgba(245, 179, 1, .10), transparent 60%),
    radial-gradient(760px 420px at -8% 25%, rgba(245, 179, 1, .05), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: .45rem 0; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.small { font-size: .85rem; }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 660px; }

/* ------------------------------------------------------------------ topbar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 8, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  font: 400 1.35rem/1 var(--font-display); color: #0a0a0a;
  transform: rotate(-4deg); box-shadow: 0 4px 16px -4px rgba(245, 179, 1, .5);
}
.logo .word { font: 700 1rem/1.1 var(--font-head); letter-spacing: .16em; }
.logo .word small { display: block; font: 600 .58rem/1 var(--font-body); letter-spacing: .42em; color: var(--ink-2); margin-top: 3px; }
.topnav { display: flex; gap: 2px; align-items: center; margin: 0 auto; }
.topnav a { color: var(--ink-2); font-weight: 500; font-size: .94rem; padding: 8px 16px; border-radius: 8px; transition: .15s; position: relative; }
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: #fff; font-weight: 600; }
.topnav a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
  color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; transition: .15s;
}
.icon-btn:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.theme-toggle { display: flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; }
.theme-toggle button {
  width: 34px; height: 30px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--ink-3); display: inline-flex; align-items: center; justify-content: center; transition: .15s;
}
.theme-toggle button:hover { color: var(--ink-2); }
.theme-toggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .12); color: var(--ink); }
.top-sep { width: 1px; height: 26px; background: var(--line-strong); }
.acct { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 6px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.acct .av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; color: #0a0a0a; font-weight: 800; font-size: .85rem; }
@media (max-width: 1080px) { .topnav { display: none; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .95rem var(--font-body); color: #0d0a02; letter-spacing: .01em;
  background: var(--grad); background-size: 140% 140%;
  box-shadow: 0 8px 22px -8px rgba(245, 179, 1, .55);
  transition: transform .15s, box-shadow .15s, background-position .3s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(245, 179, 1, .7); background-position: 100% 100%; }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); }
.btn.block { width: 100%; }
.btn.small { padding: 9px 17px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--ink-2);
}
.chip.hot { background: rgba(245, 179, 1, .14); border-color: rgba(245, 179, 1, .4); color: var(--gold-2); }
.chip.ok { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .32); color: #4ade80; }
.chip.warn { background: rgba(245, 179, 1, .12); border-color: rgba(245, 179, 1, .32); color: var(--gold-2); }
.chip.bad { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .32); color: #fb7185; }
.chip.live { background: var(--live); border-color: var(--live); color: #fff; font-weight: 700; letter-spacing: .06em; }
.chip.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.3s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7);} 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0);} }
.eyebrow { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .32em; color: var(--ink); }
.eyebrow.gold { color: var(--gold); }

/* ------------------------------------------------------------------ display type */
.display {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  line-height: .87; letter-spacing: -.005em; margin: 0; color: #fff;
  font-size: clamp(3.4rem, 7.6vw, 7.4rem);
  text-shadow: 0 6px 34px rgba(0, 0, 0, .55);
}
.display.tight { font-size: clamp(3rem, 6.2vw, 6.2rem); }
.display .brush {
  font-family: var(--font-brush); text-transform: uppercase; color: var(--gold);
  display: inline-block; transform: rotate(-2deg); line-height: .95;
  font-size: 1.04em; letter-spacing: -.01em;
  text-shadow: 0 6px 30px rgba(245, 179, 1, .25);
}
.script { font-family: var(--font-brush); color: var(--gold); }

/* ------------------------------------------------------------------ cards */
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin: 18px 0; box-shadow: var(--shadow);
}
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }

/* ------------------------------------------------------------------ HERO SHELL (full-bleed) */
.hero-shell {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: min(88vh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .art, .hero-bg .stage-scene { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.hero-bg .art { background-size: cover; background-position: center; }
.hero-bg .tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(94deg, rgba(6, 6, 6, .94) 4%, rgba(6, 6, 6, .66) 34%, rgba(6, 6, 6, .16) 60%, rgba(6, 6, 6, .42)),
    linear-gradient(180deg, rgba(6, 6, 6, .78) 0%, transparent 20%, transparent 58%, rgba(6, 6, 6, .9));
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  max-width: 1600px; margin: 0 auto;
  padding: clamp(44px, 7vw, 92px) clamp(20px, 4vw, 54px) clamp(18px, 2.4vw, 30px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy .sub { color: #d6d2c7; max-width: 540px; font-size: 1.02rem; margin-top: 18px; line-height: 1.65; }
.hero-copy .sub strong { color: #fff; font-weight: 700; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* title + tagline block sitting beside the display type */
.title-row { display: flex; align-items: flex-end; gap: clamp(16px, 2.6vw, 34px); flex-wrap: wrap; }
.tagline {
  font: 700 clamp(.72rem, 1vw, .88rem) var(--font-head); line-height: 1.85;
  letter-spacing: .13em; text-transform: uppercase; color: #efeadd;
  padding-bottom: clamp(8px, 1.4vw, 20px);
}
.tagline .rule { display: block; width: 88px; height: 3px; background: var(--gold); margin-top: 12px; border-radius: 2px; }

/* countdown + feature card pair */
.hero-cards { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.cd-card, .feat-card {
  background: rgba(10, 10, 10, .74); border: 1px solid var(--line-strong); border-radius: 17px;
  -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px);
  padding: 15px 22px 16px;
}
.cd-card .head, .feat-card .head { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.countdown-label { font: 700 .72rem var(--font-head); letter-spacing: .26em; text-transform: uppercase; color: #cfcabd; }
.countdown { display: flex; gap: clamp(14px, 2vw, 30px); margin-top: 10px; }
.countdown .unit { text-align: center; }
.countdown .n { font: 400 clamp(1.6rem, 2.6vw, 2.35rem)/1 var(--font-display); color: #fff; }
.countdown .u { font: 700 .58rem var(--font-body); letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; margin-top: 6px; }
.feat-card { display: flex; align-items: center; gap: 14px; }
.feat-card .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; }
.feat-card .t { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.feat-card .s { color: var(--ink-3); font-size: .78rem; }
.arrow-pill { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); font-size: .85rem; flex: none; }

/* ------------------------------------------------- hero ticket stub (tall, dashed) */
.stub {
  position: relative; border-radius: 22px; overflow: hidden;
  background: rgba(10, 10, 10, .8); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
  max-width: 340px; margin-left: auto; width: 100%;
}
@media (max-width: 980px) { .stub { margin: 10px auto 0; } }
.stub .stub-art { height: 132px; position: relative; overflow: hidden; }
.stub .stub-art .name { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; text-align: center; padding: 0 14px; }
.stub .stub-body { padding: 16px 20px 20px; }
.stub .kicker { font: 700 .68rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: #cfcabd; text-align: center; }
.stub .row-ic { display: flex; gap: 11px; align-items: flex-start; margin: 11px 0; font-size: .9rem; }
.stub .row-ic .ic { width: 28px; height: 28px; flex: none; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.stub .dashed { border-top: 2px dashed rgba(255, 255, 255, .24); margin: 15px -20px; position: relative; }
.stub .dashed::before, .stub .dashed::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: #0b0b0b; }
.stub .dashed::before { left: -10px; } .stub .dashed::after { right: -10px; }
.stub .qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.stub .qr-wrap svg, .stub .qr-wrap .qr-ph { width: 124px; height: 124px; border-radius: 12px; background: #fff; padding: 8px; }
.stub .code { font: 600 .74rem var(--mono); letter-spacing: .1em; color: var(--ink-2); }
.stub .going { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #4ade80; font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.stub .ready {
  display: flex; align-items: center; gap: 11px; margin: 4px -4px -4px;
  background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .32);
  border-radius: 13px; padding: 11px 13px;
}
.stub .ready .tick { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ok); color: #06210f; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* quick-action tiles */
.tile-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
@media (max-width: 760px) { .tile-row { grid-template-columns: repeat(2, 1fr); } }
.tile {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  background: rgba(12, 12, 12, .8); border: 1px solid var(--line); border-radius: 15px;
  transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: rgba(245, 179, 1, .45); transform: translateY(-2px); }
.tile .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.tile .t { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.tile .s { color: var(--ink-3); font-size: .76rem; }
.tile.ok .ic { background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .35); color: #4ade80; }

/* ------------------------------------------------- bottom info strip (full-bleed foot) */
.hero-foot {
  position: relative; z-index: 1; width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 54px) clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 12px;
}
.info-strip {
  display: flex; flex-wrap: wrap; align-items: stretch;
  background: rgba(10, 10, 10, .82); border: 1px solid var(--line); border-radius: 18px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 15px 8px;
}
.info-strip .cell { flex: 1 1 190px; padding: 5px 22px; border-left: 1px solid var(--line); display: flex; gap: 13px; align-items: center; }
.info-strip .cell:first-child { border-left: 0; }
.info-strip .k { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.info-strip .v { color: var(--ink-3); font-size: .8rem; }
.info-strip .ic { font-size: 1.2rem; opacity: .85; }
.info-strip .cell.live-accent .k { color: var(--live); }

/* avatar cluster */
.avatars { display: flex; align-items: center; }
.avatars i {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #0d0d0d; margin-left: -10px;
  display: inline-block; background: var(--grad);
}
.avatars i:first-child { margin-left: 0; }
.avatars .more { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #0d0d0d; margin-left: -10px; background: #262626; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: .76rem; font-weight: 700; }

/* ------------------------------------------------- category strip */
.cat-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cat {
  position: relative; flex: 1 1 120px; min-width: 110px; height: 74px; border-radius: 13px; overflow: hidden;
  border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
}
.cat .cat-bg { position: absolute; inset: 0; opacity: .82; }
.cat .cat-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, .88)); }
.cat span { position: relative; z-index: 1; font: 700 .7rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.more-than {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 15px;
  background: rgba(12, 12, 12, .8); border: 1px solid var(--line); flex: 1 1 280px;
}
.more-than .ic { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--gold); }

/* stats row (brand / recap) */
.stats-row { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 28px; }
.stats-row .stat { padding: 2px 28px; border-left: 1px solid var(--line-strong); display: flex; gap: 12px; align-items: center; }
.stats-row .stat:first-child { border-left: 0; padding-left: 0; }
.stats-row .n { font: 400 1.75rem/1.1 var(--font-display); color: #fff; }
.stats-row .l { color: var(--ink-3); font-size: .8rem; }
.stats-row .ic { font-size: 1.3rem; opacity: .8; }

/* ------------------------------------------------------------------ cover art */
/* Brand-locked cover art: warm amber/ember tones only (hue stays inside the gold family). */
.cover {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(90% 130% at 72% 8%, hsla(calc(28 + var(--ch) * .12), 92%, 56%, .75), transparent 58%),
    radial-gradient(120% 140% at 8% 100%, hsla(calc(14 + var(--ch) * .08), 78%, 30%, .9), transparent 62%),
    linear-gradient(145deg, hsl(calc(22 + var(--ch) * .1), 58%, 22%), #120c05 72%);
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
  background-size: 22px 22px; opacity: .35; mix-blend-mode: overlay;
}
.cover.has-img { background-size: cover; background-position: center; }
.cover.has-img::after { content: none; }
.cover .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, .85)); }

/* ------------------------------------------------------------------ event grid */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 46px 0 18px; }
.grid-events { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid-events { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-events { grid-template-columns: 1fr; } }

.event-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface-solid); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; }
.event-card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, .4); box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .75); }
.event-card .cover { aspect-ratio: 16 / 9; border-radius: 0; }
.event-card .date-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(8, 8, 8, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 7px 11px; text-align: center; line-height: 1.1;
}
.event-card .date-chip .d { font: 400 1.25rem var(--font-display); }
.event-card .date-chip .m { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); }
.event-card .status-chip { position: absolute; top: 14px; right: 14px; z-index: 2; }
.event-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.event-card .name { font: 600 1.12rem var(--font-head); letter-spacing: -.015em; }
.event-card .venue { color: var(--ink-2); font-size: .9rem; }
.event-card .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.event-card .price { font-weight: 700; font-size: .95rem; }
.event-card .price .from { font-weight: 600; color: var(--ink-3); font-size: .76rem; margin-right: 5px; text-transform: uppercase; letter-spacing: .08em; }
.event-card .go { color: var(--gold); font-weight: 700; font-size: .88rem; }

/* ------------------------------------------------------------------ event detail */
.detail-hero { position: relative; margin-top: 22px; }
.detail-hero .cover { aspect-ratio: 21 / 8; min-height: 260px; }
.detail-hero .overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 4vw, 42px); }
.detail-hero .meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.detail-hero .meta-row .chip { background: rgba(8, 8, 8, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #efece2; }
@media (max-width: 640px) { .detail-hero .cover { aspect-ratio: 4 / 3; } }

.detail-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; margin-top: 8px; }
@media (max-width: 880px) { .detail-cols { grid-template-columns: 1fr; } }
.sticky-side { position: sticky; top: 92px; }

.prose { color: var(--ink-2); white-space: pre-line; }
.info-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.info-line:last-child { border-bottom: 0; }
.info-line .ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }

/* ticket selector rows */
.tkt-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.tkt-row:last-of-type { border-bottom: 0; }
.tkt-row .info { flex: 1; min-width: 0; }
.tkt-row .tname { font-weight: 600; font-family: var(--font-head); }
.tkt-row .tdesc { color: var(--ink-3); font-size: .84rem; }
.tkt-row .tprice { font-weight: 700; margin-top: 2px; }
select.qty {
  appearance: none; -webkit-appearance: none;
  background: var(--surface-2) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b9b5ab' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px;
  padding: 9px 32px 9px 14px; font: 600 .95rem var(--font-body); min-width: 68px; cursor: pointer;
}
select.qty:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* ------------------------------------------------------------------ forms */
label { display: block; font-weight: 600; font-size: .87rem; margin: 14px 0 6px; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], textarea, select:not(.qty) {
  width: 100%; padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--ink); font: 400 .97rem var(--font-body); transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
input::placeholder { color: var(--ink-3); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.check-row input { width: auto; margin-top: 4px; accent-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ tables */
table.lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.lines th { text-align: left; font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); padding: 8px 0; border-bottom: 1px solid var(--line-strong); }
table.lines td { padding: 11px 0; border-bottom: 1px solid var(--line); }
table.lines tr:last-child td { border-bottom: 0; }
table.lines .total td { font: 700 1.05rem var(--font-head); border-top: 1px solid var(--line-strong); }

/* ------------------------------------------------------------------ alerts */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 14px 0; font-size: .93rem; border: 1px solid; }
.alert.ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); color: #86efac; }
.alert.bad { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .3); color: #fda4af; }
.alert.warn { background: rgba(245, 179, 1, .1); border-color: rgba(245, 179, 1, .3); color: #fde68a; }

/* ------------------------------------------------------------------ ticket page */
.ticket-shell { max-width: 440px; margin: 34px auto 60px; padding: 0 16px; }
.ticket { border-radius: 22px; overflow: hidden; background: #fff; color: #131313; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); }
.ticket-head { position: relative; padding: 24px; color: #fff; overflow: hidden; }
.ticket-head .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,6,.2), rgba(6,6,6,.62)); }
.ticket-head > div:not(.shade) { position: relative; z-index: 1; }
.ticket-qr { display: flex; justify-content: center; padding: 26px 0 6px; }
.ticket-qr svg { width: 250px; height: 250px; }
.ticket-code { text-align: center; font-family: var(--mono); font-size: 1.02rem; letter-spacing: .14em; color: #6d6a63; margin: 6px 0 14px; }
.tear { position: relative; border-top: 2px dashed #e6e3da; margin: 0 20px; }
.tear::before, .tear::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.tear::before { left: -31px; } .tear::after { right: -31px; }
.ticket-body { padding: 14px 24px 24px; }
.ticket-kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: .93rem; }
.ticket-kv dt { color: #6d6a63; } .ticket-kv dd { margin: 0; font-weight: 600; }

/* status pages */
.status-panel { text-align: center; padding: clamp(30px, 6vw, 56px) 28px; }
.status-panel .glyph { font-size: 3.2rem; margin-bottom: 8px; }
.spinner { width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--gold); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ trust & footer */
.trust { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; color: var(--ink-3); font-size: .84rem; margin-top: 14px; }
.trust span { display: inline-flex; gap: 7px; align-items: center; }
footer.site { border-top: 1px solid var(--line); margin-top: 70px; padding: 34px 0 46px; color: var(--ink-3); font-size: .88rem; }
footer.site .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site a { color: var(--ink-2); }
footer.site a:hover { color: var(--gold); }

.mt-0{margin-top:0}.mt-1{margin-top:10px}.mt-2{margin-top:18px}.mt-3{margin-top:28px}.mb-0{margin-bottom:0}
.divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.empty .glyph { font-size: 2.6rem; margin-bottom: 10px; }

/* ------------------------------------------------------------------ print (ticket download) */
@media print {
  body { background: #fff !important; }
  .topbar, footer.site, .no-print, .alert { display: none !important; }
  .ticket-shell { margin: 0 auto; max-width: 420px; }
  .ticket { box-shadow: none; border: 1px solid #ddd; }
  .tear::before, .tear::after { background: #fff; }
}

/* ------------------------------------------------------------------ search overlay */
.search-bar { border-top: 1px solid var(--line); background: var(--chrome, rgba(8, 8, 8, .92)); }
.search-bar input { color: var(--ink); }
.search-bar input:focus { outline: none; }

/* ------------------------------------------------------------------ footer grid */
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 26px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-head { font: 700 .78rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.foot-grid a { display: block; padding: 4px 0; color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; font-size: .85rem; color: var(--ink-3); }

/* ------------------------------------------------------------------ homepage sections */
.section-band { padding: 10px 0 6px; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 190px; display: flex; align-items: flex-end; transition: transform .18s, border-color .18s; }
.exp-card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, .45); }
.exp-card .bg { position: absolute; inset: 0; }
.exp-card .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.05) 20%, rgba(5,5,5,.9)); }
.exp-card .body { position: relative; z-index: 1; padding: 18px 20px; }
.exp-card .t { font: 600 1.15rem var(--font-head); color: #fff; }
.exp-card .s { color: #cfcabd; font-size: .86rem; }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }
.gallery-tile { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; display: flex; align-items: flex-end; }
.gallery-tile .bg { position: absolute; inset: 0; }
.gallery-tile .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,.85)); }
.gallery-tile span { position: relative; z-index: 1; padding: 12px 14px; font: 600 .9rem var(--font-head); color: #fff; }

.band-cta {
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; position: relative;
  padding: clamp(26px, 5vw, 48px); margin: 40px 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(245, 179, 1, .16), transparent 60%),
    var(--surface-solid);
}
.band-cta .row-flex { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* ==================================================================
   LIGHT THEME — page chrome flips light; hero & imagery stay dark.
   ================================================================== */
:root[data-theme="light"] {
  --bg: #f7f5f0;
  --bg-2: #efece4;
  --surface-solid: #ffffff;
  --surface-2: #f1efe8;
  --line: rgba(20, 16, 5, .1);
  --line-strong: rgba(20, 16, 5, .2);
  --ink: #171310;
  --ink-2: #57503f;
  --ink-3: #8b8371;
  --chrome: rgba(250, 249, 245, .88);
  --shadow: 0 10px 30px -14px rgba(40, 30, 5, .18);
}
:root[data-theme="light"] body {
  background:
    radial-gradient(1000px 480px at 85% -120px, rgba(245, 179, 1, .12), transparent 60%),
    var(--bg);
}
:root[data-theme="light"] .topbar { background: var(--chrome); }
:root[data-theme="light"] .panel { background: var(--surface-solid); }
:root[data-theme="light"] .theme-toggle { background: rgba(20, 16, 5, .05); }
:root[data-theme="light"] .theme-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
:root[data-theme="light"] .btn.ghost { border-color: rgba(20, 16, 5, .25); }
:root[data-theme="light"] .event-card, :root[data-theme="light"] .exp-card, :root[data-theme="light"] .gallery-tile { background: var(--surface-solid); }
:root[data-theme="light"] .tear::before, :root[data-theme="light"] .tear::after { background: var(--bg); }
/* hero stays a dark stage regardless of theme */
.hero-shell { background: #0a0a0a; color: #f7f6f2; }
.hero-shell .stub .dashed::before, .hero-shell .stub .dashed::after { background: #0b0b0b; }
