/* Nightclub page. The restaurant stylesheet stays in charge of type and buttons. */
body.club {
  overflow-x: clip;
  background:
    radial-gradient(42rem 28rem at 100% 0%, rgba(206, 17, 38, 0.28), transparent 60%),
    radial-gradient(36rem 24rem at 0% 20%, rgba(252, 209, 22, 0.12), transparent 55%),
    #060607;
}

.club-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.club-back {
  color: var(--color-crema);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tonight {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(252, 209, 22, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tonight i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-rojo);
  box-shadow: 0 0 0 0 rgba(206, 17, 38, 0.7);
  animation: pulse 1.8s var(--ease-mass) infinite;
}

.rail {
  overflow: hidden;
  border-block: 1px solid rgba(244, 236, 220, 0.12);
  background: #0b0b0d;
}

.rail-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.85rem 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: rail 28s linear infinite;
}

.rail-track span {
  color: var(--color-oro);
}

.wall {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.5rem 0 2.5rem;
}

.fan {
  position: relative;
  height: min(64vh, 620px);
  margin-top: 3.2rem;
}

.poster {
  position: absolute;
  top: 0;
  width: 58%;
  height: 100%;
  border-radius: 1.4rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transition: transform 500ms var(--ease-mass);
}

.fri { left: 0; z-index: 1; transform: rotate(-6deg); }
.sat { left: 21%; z-index: 3; transform: rotate(0deg); }
.sun { left: 40%; z-index: 2; transform: rotate(6deg); }

.poster img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: top center;
}

.poster h2 {
  position: absolute;
  top: -0.72em;
  left: 0.15em;
  z-index: 2;
  color: var(--color-oro);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.8;
  text-shadow: 0 10px 24px #000;
}

.bill {
  padding: 1.4rem 1.25rem 0.4rem;
  color: rgba(244, 236, 220, 0.78);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

.bill span {
  margin-right: 0.35rem;
  color: var(--color-oro);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 2px solid var(--color-oro);
  padding: 0.35rem 0.55rem;
  color: var(--color-oro);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  transform: rotate(8deg);
}

.when {
  color: var(--color-oro);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.solo {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  margin: 2rem 0 0;
  padding: 4rem 1.25rem;
  background:
    radial-gradient(40rem 24rem at 50% 40%, rgba(206, 17, 38, 0.35), transparent 62%),
    #060607;
}

.solo .num {
  position: absolute;
  font-size: clamp(8rem, 32vw, 24rem);
  line-height: 0.75;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(252, 209, 22, 0.72);
}

.solo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 14ch;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.solo h2 {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.88;
}

.solo-copy > p:last-of-type {
  max-width: 24ch;
  border-radius: 1rem;
  background: rgba(6, 6, 7, 0.82);
  padding: 0.7rem 1rem;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(244, 236, 220, 0.92);
}

.club-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 2rem 1.25rem 3rem;
  color: rgba(244, 236, 220, 0.7);
  font-size: 0.95rem;
}

.club-foot a {
  color: var(--color-oro);
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(206, 17, 38, 0); }
}

@keyframes rail {
  to { transform: translateX(-50%); }
}

@media (max-width: 899px) {
  .wall {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 6rem;
  }

  .fan {
    display: flex;
    height: auto;
    margin-top: 0;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    padding: 4rem 1.25rem 0.25rem;
    scrollbar-width: none;
  }

  .fan::-webkit-scrollbar {
    display: none;
  }

  .poster {
    position: relative;
    left: auto;
    flex: 0 0 84%;
    width: 84%;
    height: min(70vh, 540px);
    transform: none;
    scroll-snap-align: center;
  }
}

@media (min-width: 900px) {
  .club-foot {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .poster { width: 31%; }
  .fri { left: 4%; z-index: 1; }
  .sat { left: 34%; z-index: 2; }
  .sun { left: 64%; z-index: 3; }
  .bill { padding-inline: 8vw; font-size: 1.15rem; }
}

@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .poster {
    transition: transform 520ms var(--ease-mass), filter 520ms var(--ease-mass), box-shadow 520ms var(--ease-mass);
  }

  .fan:hover .fri { transform: rotate(-9deg) scale(0.92) translateY(1rem); filter: brightness(0.42); }
  .fan:hover .sat { transform: rotate(-2deg) scale(0.92) translateY(1rem); filter: brightness(0.42); }
  .fan:hover .sun { transform: rotate(9deg) scale(0.92) translateY(1rem); filter: brightness(0.42); }

  .fan:hover .poster:hover {
    z-index: 5;
    filter: none;
    box-shadow: 0 46px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(252, 209, 22, 0.55);
    transform: rotate(0deg) scale(1.1) translateY(-1.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tonight i,
  .rail-track {
    animation: none;
  }
}
