:root {
  --void: #070706;
  --wood: #1a120c;
  --felt: #16351c;
  --brass: #c4a35a;
  --brass-dim: #8a7033;
  --ember: #d14a1f;
  --cream: #efe4cc;
  --paper: #d7c7a3;
  --ink: #f3ead8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Libre Franklin", sans-serif;
  background: var(--void);
  color: var(--ink);
  line-height: 1.45;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.grain,
.vignette,
.smoke,
.spot {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
}

.grain {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 48%, #000 100%);
  opacity: 0.48;
}

.smoke {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(196, 163, 90, 0.07), transparent 32%);
  animation: drift 18s ease-in-out infinite alternate;
}

.spot {
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 30%), rgba(196, 163, 90, 0.16), transparent 26%);
  mix-blend-mode: screen;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0);
  }
  to {
    transform: translate3d(2%, 1%, 0);
  }
}

.sign {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(#120e0acc, #120e0a00);
  backdrop-filter: blur(6px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.mark img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--brass);
}

.mark small {
  color: var(--brass);
}

.sign nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sign nav a {
  text-decoration: none;
  color: var(--paper);
}

.sign nav a:hover {
  color: var(--brass);
}

.sign nav .nav-buy {
  padding: 8px 12px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #160f08;
  font-weight: 800;
}

.sign nav .nav-buy:hover {
  color: #160f08;
}

.hero-ca {
  margin-top: 18px;
  max-width: 520px;
  padding: 14px 16px;
  border: 1px solid #c4a35a55;
  background: #0d0b0888;
}

.hero-ca span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.hero-ca a {
  text-decoration: none;
}

.hero-ca code {
  display: block;
  font-family: "Special Elite", cursive;
  font-size: 13px;
  color: var(--brass);
  word-break: break-all;
  margin-bottom: 10px;
}

.hero-ca button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--brass);
  background: transparent;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.room {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.door,
.bar {
  overflow: hidden;
}

.door {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 12vh 8vw 10vh;
}

.door-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, #070706f2 0%, #070706cc 28%, #07070655 48%, transparent 62%),
    linear-gradient(180deg, #07070699 0%, transparent 24%, #070706aa 100%),
    url("assets/club-hero-cat.png") 86% 38% / cover no-repeat;
}

.door-copy {
  position: relative;
  max-width: 720px;
}

.neon {
  font-family: "Special Elite", cursive;
  color: var(--brass);
  letter-spacing: 0.28em;
  font-size: 13px;
}

.flicker {
  animation: flicker 4.8s infinite;
}

@keyframes flicker {
  0%,
  19%,
  21%,
  100% {
    opacity: 1;
    text-shadow: 0 0 12px #c4a35a;
  }
  20% {
    opacity: 0.35;
    text-shadow: none;
  }
}

h1 {
  font-size: clamp(72px, 14vw, 168px);
  line-height: 0.8;
  margin: 10px 0 12px;
}

.hook {
  font-family: "Special Elite", cursive;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--brass);
  margin-bottom: 14px;
}

.sub {
  max-width: 46ch;
  color: var(--paper);
  margin-bottom: 22px;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #160f08;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #0008;
}

.btn.ghost {
  background: transparent;
  color: var(--cream);
}

.lamp {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lamp.wait {
  color: var(--ember);
}

.lamp.live {
  color: var(--brass);
}

.table {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  min-height: 90vh;
  background: #0b0a08;
}

.felt-wrap {
  position: relative;
  min-height: 70vh;
}

.felt-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.felt-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #0b0a08);
  pointer-events: none;
}

.rope {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, #c4a35a1f, #070706d4 58%, #070706f0 100%);
  pointer-events: none;
}

.rope .neon {
  margin: 0;
  text-shadow: 0 0 14px #c4a35a88;
}

.rope strong {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 0.9;
}

.rope span {
  font-family: "Special Elite", cursive;
  color: var(--brass);
  font-size: 14px;
}

