.site-nav a[aria-current="page"] {
  color: var(--stellar-gold-bright);
}

.games-section {
  overflow: hidden;
  padding: clamp(5rem, 7vw, 7rem) 0;
}

.games-heading-compact {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.games-heading-copy {
  display: grid;
  justify-items: start;
  gap: 1.4rem;
}

.game-showcase {
  position: relative;
  isolation: isolate;
}

.game-showcase-viewport {
  position: relative;
  height: clamp(340px, 31vw, 390px);
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.game-showcase-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.game-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(720px, 64vw);
  height: clamp(310px, 29vw, 350px);
  overflow: hidden;
  border: 1px solid rgba(242, 242, 244, 0.24);
  border-radius: 4px;
  background: var(--deep-space-blue);
  grid-template-columns: 1fr 0.95fr;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    transform 620ms var(--ease),
    opacity 420ms ease,
    border-color 220ms ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.game-slide[data-position="0"] {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotateY(0deg) scale(1);
}

.game-slide[data-position="-1"] {
  z-index: 1;
  opacity: 0.3;
  transform: translate(-132%, -50%) rotateY(28deg) scale(0.8);
}

.game-slide[data-position="1"] {
  z-index: 1;
  opacity: 0.3;
  transform: translate(32%, -50%) rotateY(-28deg) scale(0.8);
}

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

.game-slide-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  border-left: 1px solid var(--line-light);
}

.game-slide-label {
  margin-bottom: 2.2rem;
  color: var(--stellar-gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-slide h3 {
  margin: 0;
  color: var(--soft-white);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.game-slide p {
  margin: 1rem 0 1.6rem;
  color: var(--muted-light);
  font-size: 0.82rem;
  line-height: 1.7;
}

.carousel-control {
  position: absolute;
  top: calc(50% - 1.35rem);
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  color: var(--stellar-gold-bright);
  border: 1px solid var(--stellar-gold);
  border-radius: 2px;
  background: var(--midnight-navy);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.carousel-control:hover {
  color: var(--midnight-navy);
  background: var(--stellar-gold);
}

.carousel-control span {
  font-size: 1.25rem;
  line-height: 1;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-meta {
  display: flex;
  width: min(720px, 64vw);
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line-light);
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.carousel-indicators button {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-indicators button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  content: "";
  background: rgba(242, 242, 244, 0.32);
  transform: translate(-50%, -50%);
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.carousel-indicators button[aria-current="true"]::after {
  width: 28px;
  background: var(--stellar-gold);
}

.carousel-counter {
  color: rgba(242, 242, 244, 0.58);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.catalog-hero {
  display: flex;
  min-height: 470px;
  align-items: end;
  color: var(--soft-white);
  background: var(--deep-space-blue);
}

.catalog-hero-inner {
  padding-top: 10rem;
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.catalog-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.catalog-hero p:last-child {
  max-width: 650px;
  margin: 1.7rem 0 0;
  color: var(--muted-light);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.catalog-section {
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
}

.catalog-heading {
  display: grid;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
}

.catalog-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.94rem;
  line-height: 1.8;
}

.game-catalog-grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-catalog-card {
  overflow: hidden;
  scroll-margin-top: 110px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: #ffffff;
}

.game-catalog-card:target {
  border-color: #81511d;
}

.game-catalog-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-catalog-card-copy {
  min-height: 126px;
  padding: 1.45rem 1.55rem 1.65rem;
  border-top: 1px solid var(--line-dark);
}

.game-catalog-card-copy span {
  display: block;
  margin-bottom: 0.85rem;
  color: #81511d;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.game-catalog-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.catalog-information {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.catalog-information p {
  max-width: 710px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
  line-height: 1.75;
}

.catalog-information p a {
  color: #81511d;
  font-weight: 600;
}

.catalog-information .brand-button {
  flex: 0 0 auto;
}

.catalog-privacy {
  padding: clamp(5.5rem, 9vw, 8rem) 0;
}

.catalog-privacy-inner {
  display: grid;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
}

.catalog-privacy-inner > div:last-child > p {
  max-width: 540px;
  margin: 0 0 1.6rem;
  color: var(--muted-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .game-slide {
    width: min(680px, 70vw);
  }

  .carousel-meta {
    width: min(680px, 70vw);
  }

  .catalog-heading,
  .catalog-privacy-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .game-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .games-section {
    padding: 4.5rem 0;
  }

  .games-heading-copy {
    gap: 1.1rem;
  }

  .game-showcase-viewport {
    height: 500px;
  }

  .game-slide {
    width: min(82vw, 360px);
    height: 465px;
    grid-template-columns: 1fr;
    grid-template-rows: 56% 44%;
  }

  .game-slide[data-position="-1"] {
    transform: translate(-132%, -50%) rotateY(24deg) scale(0.78);
  }

  .game-slide[data-position="1"] {
    transform: translate(32%, -50%) rotateY(-24deg) scale(0.78);
  }

  .game-slide-copy {
    padding: 1.35rem 1.5rem 1.45rem;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .game-slide-label {
    margin-bottom: 0.75rem;
  }

  .game-slide h3 {
    font-size: 1.7rem;
  }

  .game-slide p {
    margin: 0.55rem 0 0.85rem;
    font-size: 0.75rem;
  }

  .game-slide .text-link {
    font-size: 0.72rem;
  }

  .carousel-control {
    top: 250px;
    width: 44px;
    height: 44px;
  }

  .carousel-meta {
    width: min(82vw, 360px);
  }

  .catalog-hero {
    min-height: 420px;
  }

  .catalog-hero-inner {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .game-catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-information {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-information .brand-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .carousel-control-prev {
    left: -0.35rem;
  }

  .carousel-control-next {
    right: -0.35rem;
  }
}


/* Release 6: compact square game catalog. */
.catalog-section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.game-catalog-grid {
  gap: clamp(1rem, 2.2vw, 1.8rem);
  margin-top: clamp(2.75rem, 5vw, 4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-catalog-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--midnight-navy);
}

.game-catalog-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.game-catalog-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(1, 11, 26, 0.18) 58%, rgba(1, 11, 26, 0.94) 100%);
}

.game-catalog-card:hover img {
  transform: scale(1.025);
}

.game-catalog-card-copy {
  position: absolute;
  inset: auto 0 0;
  min-height: 0;
  padding: 1.35rem 1.45rem 1.55rem;
  border-top: 0;
}

.game-catalog-card-copy span {
  margin-bottom: 0.65rem;
  color: var(--warm-gold);
}

.game-catalog-card h3 {
  color: var(--soft-white);
}

@media (max-width: 840px) {
  .game-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .game-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-catalog-card img {
    transition: none;
  }
}