:root {
  color-scheme: light;
  --bg: #fff5f9;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 249, 252, 0.9);
  --border: rgba(255, 255, 255, 0.55);
  --text: #4a2435;
  --text-soft: #6d4454;
  --pink: #ffbdd7;
  --pink-deep: #d97b99;
  --peach: #ffd0d6;
  --glow: rgba(255, 203, 236, 0.28);
  --shadow: 0 32px 80px rgba(214, 133, 158, 0.16);
  --radius: 32px;
  --transition: 0.45s ease;
}

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

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff0f6 0%, #ffe5ee 48%, #f9edf5 100%);
  overflow-x: hidden;
}

button {
  font: inherit;
}

.site-wrap {
  position: relative;
}

.section {
  min-height: 100vh;
  position: relative;
  padding: 70px 24px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-title,
.hero-copy,
.ending-panel {
  max-width: 720px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #a44265;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.1;
}

h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}

p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.primary-btn,
.secondary-btn {
  margin-top: 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 18px 40px rgba(233, 141, 175, 0.22);
}

.primary-btn {
  padding: 16px 26px;
  background: linear-gradient(135deg, #ff8eb7, #ffb4d0);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.84);
  color: #993354;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(255, 223, 235, 0.95), rgba(255, 240, 250, 0.95) 42%, #ffe8f2 100%);
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-overlay,
.intro-glow {
  position: absolute;
  inset: 0;
}

.intro-glow {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.85), transparent 20%), radial-gradient(circle at 80% 40%, rgba(255, 182, 214, 0.35), transparent 16%), radial-gradient(circle at 50% 70%, rgba(255, 219, 230, 0.55), transparent 18%);
}

.intro-content {
  position: relative;
  text-align: center;
  padding: 36px 26px;
  border-radius: 40px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
  z-index: 1;
}

.intro-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: #c56f91;
  letter-spacing: 0.04em;
}

.intro-text {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 1rem;
}

.intro-hearts .heart {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ff9dc7;
  border-radius: 50% 50% 50% 50%;
  transform: rotate(45deg);
  animation: heartFloat 4.2s ease-in-out infinite;
}

.intro-hearts .heart::before,
.intro-hearts .heart::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ff9dc7;
  border-radius: 50%;
}

.intro-hearts .heart::before { top: -10px; left: 0; }
.intro-hearts .heart::after { left: 10px; top: 0; }

.intro-hearts .heart:nth-child(1) { left: 18%; top: 42%; animation-delay: 0s; }
.intro-hearts .heart:nth-child(2) { left: 63%; top: 38%; animation-delay: 1.1s; }
.intro-hearts .heart:nth-child(3) { left: 38%; top: 66%; animation-delay: 2.2s; }

@keyframes heartFloat {
  0%, 100% { transform: translateY(0) rotate(45deg) scale(1); opacity: 1; }
  50% { transform: translateY(-18px) rotate(45deg) scale(1.05); opacity: 0.8; }
}

.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.92) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.section.hero {
  padding-top: 80px;
  min-height: calc(100vh - 40px);
  display: grid;
  place-items: center;
  text-align: center;
}

.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.8;
}

.glow-1 { width: 260px; height: 260px; background: rgba(255, 179, 208, 0.4); top: 8%; left: -8%; }
.glow-2 { width: 190px; height: 190px; background: rgba(255, 238, 242, 0.65); bottom: 12%; right: 18%; }
.glow-3 { width: 300px; height: 300px; background: rgba(255, 214, 230, 0.38); bottom: 18%; left: 10%; }

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

.photo-bubble {
  position: absolute;
  width: 134px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 32px 72px rgba(242, 140, 176, 0.18);
  backdrop-filter: blur(16px);
  animation: float 12s ease-in-out infinite alternate;
}

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

