html,
body {
  -webkit-font-smoothing: antialiased;
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Arial, 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 #1d1d1d;
  display: flex;
  height: 55px;
  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: 30px;
  width: auto;
}

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

.join-link {
  background: #fff;
  border-radius: 2px;
  color: #000;
  padding: 12px 18px;
}

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

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

.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 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px;
}

.cover-card {
  aspect-ratio: 2 / 3;
  background: #080808;
  display: block;
  overflow: hidden;
  position: relative;
}

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

.gallery-grid {
  display: grid;
  gap: 6px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1980px;
  padding: 6px;
}

.tile {
  aspect-ratio: 16 / 9;
  background: #080808;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.tile.tall {
  aspect-ratio: 0.72 / 1;
  grid-row: span 2;
}

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

.tile img,
.tile video,
.cover-card 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 video,
.hero-link:focus-visible video {
  filter: brightness(0.82);
  transform: scale(1.02);
}

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

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

.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.8);
  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;
  text-align: center;
}

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

.gate-panel {
  background: rgba(0, 0, 0, 0.7);
  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;
}

.gate-button {
  background: transparent;
  border: 5px solid #fff;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  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: #01f4e0;
}

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

.page-footer {
  background: #000;
}

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

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

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

  .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: 18px;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

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

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

  .cover-strip {
    display: flex;
    gap: 8px;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px;
  }

  .tile {
    margin: 0;
  }

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