:root {
  --black: #040404;
  --gold: rgba(245, 224, 171, 0.95);
  --gold-soft: rgba(245, 224, 171, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--black);
  color: #fff;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

.trailer-page {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 20px 12px 28px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at 24% 24%, rgba(239, 194, 96, 0.14), transparent 40%),
    radial-gradient(circle at 78% 70%, rgba(132, 152, 191, 0.14), transparent 46%),
    #020202;
}

.page-title {
  margin: 0;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.2rem, 6vw, 2.2rem);
  letter-spacing: 0.1em;
  color: rgba(247, 238, 217, 0.98);
}

.video-shell {
  width: 100%;
}

.video-frame {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(245, 224, 171, 0.32);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.58);
  background: #000;
}

.video-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.credits {
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 14px 14px 8px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(246, 240, 224, 0.95);
}

.credits h2 {
  margin: 0 0 8px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 236, 198, 0.98);
}

.credits p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.page-actions {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  background: rgba(12, 12, 12, 0.76);
  color: rgba(248, 238, 212, 0.98);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.action-button:hover {
  background: rgba(24, 24, 24, 0.92);
  border-color: rgba(255, 236, 189, 1);
  transform: translateY(-1px);
}

.action-button:focus-visible {
  outline: 2px solid rgba(255, 234, 184, 0.94);
  outline-offset: 2px;
}

.action-button-secondary {
  border-color: rgba(216, 226, 255, 0.6);
  color: rgba(228, 234, 250, 0.95);
}

@media (min-width: 800px) {
  .trailer-page {
    width: min(100%, 1120px);
    padding: 32px 24px 40px;
    gap: 24px;
  }

  .page-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
  }

  .credits {
    padding: 18px 20px 10px;
  }

  .credits h2 {
    font-size: 0.98rem;
  }

  .credits p {
    font-size: 0.95rem;
  }

  .page-actions {
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
    gap: 12px;
  }
}
