@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #080808;
  --panel: #111111;
  --panel2: #171717;
  --text: #f3f3f3;
  --muted: #9b9b9b;
  --line: #282828;
  --accent: #d9d9d9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 5%, #242424 0, transparent 30%),
    radial-gradient(circle at 10% 35%, #151515 0, transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7vw;
  border-bottom: 1px solid var(--line);
  letter-spacing: .12em;
}
.brand { font: 700 24px "Space Grotesk"; }
.brand span { color: #777; }
.nav-sub { color: #777; font-size: 11px; }

main { width: min(1120px, 88vw); margin: auto; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 70px;
  align-items: center;
  padding: 75px 0;
}

.poster-wrap { text-align: center; }
.poster-placeholder {
  aspect-ratio: 2 / 3;
  border: 1px solid #353535;
  background:
    linear-gradient(145deg, #242424, #090909 62%),
    #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px;
  box-shadow: 0 25px 80px #000;
  overflow: hidden;
}
.poster-title {
  font: 800 50px "Space Grotesk";
  letter-spacing: .15em;
}
.poster-sub { font-size: 11px; letter-spacing: .35em; color: #aaa; }
.poster-six {
  font: 800 190px "Space Grotesk";
  line-height: .7;
  color: #2e2e2e;
  align-self: center;
}
.poster-note { font-size: 8px; letter-spacing: .2em; color: #777; }
.poster-tip { font-size: 10px; color: #555; }

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  color: #777;
  margin: 0 0 15px;
}
h1 {
  font: 700 clamp(38px, 6vw, 76px) "Space Grotesk";
  line-height: .98;
  margin: 0;
  letter-spacing: -.05em;
}
h1 span { color: #777; }
.description {
  max-width: 600px;
  color: #aaa;
  line-height: 1.8;
  margin: 28px 0;
}
.meta { display: flex; flex-wrap: wrap; gap: 9px; }
.meta span {
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 11px;
  color: #aaa;
}
.trailer-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 19px;
  border: 1px solid #555;
  color: white;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .12em;
}
.trailer-btn:hover { background: white; color: black; }

.score-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 65px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
}
.score-card { text-align: center; }
.score-number { font: 700 100px "Space Grotesk"; letter-spacing: -.08em; }
.score-stars { letter-spacing: 3px; font-size: 17px; margin: 8px 0; }
.score-label { font-size: 10px; letter-spacing: .2em; color: #777; }
.vote-count { margin-top: 10px; color: #aaa; font-size: 12px; }

.distribution { display: grid; gap: 9px; }
.dist-row {
  display: grid;
  grid-template-columns: 28px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #aaa;
}
.bar { height: 7px; background: #242424; overflow: hidden; }
.bar > div { height: 100%; background: #d8d8d8; width: 0; transition: width .5s ease; }

.rate-section, .review-section, .reviews-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--line);
}
h2 {
  font: 600 34px "Space Grotesk";
  margin: 0 0 28px;
}
.rating-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-btn {
  width: 49px; height: 49px;
  border: 1px solid #333;
  background: #111;
  color: #aaa;
  cursor: pointer;
  font-weight: 700;
}
.rating-btn:hover, .rating-btn.active { background: white; color: black; border-color: white; }
.selected { height: 35px; color: #888; font-size: 12px; padding-top: 13px; }
button#submitBtn {
  border: 0;
  padding: 15px 22px;
  background: white;
  color: black;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .08em;
}
button#submitBtn:disabled { opacity: .3; cursor: not-allowed; }
.status { color: #aaa; font-size: 12px; min-height: 18px; }

.review-section { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
textarea {
  width: 100%; min-height: 130px; resize: vertical;
  background: #0e0e0e; border: 1px solid #292929;
  color: white; padding: 16px; font: 14px Inter;
  outline: none;
}
textarea:focus { border-color: #666; }

.section-heading { display: flex; justify-content: space-between; align-items: end; }
.section-heading > span { color: #777; font-size: 11px; }
.reviews-list { display: grid; gap: 12px; }
.review {
  padding: 22px;
  border: 1px solid var(--line);
  background: #0d0d0d;
}
.review-top { display: flex; justify-content: space-between; }
.review-rating { font-weight: 800; }
.review-date { color: #666; font-size: 10px; }
.review p { color: #aaa; line-height: 1.6; margin: 13px 0 0; }
.empty { color: #555; font-size: 13px; padding: 25px 0; }

footer {
  padding: 45px 7vw;
  display: flex;
  justify-content: space-between;
  color: #555;
  font-size: 10px;
  letter-spacing: .1em;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 35px; padding: 50px 0; }
  .poster-wrap { width: min(260px, 70vw); margin: auto; }
  .score-section { grid-template-columns: 1fr; gap: 40px; }
  .review-section { grid-template-columns: 1fr; gap: 25px; }
  footer { flex-direction: column; gap: 10px; }
}
