:root {
  --rose: #ff4d6d;
  --rose2: #ff758f;
  --rose3: #ffb3c1;
  --gold: #ffd700;
  --dark: #0e0810;
  --dark2: #1a0d1a;
  --dark3: #251525;
  --cream: #fff0f3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}

/* ── CUTE SCROLLBAR ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--rose), var(--rose2));
  border-radius: 20px;
  border: 3px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--rose2), var(--rose3));
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--dark);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(to right, var(--rose), var(--rose2), var(--rose3));
  width: 0%;
  z-index: 3000;
  border-radius: 0 100px 100px 0;
  box-shadow: 0 0 20px var(--rose);
}

/* ── CURSOR & EFFECTS ── */
#cur {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px var(--rose));
  transition: transform 0.1s;
}

#cur::after {
  content: '❤';
  color: var(--rose);
  animation: heartPulse 1.5s infinite;
}

@keyframes heartPulse {

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

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

#cur-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 77, 109, .4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all .1s ease-out
}

.cursor-heart {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  color: var(--rose2);
  font-size: 14px;
  animation: heartFade 1s ease-out forwards;
}

@keyframes heartFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateY(-60px) scale(2) rotate(45deg);
  }
}

/* ── PETALS & FLOATING STUFF ── */
.petal {
  position: fixed;
  top: -10%;
  pointer-events: none;
  z-index: 3;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
  }
}



/* ── WANDERING HEARTS ── */
.wandering-heart {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  font-size: 20px;
  opacity: 0.3;
  animation: wander 15s linear infinite;
}

@keyframes wander {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(100px, 100px) rotate(90deg);
  }

  50% {
    transform: translate(0, 200px) rotate(180deg);
  }

  75% {
    transform: translate(-100px, 100px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ── NOISE overlay ── */
body::after {
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .03;
  pointer-events: none;
  z-index: 500
}

/* ── PARTICLES ── */
#pts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden
}

.pt {
  position: absolute;
  border-radius: 50%;
  animation: ptDrift linear infinite;
  opacity: 0
}

@keyframes ptDrift {
  0% {
    transform: translateY(105vh) scale(0);
    opacity: 0
  }

  5% {
    opacity: .5
  }

  90% {
    opacity: .2
  }

  100% {
    transform: translateY(-5vh) scale(1);
    opacity: 0
  }
}

/* ── CUTE CAPSULE NAV ── */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  padding: 0.8rem 2rem;
  background: rgba(255, 77, 109, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: navFloat 4s ease-in-out infinite;
}

@keyframes navFloat {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -5px);
  }
}

nav:hover {
  transform: translate(-50%, -2px) scale(1.02);
  background: rgba(255, 77, 109, 0.15);
  border-color: var(--rose);
}

.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.3rem;
  color: var(--rose);
  text-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo::before {
  content: '🎀';
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 240, 243, 0.7);
  text-decoration: none;
  transition: all .3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--rose);
  transform: translateY(-2px);
  text-shadow: 0 0 8px var(--rose);
}

/* ── CUTE BUBBLES ── */
.bubble {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: bubbleRise 10s linear infinite;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(110vh) scale(0);
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden
}

/* ─────────── HERO ─────────── */
#hero {
  background: var(--dark)
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbMove 10s ease-in-out infinite alternate
}

.orb1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 77, 109, .15);
  top: -10%;
  left: -10%
}

.orb2 {
  width: 350px;
  height: 350px;
  background: rgba(255, 215, 0, .08);
  bottom: -10%;
  right: -5%;
  animation-delay: -3s
}

.orb3 {
  width: 250px;
  height: 250px;
  background: rgba(199, 125, 255, .1);
  top: 40%;
  right: 10%;
  animation-delay: -6s
}

@keyframes orbMove {
  from {
    transform: translate(0, 0) scale(1)
  }

  to {
    transform: translate(50px, 30px) scale(1.2)
  }
}

/* FILM STRIP HERO PHOTO */
.film-frame {
  position: relative;
  width: 350px;
  margin: 0 auto 2.5rem;
  animation: heroFloat 5s ease-in-out infinite
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-16px) rotate(1deg)
  }
}

.film-sprocket-row {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  margin-bottom: 4px
}

.film-sprocket-row.bot {
  margin-bottom: 0;
  margin-top: 4px
}

.sprocket {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: var(--dark3);
  border: 1px solid rgba(255, 255, 255, .08)
}

.film-photo {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(255, 77, 109, .35), 0 0 0 1px rgba(255, 255, 255, .06);
  transition: all .4s ease
}

