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

:root {
  --ivory: #fdf8f0;
  --blush: #e8c4b0;
  --rose: #c4856a;
  --deep: #3a2a22;
  --gold: #b8956a;
  --mist: #f5ede4;
  --sage: #8a9e88;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--ivory);
  color: var(--deep);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--rose);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/photo/bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(0.5px);
  transform: scale(1.05);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 235, 0.55);
  z-index: 1;
}
.hero-deco,
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-deco {
  position: absolute;
  z-index: 2;
  animation: floatingFlower 6s ease-in-out infinite;
}
.hero-deco.left {
  left: -2rem;
  top: 15%;
}
.hero-deco.right {
  right: -2rem;
  bottom: 15%;
  transform: scaleX(-1);
  animation-delay: 2s;
}

@keyframes floatingFlower {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeUpIn 1s ease forwards;
  opacity: 0;
}
.hero-names {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--deep);
  animation: fadeUpIn 1s 0.3s ease forwards;
  opacity: 0;
}
.hero-names span {
  color: var(--rose);
  font-style: italic;
}
.hero-amp {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--gold);
  margin: 0.3rem 0;
}
.hero-date {
  margin-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  animation: fadeUpIn 1s 0.6s ease forwards;
  opacity: 0;
}
.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.8rem auto;
  animation: fadeUpIn 1s 0.8s ease forwards;
  opacity: 0;
}
.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--rose);
  animation: fadeUpIn 1s 1s ease forwards;
  opacity: 0;
}
.hero-cta {
  margin-top: 3rem;
  display: inline-block;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.4s;
  animation: fadeUpIn 1s 1.2s ease forwards;
  opacity: 0;
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* JASMINE / SNOWFLAKE */
.jasmine-petal,
.snowflake {
  position: fixed;
  top: -50px;
  z-index: 1;
  pointer-events: none;
}
.snowflake {
  background: white;
  border-radius: 50%;
  z-index: 999;
  filter: blur(1px);
  opacity: 0.8;
  animation: snow-fall linear forwards;
}
@keyframes snow-fall {
  0% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(25vh) translateX(15px);
  }
  50% {
    transform: translateY(50vh) translateX(-15px);
  }
  75% {
    transform: translateY(75vh) translateX(15px);
  }
  100% {
    transform: translateY(105vh) translateX(0);
    opacity: 0.3;
  }
}
.jasmine-petal {
  z-index: 1000;
  user-select: none;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
  animation: jasmine-fall linear forwards;
}
@keyframes jasmine-fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh) rotate(1080deg) translateX(50px);
    opacity: 0;
  }
}

/* COUNTDOWN */
.countdown-section {
  background: var(--deep);
  padding: 3rem 2rem;
  text-align: center;
}
.countdown-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.5rem;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.countdown-item {
  text-align: center;
}
.countdown-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 1;
}
.countdown-unit {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 0.3rem;
}

/* SECTION BASE */
section {
  padding: 7rem 2rem;
}
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  text-align: center;
  color: var(--deep);
  margin-bottom: 1rem;
}
.section-title em {
  color: var(--rose);
  font-style: italic;
}
.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 3.5rem;
}

/* ============================================================
   STORY — BOOK FLIP
   ============================================================ */
.story {
  background: var(--mist);
}

.book-outer {
  max-width: 440px;
  margin: 0 auto;
}

/* Pages stack — relative container */
.pages-stack {
  position: relative;
  min-height: 480px;
}

/* Each page */
.bpage {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow:
    0 8px 30px rgba(58, 42, 34, 0.18),
    0 2px 0 var(--gold);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(55px) scale(0.97);
  pointer-events: none;
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
  overflow: hidden;
}
.bpage.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  position: relative;
}

