:root {
  --bg: #0a0a0a;
  --fg: #f4f4f4;
  --muted: #b5b5b5;
  --brand: #e50914;
  --brand-hot: #ff2a37;
  --line: rgba(255, 255, 255, 0.12);
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --display: "Be Vietnam Pro", system-ui, sans-serif;
  --pad: clamp(1rem, 4.5vw, 2rem);
  --max: 1200px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.page {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* —— Header: full-bleed bar, content centered inside —— */
.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 0;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(1rem + var(--safe-t)) var(--pad) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: 2.65rem;
  width: auto;
  max-width: min(68vw, 17rem);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.brand-mark {
  width: 2.45rem;
  height: 2.45rem;
  filter: drop-shadow(0 8px 18px rgba(229, 9, 20, 0.4));
}

.word {
  display: block;
}
.word-stack {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.word-line {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
}
.word .w {
  color: #fff;
}
.word .n {
  background: linear-gradient(180deg, #ff4d5a, #e50914);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.word-tag {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.word-rule {
  display: none;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.35);
}
.top-cta:hover {
  background: var(--brand-hot);
}

/* —— Hero —— */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: min(100svh, 900px);
  display: grid;
  align-items: end;
  isolation: isolate;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform-origin: center center;
  animation: ken 22s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.2) 28%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.96) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.25) 48%, rgba(10, 10, 10, 0.35) 100%);
}

.hero-glow {
  position: absolute;
  left: 10%;
  bottom: 18%;
  width: min(50vw, 420px);
  height: min(40vw, 280px);
  background: radial-gradient(ellipse, rgba(229, 9, 20, 0.28), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-width: var(--max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 7rem var(--pad) 3.5rem;
  animation: rise 0.7s ease both;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #e8e8e8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-brand {
  margin: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: min(92vw, 34rem);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55));
}
.hero-brand span {
  color: var(--brand);
}

.hero-line {
  margin: 0.7rem 0 0;
  font-family: var(--font);
  font-size: clamp(1.25rem, 4vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: #f3ecec;
  max-width: 22rem;
}

.lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: #d4d4d4;
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta,
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.35rem;
  border-radius: 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.cta {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 40px rgba(229, 9, 20, 0.4);
}
.cta:hover {
  background: var(--brand-hot);
  transform: translateY(-2px);
}
.cta:active {
  transform: scale(0.98);
}
.cta-lg {
  min-height: 3.35rem;
  padding: 0 1.6rem;
  font-size: 1.05rem;
}
.cta-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}
.cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

/* —— Poster rail —— */
.rail {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  max-width: var(--max);
  margin: -2.8rem auto 0;
  padding: 0 var(--pad);
}

.rail-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  background: #151515;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}
.rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.rail-card:hover img {
  transform: scale(1.06);
}
.rail-card span {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.75rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}
.rail-drama span {
  color: #ffb4b8;
}

/* —— SEO —— */
.seo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem var(--pad) 1.5rem;
}

.seo-panel {
  padding: 1.6rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at top left, rgba(229, 9, 20, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.seo-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.seo-panel p,
.seo-panel li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.seo-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.seo-panel li + li {
  margin-top: 0.35rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(229, 9, 20, 0.85);
  padding-bottom: 0.15rem;
}
.text-link:hover {
  color: #ffb4b8;
}

/* —— Finale —— */
.finale {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding: 2.75rem var(--pad) 2rem;
  text-align: center;
}

.finale h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
}

.finale p {
  margin: 0.45rem 0 1.25rem;
  color: var(--muted);
}

/* —— Footer —— */
.foot {
  padding: 1.25rem var(--pad) calc(1.5rem + var(--safe-b));
  text-align: center;
  color: #8a8a8a;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}
.foot a {
  color: #cfcfcf;
  font-weight: 600;
}
.foot a:hover {
  color: #fff;
}

.dock {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .rail {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-top: -1.5rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .rail::-webkit-scrollbar {
    display: none;
  }
  .rail-card {
    flex: 0 0 min(42vw, 168px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .top-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .word-line {
    font-size: 1.22rem;
  }

  .hero {
    min-height: min(92svh, 760px);
  }

  .hero-img {
    animation: none;
    object-position: center 40%;
  }

  .hero-inner {
    padding: 6.2rem 1rem 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta,
  .cta-ghost {
    width: 100%;
  }

  .seo {
    padding: 2.25rem 1rem 1rem;
  }

  .seo-panel {
    padding: 1.25rem 1.1rem;
  }

  .finale {
    padding-bottom: 5.5rem;
  }

  .foot {
    padding-bottom: calc(5.5rem + var(--safe-b));
  }

  .dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 0.7rem 0.9rem calc(0.7rem + var(--safe-b));
    background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92) 35%, #0a0a0a);
  }

  .dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    border-radius: 0.9rem;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(229, 9, 20, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img,
  .hero-inner,
  .rail-card {
    animation: none !important;
    transition: none !important;
  }
}