.film-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 40px 100px rgba(255, 77, 109, .5)
}

.film-wrap {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(255, 77, 109, .15)
}

.film-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 0;
}

.film-meta span {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 240, 243, .4)
}

.film-meta .fm-heart {
  color: var(--rose);
  animation: pulse .9s ease-in-out infinite
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--rose);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(255, 77, 109, .5);
  animation: badgeSpin 12s linear infinite;
  color: white;
}

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

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.4)
  }
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 60px;
  margin-bottom: 2rem;
  animation: fadeUp .8s ease both
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  text-align: center;
  margin-bottom: 1rem;
  animation: fadeUp .8s .15s ease both
}

.hero-h1 em {
  font-style: italic;
  color: var(--rose2);
  font-family: 'Pacifico', cursive;
  font-size: 0.8em;
}

.outline {
  -webkit-text-stroke: 1px rgba(255, 117, 143, .5);
  color: transparent
}

.hero-sub {
  font-size: 13px;
  color: rgba(255, 240, 243, .4);
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeUp .8s .3s ease both
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(255, 77, 109, .4);
  transition: all .25s;
  text-decoration: none;
  animation: fadeUp .8s .45s ease both
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 77, 109, .5)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

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

/* ─────────── LOOP STRIP ─────────── */
#loop-strip {
  min-height: auto;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 77, 109, .1);
  border-bottom: 1px solid rgba(255, 77, 109, .1);
  background: linear-gradient(to right, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%)
}

.strip-row {
  overflow: hidden;
  padding: 12px 0
}

.strip-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: stripScroll 18s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.strip-track.rev {
  animation-direction: reverse;
  animation-duration: 22s
}

.strip-track:hover {
  animation-play-state: paused
}

.strip-card {
  width: 180px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255, 77, 109, .15);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: pointer;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.strip-card:hover {
  transform: scale(1.06) rotate(-1.5deg);
  border-color: var(--rose);
  box-shadow: 0 16px 40px rgba(255, 77, 109, .35)
}

.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.strip-card:hover img {
  transform: scale(1.1)
}

.strip-card .sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 8, 16, .9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 12px
}

.strip-card:hover .sc-overlay {
  opacity: 1
}

.sc-overlay p {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--rose3)
}

@keyframes stripScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ─────────── MEMORIES ─────────── */
#memories {
  background: var(--dark)
}

.sec-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .6rem;
  text-align: center
}

.sec-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  text-align: center;
  line-height: 1.1;
  margin-bottom: .4rem
}

.sec-h2 em {
  font-style: italic;
  color: var(--rose2);
  font-family: 'Pacifico', cursive;
}

.sec-sub {
  font-size: 12px;
  color: rgba(255, 240, 243, .35);
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 3rem
}

.mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.year-header {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0 2rem;
  position: relative;
  width: 100%;
}

.year-header h3 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  background: linear-gradient(to bottom, var(--rose), var(--rose2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(255, 77, 109, 0.2);
  margin-bottom: 10px;
  animation: fadeUp 1s ease both;
}

.year-header::after {
  content: '';
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.soon-section {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 1rem;
  opacity: 0.8;
  width: 100%;
}

.soon-text {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2.2rem, 8vw, 5rem);
  letter-spacing: clamp(5px, 2vw, 15px);
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--gold), #fff, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite, pulse 2s infinite ease-in-out;
  margin-bottom: 1rem;
  width: 100%;
  display: block;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.mg {
  background: #fff;
  padding: 12px;
  padding-bottom: 60px;
  border-radius: 2px;
  overflow: visible; /* To allow tape to overflow */
  border: none;
  position: relative;
  cursor: pointer;
  transition: all .5s cubic-bezier(0.4, 0, 0.2, 1.2);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  height: 400px;
}

/* Tape Effect */
.mg::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 100px;
  height: 35px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border-left: 2px dashed rgba(0,0,0,0.1);
  border-right: 2px dashed rgba(0,0,0,0.1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  z-index: 10;
}

.mg:hover {
  transform: translateY(-15px) rotate(3deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  z-index: 100;
}

.mg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s
}

.mg:hover img {
  transform: scale(1.1)
}

.mg .mg-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.mg:hover .mg-cap {
  background: transparent;
}


.mg-cap .mc-title {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: 1.1rem;
  color: #444;
  letter-spacing: 0;
  text-transform: none;
}

.mg:hover .mc-title {
  color: var(--rose);
  transform: scale(1.1);
}

/* Removed fixed grid positions to support dynamic photo count */

/* ─────────── REASONS ─────────── */
#reasons {
  background: var(--dark2)
}

