/* BBC BULLY — prelaunch/locked page. Flat monochrome, X-family surfaces. */

:root {
  --ink: #000000;
  --ink-2: #0a0a0b;
  --ink-3: #16181c;
  --paper: #e7e9ea;
  --muted: #71767b;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --hover: rgba(255, 255, 255, 0.04);
  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --pill: 999px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ── Age gate ───────────────────────────────────────────── */
body.gate-open { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 20px; background: var(--ink);
}
.gate[hidden] { display: none; }
.gate__panel {
  width: min(600px, 100%); padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line); border-top: 3px solid var(--paper);
  background: var(--ink-2);
}
.gate__title {
  margin: 12px 0 12px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: .96; text-transform: uppercase;
}
.gate__copy { margin: 0 0 22px; color: var(--muted); max-width: 48ch; font-size: .95rem; }
.gate__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Chrome ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 clamp(18px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft); background: var(--ink);
}
.brand {
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .16em;
  text-decoration: none; text-transform: uppercase;
}
.topbar__right { display: flex; gap: 10px; }
.chip {
  padding: 5px 11px; border: 1px solid var(--line); border-radius: var(--pill);
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase;
}
.chip--muted { color: var(--muted); border-color: var(--line-soft); }

/* ── Layout ─────────────────────────────────────────────── */
main {
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding: clamp(28px, 6vw, 84px) clamp(18px, 4vw, 40px) 20px;
}
.eyebrow {
  margin: 0; font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper); margin-right: 8px; vertical-align: 1px;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { max-width: 780px; padding-bottom: clamp(36px, 7vw, 88px); }
.hero__title {
  margin: 14px 0 16px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 10vw, 7rem); line-height: .88; letter-spacing: .004em;
  text-transform: uppercase;
}
.hero__copy { margin: 0 0 26px; color: var(--muted); max-width: 54ch; font-size: 1.05rem; }

/* ── Signup ─────────────────────────────────────────────── */
.signup { max-width: 620px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__input {
  flex: 1 1 280px; min-height: 50px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink-2); color: var(--paper); font-family: var(--font-body);
  font-size: .95rem;
}
.signup__input::placeholder { color: var(--muted); }
.signup__btn { min-height: 50px; flex: 0 0 auto; }
.signup__age {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 14px;
  color: var(--muted); font-size: .82rem; line-height: 1.45;
}
.signup__age input { margin-top: 3px; accent-color: var(--paper); }
.signup__age a { color: var(--paper); }
.signup__msg { min-height: 1.4em; margin: 12px 0 0; font-size: .88rem; }
.signup__msg--ok { color: var(--paper); }
.signup__msg--err { color: #f2a0a0; }
.signup__note { margin: 6px 0 0; color: var(--muted); font-size: .72rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ── Founders ───────────────────────────────────────────── */
.founders { margin-top: 34px; padding: 18px 20px; border: 1px solid var(--line-soft); background: var(--ink-2); max-width: 620px; }
.founders__copy { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.founders__copy strong { color: var(--paper); font-weight: 600; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 1px solid var(--line);
  border-radius: var(--pill); background: transparent; color: var(--paper);
  font-size: .92rem; font-weight: 600; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--hover); }
.btn--primary { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--primary:hover { background: #fff; box-shadow: 0 0 30px rgba(255,255,255,.10); }
.btn--ghost { border-color: var(--line); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ── Locked grid ────────────────────────────────────────── */
.inside { padding-bottom: clamp(36px, 7vw, 88px); }
.sectionhead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 6px 18px; padding: 14px 0 18px; border-bottom: 1px solid var(--line);
}
.sectionhead__title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem); text-transform: uppercase;
}
.sectionhead__note { margin: 0; color: var(--muted); font-size: .78rem; font-family: var(--font-mono); letter-spacing: .06em; }

.lockgrid {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.lockcard { border: 1px solid var(--line-soft); background: var(--ink-2); overflow: hidden; }
.lockcard__art {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background: #0d0d0f; border-bottom: 1px solid var(--line-soft);
}
.lockcard__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px);
}
.lock { position: relative; font-size: 1.4rem; filter: grayscale(1); }
.lockcard__label { margin: 10px 14px 0; font-family: var(--font-mono); font-size: .8rem; }
.lockcard__note { margin: 2px 14px 12px; color: var(--muted); font-size: .78rem; }

/* ── Discord ────────────────────────────────────────────── */
.discord {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: clamp(22px, 4vw, 36px); margin-bottom: clamp(36px, 7vw, 72px);
  border: 1px solid var(--line); background: var(--ink-2);
}
.discord__title {
  margin: 10px 0 8px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem); text-transform: uppercase; line-height: .95;
}
.discord__copy { margin: 0; color: var(--muted); max-width: 48ch; }

/* ── Rules ──────────────────────────────────────────────── */
.rules { max-width: 780px; padding-bottom: 40px; }
.rules ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.rules li { margin: 6px 0; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 20px clamp(18px, 4vw, 40px); border-top: 1px solid var(--line-soft);
  color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
}
.footer p { margin: 0; }

@media (max-width: 860px) {
  .lockgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lockgrid { grid-template-columns: 1fr; }
  .signup__row { flex-direction: column; }
  .signup__btn { width: 100%; }
  .discord .btn { width: 100%; }
}