.plaque {
  padding: 8vh 5vw 8vh 3vw;
  background:
    linear-gradient(#0006, #0006),
    repeating-linear-gradient(90deg, #1c140e 0 18px, #221910 18px 36px);
}

.stamp {
  font-family: "Special Elite", cursive;
  color: var(--brass);
  letter-spacing: 0.22em;
  font-size: 12px;
  margin-bottom: 10px;
}

.plaque h2,
.booths h2,
.menu h2,
.game h2,
.rules h2 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 12px;
}

.plaque .btn {
  margin-top: 18px;
}

.tease-tag {
  display: inline-block;
  margin: 14px 0 0;
  padding: 7px 12px;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: "Special Elite", cursive;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game p {
  max-width: 42ch;
  color: var(--paper);
}

.ca {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #c4a35a55;
  background: #0d0b0888;
}

.ca span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.ca-addr {
  display: block;
  text-decoration: none;
  margin-bottom: 12px;
}

.ca-addr.is-live code {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ca-addr.is-live:hover code {
  color: var(--cream);
}

.ca code {
  display: block;
  font-family: "Special Elite", cursive;
  font-size: 14px;
  word-break: break-all;
}

.ca-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ca-actions .btn {
  min-height: 42px;
}

.pours a {
  color: var(--brass);
}

.booths {
  padding: 10vh 6vw;
  background:
    linear-gradient(#0008, #0008),
    url("assets/club-bar.png") center/cover;
}

.booth-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.booth {
  background: #0c0a08ee;
  border: 1px solid #c4a35a33;
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  animation: rise 0.8s ease forwards;
}

.booth:nth-child(2) {
  animation-delay: 0.12s;
}

.booth:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    transform: none;
    opacity: 1;
  }
}

.booth img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center top;
  background: #0a0806;
  filter: saturate(0.9) contrast(1.04);
  transform-origin: 50% 12%;
  transition: transform 0.6s ease;
}

.booth:hover img {
  transform: scale(1.03);
}

.booth div {
  padding: 16px 18px 22px;
}

.booth span {
  color: var(--brass);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bar {
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: 10vh 8vw;
}

.bar-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070706 10%, #070706bb 55%, transparent),
    url("assets/club-bar.png") right center/cover;
}

.menu {
  position: relative;
  max-width: 620px;
}

.pours {
  list-style: none;
  margin-top: 22px;
}

.pours li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #c4a35a33;
}

.pours strong {
  font-family: "Big Shoulders Display", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
}

.games {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #0a0908;
}

.game {
  padding: 8vh 5vw;
}

.snooker {
  background:
    linear-gradient(#0007, #0007),
    url("assets/club-snooker.png") center/cover;
}

.slate {
  position: relative;
  margin-top: 24px;
  height: 280px;
  border-radius: 140px;
  background:
    radial-gradient(circle at 50% 0, #2a5a32, #16351c 70%);
  border: 14px solid #3b2414;
  box-shadow: inset 0 0 40px #000a;
  overflow: hidden;
}

.slate.locked .ball {
  pointer-events: none;
  filter: saturate(0.55) brightness(0.72);
}

.ball {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  box-shadow: inset -4px -4px 8px #0006, 2px 3px 4px #0008;
}

.ball.red {
  background: #b42318;
}
.ball.yellow {
  background: #d6b325;
}
.ball.green {
  background: #2f7a3a;
}
.ball.brown {
  background: #6b3a1e;
}
.ball.blue {
  background: #1f4ea0;
}
.ball.pink {
  background: #d36a8a;
}
.ball.black {
  background: #141414;
}

.board {
  position: relative;
  margin-top: 18px;
  width: min(100%, 360px);
}

.board.locked img {
  width: 100%;
  border: 8px solid #3b2414;
  filter: saturate(0.6) brightness(0.62);
}

.board .rope {
  border: 8px solid transparent;
}

.rules {
  padding: 10vh 8vw 12vh;
  background:
    repeating-linear-gradient(0deg, #140f0c 0 28px, #18120e 28px 56px);
  max-width: none;
}

.rules p {
  max-width: 70ch;
  color: var(--paper);
}

.socials {
  display: flex;
  gap: 16px;
  margin: 22px 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.tiny {
  font-size: 12px;
  color: #9b8d72;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .sign nav {
    display: none;
  }

  .table,
  .booth-row,
  .games,
  .pours li {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 78px;
  }

  .door,
  .bar,
  .rules {
    padding: 12vh 6vw;
  }
}
