:root {
  --ink: #090b08;
  --ink-2: #12160f;
  --square: #1b2216;
  --ivory: #f3ecdf;
  --muted: #b7ad9c;
  --gold: #d7b56a;
  --gold-deep: #8d6a2e;
  --line: rgba(215, 181, 106, 0.35);
  --serif: "New Rocker", Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(215, 181, 106, 0.14), transparent 55%),
    radial-gradient(900px 600px at -10% 90%, rgba(70, 90, 48, 0.2), transparent 50%),
    var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
}

a {
  color: inherit;
}

.rank {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 2.4rem;
  padding: 5rem 0;
  border-right: 1px solid var(--line);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 2.4rem;
  padding: 1.1rem 6vw;
  background: rgba(9, 11, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215, 181, 106, 0.16);
}

.mark {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.byline {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}

main {
  margin-left: 2.4rem;
  padding: 0 6vw 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 2.5rem 0 3rem;
}

.hero-trailer .frame {
  margin-top: 0;
  max-width: none;
}

.portrait {
  display: flex;
  justify-content: center;
}

.hero-art {
  width: min(100%, 420px);
  max-height: min(78vh, 640px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 11vw, 7.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.pitch {
  margin: 1.4rem 0 0.6rem;
  max-width: 36rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
}

.lead {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.steam {
  color: #1a1408;
  background: linear-gradient(180deg, #f0d48a, var(--gold) 45%, #b8893d);
  box-shadow: 0 10px 30px rgba(215, 181, 106, 0.18);
}

.steam:hover,
.steam:focus-visible {
  filter: brightness(1.08);
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
}

.frame {
  margin-top: 1.6rem;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050605;
}

.frame iframe,
.poster {
  width: 100%;
  height: 100%;
  border: 0;
}

.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ivory);
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(9, 11, 8, 0.15), rgba(9, 11, 8, 0.72)),
    url("https://i.ytimg.com/vi/xvCTxyFniPQ/hqdefault.jpg") center / cover no-repeat;
}

.poster:hover .play,
.poster:focus-visible .play {
  transform: scale(1.06);
  background: var(--gold);
}

.play {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  background: rgba(243, 236, 223, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 160ms ease, background 160ms ease;
}

.play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 1.55rem 0 0 1.85rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.15rem solid #1a1408;
}

.poster-label {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  margin-left: 2.4rem;
  padding: 1.3rem 6vw 1.8rem;
  border-top: 1px solid rgba(215, 181, 106, 0.16);
  color: var(--muted);
  font-size: 0.88rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .rank {
    display: none;
  }

  .top,
  main,
  footer {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.2rem;
  }

  .hero-art {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .play {
    transition: none;
  }
}
