:root {
  --bg: #0b0a0a;
  --surface: #171515;
  --text: #f5f1ea;
  --muted: #b5ada2;
  --line: #2a2626;
  --wa: #1fa855;
  --accent: #d4a24c;
  --poster-a: #3a2a14;
  --poster-b: #0b0a0a;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 6px 12px;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

/* Poster */
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 20%, var(--poster-a), var(--poster-b) 70%);
}

.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}

.poster-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}

.genre {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.05;
  margin: 0;
}

.tagline {
  margin: 18px 0 22px;
  font-size: 18px;
  color: var(--text);
}

/* Trailer */
.trailer {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 72vh;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.trailer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.trailer-missing {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
}

.trailer.is-missing video { display: none; }
.trailer.is-missing .trailer-missing { display: flex; }

.data-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Call to action */
.cta {
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.cta p {
  margin: 0 0 18px;
  color: var(--muted);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  border: 0;
}

.btn-wa:active { transform: translateY(1px); }

.btn-wa.is-disabled {
  opacity: 0.55;
  cursor: default;
}

.btn-share {
  margin-top: 12px;
  background: none;
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  min-height: 46px;
}

.fine {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

footer {
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

footer a { color: var(--muted); }
