/* Nightclub.org.uk — dark, high-contrast directory styling */

:root {
  --bg:        #0c0b12;
  --bg-raised: #15131f;
  --bg-card:   #191725;
  --line:      #2b2740;
  --text:      #ece9f5;
  --text-dim:  #a7a2bd;
  --accent:    #c04cff;
  --accent-2:  #21e6c1;
  --accent-ink:#12081c;
  --radius:    14px;
  --wrap:      1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }

a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .75rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #6b3cff);
  font-size: .82rem; font-weight: 800; letter-spacing: .02em; color: #fff;
}

.brand-text { font-size: 1.05rem; letter-spacing: -.02em; }
.brand-text strong { font-weight: 800; }

.site-nav { display: flex; gap: 1.25rem; margin-right: auto; flex-wrap: wrap; }
.site-nav a { color: var(--text-dim); font-size: .93rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

.search-mini { display: flex; }
.search-mini input {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 999px 0 0 999px; border-right: 0;
  color: var(--text); padding: .5rem .95rem; width: 15rem; max-width: 42vw;
  font-size: .9rem;
}
.search-mini input::placeholder { color: #6f6a89; }
.search-mini button {
  border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
  background: var(--accent); color: #fff; padding: 0 1rem; font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(60rem 32rem at 15% -10%, rgba(192, 76, 255, .28), transparent 60%),
    radial-gradient(50rem 28rem at 90% 0%, rgba(33, 230, 193, .16), transparent 55%);
  border-bottom: 1px solid var(--line);
}

.hero p.lede { font-size: 1.14rem; color: var(--text-dim); max-width: 46ch; }

.hero-search { display: flex; gap: .6rem; margin: 2rem 0 1.25rem; max-width: 34rem; flex-wrap: wrap; }
.hero-search input {
  flex: 1 1 16rem; background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 12px; color: var(--text); padding: .9rem 1.1rem; font-size: 1rem;
}
.hero-search button {
  border: 0; border-radius: 12px; cursor: pointer; padding: .9rem 1.5rem;
  background: var(--accent); color: #fff; font-size: 1rem; font-weight: 600;
}

.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.25rem; }
.stat-row div { line-height: 1.25; }
.stat-row strong { display: block; font-size: 1.9rem; letter-spacing: -.03em; }
.stat-row span { color: var(--text-dim); font-size: .88rem; }

/* ---------- Sections ---------- */

.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head p { color: var(--text-dim); margin: 0; }

/* ---------- Club cards ---------- */

.club-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}

.club-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem; height: 100%;
  transition: border-color .15s ease, transform .15s ease;
}
.club-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.club-card h3 { margin-bottom: .3rem; }
.club-card h3 a { color: var(--text); }
.club-card h3 a:hover { color: var(--accent-2); text-decoration: none; }

.club-meta { color: var(--text-dim); font-size: .86rem; margin: 0 0 .8rem; }
.club-card p.blurb { color: var(--text-dim); font-size: .92rem; margin-bottom: 1rem; }
.club-card .card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-size: .84rem; }

.rating { color: #ffc857; letter-spacing: .06em; white-space: nowrap; }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.tag {
  display: inline-block; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(192, 76, 255, .14); color: #d9a8ff;
  border: 1px solid rgba(192, 76, 255, .3);
  padding: .2rem .55rem; border-radius: 999px;
}
.tag:hover { text-decoration: none; background: rgba(192, 76, 255, .25); }

.badge-featured {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  color: var(--accent-ink); background: var(--accent-2);
  padding: .18rem .5rem; border-radius: 4px;
}

/* ---------- City chips ---------- */

.chip-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); }
.chip {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem 1rem; color: var(--text); font-weight: 500;
}
.chip:hover { border-color: var(--accent-2); text-decoration: none; }
.chip span { color: var(--text-dim); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ---------- Club detail ---------- */

.club-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  background: radial-gradient(48rem 26rem at 12% -20%, rgba(192, 76, 255, .22), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs { font-size: .85rem; color: var(--text-dim); margin-bottom: 1.1rem; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--accent-2); }

.club-layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); padding: 2.5rem 0 4rem; }
@media (max-width: 820px) { .club-layout { grid-template-columns: 1fr; } }

.prose { font-size: 1.03rem; }
.prose p { color: #cfcadf; }

.fact-panel {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; align-self: start;
  position: sticky; top: 5.5rem;
}
@media (max-width: 820px) { .fact-panel { position: static; } }

.fact-panel h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); }

.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: .9rem; }
.facts div { border-top: 1px solid var(--line); padding-top: .9rem; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.facts dd { margin: .15rem 0 0; font-weight: 500; word-break: break-word; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 10px; padding: .8rem 1.3rem; font-weight: 600; text-align: center;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn-block { display: block; margin-top: 1.4rem; }

.status-note {
  background: rgba(255, 92, 92, .12); border: 1px solid rgba(255, 92, 92, .35);
  color: #ffb3b3; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1.5rem; font-size: .92rem;
}

/* ---------- Forms & misc pages ---------- */

.page { padding: 3rem 0 4rem; }
.page .prose { max-width: 68ch; }

.form-grid { display: grid; gap: 1rem; max-width: 34rem; }
.form-grid label { display: grid; gap: .35rem; font-size: .9rem; color: var(--text-dim); }
.form-grid input, .form-grid textarea, .form-grid select {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: .7rem .9rem; font: inherit; font-size: .95rem;
}
.form-grid button {
  justify-self: start; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--accent); color: #fff; padding: .8rem 1.5rem; font-weight: 600; font-size: 1rem;
}

.empty { color: var(--text-dim); background: var(--bg-raised); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--bg-raised); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.site-footer h2 { font-size: 1.1rem; }
.site-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.site-footer p { color: var(--text-dim); font-size: .92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text); font-size: .92rem; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.25rem; }
.footer-legal p { font-size: .82rem; margin: 0; }

/* ---------- Imagery ---------- */

.card-media {
  display: block; margin: -1.35rem -1.35rem 1.1rem;
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--bg-raised);
}
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.club-hero-media {
  max-width: 34rem; margin: 0 0 1.75rem;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 9;
}
.club-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.check-note {
  background: rgba(255, 200, 87, .1); border: 1px solid rgba(255, 200, 87, .32);
  color: #f0d190; border-radius: 10px; padding: .8rem 1rem;
  margin-bottom: 1.5rem; font-size: .92rem;
}

.verify-line {
  color: var(--text-dim); font-size: .85rem;
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem;
}
