* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #000618;
  font-family: 'Jost', sans-serif;
  color: #ffffff;
  overflow-x: hidden;
}

#movie {
  display: flex;
  align-items: stretch;
  gap: 32px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: 15%;
  padding: 120px 60px;
}

#controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
}

/* --- левая колонка: назад сверху, постер, обновить снизу --- */
#back,
#refresh {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}

#back:hover,
#refresh:hover {
  color: #ffc84a;
}

#refresh:hover {
  transform: rotate(-30deg);
}

/* --- постер --- */
#poster-wrap {
  position: relative;
  width: 400px;
  height: 600px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.35),
    0 0 60px rgba(255, 255, 255, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.6);
}

#poster-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(24px) saturate(1.1);
  opacity: 0.75;
  pointer-events: none;
}

#poster {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  z-index: 1;
}

/* --- правая колонка: инфо + ссылки --- */
#info {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 4px;
}

#title-en {
  margin: 0;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ffc84a;
}

#title-original {
  margin: 4px 0 0 0;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.3;
  color: #ffc84a;
  opacity: 0.55;
}

#director {
  margin: 36px 0 0 0;
  font-weight: 300;
  font-size: 16px;
  opacity: 0.85;
}

#year {
  margin: 4px 0 0 0;
  font-weight: 300;
  font-size: 16px;
  opacity: 0.85;
}

/* ссылки прижаты к низу */
#links {
  margin-top: auto;
  display: flex;
  gap: 16px;
  padding-top: 32px;
}

#links a {
  color: #ffffff;
  display: inline-flex;
  opacity: 0.35;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

#links a:hover {
  color: #ffc84a;
  opacity: 1;
  transform: translateY(-3px);
}