/* ============================================================
   THÔI NÔI INVITATION — Pink Princess "Storybook" Edition
   ============================================================ */

:root {
  --cream: #fff5f8;
  --band-1: #ffe9f0;
  --band-2: #ffd1e0;
  --band-3: #ffb8cf;
  --band-4: #ff9dbf;
  --pink-mid: #ff7fae;
  --pink-deep: #e85d97;
  --pink-darker: #c93f79;
  --text-dark: #7a2e52;
  --text-soft: #a9587e;
  --white: #ffffff;
  --gold: #f4c542;
  --gold-deep: #e8a93a;
  --shadow-soft: 0 10px 30px rgba(201, 63, 121, 0.18);

  --font-script: 'Dancing Script', cursive;
  --font-round: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow-x: hidden;
  min-height: 100vh;
  background: linear-gradient(180deg,
      var(--cream) 0%,
      var(--band-1) 8%,
      var(--band-2) 18%,
      var(--band-1) 27%,
      var(--band-3) 36%,
      var(--band-2) 46%,
      var(--band-4) 55%,
      var(--band-3) 64%,
      var(--band-1) 73%,
      var(--band-2) 82%,
      var(--band-4) 91%,
      var(--pink-deep) 100%);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

#floating-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* ============================================================
   INTRO SCREEN
   ============================================================ */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: radial-gradient(circle at 50% 22%, #fff0f5 0%, #ffd9e6 45%, #ff9dbf 100%);
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#intro-screen.closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(2px);
  animation: cloudDrift 14s ease-in-out infinite;
}

.intro-cloud.c1 {
  width: 160px;
  height: 60px;
  top: 14%;
  left: -10%;
  animation-duration: 18s;
}

.intro-cloud.c2 {
  width: 120px;
  height: 46px;
  top: 68%;
  right: -8%;
  animation-duration: 22s;
  animation-delay: -4s;
}

.intro-cloud.c3 {
  width: 90px;
  height: 36px;
  top: 40%;
  left: 78%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes cloudDrift {

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

  50% {
    transform: translateX(24px) translateY(-10px);
  }
}

.intro-deco-crown,
.intro-deco-star,
.intro-deco-wand,
.intro-deco-bear-mini {
  position: absolute;
  animation: floatSlow 6s ease-in-out infinite;
}

.intro-deco-crown.p1 {
  width: 70px;
  top: 12%;
  right: 10%;
  animation-delay: -1s;
}

.intro-deco-star.s1 {
  width: 34px;
  top: 22%;
  left: 8%;
  animation-delay: -2.4s;
}

.intro-deco-star.s2 {
  width: 26px;
  bottom: 20%;
  right: 14%;
  animation-delay: -0.6s;
}

.intro-deco-wand {
  width: 60px;
  bottom: 14%;
  left: 10%;
  animation-delay: -3s;
  transform: rotate(-15deg);
}

.intro-deco-bear-mini {
  width: 60px;
  top: 62%;
  right: 6%;
  animation-delay: -4.5s;
}

@keyframes floatSlow {

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

  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}

.intro-label {
  text-align: center;
  z-index: 3;
}

.intro-label-sub {
  font-family: var(--font-round);
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--pink-darker);
  font-weight: 600;
  margin-bottom: 6px;
}

.intro-label-script {
  font-family: var(--font-script);
  font-size: 3.6rem;
  color: var(--pink-deep);
  text-shadow: 0 4px 18px rgba(232, 93, 151, 0.35);
  line-height: 1;
}

.intro-label-name {
  font-family: var(--font-round);
  font-size: 1rem;
  color: var(--text-soft);
  margin-top: 10px;
  font-weight: 500;
}

.intro-guest-hl {
  color: var(--pink-darker);
  font-weight: 700;
}

.balloon-outer {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.balloon-cluster {
  cursor: pointer;
  width: 175px;
  outline: none;
  filter: drop-shadow(0 14px 28px rgba(201, 63, 121, 0.32));
  animation: bobGentle 3.6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.balloon-cluster:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 20px 36px rgba(201, 63, 121, 0.42));
}

.balloon-cluster:hover .gift-bow {
  transform: rotate(-3deg) scale(1.05);
}

.balloon-cluster:hover .gift-lid {
  transform: translateY(-3deg) rotate(-1deg);
}

@keyframes bobGentle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-6px) rotate(-1.2deg) scale(1.01);
  }
  50% {
    transform: translateY(-12px) rotate(0deg) scale(1.02);
  }
  75% {
    transform: translateY(-5px) rotate(1.2deg) scale(1.01);
  }
}

