.film { padding: clamp(48px, 36px + 2vw, 88px) 0; background: #fff; }

.film__stage { position: relative; }

.film__box {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background-color: var(--pg-dark-2, #151a37);
  background-image: var(--film-cover);
  background-size: cover;
  background-position: center;
  transition: aspect-ratio .4s ease;
}

.film__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(260deg, rgba(6, 10, 26, .7) 0%, rgba(6, 10, 26, .26) 46%, transparent 100%),
    linear-gradient(180deg, rgba(6, 10, 26, .24) 0%, transparent 38%);
  transition: opacity .35s;
}


.film__content {
  position: absolute;
  right: clamp(28px, 20px + 1.6vw, 56px);
  bottom: clamp(28px, 20px + 1.6vw, 56px);
  z-index: 2;
  max-width: 520px;
  padding-bottom: 44px;
  text-align: right;
  color: #fff;
  transition: opacity .35s;
}

.film__eyebrow {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: GothamPro-Medium;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-gold-light, #d8bd88);
}

.film__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(270deg, #ac8f55, transparent);
}

.film__title {
  margin: 0;
  font-family: GothamPro-Bold;
  font-size: clamp(28px, 20px + 2.2vw, 56px);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}

.film__lead {
  margin: 18px 0 0;
  font-size: clamp(15px, 14px + .3vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}


.film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 44px + 2.2vw, 84px);
  height: clamp(58px, 44px + 2.2vw, 84px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, .3),
    inset 1px 1px 1px rgba(255, 255, 255, .55);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background .3s, border-color .3s, box-shadow .3s, opacity .35s;
}

.film__play:hover {
  background: rgba(255, 255, 255, .3);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .4), inset 1px 1px 1px rgba(255, 255, 255, .7);
}

.film__play svg {
  width: 34%;
  height: 34%;
  margin-left: 8%;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}

.film__play:hover svg { transform: scale(1.12); }

.film__play-ring,
.film__play::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  pointer-events: none;
  animation: filmPulse 3s cubic-bezier(.2, .6, .3, 1) infinite;
}

.film__play::after { animation-delay: 1.5s; }

@keyframes filmPulse {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}


.film__time {
  position: absolute;
  right: clamp(18px, 12px + 1vw, 30px);
  bottom: clamp(18px, 12px + 1vw, 30px);
  z-index: 3;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .45);
  font-family: GothamPro-Medium;
  font-size: 13px;
  letter-spacing: .5px;
  color: #fff;
  transition: opacity .35s;
}


.film__media {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
  object-fit: contain;
  background: #000;
}

.film__box.is-playing::after,
.film__box.is-playing .film__play,
.film__box.is-playing .film__time {
  opacity: 0;
  pointer-events: none;
}

.film__stage:has(.is-playing) .film__content { opacity: 0; pointer-events: none; }

.film__stop {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(10, 16, 36, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .25s, transform .3s;
}

.film__box.is-playing .film__stop { opacity: 1; pointer-events: auto; }
.film__stop:hover { background: rgba(10, 16, 36, .75); transform: rotate(90deg); }
.film__stop svg { width: 15px; height: 15px; }


@media (max-width: 767px) {
  .film__box { border-radius: 20px; }
  .film__media { border-radius: 20px; }
  .film__box::after { display: none; }

  .film__content {
    position: static;
    max-width: none;
    padding: 20px 2px 0;
    text-align: left;
  }

  .film__eyebrow { flex-direction: row; }
  .film__eyebrow::before { background: linear-gradient(90deg, #ac8f55, transparent); }

  .film__title { text-shadow: none; color: #14243f; }
  .film__lead { color: #46556b; }

  .film__time { right: 14px; bottom: 14px; }
  .film__stop { right: 10px; top: 10px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .film__play-ring,
  .film__play::after { animation: none; }
}