.reasons-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 560px;
  width: 100%;
  margin-bottom: 2rem
}

.rc {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 77, 109, .15);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  text-align: left;
  transition: all .3s;
  cursor: default;
  position: relative;
  overflow: hidden
}

.rc:hover {
  border-color: var(--rose);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 77, 109, .2)
}

.rc-icon {
  font-size: 28px;
  margin-bottom: .6rem;
  display: block;
  transition: transform .3s
}

.rc:hover .rc-icon {
  transform: scale(1.2) rotate(-5deg)
}

.rc-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--rose3);
  letter-spacing: .3px;
  margin-bottom: 2px
}

.rc-sub {
  font-size: 11px;
  color: rgba(255, 240, 243, .3);
  line-height: 1.5
}

.rc-num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 77, 109, .3)
}

/* ─────────── TIMELINE ─────────── */
#timeline {
  background: var(--dark)
}

.tl-wrap {
  width: 100%;
  max-width: 560px;
  position: relative
}

.tl-spine {
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--rose) 15%, var(--rose) 85%, transparent);
  opacity: .2
}

.tl-entry {
  display: flex;
  gap: 18px;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s, transform .7s
}

.tl-entry.vis {
  opacity: 1;
  transform: translateX(0)
}

.tl-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--dark2);
  border: 1px solid rgba(255, 77, 109, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  z-index: 1;
  transition: all .35s
}

.tl-entry:hover .tl-dot {
  border-color: var(--rose);
  background: rgba(255, 77, 109, .12);
  transform: scale(1.1)
}

.tl-body {
  flex: 1;
  padding-top: .4rem
}

.tl-label {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px
}

.tl-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--cream)
}

.tl-desc {
  font-size: 13px;
  color: rgba(255, 240, 243, .45);
  line-height: 1.9
}

/* ─────────── LETTER ─────────── */
#letter {
  background: var(--dark2)
}

.letter-outer {
  max-width: 520px;
  width: 100%;
  position: relative
}

.letter-deco {
  position: absolute;
  top: -40px;
  left: -30px;
  font-family: 'Abril Fatface', serif;
  font-size: 180px;
  color: rgba(255, 77, 109, .05);
  line-height: 1;
  pointer-events: none;
  user-select: none
}

.letter-card {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 77, 109, .2);
  border-radius: 28px;
  padding: 3rem 2.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3)
}

.lc-from {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem
}

.lc-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 2.1;
  color: rgba(255, 240, 243, .82)
}

.lc-body em {
  color: var(--rose2);
  font-style: italic;
  font-weight: 600;
}

.lc-sign {
  margin-top: 2rem;
  text-align: right;
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: var(--rose2)
}

.typing-cursor {
  border-right: 3px solid var(--rose);
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ─────────── LIGHTBOX ─────────── */
#lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: .5s;
  backdrop-filter: blur(15px)
}

#lb.open {
  opacity: 1;
  pointer-events: all
}

#lb-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 20px;
  border: 2px solid var(--rose);
  box-shadow: 0 0 50px var(--rose)
}

.lb-inner {
  position: relative;
  text-align: center;
  max-width: 90vw
}

.lb-x {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s
}

.lb-x:hover {
  transform: rotate(90deg);
  background: #ff4d6d
}

#lb-cap-text {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose3)
}

/* ─────────── FLOATING HEARTS ─────────── */
#fh-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  overflow: hidden
}

.fh {
  position: absolute;
  font-size: 18px;
  animation: floatHeart 3.5s ease-out forwards;
  opacity: 0
}

@keyframes floatHeart {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  100% {
    opacity: 0;
    transform: translateY(-180px) scale(.3)
  }
}

/* ── EXPLOSION ── */
.explosion-heart {
  position: fixed;
  pointer-events: none;
  z-index: 5000;
  animation: explode 0.8s ease-out forwards;
}

@keyframes explode {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.5);
    opacity: 0;
  }
}

/* ── PIXEL SECTION ── */
#pixel-surprise {
  background: linear-gradient(to bottom, var(--dark2), #1f1125);
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.pixel-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
}

.pixel-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.pixel-frame {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 4px double var(--rose);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(255, 77, 109, 0.3);
  animation: pixelFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.pixel-bubble-main {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--dark);
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.pixel-bubble-main::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}

@keyframes pixelFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.pixel-img {
  width: 320px;
  height: auto;
  display: block;
  image-rendering: pixelated;
  border-radius: 10px;
  transition: transform 0.2s;
}