.gift-box {
  width: 100%;
  overflow: visible;
}

.gift-ground-shadow {
  transform-box: fill-box;
  transform-origin: center;
  animation: shadowPulse 3.6s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(0.82);
    opacity: 0.1;
  }
}

.gift-body {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-lid {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform 0.85s cubic-bezier(0.22, 1.15, 0.4, 1),
    opacity 0.75s ease 0.1s;
}

.gift-bow {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-glow {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(0.2);
  transition: transform 0.7s ease 0.2s, opacity 0.7s ease 0.2s;
}

.gift-pop {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.22, 1.4, 0.4, 1), opacity 0.5s ease;
}

.pop-1 {
  transform: translate(70px, 92px) scale(0.4);
}

.pop-2 {
  transform: translate(120px, 96px) scale(0.4);
}

.pop-3 {
  transform: translate(88px, 70px) scale(0.4);
}

.pop-4 {
  transform: translate(108px, 108px) scale(0.4);
}

/* ── OPEN STATE ── */
.balloon-cluster.open {
  animation: none;
}

.balloon-cluster.open .gift-ground-shadow {
  animation: none;
  opacity: 0.08;
  transform: scale(0.7);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.balloon-cluster.open .gift-body {
  animation: boxSquish 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(1px);
}

@keyframes boxSquish {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  25% {
    transform: scale(1.04, 0.94) translateY(3px);
  }
  60% {
    transform: scale(0.98, 1.02) translateY(-2px);
  }
  100% {
    transform: scale(1, 1) translateY(1px);
  }
}

.balloon-cluster.open .gift-lid {
  transform: translate(-14px, -84px) rotate(-32deg) scale(0.92);
  opacity: 0;
}

.balloon-cluster.open .gift-glow {
  opacity: 1;
  transform: scale(2.8);
}

.balloon-cluster.open .pop-1 {
  opacity: 1;
  transform: translate(42px, 12px) scale(1.15) rotate(-22deg);
  transition-delay: 0.25s;
}

.balloon-cluster.open .pop-2 {
  opacity: 1;
  transform: translate(152px, 18px) scale(1.25) rotate(15deg);
  transition-delay: 0.32s;
}

.balloon-cluster.open .pop-3 {
  opacity: 1;
  transform: translate(98px, -6px) scale(1.1) rotate(8deg);
  transition-delay: 0.38s;
}

.balloon-cluster.open .pop-4 {
  opacity: 1;
  transform: translate(132px, 42px) scale(0.95) rotate(-12deg);
  transition-delay: 0.44s;
}

.balloon-hint {
  font-family: var(--font-round);
  font-size: 0.82rem;
  color: var(--pink-darker);
  letter-spacing: 0.5px;
  animation: hintPulse 2.2s ease-in-out infinite;
}

@keyframes hintPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

#transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 50% 40%, #fff5f8, #ff9dbf);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.22, .61, .36, 1), transform 0.9s cubic-bezier(.22, .61, .36, 1);
}

[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-in {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-in {
  transform: translateX(0);
}

#main-page {
  position: relative;
  z-index: 10;
  opacity: 0;
}

#main-page.visible {
  opacity: 1;
  transition: opacity 0.6s ease;
}

/* ============================================================
   SIDE RAIL NAV (desktop only)
   ============================================================ */
.rail-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.rail-nav a span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(232, 93, 151, 0.35);
  transition: all 0.3s ease;
}

