```css
/* =========================================================
   RANA BIRTHDAY — COMPONENTS
   Clean / Cinematic / Romantic
   ========================================================= */

/* =========================
   APP
   ========================= */

#app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}


/* =========================
   CHAPTER RAIL
   ========================= */

.chapter-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.chapter-rail.is-visible {
  opacity: 1;
  visibility: visible;
}

.chapter-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.chapter-dot:hover,
.chapter-dot.is-active {
  transform: scale(1.5);
  background: #ffffff;
  border-color: #ffffff;
}


/* =========================
   LANDING / PASSWORD
   ========================= */

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(100, 70, 120, 0.2),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      #030306 0%,
      #07070d 55%,
      #030306 100%
    );
}

.landing-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,220,235,0.7) 1px, transparent 1.5px);
  background-size: 95px 95px, 145px 145px;
  animation: landingStarsMove 22s linear infinite;
}

@keyframes landingStarsMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-95px);
  }
}

.landing-hearts {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-hearts span {
  position: absolute;
  bottom: -40px;
  color: rgba(255, 100, 135, 0.22);
  font-size: 18px;
  animation: floatingHeart 10s linear infinite;
}

.landing-hearts span:nth-child(1) {
  left: 15%;
  animation-delay: 0s;
}

.landing-hearts span:nth-child(2) {
  left: 35%;
  animation-delay: 2s;
}

.landing-hearts span:nth-child(3) {
  left: 55%;
  animation-delay: 4s;
}

.landing-hearts span:nth-child(4) {
  left: 75%;
  animation-delay: 1s;
}

.landing-hearts span:nth-child(5) {
  left: 88%;
  animation-delay: 5s;
}

@keyframes floatingHeart {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) scale(1.3) rotate(12deg);
    opacity: 0;
  }
}

.landing-content {
  position: relative;
  z-index: 2;
  width: min(620px, 90vw);
  text-align: center;
  padding: 60px 20px;
}

.landing-eyebrow {
  margin: 0 0 30px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-heart {
  width: 54px;
  height: 54px;
  margin: 0 auto 25px;
  color: #e96b84;
  animation: landingHeartPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(233,107,132,0.4));
}

.landing-heart svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes landingHeartPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.landing-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 500;
  line-height: 1;
}

.landing-message {
  margin: 25px auto 45px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
}

.landing-gate {
  width: min(390px, 100%);
  margin: 0 auto;
}

.landing-gate label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-input-wrap {
  position: relative;
}

.landing-input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 50px 0 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.12em;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.landing-input-wrap input:focus {
  border-color: rgba(233,107,132,0.55);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 25px rgba(233,107,132,0.1);
}

.input-heart {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(233,107,132,0.7);
}

.landing-error {
  min-height: 20px;
  margin: 10px 0;
  color: #ef7d91;
  font-size: 12px;
}

.landing-input-wrap input.is-wrong {
  animation: wrongInput 0.45s ease;
}

@keyframes wrongInput {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-7px);
  }

  75% {
    transform: translateX(7px);
  }
}

.landing-cta {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(233,107,132,0.45);
  border-radius: 12px;
  background: rgba(233,107,132,0.08);
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.landing-cta:hover {
  transform: translateY(-2px);
  background: rgba(233,107,132,0.16);
  border-color: rgba(233,107,132,0.75);
  box-shadow: 0 12px 30px rgba(233,107,132,0.12);
}

.landing-footer {
  margin: 40px 0 0;
  color: rgba(255,255,255,0.28);
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* =========================
   LOVE INTRO
   ========================= */

.love-intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(115, 72, 115, 0.12),
      transparent 48%
    ),
    #050508;
}

.love-intro-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1.5px);
  background-size: 120px 120px;
  animation: introStars 20s linear infinite;
}

@keyframes introStars {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-120px);
  }
}

.love-intro-content {
  position: relative;
  z-index: 2;
  width: min(760px, 90vw);
  text-align: center;
  padding: 70px 20px;
}

.love-intro-small {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.love-intro-heart {
  margin-bottom: 24px;
  color: #e96b84;
  font-size: 42px;
  animation: heartGlow 2s ease-in-out infinite;
}

@keyframes heartGlow {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 12px rgba(233,107,132,0.25);
  }

  50% {
    transform: scale(1.12);
    text-shadow: 0 0 28px rgba(233,107,132,0.5);
  }
}

.love-intro-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(50px, 8vw, 86px);
  font-weight: 500;
}

.love-intro-text {
  max-width: 680px;
  margin: 35px auto 0;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.65;
}

.love-intro-text-second {
  color: rgba(255,255,255,0.58);
  font-size: clamp(17px, 2.5vw, 23px);
}

.love-intro-line {
  width: 70px;
  height: 1px;
  margin: 40px auto;
  background: rgba(233,107,132,0.5);
}

.love-intro-signature {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.8;
}


/* =========================
   CHAPTERS
   ========================= */

.chapter {
  position: relative;
  min-height: 100vh;
  padding: 100px 5vw;
  background: #07070a;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.chapter.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.chapter-head {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto 45px;
}

.chapter-number {
  color: rgba(233,107,132,0.75);
  font-family: var(--font-display);
  font-size: 18px;
}

.chapter-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
}

.chapter-count {
  margin-left: auto;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =========================
   GALLERY
   ========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1300px;
  margin: 0 auto;
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #111115;
  cursor: pointer;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.5),
    transparent 45%
  );
  pointer-events: none;
}

.photo-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.card-index {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  letter-spacing: 0.08em;
}


/* =========================
   VIDEOS
   ========================= */

.reel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #101014;
  border: 1px solid rgba(255,255,255,0.06);
}

.real-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000000;
}

.video-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.play-badge {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(233,107,132,0.18);
}

.play-badge svg {
  width: 17px;
  height: 17px;
}

.card-caption {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}


/* =========================
   MUSIC
   ========================= */

.track-list {
  max-width: 900px;
  margin: 0 auto;
}

.track-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.track-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.track-row.is-playing {
  border-color: rgba(233,107,132,0.4);
  background: rgba(233,107,132,0.06);
}

.vinyl {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #222 0 9%, #aaa 10% 12%, #111 13% 100%);
  box-shadow: 0 5px 15px rgba(0,0,0,0.35);
}

.track-row.is-playing .vinyl {
  animation: vinylSpin 3s linear infinite;
}

@keyframes vinylSpin {
  to {
    transform: rotate(360deg);
  }
}

.track-meta {
  min-width: 0;
  flex: 1;
}

.track-title {
  color: #ffffff;
  font-size: 14px;
}

.track-duration {
  margin-top: 4px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
}

.track-play-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.track-play-btn:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.08);
}

.track-play-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.birthday-pin {
  font-size: 17px;
}


/* =========================
   BIRTHDAY GIFT FINALE
   ========================= */

.birthday-finale {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(255,210,120,0.08),
      transparent 38%
    ),
    #050507;
}

.finale-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle,
      rgba(255,255,255,0.8) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle,
      rgba(255,220,150,0.55) 1px,
      transparent 1px
    );
  background-size: 90px 90px, 140px 140px;
  animation: starsDrift 18s linear infinite;
  opacity: 0.5;
}

@keyframes starsDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-90px);
  }
}

.finale-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}

.finale-whisper {
  margin: 0 0 45px;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.04em;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.gift-box {
  position: relative;
  width: 150px;
  height: 130px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: center bottom;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.5));
}

.gift-body {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 88px;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    #9c1f35,
    #641426
  );
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 12px 30px rgba(0,0,0,0.35);
}

.gift-lid {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 25px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    #b52b45,
    #76172d
  );
  z-index: 3;
  box-shadow:
    0 8px 15px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.14);
  transform-origin: center bottom;
  transition:
    transform 0.8s cubic-bezier(0.2,0.8,0.2,1),
    top 0.8s cubic-bezier(0.2,0.8,0.2,1);
}

.gift-ribbon-v {
  position: absolute;
  z-index: 4;
  top: 25px;
  bottom: 0;
  left: 50%;
  width: 20px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    #d8a84d,
    #ffe39a,
    #c48a32
  );
}

.gift-ribbon-h {
  position: absolute;
  z-index: 5;
  left: 4px;
  right: 4px;
  top: 34px;
  height: 12px;
  background: linear-gradient(
    90deg,
    #c48a32,
    #ffe39a,
    #c48a32
  );
}

.gift-bow {
  position: absolute;
  z-index: 6;
  top: 7px;
  width: 45px;
  height: 32px;
  border: 8px solid #e0b452;
  border-radius: 50%;
  transition:
    transform 0.7s ease,
    opacity 0.7s ease;
}

.bow-left {
  left: 31px;
  transform: rotate(-20deg);
}

.bow-right {
  right: 31px;
  transform: rotate(20deg);
}

.gift-hint {
  margin: 38px 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: opacity 0.4s ease;
}


/* =========================
   GIFT ANIMATIONS
   ========================= */

.gift-box.is-shaking {
  animation: giftShake 0.6s ease;
}

.gift-box.is-shaking-hard {
  animation: giftShakeHard 0.8s ease;
}

@keyframes giftShake {
  0%,
  100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(-5deg);
  }

  40% {
    transform: rotate(5deg);
  }

  60% {
    transform: rotate(-4deg);
  }

  80% {
    transform: rotate(4deg);
  }
}

@keyframes giftShakeHard {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }

  20% {
    transform: rotate(-9deg) scale(1.04);
  }

  40% {
    transform: rotate(9deg) scale(1.04);
  }

  60% {
    transform: rotate(-7deg) scale(1.03);
  }

  80% {
    transform: rotate(7deg) scale(1.03);
  }
}

.gift-box.is-opening {
  animation: giftOpen 0.9s ease forwards;
}

@keyframes giftOpen {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1.35);
  }
}

.gift-box.is-opening .gift-lid {
  top: -5px;
  transform: translateY(-35px) rotate(-8deg);
}

.gift-box.is-opening .gift-bow {
  transform: translateY(-40px) scale(0.85);
  opacity: 0;
}

.gift-box.is-opening .gift-body,
.gift-box.is-opening .gift-ribbon-v,
.gift-box.is-opening .gift-ribbon-h {
  box-shadow:
    0 0 50px rgba(255,215,120,0.65);
}


/* =========================
   FINALE MESSAGE
   ========================= */

.birthday-finale.is-finished .gift-box {
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    transform 0.8s ease;
}

.birthday-finale.is-finished .finale-whisper {
  opacity: 0;
}

.birthday-finale.is-finished .gift-hint {
  opacity: 0;
}

.finale-message {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(700px, 90vw);
  transform: translate(-50%, -45%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.2,0.8,0.2,1);
}

.birthday-finale.is-finished .finale-message {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.finale-heart {
  margin-bottom: 22px;
  color: #e55b72;
  font-size: 42px;
  animation: heartPulse 1.8s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(229,91,114,0.55);
}

@keyframes heartPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.finale-small {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.finale-message h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 500;
  line-height: 1.05;
}

.finale-main {
  max-width: 560px;
  margin: 28px auto 0;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
}

.finale-last {
  max-width: 560px;
  margin: 30px auto 0;
  color: rgba(255,255,255,0.52);
  font-size: 14px;
  line-height: 1.9;
}


/* =========================
   LIGHTBOX
   ========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0,0,0,0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapter {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media (max-width: 600px) {
  .chapter-rail {
    right: 10px;
    gap: 10px;
  }

  .chapter-dot {
    width: 7px;
    height: 7px;
  }

  .landing-content,
  .love-intro-content {
    padding: 45px 18px;
  }

  .landing-message {
    margin-bottom: 35px;
  }

  .chapter {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .chapter-head {
    gap: 10px;
    margin-bottom: 30px;
  }

  .chapter-count {
    font-size: 9px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .reel-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .track-row {
    gap: 12px;
    padding: 10px 12px;
  }

  .birthday-finale {
    min-height: 90vh;
  }

  .gift-box {
    width: 125px;
    height: 110px;
  }

  .gift-body {
    height: 74px;
  }

  .gift-lid {
    top: 22px;
    height: 27px;
  }

  .gift-ribbon-v {
    top: 22px;
    width: 17px;
  }

  .gift-ribbon-h {
    top: 31px;
    height: 10px;
  }

  .gift-bow {
    top: 6px;
    width: 38px;
    height: 27px;
    border-width: 7px;
  }

  .bow-left {
    left: 25px;
  }

  .bow-right {
    right: 25px;
  }

  .finale-message {
    width: 88vw;
  }

  .finale-main {
    font-size: 19px;
  }

  .finale-last {
    font-size: 13px;
  }
}


/* PASSWORD LOCK */

body.is-locked {
  overflow: hidden !important;
  height: 100vh;
  overscroll-behavior: none;
}

body.is-locked .landing {
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  z-index: 99999;
  overflow: hidden;
}

body.is-locked #app > *:not(.landing) {
  display: none !important;
}

body.is-locked .chapter-rail {
  display: none !important;
}


/* =========================================================
   CINEMATIC LIGHTBOX
   ========================================================= */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-panel {
  width: min(1100px, 94vw);
  height: min(94vh, 900px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: rgba(10, 10, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.lightbox-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 10px 20px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.lightbox-close {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 70px;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.035),
      transparent 65%
    ),
    #050507;
}

.lightbox-image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* PHOTO */

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  user-select: none;
  -webkit-user-drag: none;
}


/* VIDEO */

.lightbox-video {
  display: block;

  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  border-radius: 10px;

  background: #000000;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}


/* ARROWS */

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.lightbox-arrow:hover {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================================
   LIGHTBOX MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .lightbox {
    padding: 0;
    align-items: stretch;
  }

  .lightbox-panel {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background: #050507;
  }

  .lightbox-header {
    min-height: 58px;
    padding:
      8px
      12px
      8px
      16px;
  }

  .lightbox-caption {
    font-size: 14px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 25px;
  }

  .lightbox-stage {
    padding: 12px 52px;
  }

  .lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
  }

  .lightbox-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #000000;
  }

  .lightbox-arrow {
    width: 38px;
    height: 56px;
    border-radius: 12px;
    font-size: 34px;
    background: rgba(0, 0, 0, 0.68);
  }

  .lightbox-prev {
    left: 7px;
  }

  .lightbox-next {
    right: 7px;
  }

  .lightbox-footer {
    min-height: 38px;
    font-size: 11px;
  }
}


/* =========================================================
   LOVE INTRO — MIDNIGHT SKY
   ========================================================= */

.love-intro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(55, 76, 130, 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.035),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #02030a 0%,
      #050817 48%,
      #02030a 100%
    );

  color: #fff;
}


/* SKY */

.love-intro-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.love-intro-sky::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(130, 155, 220, 0.07),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.025),
      transparent 22%
    );
  animation: loveSkyBreath 8s ease-in-out infinite alternate;
}

@keyframes loveSkyBreath {
  from {
    transform: scale(1);
    opacity: 0.7;
  }

  to {
    transform: scale(1.08);
    opacity: 1;
  }
}


/* STARS */

.love-intro-stars {
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(180,205,255,.7) 0 1px, transparent 1.5px);

  background-size:
    83px 97px,
    137px 151px,
    191px 173px;

  background-position:
    12px 21px,
    41px 67px,
    89px 33px;

  opacity: 0.48;

  animation:
    starsDrift 24s linear infinite,
    starsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes starsDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-18px, 12px, 0);
  }
}

@keyframes starsTwinkle {
  from {
    opacity: 0.28;
  }

  to {
    opacity: 0.68;
  }
}


/* SOFT CENTER GLOW */

.love-intro-glow {
  position: absolute;
  left: 50%;
  top: 50%;

  width: min(620px, 100vw);
  aspect-ratio: 1;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.055) 0%,
      rgba(115,145,220,.025) 30%,
      transparent 68%
    );

  filter: blur(12px);

  animation: introGlow 6s ease-in-out infinite alternate;
}

@keyframes introGlow {
  from {
    transform: translate(-50%, -50%) scale(.9);
    opacity: .55;
  }

  to {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: .9;
  }
}


/* HEARTS */

.love-intro-hearts {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.love-intro-hearts span {
  position: absolute;

  display: block;

  color: rgba(255, 185, 205, 0.13);

  font-size: 13px;

  text-shadow:
    0 0 12px rgba(255, 150, 180, 0.25);

  animation: floatingHeart 9s ease-in-out infinite;
}

.love-intro-hearts span:nth-child(1) {
  left: 12%;
  bottom: -30px;
  animation-delay: 0s;
}

.love-intro-hearts span:nth-child(2) {
  left: 27%;
  bottom: -50px;
  font-size: 9px;
  animation-delay: 2s;
}

.love-intro-hearts span:nth-child(3) {
  left: 71%;
  bottom: -40px;
  font-size: 11px;
  animation-delay: 4s;
}

.love-intro-hearts span:nth-child(4) {
  left: 84%;
  bottom: -20px;
  font-size: 8px;
  animation-delay: 1s;
}

.love-intro-hearts span:nth-child(5) {
  left: 47%;
  bottom: -60px;
  font-size: 7px;
  animation-delay: 5s;
}

.love-intro-hearts span:nth-child(6) {
  left: 58%;
  bottom: -35px;
  font-size: 10px;
  animation-delay: 7s;
}

@keyframes floatingHeart {
  0% {
    transform:
      translate3d(0, 0, 0)
      rotate(0deg)
      scale(.8);

    opacity: 0;
  }

  15% {
    opacity: .7;
  }

  70% {
    opacity: .35;
  }

  100% {
    transform:
      translate3d(20px, -105vh, 0)
      rotate(18deg)
      scale(1.15);

    opacity: 0;
  }
}


/* CONTENT */

.love-intro-content {
  position: relative;
  z-index: 2;

  width: min(760px, 90vw);

  padding:
    80px
    24px;

  text-align: center;

  animation: introContentIn 1.6s ease both;
}

@keyframes introContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SMALL TEXT */

.love-intro-small {
  margin: 0 0 30px;

  color: rgba(255,255,255,.58);

  font-size: 12px;
  font-weight: 500;

  letter-spacing: .22em;
  text-transform: uppercase;
}


/* HEART */

.love-intro-heart {
  width: 62px;
  height: 62px;

  margin: 0 auto 24px;

  display: grid;
  place-items: center;

  color: rgba(255, 190, 210, .92);

  font-size: 27px;

  border: 1px solid rgba(255,255,255,.11);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.055),
      rgba(255,255,255,.01)
    );

  box-shadow:
    0 0 25px rgba(255, 150, 180, .10),
    inset 0 0 20px rgba(255,255,255,.025);

  animation: heartPulse 3.2s ease-in-out infinite;
}


/* TITLE */

.love-intro-title {
  margin: 0;

  color: #fff;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(42px, 7vw, 76px);

  font-weight: 400;

  line-height: 1.05;

  letter-spacing: -.025em;

  text-shadow:
    0 0 35px rgba(255,255,255,.08);
}


/* DIVIDER */

.love-intro-divider {
  width: min(260px, 60vw);

  margin: 30px auto 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;
}

.love-intro-divider span {
  height: 1px;
  flex: 1;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.18)
    );
}

.love-intro-divider span:last-child {
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.18),
      transparent
    );
}

.love-intro-divider i {
  color: rgba(255,255,255,.5);

  font-size: 9px;

  font-style: normal;
}


/* MAIN TEXT */

.love-intro-text {
  max-width: 650px;

  margin:
    0 auto
    22px;

  color: rgba(255,255,255,.78);

  font-size:
    clamp(17px, 2.2vw, 20px);

  line-height: 1.9;

  font-weight: 300;

  letter-spacing: .01em;
}

.love-intro-text-second {
  color: rgba(255,255,255,.62);
}


/* SIGNATURE LINE */

.love-intro-line {
  width: 1px;
  height: 48px;

  margin: 38px auto 30px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(255,255,255,.3),
      transparent
    );
}

.love-intro-signature {
  margin: 0;

  color: rgba(255,255,255,.52);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;

  line-height: 1.8;

  font-style: italic;
}

.love-intro-signature span {
  display: inline-block;

  margin-left: 5px;

  color: rgba(255,180,200,.8);

  animation: heartPulse 3s ease-in-out infinite;
}


/* MOBILE */

@media (max-width: 600px) {

  .love-intro {
    min-height: 100dvh;
  }

  .love-intro-content {
    width: 92vw;

    padding:
      65px
      8px;
  }

  .love-intro-small {
    margin-bottom: 24px;

    font-size: 10px;

    letter-spacing: .18em;
  }

  .love-intro-heart {
    width: 54px;
    height: 54px;

    margin-bottom: 22px;

    font-size: 23px;
  }

  .love-intro-title {
    font-size: clamp(42px, 13vw, 60px);
  }

  .love-intro-divider {
    margin:
      26px
      auto
      28px;
  }

  .love-intro-text {
    font-size: 16px;
    line-height: 1.85;
  }

  .love-intro-line {
    height: 38px;

    margin:
      30px
      auto
      24px;
  }

  .love-intro-signature {
    font-size: 15px;
  }
}
```
