/* section: vr — "The Arcade". Two games, alternating media/copy rows.
   Kept under-lit on purpose: the trailer is a dark, high-contrast video and
   the section reads as a screen you're looking into. */

.section--vr {
  background: linear-gradient(to bottom, var(--navy-deep), var(--navy));
}

.arcade-row {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-top: clamp(34px, 5vw, 60px);
}

@media (min-width: 760px) {
  .arcade-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  /* Second row mirrors the first so the page doesn't march down one edge.
     The column ratio flips with it, so both games get the same size media. */
  .arcade-row--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .arcade-row--flip .arcade-media {
    order: 2;
  }
}

/* ---- media ---- */

.arcade-media {
  min-width: 0;
}

.arcade-video,
.arcade-shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--coal);
  box-shadow:
    inset 0 0 0 1px var(--gold-dim),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.arcade-video-el,
.arcade-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arcade-shot img {
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .arcade-shot:hover img {
    transform: scale(1.03);
  }
}

.arcade-shot:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

/* ---- play facade (injected by js/modules/arcade.js) ---- */

.arcade-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(7, 19, 33, 0.15), rgba(7, 19, 33, 0.72));
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arcade-play-icon {
  display: grid;
  place-items: center;
  width: clamp(58px, 9vw, 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.arcade-play-icon::after {
  content: '';
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--navy-deep);
  margin-left: 6px; /* optical centering of the triangle */
}

.arcade-play:hover .arcade-play-icon {
  background: var(--gold-bright);
}

@media (prefers-reduced-motion: no-preference) {
  .arcade-play:hover .arcade-play-icon {
    transform: scale(1.06);
  }
}

.arcade-play:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: -6px;
}

.arcade-play-time {
  color: var(--gold);
}

/* ---- copy ---- */

.arcade-copy {
  min-width: 0;
}

.arcade-kicker {
  font-family: var(--utility);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.arcade-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin: 8px 0 14px;
}

.arcade-blurb {
  color: var(--paper-dim);
}

.arcade-cta {
  margin-top: 22px;
}

.arcade-note {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-dim);
  font-family: var(--utility);
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--paper-dim);
}

.arcade-secondary {
  margin-top: 18px;
  font-family: var(--utility);
  font-size: 0.88rem;
  color: rgba(244, 239, 230, 0.55);
}

.arcade-secondary a {
  color: var(--gold);
}