.bubble-hero.bubble-a { top: 5%; left: 12%; animation-duration: 14s; }
.bubble-hero.bubble-b { top: 5%; right: 12%; width: 160px; animation-duration: 16s; }
.bubble-hero.bubble-c { bottom: 1%; left: 18%; width: 140px; animation-duration: 13s; }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.527);
  border: 1px solid rgba(255,255,255,0.7);
}

.hero-copy h2,
.hero-copy p {
  text-shadow: 0 14px 30px rgba(255,255,255,0.65);
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255,255,255,0.75);
  color: #ab4273;
  letter-spacing: 0.02em;
}

.hero-hearts {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-hearts .heart {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff93b1, #ffc4db);
  transform: rotate(45deg);
  border-radius: 50%;
  animation: heartFloat 4s ease-in-out infinite;
}

.hero-hearts .heart::before,
.hero-hearts .heart::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ff93b1, #ffc4db);
  border-radius: 50%;
}

.hero-hearts .heart::before { top: -10px; left: 0; }
.hero-hearts .heart::after { left: 10px; top: 0; }

.gallery {
  background: linear-gradient(180deg, rgba(255, 241, 246, 0.98) 0%, rgba(255, 239, 243, 0.98) 100%);
}

.gallery-title {
  display: block;
  width: 100%;
  max-width: 84vw;
  margin: 0 auto 24px;
  text-align: center;
}

.gallery-title p,
.gallery-title h3 {
  display: block;
  width: 100%;
}

.gallery-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

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

.gallery-card {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 36px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card.card-1 { transform: rotate(-3deg); }
.gallery-card.card-2 { transform: rotate(4deg); }
.gallery-card.card-3 { transform: rotate(2deg); }
.gallery-card.card-4 { transform: rotate(-4deg); }
.gallery-card.card-5 { transform: rotate(3deg); }
.gallery-card.card-6 { transform: rotate(-2deg); }

.gallery-card:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.01);
  box-shadow: 0 34px 78px rgba(233, 141, 175, 0.26);
}

.gallery-card img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.gallery-card span {
  margin-top: 14px;
  display: block;
  font-size: 0.98rem;
  color: var(--text-soft);
  text-align: center;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 34px 78px rgba(233, 141, 175, 0.26);
}

.gallery-card img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.gallery-card span {
  margin-top: 14px;
  display: block;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.gallery-decor .bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 218, 232, 0.42);
  filter: blur(6px);
}

.gallery-decor .bubble { width: 96px; height: 96px; top: 22%; right: 12%; }
.gallery-decor .bubble.small { width: 54px; height: 54px; top: 64%; left: 8%; }

.message {
  padding-top: 20px;
}

.message-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 40px 28px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--shadow);
  position: relative;
}

.message-badge {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 229, 238, 0.95);
  color: #bb5e86;
  font-weight: 600;
  margin-bottom: 20px;
}

.message-body p {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 1s ease forwards;
}

.message-body p:nth-child(1) { animation-delay: 0.2s; }
.message-body p:nth-child(2) { animation-delay: 1.6s; }
.message-body p:nth-child(3) { animation-delay: 3s; }

.message-decoration {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
  pointer-events: none;
}

.bubble-message {
  width: 118px;
  height: 118px;
  animation: float 9s ease-in-out infinite alternate;
}

.bubble-message.bubble-d { transform: translateY(0); }
.bubble-message.bubble-e { transform: translateY(0); animation-duration: 11s; }

.heart-large {
  width: 26px;
  height: 26px;
  position: relative;
  background: linear-gradient(135deg, #ff9dc7, #ffd3e5);
  transform: rotate(45deg);
  top: 28px;
  animation: heartFloat 4.4s ease-in-out infinite;
}

.heart-large::before,
.heart-large::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9dc7, #ffd3e5);
}

.heart-large::before { top: -14px; left: 0; }
.heart-large::after { left: 14px; top: 0; }

.orbs {
  background: linear-gradient(180deg, rgba(255, 243, 247, 0.95), rgba(255, 231, 244, 0.96));
}