.rail-nav a:hover span {
  background: var(--pink-deep);
  transform: scale(1.4);
}

@media (min-width: 1080px) {
  .rail-nav {
    display: flex;
  }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-inner {
  text-align: center;
  margin-bottom: 30px;
}

.section-eyebrow {
  font-family: var(--font-round);
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--pink-darker);
  font-weight: 600;
  text-transform: uppercase;
}

.section-decor-line {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink-deep));
  border-radius: 4px;
  margin: 10px auto;
}

.section-round-title {
  font-family: var(--font-round);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.guest-name-display,
.guest-name-hl {
  color: var(--pink-darker);
  font-weight: 700;
}

/* ============================================================
   HERO — PINK PRINCESS CUTE DOODLE EDITION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 36px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- HERO DOODLES BACKGROUND --- */
.hero-doodles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-doodle {
  position: absolute;
  will-change: transform;
}

.doodle-bunting {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  opacity: 0.85;
}

.doodle-cloud-left {
  top: 5%;
  left: -10px;
  width: 100px;
  animation: doodleFloat 6s ease-in-out infinite alternate;
}

.doodle-cloud-right {
  top: 7%;
  right: -10px;
  width: 90px;
  animation: doodleFloat 7s ease-in-out 1s infinite alternate-reverse;
}

.doodle-bear-peek {
  top: 14%;
  right: 4%;
  width: 65px;
  transform: rotate(12deg);
  animation: doodleWiggle 5s ease-in-out infinite;
}

.doodle-balloons {
  top: 16%;
  left: 4%;
  width: 60px;
  animation: doodleFloat 8s ease-in-out infinite;
}

.doodle-star.s-1 {
  top: 22%;
  left: 12%;
  width: 22px;
  animation: doodleTwinkle 3s ease-in-out infinite;
}

.doodle-star.s-2 {
  top: 12%;
  right: 28%;
  width: 18px;
  animation: doodleTwinkle 4s ease-in-out 1s infinite;
}

.doodle-star.s-3 {
  bottom: 20%;
  right: 10%;
  width: 16px;
  animation: doodleTwinkle 3.5s ease-in-out 0.5s infinite;
}

.doodle-heart.h-1 {
  bottom: 15%;
  left: 8%;
  width: 24px;
  transform: rotate(-15deg);
  animation: doodleBounce 4s ease-in-out infinite;
}

.doodle-heart.h-2 {
  top: 38%;
  right: 4%;
  width: 20px;
  transform: rotate(18deg);
  animation: doodleBounce 5s ease-in-out 1.5s infinite;
}

.doodle-rainbow {
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  opacity: 0.75;
}

/* Animations for doodles */
@keyframes doodleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes doodleWiggle {

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

  50% {
    transform: rotate(18deg) translateY(-6px);
  }
}

@keyframes doodleTwinkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(15deg);
  }
}

@keyframes doodleBounce {

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

  50% {
    transform: translateY(-8px) scale(1.08);
  }
}

/* --- HERO WRAPPER --- */
.hero-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* --- BADGES ROW --- */
.hero-badges-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 2px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-round);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(201, 63, 121, 0.15);
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.hero-badge .badge-icon {
  width: 13px;
  height: 13px;
}

.badge-pink {
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-darker));
  color: var(--white);
  transform: rotate(-3deg);
}

