/*
 * D-POAF Platform film
 * A compact editorial premiere with one shared section-title system.
 */

:root {
  --lp-section-title-size: clamp(2.35rem, 3.8vw, 3.75rem);
  --lp-section-title-line: 1.045;
  --lp-section-title-spacing: -.048em;
}

/* Shared section-title scale across the public site. Hero and card titles stay distinct. */
.dpoaf-robok-theme :is(
  .lp-section-head > h2,
  .lp-trust__copy > h2,
  .lp-access__copy > h2,
  .lp-request__copy > h2,
  .evidence-fabric__copy > h2,
  .mp-site-cta h2,
  .lp-film-premiere__copy > h2
) {
  margin: 15px 0 17px;
  font-family: "Manrope", "Inter", system-ui, sans-serif !important;
  font-size: var(--lp-section-title-size);
  font-weight: 700;
  line-height: var(--lp-section-title-line);
  letter-spacing: var(--lp-section-title-spacing);
}

/* Hero action rail */
.lp-hero__actions {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.12fr;
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 31px;
}

.lp-hero-cta,
.lp-film-hero-trigger {
  min-width: 0;
  min-height: 58px;
  border-radius: 15px;
  white-space: nowrap;
}

.lp-hero-cta {
  justify-content: space-between;
  padding: 0 18px;
}

.lp-hero-cta--primary {
  position: relative;
  justify-content: flex-start;
  padding-inline: 14px 42px;
  font-size: .9375rem;
}

.lp-hero-cta--primary i {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
  font-size: 0;
  font-style: normal;
  opacity: .88;
  transform: translateY(-50%);
}

.lp-hero-cta--primary i::before,
.lp-hero-cta--primary i::after {
  content: "";
  position: absolute;
  top: 50%;
}

.lp-hero-cta--primary i::before {
  left: 1px;
  width: 13px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transform: translateY(-50%);
}

.lp-hero-cta--primary i::after {
  right: 1px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.lp-hero-cta--secondary {
  justify-content: center;
}

.lp-film-hero-trigger {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(139, 153, 255, .23);
  background: linear-gradient(135deg, rgba(18, 24, 43, .92), rgba(8, 12, 25, .92));
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.lp-film-hero-trigger:hover,
.lp-film-hero-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(126, 150, 255, .55);
  background: linear-gradient(135deg, rgba(25, 32, 58, .98), rgba(11, 16, 33, .98));
}

.lp-film-hero-trigger__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(137, 159, 255, .28);
  border-radius: 50%;
  background: rgba(99, 102, 241, .13);
  color: #b7c6ff;
  font-size: .62rem;
}

.lp-film-hero-trigger__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lp-film-hero-trigger__copy strong {
  overflow: hidden;
  font-size: .84rem;
  text-overflow: ellipsis;
}

.lp-film-hero-trigger__copy small {
  color: #7f89a2;
  font-size: .61rem;
  font-weight: 500;
  letter-spacing: .045em;
}

.lp-film-hero-trigger__duration {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #aab3c9;
  font: 500 .61rem "JetBrains Mono", ui-monospace, monospace;
}

/* Editorial film section */
.lp-film-section {
  position: relative;
  padding: clamp(5rem, 7vw, 7.5rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 28%, rgba(30, 194, 226, .09), transparent 31rem),
    radial-gradient(circle at 96% 72%, rgba(111, 78, 255, .12), transparent 34rem);
}

.lp-film-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle, rgba(190, 208, 255, .6) 0 1px, transparent 1.4px),
    linear-gradient(120deg, transparent 0 48%, rgba(104, 125, 255, .08) 50%, transparent 52%);
  background-position: 0 0, center;
  background-size: 218px 218px, 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.lp-film-premiere {
  position: relative;
  z-index: 1;
}

.lp-film-premiere__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(24rem, .9fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.1rem, 3.6vw, 3.4rem);
}

.lp-film-premiere__copy {
  max-width: 52rem;
}

