@charset "UTF-8";

/* Serah's cinematic skin is opt-in. Other creator pages retain site.css. */
body.serah-teaser {
  color-scheme: dark;
  --canvas: oklch(22% 0.024 42);
  --paper: oklch(96% 0.021 66);
  --ink: var(--paper);
  --muted: oklch(80% 0.027 66);
  --line: oklch(66% 0.026 55 / 0.32);
  --brand: oklch(83% 0.094 58);
  --accent: var(--brand);
  position: relative;
  isolation: isolate;
  background: var(--canvas);
  color: var(--ink);
}

.serah-teaser .teaser-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--canvas);
}
.serah-teaser .teaser-backdrop img,
.serah-teaser .teaser-backdrop video {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, calc(100svh * 0.68));
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.serah-teaser [hidden] { display: none !important; }
.serah-teaser .teaser-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(17% 0.021 42 / 0.6), transparent 24%),
    linear-gradient(0deg, oklch(17% 0.021 42 / 0.8), transparent 38%),
    linear-gradient(90deg, var(--canvas) 9%, oklch(22% 0.024 42 / 0.97) 28%, oklch(22% 0.024 42 / 0.69) 48%, oklch(22% 0.024 42 / 0.16) 75%);
}
.serah-teaser .creator-shell {
  max-width: 1320px;
  padding: 32px clamp(28px, 5vw, 72px) 24px;
}
.serah-teaser .wordmark { font-size: 25px; }
.serah-teaser .wordmark svg path:last-child { stroke: var(--canvas); }
.serah-teaser .background-toggle {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: oklch(22% 0.024 42 / 0.94);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.serah-teaser .background-toggle:hover { border-color: var(--paper); }
.serah-teaser .background-toggle:focus-visible { outline: 3px solid var(--paper); outline-offset: 5px; }
.serah-teaser .confirmation-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(60px, 9vh, 112px) 0 64px;
}
.serah-teaser .eyebrow {
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.serah-teaser .confirmation-main h1 {
  font-size: clamp(76px, 8.8vw, 120px);
  font-weight: 550;
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.serah-teaser .confirmation-main h1 span { color: var(--brand); }
.serah-teaser .confirmation-copy {
  margin-top: 27px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.serah-teaser .confirmation-copy p { margin: 0; }
.serah-teaser .confirmation-actions {
  width: min(100%, 448px);
  margin-top: 32px;
  gap: 0;
}
.serah-teaser .continue-button {
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  position: relative;
  width: 100%;
  gap: 12px;
  min-height: 84px;
  padding: 12px 14px 12px 28px;
  border: 1px solid var(--brand);
  border-radius: 100px;
  background: var(--brand);
  color: oklch(25% 0.028 42);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  box-shadow: 0 7px 24px oklch(13% 0.02 42 / 0.22);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms ease-out, box-shadow 240ms ease-out;
}
.serah-teaser .continue-button::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--brand);
  border-radius: inherit;
  box-shadow: 0 0 18px oklch(83% 0.094 58 / 0.36);
  opacity: 0;
  pointer-events: none;
}
.serah-teaser .continue-label { max-width: 30ch; }
.serah-teaser .continue-button .continue-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: oklch(25% 0.028 42);
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.serah-teaser .continue-button:hover {
  background: oklch(89% 0.073 58);
  box-shadow: 0 10px 28px oklch(13% 0.02 42 / 0.32);
}
.serah-teaser .continue-button:hover .continue-arrow { transform: rotate(45deg); }
.serah-teaser .continue-button:active { transform: translateY(1px); }
.serah-teaser .continue-button:focus-visible { outline: 3px solid var(--paper); outline-offset: 6px; }

/* A brief invitation, then 9.2 seconds still. JS enables it only with a pause control. */
@media (prefers-reduced-motion: no-preference) {
  .serah-teaser[data-serah-motion="running"] .continue-button::after {
    animation: serah-cta-glow 10s cubic-bezier(0.22, 1, 0.36, 1) 700ms infinite;
  }
  .serah-teaser[data-serah-motion="running"] .continue-arrow {
    animation: serah-cta-nudge 10s cubic-bezier(0.22, 1, 0.36, 1) 700ms infinite;
  }
  .serah-teaser .continue-button:is(:hover, :focus, :active)::after {
    animation-play-state: paused;
    opacity: 0 !important;
  }
  .serah-teaser .continue-button:is(:hover, :focus, :active) .continue-arrow {
    animation-play-state: paused;
    translate: 0 0 !important;
  }
}
@keyframes serah-cta-glow {
  0%, 8%, 100% { opacity: 0; }
  3% { opacity: 0.8; }
}
@keyframes serah-cta-nudge {
  0%, 8%, 100% { translate: 0 0; }
  3% { translate: 3px -2px; }
}
.serah-teaser .departure-notice {
  margin: 21px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.serah-teaser .return-link { gap: 11px; font-size: 14px; color: var(--paper); }
.serah-teaser .site-footer { color: var(--muted); font-size: 14px; }
.serah-teaser .skip-link { color: var(--canvas); }
.serah-teaser a:focus-visible { outline-color: var(--paper); }

@media (min-width: 801px) {
  .serah-teaser .teaser-backdrop img,
  .serah-teaser .teaser-backdrop video {
    mask-image: linear-gradient(90deg, transparent, var(--canvas) 22%);
  }
}
@media (max-width: 800px) {
  .serah-teaser .teaser-backdrop img,
  .serah-teaser .teaser-backdrop video {
    width: 100%;
    height: 100%;
    object-position: 50% 25%;
  }
  .serah-teaser .teaser-backdrop::after {
    background:
      linear-gradient(0deg, var(--canvas) 12%, oklch(22% 0.024 42 / 0.96) 36%, oklch(22% 0.024 42 / 0.37) 74%, oklch(22% 0.024 42 / 0.47)),
      linear-gradient(90deg, oklch(22% 0.024 42 / 0.5), transparent 85%);
  }
  .serah-teaser .creator-shell { padding: 22px 26px 18px; }
  .serah-teaser .confirmation-main { justify-content: flex-end; padding: 138px 0 32px; }
  .serah-teaser .confirmation-main h1 { font-size: clamp(68px, 17vw, 108px); }
  .serah-teaser .eyebrow { margin-bottom: 18px; }
  .serah-teaser .confirmation-copy { margin-top: 20px; font-size: 16px; }
  .serah-teaser .confirmation-actions { width: min(100%, 448px); margin-top: 27px; }
  .serah-teaser .continue-button { padding-left: 22px; font-size: 16px; }
  .serah-teaser .departure-notice { margin: 18px 0 12px; }
  .serah-teaser .site-footer { font-size: 14px; }
}
@media (max-width: 350px) {
  .serah-teaser .creator-shell { padding-inline: 20px; }
  .serah-teaser .confirmation-main { padding-top: 104px; }
  .serah-teaser .confirmation-main h1 { font-size: 63px; }
  .serah-teaser .continue-button { padding: 12px 12px 12px 20px; font-size: 14px; }
  .serah-teaser .continue-button .continue-arrow { font-size: 25px; }
  .serah-teaser .background-toggle { max-width: 110px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .serah-teaser *, .serah-teaser *::before, .serah-teaser *::after { animation: none !important; transition: none !important; }
  .serah-teaser .continue-button:hover,
  .serah-teaser .continue-button:active,
  .serah-teaser .continue-button:hover .continue-arrow { transform: none; }
}
