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;
}

body.is-locked {
  overflow: hidden;
}

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 #1e1e1e;
  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 {
  background: #e4212c;
  border-radius: 2px;
  color: #fff;
  padding: 13px 18px;
}

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

.hero-band {
  aspect-ratio: 1920 / 700;
  background: #050505;
  overflow: hidden;
  width: 100%;
}

.footer-hero {
  aspect-ratio: 1920 / 400;
}

.hero-link {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.cover-strip,
.video-grid {
  display: grid;
  gap: 6px;
  margin: 0 auto;
  max-width: 1980px;
  padding: 6px;
}

.cover-strip {
  --cover-gap: 6px;
  display: block;
  overflow: hidden;
}

.cover-track {
  animation: coverCarousel 36s linear infinite;
  display: flex;
  gap: var(--cover-gap);
  width: max-content;
}

.cover-strip:hover .cover-track,
.cover-strip:focus-within .cover-track {
  animation-play-state: paused;
}

.cover-card {
  aspect-ratio: 2 / 3;
  background: #090909;
  display: block;
  flex: 0 0 clamp(150px, 13.4vw, 230px);
  overflow: hidden;
  position: relative;
}

@keyframes coverCarousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--cover-gap) / 2)));
  }
}

.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.poster-tile {
  aspect-ratio: 240 / 418;
}

.brand-tile {
  aspect-ratio: 1;
}

.tile::after,
.cover-card::after,
.hero-link::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,
.cover-card:hover::after,
.cover-card:focus-visible::after,
.hero-link:hover::after,
.hero-link:focus-visible::after {
  opacity: 0.88;
}

.tile img,
.tile video,
.cover-card img,
.hero-link img,
.hero-link video {
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
  width: 100%;
}

.tile:hover img,
.tile:hover video,
.tile:focus-visible img,
.tile:focus-visible video,
.cover-card:hover img,
.cover-card:focus-visible img,
.hero-link:hover img,
.hero-link:hover video,
.hero-link:focus-visible img,
.hero-link: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 {
  color: #fff;
}

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

.legal-footer {
  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-overlay {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 0, 0.82);
  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: 18px;
  line-height: 1.35;
  margin: 0;
  text-align: justify;
}

.gate-actions {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 20px 0;
  text-align: center;
}

.gate-button {
  background: transparent;
  border: 5px solid #fff;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 15px;
  text-transform: uppercase;
}

.gate-button:hover,
.gate-button:focus-visible {
  background: #fff;
  color: #000;
}

.exit-button {
  margin-right: 5%;
  padding-left: 8%;
  padding-right: 8%;
}

.enter-button {
  padding-left: 4%;
  padding-right: 4%;
}

.terms-title {
  border-bottom: 1px solid #c9c9c9;
  margin-bottom: 10px;
  padding: 0 0 15px;
}

.terms-scroll {
  flex: 1 1 150px;
  margin: 0 0 10px;
  min-height: 150px;
  overflow: auto;
  padding: 0 20px;
  scrollbar-color: #fff rgba(0, 0, 0, 0.7);
}

.terms-scroll p {
  color: #c9c9c9;
  font-size: 18px;
  margin: 0;
}

.terms-intro {
  margin-bottom: 20px !important;
  text-align: center;
}

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

.terms-scroll li {
  color: #c9c9c9;
  list-style-type: disc;
}

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

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

.page-footer {
  background: #000;
}

@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 700px) {
  .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;
  }

  .cover-strip {
    --cover-gap: 8px;
    display: block;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
  }

  .cover-strip::-webkit-scrollbar {
    display: none;
  }

  .cover-card {
    flex: 0 0 52vw;
    max-width: 220px;
  }

  .cover-track {
    animation-duration: 28s;
  }

  .video-grid {
    grid-template-columns: 1fr;
    padding: 5px;
  }

  .gallery-grid {
    column-count: 1;
    display: block;
    padding: 4px 6px;
  }

  .tile {
    display: block;
    margin-bottom: 6px;
  }

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

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

  .gate-panel {
    padding: 10px;
  }

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

  .gate-panel p,
  .terms-scroll p,
  .terms-title h2 {
    font-size: 15px;
  }

  .gate-actions {
    margin: 20px 0 10px;
  }

  .gate-button {
    font-size: 18px;
  }
}
