/* ============================================
   ROMANTIC LANDING PAGE — STYLES
   ============================================ */

:root {
  --burgundy-deep: #3a0a12;
  --burgundy: #6b1a2b;
  --burgundy-light: #8b2438;
  --pink-soft: #e8b4c4;
  --pink-lighter: #f5d5dd;
  --pink-glow: rgba(232, 180, 196, 0.4);
  --cream: #fff8f0;
  --warm-white: #fffaf5;
  --gold: #d4af6a;
  --gold-light: rgba(212, 175, 106, 0.3);
  --red-soft: #c44561;
  --text-on-dark: #f5e6e0;
  --text-on-light: #4a1a22;
  --glass-bg: rgba(255, 248, 240, 0.08);
  --glass-border: rgba(255, 248, 240, 0.15);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--burgundy-deep);
  color: var(--text-on-dark);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.heart-emoji {
  color: var(--red-soft);
}

/* ============================================
   PARTICLE / FLOATING HEARTS BACKGROUND
   ============================================ */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  bottom: -30px;
  color: var(--pink-glow);
  pointer-events: none;
  opacity: 0;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* ============================================
   ENTRANCE SCREEN
   ============================================ */
.entrance-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #6b1a2b 0%, #3a0a12 50%, #1a050a 100%);
  transition: opacity 1s ease, transform 1.5s ease;
}

.entrance-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.entrance-screen.hidden {
  display: none;
}

.entrance-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glow-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-soft) 0%, transparent 70%);
  opacity: 0.4;
  animation: driftGlow ease-in-out infinite;
}

@keyframes driftGlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.3);
  }
}

.entrance-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: entranceFadeIn 1.5s ease-out;
}

@keyframes entranceFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entrance-heart {
  margin: 0 auto 2rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.heart-svg {
  fill: none;
  stroke: var(--pink-soft);
  stroke-width: 0.8;
  filter: drop-shadow(0 0 15px var(--pink-glow)) drop-shadow(0 0 30px rgba(196, 69, 97, 0.5));
  animation: heartGlow 2s ease-in-out infinite;
}

@keyframes heartGlow {
  0%, 100% {
    fill: rgba(196, 69, 97, 0.15);
    stroke: var(--pink-soft);
  }
  50% {
    fill: rgba(196, 69, 97, 0.4);
    stroke: var(--red-soft);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.15);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(1);
  }
}

.entrance-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--cream);
  text-shadow: 0 0 20px rgba(232, 180, 196, 0.5), 0 0 40px rgba(196, 69, 97, 0.3);
  margin-bottom: 3rem;
  line-height: 1.3;
}

.entrance-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  letter-spacing: 0.05em;
}

.btn-yes {
  background: linear-gradient(135deg, var(--red-soft), var(--burgundy-light));
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(196, 69, 97, 0.5), 0 0 30px rgba(232, 180, 196, 0.3);
  animation: yesPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 3;
}

.btn-yes:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(196, 69, 97, 0.7), 0 0 50px rgba(232, 180, 196, 0.5);
}

@keyframes yesPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(196, 69, 97, 0.5), 0 0 30px rgba(232, 180, 196, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(196, 69, 97, 0.7), 0 0 45px rgba(232, 180, 196, 0.6);
  }
}

.btn-no {
  background: rgba(255, 248, 240, 0.1);
  color: var(--pink-lighter);
  border: 1px solid rgba(232, 180, 196, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 3;
}

.btn-no:hover {
  /* NO button doesn't get a normal hover */
}

.no-message {
  margin-top: 2rem;
  min-height: 2rem;
  font-size: 1.1rem;
  color: var(--pink-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.no-message.show {
  opacity: 1;
}

/* ============================================
   LOVE TRANSITION OVERLAY
   ============================================ */
.love-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #4a0e18 0%, #1a050a 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.love-transition.active {
  opacity: 1;
  pointer-events: all;
}

.love-transition-content {
  text-align: center;
  padding: 2rem;
}

.transition-text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--cream);
  font-weight: 300;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin: 1rem 0;
  line-height: 1.5;
}

