:root {
  --bg: #1c1a19;
  --ink: #f5f4f2;
  --muted: #9c9894;
  --black: #000;
  --line: #322f2d;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

.display { font-family: 'Anton', Impact, system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 14px 60px;
}

/* ---------- Header ---------- */
.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 2px 16px;
}
.masthead__eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.masthead__title {
  font-size: clamp(30px, 9vw, 48px);
  line-height: .92;
  text-transform: uppercase;
  margin: 0;
}
.iconbtn {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: #0c0b0b;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
}
.iconbtn svg { width: 20px; height: 20px; }

/* ---------- Category filter chips ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #100f0f;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.chip__dot { width: 12px; height: 12px; border-radius: 3px; background: var(--c, #fff); }
.chip--active { background: #fff; color: #111; border-color: #fff; }
.chip--all.chip--active { background: #fff; }

/* ---------- Event card ---------- */
.event {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.event__photo { position: relative; aspect-ratio: 16 / 10; background: #0a0a0a; }
.event__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.event__head { display: flex; align-items: stretch; }
.event__date {
  flex: 0 0 74px;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  line-height: 1;
}
.event__date .day { font-size: 40px; }
.event__date .mon { font-size: 12px; letter-spacing: .12em; margin-top: 4px; color: #d9d6d2; }

.event__banner {
  flex: 1 1 auto;
  background: var(--cat);
  color: var(--cat-text);
  padding: 12px 14px;
  min-width: 0;
}
.event__cat {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 4px;
}
.event__title {
  font-size: clamp(22px, 7vw, 30px);
  line-height: .96;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.event__tag {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.event__details {
  background: color-mix(in srgb, var(--cat) 20%, #000);
  padding: 12px 12px 14px;
  border-top: 3px solid var(--cat);
}
/* Subtitle as a full-width colour block */
.event__subtitle {
  margin: 0 0 5px;
  background: var(--cat); color: var(--cat-text);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  padding: 11px 12px;
}

/* Labelled fact blocks (Time / Location / Entry) — kaucha style */
.event__facts { margin: 0; display: flex; flex-direction: column; gap: 5px; }
.event__facts .fact { display: grid; grid-template-columns: 104px 1fr; gap: 5px; }
.event__facts dt {
  margin: 0;
  background: #000; color: #fff;
  font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px; display: flex; align-items: center;
}
.event__facts dd {
  margin: 0;
  background: var(--cat); color: var(--cat-text);
  font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  padding: 12px; display: flex; align-items: center;
}

/* Action blocks: Save · Share · Get Tickets */
.event__actions { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 5px; margin-top: 5px; }
.act {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 15px 10px; cursor: pointer; border: 0;
  font: inherit; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: 13px;
  background: #000; color: #fff;
}
.act svg { display: block; flex: 0 0 auto; }
.act.is-saved { background: var(--cat); color: var(--cat-text); }
.act--buy { background: var(--cat); color: var(--cat-text); }
.act:active { transform: translateY(1px); }

@media (max-width: 430px) {
  .act__label { display: none; }
  .act { padding: 15px 8px; letter-spacing: .04em; }
  .event__actions { grid-template-columns: 1fr 1fr 1.5fr; }
  .event__facts .fact { grid-template-columns: 90px 1fr; }
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
  font-weight: 700;
}

/* ---------- Auth + dashboards ---------- */
.card {
  background: #100f0f;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 18px;
  margin-bottom: 18px;
}
.card h2 { font-size: 20px; text-transform: uppercase; margin: 0 0 14px; letter-spacing: .02em; }

label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 12px 0 5px; font-weight: 800; }

input, select, textarea {
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-weight: 600;
}
textarea { min-height: 74px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #29b6d8; border-color: #29b6d8; }

.btn {
  display: inline-block;
  background: #29b6d8;
  color: #071417;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
}
.btn--block { display: block; width: 100%; }
.btn--danger { background: #e60040; color: #fff; padding: 7px 14px; margin: 0; font-size: 12px; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.topbar h1 { font-size: 26px; text-transform: uppercase; margin: 0; }
.topbar .who { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.list li:first-child { border-top: 0; }
.list .meta { min-width: 0; }
.list .meta strong { display: block; text-transform: uppercase; font-size: 15px; }
.list .meta span { font-size: 12px; color: var(--muted); }

.flash { border-radius: 8px; padding: 11px 14px; margin-bottom: 16px; font-weight: 800; font-size: 13px; }
.flash--ok { background: #123a22; color: #7dffab; border: 1px solid #1d5c37; }
.flash--err { background: #3a1220; color: #ff8fae; border: 1px solid #5c1d31; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .grid2 { grid-template-columns: 1fr; } }

.backlink { display: inline-block; margin-top: 8px; color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; }