/* Spine bar top */
.spine-bar {
  background: linear-gradient(90deg, #c4856a, #b8956a 50%, #a07850);
  height: 10px;
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
.spine-bar-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

/* Page inner content */
.bpage-inner {
  padding: 1.6rem 1.4rem 1rem;
  background: #fffdf9;
  position: relative;
  z-index: 1;
}

.chapter-label {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.chapter-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.chapter-title em {
  color: var(--rose);
  font-style: italic;
}
.chapter-divider {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1rem;
}

/* Photo on page 1 */
.img-frame {
  padding: 8px;
  border: 1px solid rgba(184, 149, 106, 0.3);
  border-radius: 4px;
  background: #fffdf9;
  margin-bottom: 0.6rem;
}
.story-img-placeholder {
  width: 100%;
  padding-top: 58%;
  background: linear-gradient(145deg, var(--blush), var(--rose));
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.img-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.story-img-placeholder::after {
  content: "♥";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.35);
}
.img-caption {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gold);
}

/* Rulings (lined paper) for page 2 */
.rulings-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 28px,
    rgba(184, 149, 106, 0.08) 28px,
    rgba(184, 149, 106, 0.09) 29px
  );
}

/* Story text */
.story-text p {
  font-size: 0.86rem;
  line-height: 1.9;
  color: #5a3e32;
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}
.story-text p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  float: left;
  line-height: 0.75;
  margin: 0.12rem 0.45rem 0 0;
  color: var(--rose);
  font-weight: 600;
}
.story-quote {
  margin: 1rem 0 1.1rem;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--gold);
  background: rgba(184, 149, 106, 0.05);
  border-radius: 0 3px 3px 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #8a6050;
  line-height: 1.65;
}

/* Page fold */
.page-fold {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent #f0e8dd transparent;
}

/* Page number row */
.page-num-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.2rem 0.9rem;
  background: #fffdf9;
}
.bpage-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.6rem;
  color: #c4a882;
}

/* Navigation buttons */
.page-nav-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(184, 149, 106, 0.45);
  border-radius: 30px;
  padding: 0.35rem 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s;
}
.page-nav-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.nav-arrow {
  font-size: 0.85rem;
}

/* Closing page 3 */
.bpage-end {
  padding: 2.5rem 1.4rem 1.5rem;
  text-align: center;
  background: #fffdf9;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.end-heart {
  font-size: 2.5rem;
  color: var(--rose);
  margin-bottom: 1rem;
  animation: heartbeat 1.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.end-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 0.4rem;
}
.end-title em {
  color: var(--rose);
  font-style: italic;
}
.end-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.end-quote {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #8a6050;
  line-height: 1.7;
  max-width: 280px;
}