.badge-gold {
  background: linear-gradient(135deg, #fce085, var(--gold));
  color: var(--text-dark);
  transform: rotate(2deg);
}

.hero-badge:hover {
  transform: scale(1.05) rotate(0deg);
}

/* --- CARD GROUP --- */
.hero-card-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- CUTE PHOTO FRAME --- */
.hero-photo-frame {
  position: relative;
  width: 92%;
  max-width: 380px;
  background: var(--white);
  padding: 10px 10px 14px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(201, 63, 121, 0.18);
  transform: rotate(-1.5deg);
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Washi Tape accents */
.washi-tape {
  position: absolute;
  top: -10px;
  width: 60px;
  height: 20px;
  background: rgba(255, 209, 224, 0.85);
  border: 1px dashed var(--pink-deep);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tape-left {
  left: 18px;
  transform: rotate(-14deg);
}

.tape-right {
  right: 18px;
  transform: rotate(10deg);
}

.photo-inner-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3.1;
}

.photo-inner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-tag-cute {
  position: absolute;
  bottom: 8px;
  right: 14px;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--text-dark);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 4px;
  transform: rotate(-3deg);
}

.hero-photo-tag-cute svg {
  width: 12px;
  height: 12px;
}

/* --- PLAYFUL TICKET CARD --- */
.hero-ticket-card {
  position: relative;
  z-index: 6;
  width: 96%;
  max-width: 400px;
  margin-top: -24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 22px 20px 18px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(201, 63, 121, 0.2);
  transform: rotate(1.2deg);
}

.ticket-ribbon-bow {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 25px;
  z-index: 8;
  filter: drop-shadow(0 2px 4px rgba(201, 63, 121, 0.2));
}

.greeting-bubble {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 0.8rem;
  color: var(--text-dark);
  background: rgba(255, 233, 240, 0.85);
  padding: 5px 14px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.hero-title-box {
  margin-top: 4px;
  margin-bottom: 4px;
}

.happy-banner {
  display: inline-block;
  font-family: var(--font-round);
  font-size: clamp(1.2rem, 5.2vw, 1.6rem);
  font-weight: 700;
  color: var(--pink-darker);
  letter-spacing: 1.5px;
  background: linear-gradient(180deg, rgba(255, 233, 240, 0.9), #ffffff);
  padding: 4px 16px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1.5px var(--band-3);
  transform: rotate(-1deg);
}

.hero-baby-name-wrap {
  position: relative;
  margin: 6px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-baby-name {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 10.5vw, 3.4rem);
  color: var(--pink-deep);
  line-height: 1.05;
  margin: 0;
  text-shadow: 2px 2px 0px rgba(255, 233, 240, 0.8);
  transform: rotate(0.5deg);
}

.hero-baby-nickname {
  font-family: var(--font-round);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 3px;
  background: rgba(255, 248, 232, 0.9);
  padding: 3px 12px;
  border-radius: 12px;
  margin-top: 2px;
  display: inline-block;
  transform: rotate(-2deg);
  border: 1px dashed var(--gold);
}

.doodle-underline {
  width: 140px;
  height: 14px;
  margin-top: 2px;
}

.hero-date-stamp {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.stamp-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(255, 240, 245, 0.9));
  border: 1.5px solid var(--band-3);
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(201, 63, 121, 0.1);
  transform: rotate(-1deg);
}

.stamp-inner span {
  font-family: var(--font-round);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 2px;
}

.stamp-icon {
  width: 14px;
  height: 14px;
}

/* ============================================================
   INFO SECTION — SEAMLESS TRANSPARENT SPLIT LAYOUT
   ============================================================ */
.info-section {
  padding: 20px 8px 36px;
  position: relative;
}

@media (min-width: 600px) {
  .info-section {
    padding: 36px 20px 50px;
  }
}

.info-card-container {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  /* NO background - completely seamless with canvas background! */
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
}

.info-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.info-doodle.i-cloud {
  top: -15px;
  right: 5px;
  width: 75px;
  animation: doodleFloat 6s ease-in-out infinite alternate;
}

.info-doodle.i-star {
  bottom: 25px;
  left: 2px;
  width: 20px;
  animation: doodleTwinkle 3.5s ease-in-out infinite;
}

.info-doodle.i-heart {
  top: 10px;
  left: -10px;
  width: 22px;
  animation: doodleBounce 4.5s ease-in-out infinite;
}

/* Split Wrapper: Photo LEFT (large, near screen edge), Info RIGHT (compact) */
.info-split-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

@media (min-width: 600px) {
  .info-split-wrapper {
    gap: 24px;
    margin-bottom: 18px;
  }
}

/* Left Photo Column: 54% width on Mobile for balanced two-column layout */
.info-photo-col {
  flex: 0 0 54%;
  max-width: 56%;
  display: flex;
  justify-content: flex-start;
  align-self: center;
}

@media (min-width: 600px) {
  .info-photo-col {
    flex: 0 0 230px;
    max-width: none;
    justify-content: center;
  }
}

/* Wavy Organic Photo Frame - Occupies 70% width on Mobile! */
.wavy-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.05;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: 54% 46% 62% 38% / 44% 56% 44% 56%;
  box-shadow: 0 10px 26px rgba(201, 63, 121, 0.2);
  border: 4px solid #ffffff;
  outline: 2.5px dashed var(--pink-deep);
  outline-offset: 2.5px;
  transform: rotate(-2.5deg);
  margin-left: -4px;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-radius 0.4s ease;
}

@media (min-width: 600px) {
  .wavy-photo-frame {
    width: 220px;
    height: 240px;
    aspect-ratio: auto;
    padding: 8px;
    outline-width: 3px;
    outline-offset: 3px;
    margin-left: 0;
  }
}

.wavy-photo-frame:hover {
  transform: rotate(0deg) scale(1.04);
  border-radius: 46% 54% 50% 50% / 54% 46% 54% 46%;
}

.photo-tape-top {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 52px;
  height: 16px;
  background: rgba(244, 197, 66, 0.85);
  border: 1px dashed #e8a93a;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

@media (min-width: 600px) {
  .photo-tape-top {
    top: -12px;
    width: 60px;
    height: 18px;
  }
}

.wavy-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 58% 42% / 42% 58% 42% 58%;
  overflow: hidden;
}

.wavy-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wavy-frame-tag {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  white-space: nowrap;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-darker));
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(201, 63, 121, 0.25);
  border: 1.5px solid var(--white);
}