.pixel-container:active .pixel-img {
  transform: scale(0.95);
}

.pixel-container.jump .pixel-frame {
  animation: pixelJump 0.5s ease;
}

@keyframes pixelJump {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-40px) scale(1.1);
  }
}

/* ── SUPER SURPRISE ── */
.super-heart {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 300px;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 0 50px var(--rose));
  animation: superHeartPop 1s ease-out forwards;
}

@keyframes superHeartPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  30% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.shake {
  animation: screenShake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes screenShake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.bg-flash {
  position: fixed;
  inset: 0;
  background: var(--rose);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  animation: flashAnim 0.8s ease-out;
}

@keyframes flashAnim {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
  }
}

/* ── STICKERS ── */
.sticker {
  position: fixed;
  pointer-events: all;
  z-index: 150;
  cursor: grab;
  font-size: 24px;
  user-select: none;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: stickerWander 20s linear infinite;
}

.sticker:hover {
  transform: scale(1.4) rotate(15deg);
  z-index: 1000;
}

.sticker:active {
  cursor: grabbing;
  transform: scale(0.9);
}

@keyframes stickerWander {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(100px, 50px) rotate(90deg);
  }

  50% {
    transform: translate(50px, 150px) rotate(180deg);
  }

  75% {
    transform: translate(-50px, 100px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* ── LOCAL DECOR ── */
.decor-item {
  position: absolute;
  pointer-events: none;
  font-size: 20px;
  animation: decorFloat 3s ease-in-out infinite;
}

@keyframes decorFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 992px) {
  .mag-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .mg {
    height: 250px !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .reasons-wrap {
    grid-template-columns: 1fr;
  }

  .sec-h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    width: 95%;
    padding: 0.6rem 1.2rem;
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  /* Simplified for mobile */
  .nav-logo {
    font-size: 1.1rem;
  }

  .hero-h1 {
    font-size: 3.5rem;
  }

  .hero-eyebrow {
    margin-top: 30px;
    margin-bottom: 1rem;
  }

  .film-frame {
    width: 280px;
  }

  .film-photo {
    height: 420px;
  }

  #memories {
    padding-left: 10px;
    padding-right: 10px;
  }

  .mag-grid {
    grid-template-columns: 1fr;
  }

  .mg {
    height: 300px !important;
  }

  .tl-spine {
    left: 20px;
  }

  .tl-dot {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .tl-entry {
    gap: 12px;
  }

  .pixel-img {
    width: 240px;
  }

  .letter-card {
    padding: 2rem 1.5rem;
  }

  #cur,
  #cur-ring {
    display: none;
  }

  /* Hide custom cursor on mobile */
  body {
    cursor: auto;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: 2.8rem;
  }

  .sec-h2 {
    font-size: 2.2rem;
  }

  .pixel-img {
    width: 200px;
  }
}



/* HEART FRAME ADDITION */
.heart-frame { position: relative; width: min(600px, 95vw); height: min(550px, 85vw); margin: 0 auto 5rem; display: flex; justify-content: center; animation: heroFloat 5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(255, 77, 109, 0.4)); }
.heart-photo { width: 100%; height: 100%; object-fit: cover; display: block; background-color: var(--rose3); -webkit-mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/%3E%3C/svg%3E'); -webkit-mask-size: 100% 100%; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/%3E%3C/svg%3E'); mask-size: 100% 100%; mask-position: center; mask-repeat: no-repeat; transition: transform 0.4s ease; }
.heart-photo:hover { transform: scale(1.05); }

/* GALLERY REVEAL BOX */
#gallery-box {
  width: min(350px, 90vw);
  margin: 3rem auto;
  padding: 2.5rem;
  background: rgba(255, 77, 109, 0.05);
  border: 2px dashed rgba(255, 77, 109, 0.3);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  backdrop-filter: blur(10px);
}

#gallery-box:hover {
  background: rgba(255, 77, 109, 0.12);
  transform: translateY(-10px) scale(1.02);
  border-color: var(--rose);
  box-shadow: 0 20px 40px rgba(255, 77, 109, 0.2);
}

.box-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: boxBounce 2s infinite ease-in-out;
}

@keyframes boxBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1) rotate(5deg); }
}

.gallery-hidden {
  display: none;
  opacity: 0;
  transform: scale(0.9) translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-visible {
  display: block !important;
  animation: galleryReveal 1s ease forwards;
}

@keyframes galleryReveal {
  from { opacity: 0; transform: scale(0.9) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