/* Dot indicators */
.dot-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.2rem;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(184, 149, 106, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* EVENTS */
.events {
  background: var(--ivory);
}
.events-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.event-card {
  border: 1px solid rgba(184, 149, 106, 0.3);
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58, 42, 34, 0.1);
}
.event-card:hover::before {
  transform: scaleX(1);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.event-icon img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(184, 149, 106, 0.35));
  animation: floatIcon 3s ease-in-out infinite;
  transform-origin: center;
}
.event-card:nth-child(1) .event-icon img {
  animation-delay: 0s;
}
.event-card:nth-child(2) .event-icon img {
  animation-delay: 0.8s;
}
.event-card:nth-child(3) .event-icon img {
  animation-delay: 1.6s;
}
.event-card:hover .event-icon img {
  animation: spinBounce 0.7s ease forwards;
  filter: drop-shadow(0 8px 18px rgba(196, 133, 106, 0.55));
}
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(6deg);
  }
  66% {
    transform: translateY(-5px) rotate(-6deg);
  }
}
@keyframes spinBounce {
  0% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.3) rotate(120deg);
  }
  55% {
    transform: scale(0.88) rotate(300deg);
  }
  80% {
    transform: scale(1.12) rotate(345deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}
.event-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.event-date {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.event-detail {
  font-size: 0.82rem;
  color: #7a5a4a;
  line-height: 1.7;
}

/* GALLERY */
.gallery {
  background: var(--deep);
}
.gallery .section-title {
  color: var(--blush);
}
.gallery .section-label {
  color: var(--rose);
}
.gallery-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
}
.gallery-item:first-child {
  grid-column: span 2;
}
.gallery-item:last-child {
  grid-column: span 2;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

/* LOCATION */
.rsvp-section {
  background: var(--mist);
}
.rsvp-btn {
  width: 100%;
  padding: 1rem;
  background: var(--rose);
  color: #fff;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.5rem;
}
.rsvp-btn:hover {
  background: var(--deep);
}

/* GIFT / QR */
.gift-section {
  background: var(--ivory);
}
.gift-intro {
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.9;
  color: #5a3e32;
}
.qr-cards {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.qr-card {
  background: #fff;
  border: 1px solid rgba(184, 149, 106, 0.3);
  padding: 2.2rem 2rem 1.8rem;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.qr-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s;
}
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58, 42, 34, 0.1);
}
.qr-card:hover::after {
  transform: scaleX(1);
}
.qr-name {
  font-family: "Moul", serif;
  font-size: 1rem;
  color: #1c3f94;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.qr-handle {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.qr-box {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.2rem;
  background: #fff;
  border: 2px solid rgba(184, 149, 106, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.qr-note {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a07060;
}
.qr-copy-btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.qr-copy-btn:hover {
  background: var(--gold);
  color: var(--ivory);
}
.gift-bank {
  max-width: 480px;
  margin: 3rem auto 0;
  border: 1px solid rgba(184, 149, 106, 0.25);
  background: #fff;
  padding: 2rem 2.5rem;
  text-align: left;
}
.gift-bank-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--deep);
  margin-bottom: 1.2rem;
  text-align: center;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(184, 149, 106, 0.25);
  font-size: 0.8rem;
}
.bank-row:last-child {
  border-bottom: none;
}
.bank-label {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.65rem;
  text-transform: uppercase;
}
.bank-val {
  color: var(--deep);
  font-weight: 500;
}

/* FOOTER */
footer {
  background: var(--deep);
  color: var(--blush);
  text-align: center;
  padding: 3rem 2rem;
}
.footer-names {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--blush);
  margin-bottom: 0.5rem;
}
.footer-date {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
}
.footer-note {
  font-size: 0.75rem;
  color: rgba(232, 196, 176, 0.5);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(184, 149, 106, 0.4);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #a07850;
}

/* MUSIC BUTTON */
.music-btn {
  position: fixed;
  bottom: 2.2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 15px rgba(184, 149, 106, 0.4);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}
.music-btn:hover {
  background: #a07850;
  transform: scale(1.04);
}
.music-icon {
  font-size: 1rem;
}
.music-icon.playing {
  display: inline-block;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* MOBILE NAV */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--rose);
  transition: 0.3s;
}
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 101;
  }
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 70%;
    background: var(--ivory);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    transition: 0.4s;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
  }
  .nav-links a {
    margin-bottom: 40px;
    margin-left: 50px;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }
  .nav-links.active {
    right: 0;
  }
  nav {
    padding: 1rem 1.5rem;
  }
  .hero-names {
    font-size: 3.5rem;
  }
  .hero-amp {
    font-size: 2rem;
  }
  .hero-deco {
    width: 150px;
    height: auto;
    opacity: 0.6;
  }
  .hero-deco.left {
    left: 5%;
    top: 20%;
  }
  .hero-deco.right {
    right: 5%;
    bottom: 20%;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:first-child,
  .gallery-item:last-child {
    grid-column: span 2;
  }
  .countdown-grid {
    gap: 1rem;
  }
  .countdown-num {
    font-size: 2rem;
  }
  .qr-cards {
    flex-direction: column;
    align-items: center;
  }
  .map-container {
    height: 250px !important;
  }
  section {
    padding: 4rem 1.5rem;
  }

  /* Book mobile */
  .book-outer {
    max-width: 100%;
  }
  .pages-stack {
    min-height: 420px;
  }
  .bpage-inner {
    padding: 1.3rem 1.1rem 0.8rem;
  }
  .story-img-placeholder {
    padding-top: 52%;
  }
  .story-text p {
    font-size: 0.82rem;
  }
}