@media (min-width: 600px) {
  .wavy-frame-tag {
    bottom: -10px;
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: 16px;
    border-width: 2px;
  }
}

/* Right Details Column: Generous vertical spacing & comfortable layout */
.info-details-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 6px;
  gap: 6px;
}

.info-header-badge {
  margin-bottom: 4px;
}

.info-pill-tag {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--pink-darker);
  background: rgba(255, 233, 240, 0.9);
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px dashed var(--pink-deep);
}

@media (min-width: 600px) {
  .info-pill-tag {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    padding: 4px 14px;
  }
}

.info-baby-fullname {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 4.5vw, 2.6rem);
  color: var(--pink-deep);
  line-height: 1.08;
  margin: 4px 0 10px;
}

.info-nick-inline {
  font-family: var(--font-round);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.5px;
  background: rgba(255, 248, 232, 0.9);
  padding: 2px 6px;
  border-radius: 6px;
  vertical-align: middle;
  border: 1px solid var(--gold);
}

@media (min-width: 600px) {
  .info-nick-inline {
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 8px;
  }
}

/* Stats row: Generous vertical spacing on mobile */
.info-stats-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
  width: 100%;
}

@media (min-width: 600px) {
  .info-stats-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}

.info-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 184, 207, 0.95);
  box-shadow: 0 4px 10px rgba(201, 63, 121, 0.08);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .info-stat-pill {
    padding: 8px 16px;
    border-radius: 20px;
  }
}

