/* The front door: a club poster in its own quiet layer, before the live street. */
.entry-screen {
  --entry-white: #f3f0e9;
  display: block;
  overflow: auto;
  overscroll-behavior: contain;
  background: #08090d;
  color: var(--entry-white);
  font: 400 12px/1.5 var(--text);
  letter-spacing: normal;
  text-transform: none;
  isolation: isolate;
}
.entry-screen__atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 23% 65%, #11363d55, transparent 46%),
    radial-gradient(ellipse at 78% 55%, #40113255, transparent 44%),
    linear-gradient(#08090d 20%, #0d0b1580 65%, #08090d);
}
.entry-screen__atmosphere::before {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  background:
    linear-gradient(#08090d, #08090d33 55%, #08090d 100%),
    url("/img/crowd-poster.webp") center 60% / cover;
  opacity: 0.21;
  filter: grayscale(1);
  mask-image: linear-gradient(transparent, #000 60%);
}
.entry-screen__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.entry-screen__lights {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.entry-screen__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(28px, env(safe-area-inset-top)) clamp(24px, 4.5vw, 72px)
    max(28px, env(safe-area-inset-bottom));
}
.entry-screen__top,
.entry-screen__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 400 10px/1.8 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.entry-screen__top {
  padding-bottom: 20px;
  border-bottom: 1px solid #e7e4ee20;
  color: #b6b4c0;
}
.entry-screen__location {
  display: flex;
  align-items: center;
  gap: 10px;
}
.entry-screen__location > span {
  width: 5px;
  height: 5px;
  background: #a8e4df;
  border-radius: 50%;
  box-shadow: 0 0 12px #5fd7d87a;
}
.entry-screen__centre {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 0 45px;
  text-align: center;
}
.entry-screen__eyebrow {
  margin: 0 0 24px;
  color: #b3afbd;
  font: 400 10px/1.5 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.entry-screen__mark {
  width: clamp(130px, 15vw, 210px);
  height: auto;
  margin: 0 0 24px;
  filter: drop-shadow(-10px 0 35px #00e5ff1f) drop-shadow(10px 0 35px #ff2ca82b);
}
.entry-screen__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
}
.entry-screen__city {
  font: 500 clamp(13px, 1.4vw, 18px) / 1 var(--head);
  letter-spacing: 0.75em;
  padding-left: 0.75em;
  margin-bottom: 12px;
  color: #d4c9e2;
}
.entry-screen__word {
  position: relative;
  font:
    400 clamp(52px, 10.8vw, 154px) / 1.12 "Rubik Glitch",
    var(--display);
  letter-spacing: -0.025em;
  text-shadow:
    -3px 0 #00e5ff9c,
    3px 0 #ff2ca894;
  filter: drop-shadow(0 0 18px #a369ff32);
  animation: entry-neon-buzz 3.5s linear infinite;
}
.entry-screen__letter {
  display: inline-block;
  animation: entry-neon-letter 28s linear infinite;
  animation-delay: var(--neon-delay);
}
/* Like the sign above the door: a quiet electrical buzz, and one tube dips
   briefly every four seconds. The rest of the word stays fully legible. */
@keyframes entry-neon-buzz {
  0%,
  100% {
    opacity: 1;
  }
  20% {
    opacity: 0.96;
  }
  42% {
    opacity: 1;
  }
  55% {
    opacity: 0.94;
  }
  73% {
    opacity: 0.99;
  }
  86% {
    opacity: 0.96;
  }
}
@keyframes entry-neon-letter {
  0%,
  .8%,
  100% {
    opacity: 1;
    text-shadow: inherit;
  }
  .3% {
    opacity: 0.28;
    text-shadow: none;
  }
}
.entry-screen.is-done .entry-screen__word,
.entry-screen.is-done .entry-screen__letter {
  animation-play-state: paused;
}
.entry-screen__description {
  margin: 22px 0 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #b6b2c2;
}
.entry-screen__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.4s;
}
.is-ready .entry-screen__actions {
  opacity: 1;
  pointer-events: auto;
}
.entry-screen__enter {
  min-height: 58px;
  width: 268px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--entry-white);
  color: #121119;
  border: 1px solid var(--entry-white);
  border-radius: 3px;
  font: 700 12px/1 var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.entry-screen__enter > span:last-child {
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.entry-screen__enter:hover {
  background: #fff;
  box-shadow:
    -5px 0 24px #00e5ff1a,
    5px 0 24px #ff2ca81a;
}
.entry-screen__enter:hover > span:last-child {
  transform: translate(2px, -2px);
}
.entry-screen__sound {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 15px 0 0;
  color: #a9a5b4;
  font-size: 11px;
}
.entry-screen__sound svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.entry-screen__silent {
  min-height: 44px;
  margin-top: 3px;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  color: #b6b2c1;
  font-size: 11px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.entry-screen__silent:hover {
  color: #fff;
  text-decoration: underline;
}
.entry-screen__status {
  position: absolute;
  bottom: 16px;
  margin: 0;
  color: #b6b2c1;
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.entry-screen__bottom {
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid #e7e4ee20;
}
.entry-screen__muted {
  color: #8f8a9c;
}
.entry-screen__edition {
  text-align: right;
}
.entry-screen__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aba6b8;
}
.entry-screen__scroll > span {
  font-size: 20px;
}
html.entry-open {
  overflow: hidden;
}
/* Keep the front door available even if the 3D world cannot start. */
.no-gl .entry-screen {
  display: block;
}
@media (max-width: 699px) {
  .entry-screen__frame {
    padding: max(22px, env(safe-area-inset-top)) 24px
      max(22px, env(safe-area-inset-bottom));
  }
  .entry-screen__top {
    font-size: 10px;
    letter-spacing: 0.04em;
    padding-bottom: 16px;
  }
  .entry-screen__top > :last-child {
    display: none;
  }
  .entry-screen__centre {
    padding: 38px 0;
  }
  .entry-screen__eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
    margin-bottom: 32px;
  }
  .entry-screen__mark {
    width: 154px;
    margin-bottom: 28px;
  }
  .entry-screen__word {
    font-size: clamp(44px, 12.4vw, 86px);
    text-shadow:
      -2px 0 #00e5ff9c,
      2px 0 #ff2ca894;
  }
  .entry-screen__city {
    font-size: 12px;
    margin-bottom: 15px;
  }
  .entry-screen__description {
    font-size: 12px;
    margin: 24px 0 32px;
  }
  .entry-screen__enter {
    width: 250px;
    min-height: 56px;
  }
  .entry-screen__bottom {
    font-size: 10px;
    letter-spacing: 0;
    padding-top: 16px;
  }
  .entry-screen__edition-title {
    display: none;
  }
  .entry-screen__scroll {
    display: none;
  }
}
@media (max-height: 740px) {
  .entry-screen__centre {
    padding-block: 24px;
  }
  .entry-screen__eyebrow {
    margin-bottom: 16px;
  }
  .entry-screen__mark {
    width: 125px;
    margin-bottom: 18px;
  }
  .entry-screen__word {
    font-size: clamp(44px, 10vw, 100px);
  }
  .entry-screen__description {
    margin-block: 16px 22px;
  }
}
@media (max-height: 540px) and (min-width: 700px) {
  .entry-screen__frame {
    padding-block: 16px;
  }
  .entry-screen__centre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    padding: 22px 0;
  }
  .entry-screen__eyebrow,
  .entry-screen__mark {
    display: none;
  }
  .entry-screen__brand {
    grid-area: 1 / 1;
    align-self: end;
  }
  .entry-screen__description {
    grid-area: 2 / 1;
    align-self: start;
  }
  .entry-screen__actions {
    grid-area: 1 / 2 / 3;
  }
  .entry-screen__word {
    font-size: 72px;
  }
  .entry-screen__description {
    margin-block: 10px 16px;
    font-size: 12px;
  }
}
@media (max-height: 620px) and (max-width: 699px) {
  .entry-screen__frame {
    padding-block: 16px;
  }
  .entry-screen__centre {
    padding-block: 18px;
  }
  .entry-screen__eyebrow {
    margin-bottom: 12px;
  }
  .entry-screen__mark {
    width: 104px;
    margin-bottom: 16px;
  }
  .entry-screen__description {
    margin-block: 14px 18px;
  }
  .entry-screen__enter {
    min-height: 50px;
  }
  .entry-screen__bottom {
    padding-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-screen,
  .entry-screen * {
    transition: none;
    animation: none;
  }
}
