*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --inky:       #0b0f0e;
  --paper:      #eeeae1;
  --darkyblue:  #2a4a6a;
  --midblue:    #6a9bbf;
  --blueish:    #a7bfd1;
  --red:        #c0473a;
  --red-dim:    rgba(192,71,58,0.08);
}

html { scroll-behavior: smooth; }

body {
  background: var(--inky);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 999;
}

body.has-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/content/background.jpg') center center / cover no-repeat;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

body.centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

h1 { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; }
h1 em { font-style: italic; color: var(--blueish); }

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(11,15,14,0.95), transparent);
}

.logo {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--paper);
  text-decoration: none;
}

.nav-pill {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--paper);
  border: 1px solid rgba(238,234,225,0.12);
  padding: 6px 14px;
}

footer {
  border-top: 1px solid rgba(238,234,225,0.06);
  padding: 28px 52px;
  text-align: center;
  color: var(--paper);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
footer a { color: var(--paper); }

hr { border: none; border-top: 1px solid rgba(238,234,225,0.07); margin: 24px 0; }

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 8px;
}

input[type=email] {
  width: 100%;
  background: rgba(238,234,225,0.04);
  border: 1px solid rgba(238,234,225,0.13);
  color: var(--paper);
  padding: 13px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 4px;
}
input[type=email]:focus { border-color: var(--midblue); }
input[type=email]::placeholder { color: rgba(238,234,225,0.2); }

.err { color: #c0473a; font-size: 0.82rem; margin-bottom: 8px; min-height: 20px; }
.captcha-wrap { margin: 16px 0; }

.mollie-note {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  color: var(--paper);
  font-size: 0.74rem;
  margin-top: 14px;
}

.box { text-align: center; width: 100%; }
.subtitle { color: var(--blueish); line-height: 1.75; margin-bottom: 32px; font-size: 0.94rem; }

.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--blueish);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--blueish); }

.help-text { color: var(--blueish); font-size: 0.82rem; line-height: 1.65; }
.help-text a { color: var(--blueish); }
.help-text a:hover { color: var(--blueish); }

button:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-cancel {
  width: 100%;
  background: none;
  border: none;
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.btn-cancel:hover { color: var(--paper); }

.btn-rent {
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 15px 34px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-rent:hover { background: var(--blueish); transform: translateY(-2px); }

.btn-trailer {
  background: none;
  color: var(--paper);
  border: 1px solid rgba(238,234,225,0.2);
  padding: 15px 34px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-trailer:hover { border-color: var(--blueish); color: var(--blueish); }

.btn-pay {
  width: 100%;
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 10px;
}
.btn-pay:hover:not(:disabled) { background: var(--blueish); }

.btn-retry {
  display: block;
  width: 100%;
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.btn-retry:hover { background: var(--blueish); }

.btn-resend {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(238,234,225,0.15);
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  margin-bottom: 24px;
}
.btn-resend:hover { border-color: var(--blueish); color: var(--blueish); }

.btn-send {
  width: 100%;
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.btn-send:hover:not(:disabled) { background: var(--blueish); }

.btn-watch {
  display: block;
  width: 100%;
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 15px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 20px;
}
.btn-watch:hover { background: var(--blueish); }

.btn-copy {
  background: var(--paper);
  color: var(--inky);
  border: none;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.btn-copy:hover { background: var(--blueish); }
.btn-copy.copied { background: #6a9bbf; color: #fff; }

.play-tri {
  border-left: 11px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 52px 56px;
  position: relative;
  z-index: 1;
}
.hero-accent {
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse 70% 80% at 80% 30%, rgba(68,105,137,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 50% 70%, rgba(68,105,137,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-line {
  position: absolute;
  left: 0; top: 30%;
  width: 3px; height: 40%;
  background: linear-gradient(to bottom, transparent, var(--blueish), transparent);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,15,14,0.75) 0%, rgba(11,15,14,0.45) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  opacity: 0;
  animation: rise 1s 0.3s ease forwards;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}
.tagline {
  font-size: 1.05rem;
  color: rgba(238,234,225,0.85);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 44px;
}
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.trailer-wrap {
  padding: 60px 52px 80px;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  animation: rise 0.9s 0.9s ease forwards;
  position: relative;
  z-index: 1;
}
.video-box { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; cursor: pointer; }
.video-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,15,14,0.38);
  transition: opacity 0.25s;
}
.play-overlay.gone { opacity: 0; pointer-events: none; }
.play-circle {
  width: 68px; height: 68px;
  border: 1.5px solid rgba(238,234,225,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  background: rgba(11,15,14,0.25);
}
.play-circle:hover { border-color: var(--blueish); background: rgba(68,105,137,0.15); scale: 1.07; }
.play-circle .play-tri { border-left-color: var(--paper); margin-left: 4px; }
.vid-label { margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }

.info {
  border-top: 1px solid rgba(238,234,225,0.07);
  padding: 80px 52px;
  position: relative;
  z-index: 1;
  background: rgba(11,15,14,0.7);
  backdrop-filter: blur(4px);
}
.info-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.info-grid h2 { font-family: 'IBM Plex Sans', sans-serif; font-size: 2rem; font-weight: 600; margin-bottom: 20px; }
.info-grid p { color: var(--paper); line-height: 1.85; margin-bottom: 14px; font-size: 0.96rem; }

.spec { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(238,234,225,0.06); font-size: 0.88rem; }
.spec-k { color: var(--paper); font-weight: bold; }
.spec-v { color: var(--paper); }
.spec-v.gold { color: var(--blueish); }

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11,15,14,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: #141918;
  border: 1px solid rgba(238,234,225,0.09);
  padding: 44px 40px;
  max-width: 420px;
  width: 92%;
  transform: translateY(18px);
  transition: transform 0.3s;
}
.backdrop.open .modal { transform: translateY(0); }
.modal h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.7rem; margin-bottom: 8px; }
.modal > p { color: var(--paper); font-size: 0.87rem; line-height: 1.65; margin-bottom: 28px; }

.price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(238,234,225,0.07);
  border-bottom: 1px solid rgba(238,234,225,0.07);
}
.price-bar span { color: var(--paper); font-size: 0.84rem; }
.price-bar strong { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.5rem; color: var(--paper); font-weight: 600; }

.spinner-wrap { margin: 0 auto 32px; width: 56px; height: 56px; position: relative; }
.spinner {
  width: 56px; height: 56px;
  border: 2px solid rgba(238,234,225,0.08);
  border-top-color: var(--blueish);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.status-text { color: var(--blueish); font-size: 0.9rem; line-height: 1.65; }
.dot-anim::after { content: ''; animation: dots 1.5s steps(4,end) infinite; }
.error-msg { display: none; color: #e87060; font-size: 0.85rem; margin-top: 20px; }

.icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 1.4rem;
  animation: pop 0.5s ease;
}

.check {
  width: 60px; height: 60px;
  border: 1.5px solid var(--blueish);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 1.4rem;
  animation: pop 0.5s ease;
}

.link-box { background: rgba(238,234,225,0.04); border: 1px solid rgba(238,234,225,0.12); padding: 24px; margin-bottom: 24px; text-align: left; }
.link-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 12px; }
.link-row { display: flex; gap: 10px; align-items: stretch; }
.link-url {
  flex: 1;
  background: rgba(238,234,225,0.05);
  border: 1px solid rgba(238,234,225,0.1);
  color: var(--paper);
  padding: 10px 12px;
  font-family: monospace;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: text;
  user-select: all;
}
.link-note { margin-top: 10px; font-size: 0.78rem; color: var(--blueish); }

.email-notice { color: var(--blueish); font-size: 0.82rem; line-height: 1.65; margin-bottom: 24px; padding: 16px; border: 1px solid rgba(238,234,225,0.07); }
.email-notice a { color: var(--blueish); }

.reason-box {
  background: var(--red-dim);
  border: 1px solid rgba(192,71,58,0.25);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: #e87060;
  line-height: 1.6;
  text-align: left;
}
.reason-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(232,112,96,0.6); margin-bottom: 6px; }

.msg { font-size: 0.82rem; min-height: 20px; margin-bottom: 16px; text-align: left; }
.msg.error   { color: var(--red); }
.msg.success { color: var(--midblue); }

.success-box { display: none; }
.success-box.show { display: block; }
.form-box.hide { display: none; }
.success-icon {
  width: 56px; height: 56px;
  border: 1.5px solid var(--midblue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.3rem;
  animation: pop 0.4s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

@media (max-width: 720px) {
  nav, .hero, .info, footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-bottom: 48px; }
  .trailer-wrap { padding: 48px 24px 64px; }
  .info-grid { grid-template-columns: 1fr; gap: 48px; }
  .modal { padding: 32px 24px; }
}

body.watch-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav.watch-nav {
  position: static;
  padding: 18px 48px;
  background: none;
  border-bottom: 1px solid rgba(238,234,225,0.07);
}

.access-badge {
  font-size: 0.78rem;
  color: var(--blueish);
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--midblue);
  animation: blink 2.5s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 24px;
}
.player-wrap { width: 100%; max-width: 960px; }
.player-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.player-title em { font-style: italic; color: var(--blueish); }

.video-js {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  background: #080b0a;
}
.vjs-default-skin .vjs-play-progress,
.video-js .vjs-play-progress { background: #a7bfd1; }
.video-js .vjs-control-bar {
  background: rgba(11,15,14,0.85);
  backdrop-filter: blur(4px);
}
.video-js .vjs-big-play-button {
  border-color: rgba(238,234,225,0.5);
  background: rgba(11,15,14,0.5);
  border-radius: 50%;
  width: 70px; height: 70px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  line-height: 70px;
}
.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
  background: rgba(167,191,209,0.3);
  border-color: #a7bfd1;
}
.video-js .vjs-loading-spinner { border-top-color: #a7bfd1; }

.meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--paper);
}

.player-error {
  display: none;
  background: rgba(192,71,58,0.1);
  border: 1px solid rgba(192,71,58,0.3);
  color: #e87060;
  padding: 16px 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.player-error.show { display: block; }

@media (max-width: 680px) {
  nav.watch-nav { padding: 16px 20px; }
  main { padding: 28px 16px; }
}