.dob-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 240, 246, 0.92));
  border: 1.5px solid rgba(255, 184, 207, 0.95);
  box-shadow: 0 4px 12px rgba(201, 63, 121, 0.1);
  padding: 6px 14px 6px 11px;
  border-radius: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .dob-pill {
    padding: 8px 18px;
  }
}

.stat-emoji {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .stat-emoji {
    font-size: 1.35rem;
  }
}

.stat-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.stat-label {
  font-family: var(--font-round);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--pink-darker);
  opacity: 0.85;
  white-space: nowrap;
}

.stat-val,
.stat-text strong {
  font-family: var(--font-round);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pink-darker);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

@media (min-width: 600px) {
  .stat-label {
    font-size: 0.72rem;
  }
  .stat-val,
  .stat-text strong {
    font-size: 1.1rem;
  }
}

/* Speech Bubble Quote Box pointing down to Banner Photo below */
.speech-quote-container {
  position: relative;
  z-index: 6;
  margin: 22px 2px 24px;
  width: 100%;
}

.speech-quote-box {
  position: relative;
  background: rgba(255, 250, 240, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 16px 18px 16px 16px;
  border: 2px dashed var(--band-3);
  box-shadow: 0 6px 18px rgba(201, 63, 121, 0.08);
}

/* Pointer Tail pointing down left to photo below */
.speech-pointer-tail {
  position: absolute;
  bottom: -15px;
  left: 36px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 13px 0 0;
  border-color: rgba(255, 250, 240, 0.9) transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(201, 63, 121, 0.08));
}

.speech-pointer-tail::after {
  content: "";
  position: absolute;
  top: -17px;
  left: -2px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 17px 15px 0 0;
  border-color: var(--band-3) transparent transparent transparent;
  z-index: -1;
}

.quote-stamp-seal {
  position: absolute;
  top: -8px;
  right: 10px;
  width: 20px;
  height: 20px;
  transform: rotate(12deg);
}

.quote-invitation-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
}

@media (min-width: 600px) {
  .quote-invitation-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* Banner Frame */
.invite-banner-frame {
  position: relative;
  z-index: 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(201, 63, 121, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.85);
  outline: 1.5px dashed var(--band-3);
  cursor: zoom-in;
  margin-top: 4px;
}

.invite-banner-frame img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.invite-banner-frame:hover img {
  transform: scale(1.03);
}

.postcard-stamp svg {
  width: 16px;
}

.info-invite-pill {
  display: inline-block;
  font-family: var(--font-round);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(120deg, var(--pink-deep), var(--pink-darker));
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.info-invite-name {
  font-family: var(--font-round);
  font-size: 1.24rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

.info-invite-name span {
  color: var(--gold-deep);
}

.info-invite-text {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.postcard-line {
  width: 100%;
  height: 1px;
  background: var(--band-2);
  margin: 16px 0;
}

.info-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.invite-banner-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 5px solid var(--white);
  cursor: zoom-in;
  transform: rotate(1deg);
}

.invite-banner-frame img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}

@media (min-width: 760px) {
  .postcard-wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 46px;
  }
}

/* ============================================================
   EVENT — SIMPLE TOP-TO-BOTTOM CARDS
   ============================================================ */
.event-section {
  padding: 40px 20px 50px;
}

.event-cards-list {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-card {
  background: transparent;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: none;
  border: none;
  text-align: center;
  transition: none;
}

.event-card:hover {
  transform: none;
  box-shadow: none;
}

.event-card-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 22px;
  margin-bottom: 16px;
  border: 1.5px solid rgba(255, 184, 207, 0.9);
  box-shadow: 0 4px 12px rgba(201, 63, 121, 0.1);
}

.event-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--pink-deep), var(--pink-darker));
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(201, 63, 121, 0.3);
}

.event-card-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.event-card-label {
  font-family: var(--font-round);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink-darker);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-datetime {
  font-family: var(--font-round);
  margin-bottom: 18px;
}