.lp-film-premiere__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.lp-film-premiere__runtime {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(199, 210, 236, .59);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lp-film-premiere__runtime i {
  width: .43rem;
  height: .43rem;
  border-radius: 50%;
  background: #42dac0;
  box-shadow: 0 0 1rem rgba(66, 218, 192, .75);
}

.lp-film-premiere__copy > h2 {
  max-width: 13ch;
  color: #f6f8ff;
}

.lp-film-premiere__copy > h2 span {
  color: transparent;
  background: linear-gradient(102deg, #84adff 4%, #7f75ff 54%, #b778ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lp-film-premiere__summary {
  display: grid;
  gap: 1.25rem;
  padding-left: clamp(1.35rem, 2.4vw, 2.25rem);
  border-left: 1px solid rgba(135, 153, 213, .22);
}

.lp-film-premiere__summary > p {
  margin: 0;
  color: rgba(205, 215, 238, .7);
  font-size: clamp(.96rem, 1.1vw, 1.08rem);
  line-height: 1.72;
}

.lp-film-premiere__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.lp-film-premiere__facts span {
  display: grid;
  gap: .28rem;
  min-width: 0;
  padding: .78rem .85rem;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.lp-film-premiere__facts strong {
  overflow: hidden;
  color: #e9edfb;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-film-premiere__facts small {
  color: #707b96;
  font-size: .61rem;
}

.lp-film-experience {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(18.5rem, .8fr);
  overflow: hidden;
  border: 1px solid rgba(134, 153, 222, .22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(12, 17, 34, .97), rgba(5, 8, 19, .98)),
    radial-gradient(circle at 0 0, rgba(43, 199, 230, .08), transparent 34%);
  box-shadow:
    0 3.5rem 8rem rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.lp-film-experience::before {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #35cee8, #6c7cff 48%, #9d69ff 78%, transparent);
  opacity: .82;
}

.lp-film-stage {
  display: grid;
  min-width: 0;
  align-content: start;
  border-right: 1px solid rgba(255, 255, 255, .075);
  background: #050814;
}

.lp-film-stage__bar,
.lp-film-stage__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 17px;
  color: #78839b;
  background: rgba(11, 16, 31, .96);
  font-size: .64rem;
}

.lp-film-stage__bar {
  border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.lp-film-stage__lights {
  display: flex;
  gap: 5px;
}

.lp-film-stage__lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #394157;
}

.lp-film-stage__lights i:nth-child(1) { background: #ff6b7c; }
.lp-film-stage__lights i:nth-child(2) { background: #f4bf50; }
.lp-film-stage__lights i:nth-child(3) { background: #31caa5; }

.lp-film-stage__bar strong {
  color: #b8c1d6;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.lp-film-stage__bar small {
  margin-left: auto;
  font: 500 .56rem "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.lp-film-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #03050d;
  cursor: pointer;
  isolation: isolate;
}

.lp-film-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) brightness(.69);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.lp-film-preview__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 12, .04), rgba(3, 6, 18, .78)),
    radial-gradient(circle at 52% 49%, transparent 0 16%, rgba(3, 6, 18, .15) 67%);
}

.lp-film-preview__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: clamp(68px, 7.5vw, 94px);
  height: clamp(68px, 7.5vw, 94px);
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(7, 11, 27, .7);
  backdrop-filter: blur(15px);
  box-shadow:
    0 0 0 12px rgba(107, 100, 255, .11),
    0 0 48px rgba(73, 179, 255, .29);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}

.lp-film-preview__play i {
  color: #fff;
  font-size: 1.35rem;
  font-style: normal;
  transform: translateX(2px);
}

.lp-film-preview__label,
.lp-film-preview__duration {
  position: absolute;
  z-index: 2;
  bottom: 1.35rem;
  color: #fff;
}

.lp-film-preview__label {
  left: 1.45rem;
  display: grid;
  gap: 3px;
  max-width: calc(100% - 9rem);
  text-align: left;
}

.lp-film-preview__label small {
  color: #8792aa;
  font: 500 .55rem "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lp-film-preview__label strong {
  overflow: hidden;
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-film-preview__duration {
  right: 1.45rem;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(5, 8, 18, .58);
  color: #c8cede;
  font: 500 .62rem "JetBrains Mono", ui-monospace, monospace;
  backdrop-filter: blur(10px);
}

.lp-film-preview:hover img,
.lp-film-preview:focus-visible img {
  transform: scale(1.025);
  filter: saturate(.95) brightness(.82);
}

.lp-film-preview:hover .lp-film-preview__play,
.lp-film-preview:focus-visible .lp-film-preview__play {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(82, 82, 255, .79);
  box-shadow:
    0 0 0 14px rgba(107, 100, 255, .14),
    0 0 56px rgba(73, 179, 255, .38);
}

.lp-film-preview:focus-visible {
  outline: 2px solid #7aa7ff;
  outline-offset: -4px;
}

.lp-film-stage__footer {
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .065);
}

.lp-film-stage__footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp-film-stage__footer span + span::before {
  width: 1px;
  height: 11px;
  margin-right: 6px;
  content: "";
  background: rgba(255, 255, 255, .11);
}

.lp-film-stage__footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35d6b3;
  box-shadow: 0 0 12px rgba(53, 214, 179, .8);
}