.orbs-grid {
  position: relative;
  width: min(100%, 760px);
  height: 540px;
  margin: 40px auto 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 30px 70px rgba(246, 171, 206, 0.16);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(18px);
  animation: drift 18s ease-in-out infinite alternate;
}

.orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orb-lg { width: 200px; height: 200px; top: 20%; left: 10%; animation-duration: 16s; }
.orb-med { width: 152px; height: 152px; top: 54%; left: 58%; animation-duration: 13s; }
.orb-sm { width: 110px; height: 110px; top: 34%; right: 12%; animation-duration: 12s; }
.orb-right { top: 68%; right: 26%; animation-duration: 19s; }

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

.sparkles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 18px rgba(255,255,255,0.95);
  animation: sparkle 5s linear infinite;
}

.sparkles span:nth-child(1) { top: 12%; left: 15%; animation-duration: 6s; }
.sparkles span:nth-child(2) { top: 26%; left: 76%; animation-duration: 4.8s; }
.sparkles span:nth-child(3) { top: 64%; left: 42%; animation-duration: 5.8s; }
.sparkles span:nth-child(4) { top: 82%; left: 18%; animation-duration: 5.1s; }

.ending {
  padding-top: 20px;
  display: grid;
  place-items: center;
  text-align: center;
}

.ending-panel {
  max-width: 680px;
  background: rgba(255,255,255,0.78);
  border-radius: 42px;
  padding: 42px 32px;
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.ending-panel p {
  margin-top: 16px;
}

.ending-confetti span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 150, 196, 0.95);
  opacity: 0.75;
  animation: confetti 7s linear infinite;
}

.ending-confetti span:nth-child(1) { left: 22%; top: 24%; animation-delay: 0s; }
.ending-confetti span:nth-child(2) { left: 44%; top: 18%; animation-delay: 1.3s; }
.ending-confetti span:nth-child(3) { left: 70%; top: 28%; animation-delay: 2.4s; }
.ending-confetti span:nth-child(4) { left: 55%; top: 58%; animation-delay: 3.2s; }
.ending-confetti span:nth-child(5) { left: 32%; top: 72%; animation-delay: 4.1s; }

.scroll-scatter {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.scatter-orb {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 28px 62px rgba(255, 163, 194, 0.18);
  backdrop-filter: blur(16px);
  opacity: 0;
  animation: scatterFloat 2.8s ease-out forwards;
}

.scatter-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes scatterFloat {
  0% { transform: translate(0, 0) scale(0.85); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.05); opacity: 0; }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -24px) scale(1.02); }
  100% { transform: translate(-12px, 22px) scale(0.98); }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -24px) scale(1.02); }
  100% { transform: translate(-12px, 22px) scale(0.98); }
}

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

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-220px) rotate(360deg); opacity: 0; }
}