.event-time {
  font-size: 0.95rem;
  color: var(--pink-darker);
  font-weight: 600;
}

.event-date {
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 2px;
}

.countdown-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 68px;
  text-align: center;
  border: 1.5px solid rgba(255, 184, 207, 0.8);
  border-bottom: none;
  box-shadow: 0 4px 14px rgba(201, 63, 121, 0.08);
  transition: transform 0.3s ease;
}

.cd-box:hover {
  transform: translateY(-2px);
}

.cd-box span {
  display: block;
  font-family: var(--font-round);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pink-darker);
}

.cd-box small {
  font-size: 0.64rem;
  color: var(--text-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calendar-card {
  width: 100%;
}

.calendar-month {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pink-darker);
  margin-bottom: 14px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  max-width: 380px;
  margin: 0 auto;
}

.cal-cell {
  font-size: 0.82rem;
  padding: 6px 0;
  border-radius: 10px;
  color: var(--text-soft);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.cal-cell.head {
  font-weight: 700;
  color: var(--pink-darker);
  font-size: 0.7rem;
}

.cal-cell.today {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ff7fae'/%3E%3Cstop offset='100%25' stop-color='%23c93f79'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' 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") no-repeat center center / contain;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 3px 6px rgba(201, 63, 121, 0.35));
}

.event-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.event-loc-name {
  font-family: var(--font-round);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.event-loc-addr {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.btn-direction {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  background: linear-gradient(120deg, var(--pink-deep), var(--pink-darker));
  padding: 11px 26px;
  border-radius: 22px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-direction:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 63, 121, 0.3);
}

.event-map {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--cream);
  box-shadow: 0 4px 12px rgba(201, 63, 121, 0.08);
}

.event-map iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

/* ============================================================
   ALBUM — POLAROID SCROLL STRIP
   ============================================================ */
.album-section {
  padding: 50px 0 60px;
}

.album-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  font-family: var(--font-round);
}

.polaroid-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 12px 24px;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}

.polaroid-strip::-webkit-scrollbar {
  height: 6px;
}

.polaroid-strip::-webkit-scrollbar-thumb {
  background: var(--band-4);
  border-radius: 6px;
}

.polaroid {
  flex: 0 0 auto;
  width: 220px;
  background: var(--white);
  padding: 6px;
  border-radius: 12px;
  border: none;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 0.35s ease;
  position: relative;
}

.polaroid.r1 {
  transform: rotate(-4deg);
}

.polaroid.r2 {
  transform: rotate(3deg);
}

.polaroid.r3 {
  transform: rotate(-2deg);
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 2;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   ALBUM GRID — 3 HÀNG 2 CỘT ÁNH DỌC (ALBUM 1 - 6)
   ============================================================ */
.album-grid-section {
  padding: 20px 12px 40px;
}

.album-grid-container {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 4px 0;
}

.album-grid-card {
  background: var(--white);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(232, 93, 151, 0.1);
  border: none;
  position: relative;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.album-grid-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(232, 93, 151, 0.2);
}

.grid-card-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff0f5;
}

.grid-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.album-grid-card:hover .grid-card-inner img {
  transform: scale(1.06);
}

@media (max-width: 480px) {
  .album-grid-container {
    gap: 6px;
    padding: 2px 0;
  }

  .album-grid-card {
    padding: 4px;
    border-radius: 10px;
  }
}

/* ============================================================
   RSVP — INVITATION FORM
   ============================================================ */
.rsvp-section {
  padding: 30px 20px 15px;
  background: transparent;
}

.invite-ticket {
  max-width: 520px;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.ticket-form-side {
  padding: 0;
  border: none;
}

.rsvp-sub {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 22px;
  text-align: center;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
}

.fg {
  margin-bottom: 16px;
}

.fg label {
  display: block;
  font-family: var(--font-round);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink-darker);
  margin-bottom: 6px;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 184, 207, 0.9);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(201, 63, 121, 0.06);
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  outline: none;
  border-color: var(--pink-deep);
  box-shadow: 0 4px 16px rgba(201, 63, 121, 0.18);
}