.lp-film-journey {
  display: flex;
  min-width: 0;
  padding: clamp(1.6rem, 2.6vw, 2.5rem);
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 0, rgba(114, 86, 255, .13), transparent 42%),
    linear-gradient(180deg, rgba(14, 19, 38, .94), rgba(7, 11, 24, .98));
}

.lp-film-journey__head {
  padding-bottom: 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.lp-film-journey__eyebrow {
  color: #68d7eb;
  font: 600 .58rem "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lp-film-journey h3 {
  margin: .75rem 0 .65rem;
  color: #f0f3ff;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.lp-film-journey__head p {
  margin: 0;
  color: #8792aa;
  font-size: .79rem;
  line-height: 1.6;
}

.lp-film-storyline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.lp-film-storyline::before {
  position: absolute;
  top: 1.55rem;
  bottom: 1.55rem;
  left: 1rem;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, #38cee6, #6c7cff 52%, #a06aff);
  box-shadow: 0 0 1rem rgba(86, 133, 255, .35);
}

.lp-film-storyline li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .75rem;
  padding: .72rem 0;
}

.lp-film-storyline li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(111, 139, 255, .3);
  border-radius: 50%;
  background: #10172e;
  color: #74d9ed;
  font: 600 .57rem "JetBrains Mono", ui-monospace, monospace;
  box-shadow: 0 0 1rem rgba(70, 111, 255, .12);
}

.lp-film-storyline li:last-child > span {
  color: #c293ff;
}

.lp-film-storyline li div {
  display: grid;
  gap: .18rem;
  min-width: 0;
}

.lp-film-storyline strong {
  color: #edf1ff;
  font-size: .8rem;
}

.lp-film-storyline small {
  color: #747f98;
  font-size: .68rem;
  line-height: 1.42;
}

.lp-film-journey__cta {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(126, 150, 255, .28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(90, 116, 255, .2), rgba(119, 82, 245, .16));
  color: #f5f7ff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.lp-film-journey__cta:hover,
.lp-film-journey__cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(126, 150, 255, .58);
  background: linear-gradient(135deg, rgba(90, 116, 255, .34), rgba(119, 82, 245, .28));
}

.lp-film-play-icon {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  font-size: .61rem;
}

.lp-film-journey__privacy {
  display: block;
  margin-top: .7rem;
  color: #626d85;
  font-size: .59rem;
  line-height: 1.45;
  text-align: center;
}

/* Video dialog */
body.lp-film-open {
  overflow: hidden;
}

.lp-film-dialog#platform-film-dialog[hidden] {
  display: none;
}

.lp-film-dialog#platform-film-dialog {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: clamp(.75rem, 2.5vw, 2rem);
  place-items: center;
}