@media (max-width: 767px) {
  .section {
    padding: 70px 18px 50px;
  }

  .intro-content {
    width: min(92vw, 360px);
    padding: 30px 22px;
  }

  .intro-text {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .section-title,
  .hero-copy,
  .ending-panel {
    max-width: 100%;
    padding-inline: 0;
  }

  .hero-copy {
    padding-inline: 0;
  }

  .hero-tag {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .hero-copy h2 {
    font-size: 2.4rem;
  }

  .hero-copy p,
  .section-title h3,
  .ending-panel p,
  .message-body p,
  .gallery-card span {
    font-size: 0.96rem;
  }

  .gallery-grid {
    gap: 14px;
    margin-top: 32px;
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-card {
    padding: 14px;
    border-radius: 28px;
    min-height: auto;
    align-items: flex-start;
    row-gap: 12px;
  }

  .gallery-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .gallery-card span {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }

  .message {
    padding-top: 10px;
  }

  .message-panel {
    padding: 28px 20px;
  }

  .message-badge {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .message-decoration {
    position: static;
    margin-top: 24px;
    gap: 12px;
    justify-content: center;
  }

  .bubble-message {
    width: 88px;
    height: 88px;
  }

  .orbs-grid {
    height: 420px;
    margin-top: 32px;
  }

  .orb-lg { width: 160px; height: 160px; top: 10%; left: 8%; }
  .orb-med { width: 130px; height: 130px; top: 46%; left: 56%; }
  .orb-sm { width: 90px; height: 90px; top: 28%; right: 10%; }
  .orb-right { top: 64%; right: 18%; }

  .sparkles span {
    width: 7px;
    height: 7px;
  }

  .ending-panel {
    padding: 28px 20px;
  }

  .ending-confetti span {
    width: 12px;
    height: 12px;
  }

  .primary-btn,
  .secondary-btn {
    width: min(100%, 320px);
    white-space: normal;
    padding-left: 22px;
    padding-right: 22px;
  }
}

.messages-section {
  background: linear-gradient(180deg, rgba(255, 243, 247, 0.95), rgba(255, 231, 244, 0.98));
}

.messages-header {
  max-width: 680px;
  margin-bottom: 28px;
  text-align: center;
}

.messages-header h3 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.messages-header p {
  font-size: 0.98rem;
}

.message-form {
  max-width: 580px;
  margin: 0 auto 32px;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: none;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: #ff9dc7;
  box-shadow: 0 0 0 3px rgba(255, 157, 199, 0.12);
}

.form-group textarea::placeholder,
.form-group input::placeholder {
  color: rgba(106, 68, 84, 0.6);
}

.submit-btn {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8eb7, #ffb4d0);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(233, 141, 175, 0.22);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(233, 141, 175, 0.28);
}

.submit-btn:active {
  transform: translateY(0);
}

.messages-list {
  width: 80%;
  margin: 10px auto;
  position: relative;
  min-height: 400px;
  max-height: 70vh; /* Don't exceed screen height */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 20px;
  border-radius: 40px;
  border: 2px dashed rgba(255, 180, 210, 0.3);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 20px 40px rgba(0,0,0,0.02);
  /* Custom scrollbar for premium feel */
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
}

.messages-list::-webkit-scrollbar {
  width: 6px;
}

.messages-list::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 10px;
}

.message-item {
  position: absolute;
  width: 130px;
  height: 130px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50% !important;
  box-shadow: 0 10px 30px rgba(255, 180, 210, 0.15);
  cursor: grab;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.3s ease, scale 0.2s ease;
  animation: messagePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.message-item:hover {
  background: rgba(255, 255, 255, 0.8);
  scale: 1.05;
  z-index: 900 !important;
}

.message-item:active {
  cursor: grabbing;
  scale: 0.98;
}

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

.message-header {
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.message-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.message-time {
  font-size: 0.6rem;
}

.message-text {
  font-size: 0.7rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

.message-delete-btn {
  position: absolute;
  bottom: 8px;
  font-size: 0.65rem;
  padding: 2px 8px;
}

.message-item.deleting {
  opacity: 0.5;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.message-name {
  font-weight: 600;
  color: #bb5e86;
  font-size: 0.98rem;
}

.message-time {
  font-size: 0.85rem;
  color: rgba(106, 68, 84, 0.6);
}

.message-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.message-delete-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(233, 141, 175, 0.5);
  background: rgba(255, 157, 199, 0.15);
  color: #d97b99;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message-delete-btn:hover {
  background: rgba(255, 157, 199, 0.3);
  border-color: rgba(233, 141, 175, 0.8);
}

.empty-message {
  text-align: center;
  padding: 32px 20px;
  color: rgba(106, 68, 84, 0.6);
  font-size: 0.98rem;
}

@media (min-width: 768px) {
  .section { padding: 90px 48px 60px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-card { min-height: 360px; }
}

@media (min-width: 1060px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { max-width: 620px; }
  .photo-bubble { width: 170px; }
  .bubble-hero.bubble-b { width: 200px; }
  .bubble-hero.bubble-c { width: 170px; }
  .hero-hearts { gap: 22px; }
}