.transition-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEART EXPLOSION OVERLAY
   ============================================ */
.explosion-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 5, 10, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.explosion-overlay.active {
  opacity: 1;
}

.explosion-message {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: var(--cream);
  font-weight: 300;
  text-shadow: 0 0 20px var(--pink-glow);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.explosion-overlay.active .explosion-message {
  opacity: 1;
}

.exploded-heart {
  position: fixed;
  font-size: 24px;
  color: var(--red-soft);
  pointer-events: none;
  z-index: 9997;
  animation: heartExplode 1.5s ease-out forwards;
}

@keyframes heartExplode {
  0% {
    transform: translate(0, 0) scale(0.5) rotate(0deg);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.5) rotate(var(--tr));
    opacity: 0;
  }
}

/* ============================================
   MAIN PAGE
   ============================================ */
.main-page {
  display: none;
  position: relative;
  z-index: 1;
}

.main-page.visible {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 40%, #5a1020 0%, #2a0810 60%, #15040a 100%);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 69, 97, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
  animation: heroFadeIn 2s ease-out;
}

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

.hero-heart-glow {
  margin: 0 auto 2rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.heart-svg-pulse {
  fill: var(--red-soft);
  filter: drop-shadow(0 0 15px rgba(196, 69, 97, 0.8)) drop-shadow(0 0 30px rgba(232, 180, 196, 0.4));
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-shadow: 0 0 30px rgba(232, 180, 196, 0.3);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--pink-soft);
  font-style: italic;
  margin-bottom: 3rem;
  font-weight: 300;
}

.btn-hero {
  background: linear-gradient(135deg, var(--red-soft), var(--burgundy));
  color: var(--cream);
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(196, 69, 97, 0.4);
  animation: yesPulse 3s ease-in-out infinite;
}

.btn-hero:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(196, 69, 97, 0.7);
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  text-align: center;
  color: var(--cream);
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
}