.lp-film-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(1, 3, 11, .88);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.lp-film-dialog__panel {
  position: relative;
  width: min(1240px, 96vw);
  max-height: 94vh;
  overflow: auto;
  border: 1px solid rgba(139, 153, 255, .28);
  border-radius: 24px;
  background: #080c19;
  box-shadow: 0 40px 140px rgba(0, 0, 0, .78);
  animation: lp-film-in .34s cubic-bezier(.2, .8, .2, 1);
}

@keyframes lp-film-in {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: none; }
}

.lp-film-dialog__head,
.lp-film-dialog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.lp-film-dialog__head {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lp-film-dialog__head h2 {
  margin: .3rem 0 0;
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.lp-film-dialog__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.lp-film-dialog__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.lp-film-dialog iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.lp-film-dialog__foot {
  color: #8993aa;
  font-size: .78rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 1120px) {
  .lp-hero__actions {
    grid-template-columns: 1fr 1fr;
    max-width: 590px;
  }

  .lp-film-hero-trigger {
    grid-column: 1 / -1;
  }

  .lp-film-premiere__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lp-film-premiere__summary {
    max-width: 58rem;
    padding: 0;
    border: 0;
  }

  .lp-film-experience {
    grid-template-columns: minmax(0, 1.65fr) minmax(17rem, .75fr);
  }
}

@media (max-width: 900px) {
  .lp-film-experience {
    grid-template-columns: 1fr;
  }

  .lp-film-stage {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
  }

  .lp-film-journey {
    padding: 1.5rem;
  }

  .lp-film-storyline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
  }

  .lp-film-storyline::before {
    top: 1rem;
    right: 10%;
    bottom: auto;
    left: 10%;
    width: auto;
    height: 1px;
  }

  .lp-film-storyline li {
    grid-template-columns: 1fr;
    gap: .5rem;
    padding: 0;
  }

  .lp-film-storyline li > span {
    justify-self: start;
  }

  .lp-film-journey__cta {
    width: min(100%, 22rem);
    margin-top: .4rem;
  }

  .lp-film-journey__privacy {
    width: min(100%, 30rem);
    text-align: left;
  }
}

@media (max-width: 680px) {
  :root {
    --lp-section-title-size: clamp(2.15rem, 10.5vw, 3rem);
    --lp-section-title-line: 1.07;
    --lp-section-title-spacing: -.042em;
  }

  .lp-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lp-film-hero-trigger {
    grid-column: auto;
  }

  .lp-hero-cta,
  .lp-film-hero-trigger {
    width: 100%;
  }

  .lp-film-section {
    padding: 4rem 0;
  }

  .lp-film-premiere__intro {
    margin-bottom: 1.75rem;
  }

  .lp-film-premiere__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
  }

  .lp-film-premiere__facts {
    grid-template-columns: 1fr 1fr;
  }

  .lp-film-premiere__facts span:last-child {
    grid-column: 1 / -1;
  }

  .lp-film-experience {
    border-radius: 20px;
  }

  .lp-film-stage__bar strong {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lp-film-stage__footer {
    display: grid;
    padding: 10px 14px;
  }

  .lp-film-stage__footer span + span::before {
    display: none;
  }

  .lp-film-preview__play {
    width: 62px;
    height: 62px;
  }

  .lp-film-preview__label {
    left: 1rem;
  }

  .lp-film-preview__duration {
    right: 1rem;
  }

  .lp-film-storyline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .lp-film-storyline::before {
    display: none;
  }

  .lp-film-dialog {
    padding: 0;
  }

  .lp-film-dialog__panel {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .lp-film-dialog__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .lp-film-dialog__foot .lp-btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .lp-film-premiere__facts {
    grid-template-columns: 1fr;
  }

  .lp-film-premiere__facts span:last-child {
    grid-column: auto;
  }

  .lp-film-storyline {
    grid-template-columns: 1fr;
    row-gap: .35rem;
  }

  .lp-film-storyline li {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .lp-film-journey__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-film-preview img,
  .lp-film-preview__play,
  .lp-film-dialog__panel,
  .lp-film-hero-trigger,
  .lp-film-journey__cta {
    transition: none;
    animation: none;
  }
}