.btn-rsvp {
  padding: 14px;
  border-radius: 20px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: linear-gradient(120deg, var(--pink-deep), var(--pink-darker));
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-rsvp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 63, 121, 0.32);
}

.btn-rsvp:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-msg {
  text-align: center;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 1.2em;
}

/* ============================================================
   GUESTBOOK — CORKBOARD STICKY NOTES
   ============================================================ */
.guestbook-section {
  padding: 15px 0 25px;
  text-align: center;
}

#gb-loading,
#gb-empty {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.gb-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gb-track {
  width: 100%;
}

.gb-track-inner {
  display: flex;
  gap: 20px;
  padding: 4px 16px;
  width: max-content;
  animation: marqueeScroll linear infinite;
}

.gb-track-inner.paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.gb-card {
  background: #fffdf5;
  border-radius: 16px;
  padding: 16px 16px 14px;
  width: 220px;
  flex-shrink: 0;
  text-align: left;
  box-shadow: 0 6px 16px rgba(122, 46, 82, 0.12);
  border: 1px solid rgba(255, 233, 240, 0.9);
  position: relative;
}

.gb-name {
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--pink-darker);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.gb-msg {
  font-size: 0.8rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 2.6em;
}

.gb-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  color: var(--text-soft);
}

.gb-badge {
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

.gb-badge.a {
  background: #ffe0ec;
  color: var(--pink-darker);
}

.gb-badge.n {
  background: #f2e6ea;
  color: #9a7383;
}

/* ============================================================
   FOOTER — WAX SEAL
   ============================================================ */
.footer {
  padding: 160px 20px 25px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  background-color: var(--pink-darker);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%), url('../assets/images/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.footer-content {
  width: 100%;
  max-width: 600px;
}

.footer-seal {
  width: 58px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.footer-ty {
  font-family: var(--font-script);
  font-size: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-name {
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.15rem;
  margin-top: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-sub {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.designer-bar {
  background: #ffffff;
  color: var(--text-mid);
  text-align: center;
  padding: 5px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.04);
}

.designer-bar a {
  color: var(--pink-darker);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.designer-bar a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(122, 46, 82, 0.85);
}

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  z-index: 2;
}

.lightbox-container img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 12;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -22px;
}

.lightbox-next {
  right: -22px;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  font-family: var(--font-round);
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .lightbox-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

/* ============================================================
   MUSIC TOGGLE
   ============================================================ */
.music-toggle-btn {
  position: fixed;
  bottom: 22px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 80;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.music-toggle-btn.active-show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.music-disc-icon {
  width: 24px;
  height: 24px;
  color: var(--pink-darker);
  position: relative;
}

.music-disc-icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.music-toggle-btn.playing .icon-mute,
.music-toggle-btn.muted .icon-note {
  display: none;
}

.music-pulse-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--pink-deep);
  opacity: 0;
}

.music-toggle-btn.playing .music-pulse-glow {
  animation: pulseGlow 1.6s ease-out infinite;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* ============================================================
   RESPONSIVE WIDE
   ============================================================ */
@media (min-width: 600px) {
  .hero-wrapper {
    max-width: 480px;
  }

  .doodle-cloud-left {
    width: 140px;
    left: 5%;
  }

  .doodle-cloud-right {
    width: 130px;
    right: 5%;
  }

  .doodle-bear-peek {
    width: 85px;
    right: 8%;
  }

  .doodle-balloons {
    width: 80px;
    left: 8%;
  }

  .doodle-bunting {
    max-width: 600px;
  }
}

@media (min-width: 900px) {

  .hero-section,
  .info-section,
  .event-section,
  .rsvp-section,
  .guestbook-section {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero-wrapper {
    max-width: 520px;
  }
}