.letter-section {
  background: linear-gradient(180deg, #15040a 0%, #2a0810 100%);
}

.story-section {
  background: linear-gradient(180deg, #2a0810 0%, #1f0610 100%);
}

.gallery-section {
  background: linear-gradient(180deg, #1f0610 0%, #2a0810 100%);
}

.reasons-section {
  background: linear-gradient(180deg, #2a0810 0%, #1f0610 100%);
}

.interactive-heart-section {
  background: radial-gradient(ellipse at center, #3a0a12 0%, #1a050a 100%);
}

.countdown-section {
  background: linear-gradient(180deg, #1a050a 0%, #2a0810 100%);
}

.final-section {
  background: radial-gradient(ellipse at center, #4a0e18 0%, #15040a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================
   LOVE LETTER
   ============================================ */
.letter-paper {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.06) 0%, rgba(232, 180, 196, 0.04) 100%);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(232, 180, 196, 0.05);
  backdrop-filter: blur(10px);
}

.letter-paper .section-title {
  margin-bottom: 2rem;
}

.letter-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.letter-text p.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--red-soft) 10%, var(--pink-soft) 50%, var(--red-soft) 90%, transparent 100%);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--burgundy-deep);
  border: 2px solid var(--red-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(196, 69, 97, 0.5);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(196, 69, 97, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(196, 69, 97, 0.8);
  }
}

.heart-svg-small {
  fill: var(--red-soft);
}

.timeline-card {
  padding: 1.5rem 2rem;
  border-radius: 12px;
  flex: 1;
}

.timeline-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 1.05rem;
  color: var(--text-on-dark);
  font-style: italic;
  line-height: 1.6;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

/* ============================================
   GALLERY / MASONRY
   ============================================ */
.masonry-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-item:nth-child(3n+2) { grid-row: span 1; }
.gallery-item:nth-child(3n) { grid-row: span 2; }

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(196, 69, 97, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(26, 5, 10, 0.85));
  color: var(--cream);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   REASONS CARDS
   ============================================ */
.reasons-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.reason-card {
  padding: 2rem 1.8rem;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-on-dark);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.reason-card.show {
  opacity: 1;
  transform: translateY(0);
}

.reason-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 40px rgba(196, 69, 97, 0.25);
  border-color: var(--red-soft);
}

/* ============================================
   INTERACTIVE HEART
   ============================================ */
.big-heart-container {
  text-align: center;
  margin: 2rem 0;
}

.big-heart-btn {
  background: none;
  border: none;
  cursor: pointer;
  animation: heartbeat 1.5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.big-heart-btn:hover {
  transform: scale(1.15);
}

.heart-svg-big {
  fill: var(--red-soft);
  filter: drop-shadow(0 0 20px rgba(196, 69, 97, 0.8)) drop-shadow(0 0 40px rgba(232, 180, 196, 0.5));
  transition: fill 0.3s ease;
}

.big-heart-btn.pressed .heart-svg-big {
  fill: var(--pink-soft);
  filter: drop-shadow(0 0 40px rgba(232, 180, 196, 0.9)) drop-shadow(0 0 80px rgba(196, 69, 97, 0.6));
}

.heart-message {
  text-align: center;
  font-size: 1.3rem;
  color: var(--cream);
  font-style: italic;
  margin-top: 2rem;
  min-height: 2rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.heart-message.show {
  opacity: 1;
}

.heart-particle {
  position: fixed;
  font-size: 20px;
  color: var(--red-soft);
  pointer-events: none;
  z-index: 100;
  animation: heartFloat 2s ease-out forwards;
}

@keyframes heartFloat {
  0% {
    transform: translate(0, 0) scale(0.3);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.2);
    opacity: 0;
  }
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.count-box {
  text-align: center;
  min-width: 90px;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.count-box span {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.count-box label {
  display: block;
  font-size: 0.85rem;
  color: var(--pink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.count-sep {
  font-size: 2.5rem;
  color: var(--red-soft);
  font-weight: 300;
}

.countdown-note {
  text-align: center;
  font-size: 1.1rem;
  color: var(--pink-soft);
  font-style: italic;
  margin-top: 2rem;
}

/* ============================================
   FINAL SECTION
   ============================================ */
.final-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.final-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
}

.final-prompt {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--pink-soft);
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 1s ease;
}

.final-content.show .final-prompt {
  opacity: 1;
}

.final-question {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.final-content.show .final-question {
  opacity: 1;
  transform: translateY(0);
}

.final-answer {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-on-dark);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 1.2s, transform 1s ease 1.2s;
}

.final-content.show .final-answer {
  opacity: 1;
  transform: translateY(0);
}

.final-heart-glow {
  margin: 0 auto;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 3rem 2rem;
  text-align: center;
  background: #0d0306;
  border-top: 1px solid rgba(232, 180, 196, 0.1);
}

.footer-love {
  font-size: 1.1rem;
  color: var(--pink-soft);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.footer-names {
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-date {
  font-size: 0.95rem;
  color: var(--pink-soft);
  opacity: 0.7;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.2rem;
  }

  .entrance-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    gap: 1rem;
  }

  .timeline-dot {
    width: 42px;
    height: 42px;
  }

  .timeline-card {
    padding: 1.2rem 1.5rem;
  }

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

  .letter-text p {
    font-size: 1.05rem;
  }

  .masonry-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .gallery-item:nth-child(3n+1),
  .gallery-item:nth-child(3n+2),
  .gallery-item:nth-child(3n) {
    grid-row: span 1;
  }

  .gallery-item img {
    min-height: 180px;
  }

  .count-box {
    min-width: 70px;
    padding: 1rem 0.5rem;
  }

  .count-sep {
    display: none;
  }

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

  .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
  }
}

@media (max-width: 480px) {
  .entrance-title {
    font-size: 1.6rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .countdown-display {
    gap: 0.5rem;
  }

  .count-box {
    min-width: 60px;
    padding: 0.8rem 0.3rem;
  }
}
