html,
body {
  -webkit-font-smoothing: antialiased;
  background: #000;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  margin: 0;
  min-height: 100%;
  padding: 0;
  width: 100%;
}

* {
  box-sizing: border-box;
}

img,
video {
  border: 0;
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: #000;
  border-bottom: 1px solid #20191a;
  display: flex;
  height: 58px;
  justify-content: space-between;
  left: 0;
  padding: 0 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  height: 100%;
}

.brand img {
  height: 38px;
  width: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.join-link,
.hero-cta {
  background: #d61f2b;
  border-radius: 2px;
  color: #fff;
}

.join-link {
  padding: 13px 18px;
}

.gallery-shell {
  padding-top: 64px;
}

.promo-slider {
  aspect-ratio: 3700 / 1348;
  background: #050505;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-frame {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

.slide {
  display: block;
  inset: 0;
  opacity: 0;
  position: absolute;
  z-index: 0;
  animation: sliderFade 20s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 5s;
}

.slide:nth-child(3) {
  animation-delay: 10s;
}

.slide:nth-child(4) {
  animation-delay: 15s;
}

.slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@keyframes sliderFade {
  0%,
  20% {
    opacity: 1;
    z-index: 1;
  }

  25%,
  95% {
    opacity: 0;
    z-index: 0;
  }

  100% {
    opacity: 1;
    z-index: 1;
  }
}

.hero-video {
  aspect-ratio: 16 / 9;
  background: #050505;
  display: block;
  max-height: 720px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-video::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 54%, rgba(0, 0, 0, 0.62));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-video video,
.tile video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-logo {
  left: 34px;
  max-width: min(420px, 58vw);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-logo img {
  width: 100%;
}

.hero-cta {
  bottom: 30px;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  padding: 14px 18px;
  position: absolute;
  right: 30px;
  text-transform: uppercase;
  z-index: 2;
}

.gallery-grid {
  column-count: 4;
  column-gap: 6px;
  display: block;
  margin: 0 auto;
  max-width: 1980px;
  padding: 6px;
}

.tile {
  background: #090909;
  break-inside: avoid;
  cursor: pointer;
  display: block;
  margin: 0 0 6px;
  overflow: hidden;
  position: relative;
}

.landscape-tile {
  aspect-ratio: 16 / 9;
}

.portrait-tile {
  aspect-ratio: 3 / 4;
}

.tile::after {
  border-bottom: 22px solid transparent;
  border-left: 34px solid rgba(255, 255, 255, 0.92);
  border-top: 22px solid transparent;
  content: "";
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-38%, -50%);
  transition: opacity 160ms ease;
  z-index: 2;
}

.tile:hover::after,
.tile:focus-visible::after {
  opacity: 0.88;
}

.tile video {
  transition: filter 180ms ease, transform 180ms ease;
}

.tile:hover video,
.tile:focus-visible video {
  filter: brightness(0.78);
  transform: scale(1.025);
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
  padding: 20px 10px 12px;
}

.pagination a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  padding: 10px 8px;
}

.pagination a:hover,
.footer-links a:hover,
.legal-footer a:hover {
  color: #ff4c58;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 20px;
  justify-content: center;
  padding: 4px 20px 22px;
}

.legal-footer {
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 20px;
  text-align: center;
}

.legal-footer p {
  margin: 0 0 4px;
}

.legal-footer a {
  font-weight: 700;
}

.badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 15px;
}

.badges img {
  height: 25px;
  object-fit: contain;
  width: auto;
}

.badges a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 25px;
  justify-content: center;
  min-width: 52px;
  padding: 0 7px;
}

.age-toggle {
  opacity: 0;
  pointer-events: none;
  position: fixed;
}

.age-toggle:checked + .age-overlay {
  display: none;
}

.age-overlay {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.86);
  display: flex;
  flex-direction: column;
  inset: 0;
  overflow: auto;
  position: fixed;
  z-index: 2147483646;
}

.age-card {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  margin: 0 auto;
  max-width: 560px;
  padding: 0 30px;
  width: 100%;
}

.gate-logo {
  padding: 20px 0;
}

.gate-logo img {
  margin: 0 auto;
  max-width: 230px;
}

.gate-panel {
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid #3a3031;
  padding: 30px;
}

.gate-panel h2,
.terms-title h2 {
  color: #c9c9c9;
  font-size: 18px;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.gate-panel h2 {
  margin-bottom: 30px;
  padding: 0 30px;
}

.gate-panel p {
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  text-align: center;
}

.gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 18px 0 22px;
}

.gate-button {
  border: 0;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-width: 142px;
  padding: 13px 18px;
  text-transform: uppercase;
}

.exit-button {
  background: #2a2a2a;
}

.enter-button {
  background: #d61f2b;
}

.terms-title {
  padding: 2px 0 12px;
}

.terms-scroll {
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.42;
  margin-bottom: 20px;
  max-height: 215px;
  overflow: auto;
  padding-right: 10px;
}

.terms-scroll p {
  margin: 0 0 8px;
}

.terms-scroll ul {
  margin: 0;
  padding-left: 20px;
}

.terms-scroll a {
  color: #ff4c58;
}

.overlay-footer {
  color: #c9c9c9;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding: 10px 0 0;
    position: relative;
  }

  .brand {
    height: 42px;
    justify-content: center;
    width: 100%;
  }

  .brand img {
    height: 34px;
    max-width: 88%;
  }

  .header-actions {
    align-items: stretch;
    border-top: 1px solid #1d1d1d;
    display: flex;
    gap: 0;
    width: 100%;
  }

  .login-link,
  .join-link {
    align-items: center;
    display: flex;
    flex: 1 1 50%;
    font-size: 17px;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  .join-link {
    border-radius: 0;
    padding: 3px;
  }

  .gallery-shell {
    padding-top: 0;
  }

  .hero-video {
    max-height: none;
  }

  .hero-logo {
    left: 16px;
    max-width: 56vw;
  }

  .hero-cta {
    bottom: 14px;
    font-size: 13px;
    padding: 10px 12px;
    right: 14px;
  }

  .gallery-grid {
    column-count: 1;
    padding: 5px;
  }

  .tile {
    margin-bottom: 6px;
  }

  .age-card {
    padding: 0 16px;
  }

  .gate-logo {
    padding: 14px 0;
  }

  .gate-panel {
    padding: 22px 18px;
  }

  .gate-panel h2 {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0;
  }

  .gate-actions {
    flex-direction: column;
  }

  .gate-button {
    width: 100%;
  }
}
