/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Pastel Palette */
  --bg-pink: #fff5f8;
  --bg-lavender: #f2efff;
  --bg-peach: #fff7f2;
  
  --accent-pink: #ffb7c5;
  --accent-pink-dark: #ff758f;
  --accent-lavender: #dcd3ff;
  --accent-lavender-dark: #8e7bff;
  --accent-blue: #cce3f9;
  --accent-blue-dark: #5b9ce6;
  --accent-peach: #ffd8be;
  --accent-peach-dark: #f09f6a;
  
  --text-primary: #5d4d6a;
  --text-secondary: #7e6c8e;
  
  /* Glassmorphism & Shadows */
  --white-glass: rgba(255, 255, 255, 0.65);
  --border-glass: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 12px 35px rgba(93, 77, 106, 0.08), 0 2px 10px rgba(93, 77, 106, 0.04);
  --shadow-hover: 0 22px 45px rgba(93, 77, 106, 0.15), 0 2px 12px rgba(255, 183, 197, 0.3);
  --neumorphic-light: 4px 4px 15px rgba(255, 255, 255, 0.9), -4px -4px 15px rgba(93, 77, 106, 0.03);
}

/* ==========================================================================
   GLOBAL STYLES & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--bg-pink), var(--bg-lavender), var(--bg-peach));
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L15 9L22 12L15 15L12 22L9 15L2 12L9 9Z' fill='%23ffb7c5'/%3E%3C/svg%3E") 8 8, auto;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-pink);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-pink);
  border-radius: 5px;
  border: 2px solid var(--bg-pink);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink-dark);
}

/* Typography Utilities */
.font-cute {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

.font-handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 500;
}

.highlight-text {
  background: linear-gradient(120deg, var(--accent-pink-dark), var(--accent-lavender-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Background Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Sparkle Cursor container */
#sparkle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.cursor-sparkle {
  position: absolute;
  pointer-events: none;
  font-size: 14px;
  animation: fadeOutSparkle 0.8s ease-out forwards;
}

@keyframes fadeOutSparkle {
  0% {
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -150%) scale(1.5) rotate(180deg);
    opacity: 0;
  }
}

/* ==========================================================================
   GLASSMORPHISM BASE CARD
   ========================================================================== */
.glass-card {
  background: var(--white-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--shadow-soft), var(--neumorphic-light);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* ==========================================================================
   FLOATING AUDIO PLAYER
   ========================================================================== */
.audio-player-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  pointer-events: auto;
}

.vinyl-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  cursor: pointer;
  filter: drop-shadow(0 6px 12px rgba(93, 77, 106, 0.15));
  transition: transform 0.3s ease;
}

.vinyl-wrapper:hover {
  transform: scale(1.08);
}

.vinyl-disk {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: spinRecord 4s linear infinite;
  animation-play-state: paused;
}

.music-needle {
  position: absolute;
  top: -6px;
  right: -2px;
  width: 16px;
  height: 40px;
  transform-origin: top center;
  transform: rotate(-25deg);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.audio-player-container.playing .vinyl-disk {
  animation-play-state: running;
}

.audio-player-container.playing .music-needle {
  transform: rotate(0deg);
}

.music-info-bubble {
  background: var(--white-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  max-width: 180px;
  transform: translateX(-15px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audio-player-container:hover .music-info-bubble {
  transform: translateX(0);
  opacity: 1;
}

.music-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-pink-dark);
}

.music-track-name {
  font-size: 12px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes spinRecord {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SURPRISE GIFT INTRO OVERLAY
   ========================================================================== */
.gift-intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #ffeef2 0%, #ebf3ff 100%);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gift-intro-overlay.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.gift-box-wrapper {
  text-align: center;
}

.gift-box {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gift-box:hover {
  transform: scale(1.05) rotate(2deg);
}

.gift-box:hover .gift-lid {
  transform: translateY(-8px) rotate(-3deg);
}

.gift-lid {
  position: absolute;
  top: 0;
  left: -5px;
  width: 170px;
  height: 40px;
  background: #ffc9d4;
  border-radius: 8px 8px 4px 4px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(93, 77, 106, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gift-ribbon-v {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 26px;
  height: 100%;
  background: #ff758f;
}

.gift-ribbon-h {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 12px;
  background: #ff758f;
}

.gift-bow {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: auto;
  filter: drop-shadow(0 4px 4px rgba(93, 77, 106, 0.08));
}

.gift-body {
  position: absolute;
  top: 38px;
  left: 0;
  width: 160px;
  height: 122px;
  background: #ffdce3;
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 6px 12px rgba(255, 255, 255, 0.5), 0 12px 24px rgba(93, 77, 106, 0.08);
  overflow: hidden;
}

.gift-ribbon-body {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 26px;
  height: 100%;
  background: #ff758f;
}

.gift-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #fff 15%, transparent 20%);
  background-size: 20px 20px;
  opacity: 0.25;
}

.gift-prompt-text {
  font-family: 'Fredoka', sans-serif;
  font-size: 24px;
  color: var(--text-primary);
  line-height: 1.4;
}

.gift-prompt-text span {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--accent-pink-dark);
}

/* ==========================================================================
   MAIN LAYOUT & HERO
   ========================================================================== */
.scrapbook-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 100px;
}

.scrapbook-container.hidden {
  display: none;
}

.section {
  position: relative;
  margin-bottom: 120px;
  width: 100%;
}

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding-top: 20px;
}

.hero-card {
  padding: 50px 30px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 800px;
}

.teddy-bear-avatar {
  width: 120px;
  height: 110px;
  margin: -100px auto 20px;
  filter: drop-shadow(0 8px 16px rgba(93, 77, 106, 0.1));
}

.teddy-svg {
  width: 100%;
  height: 100%;
}

/* Eyes Blinking animation */
.teddy-eye {
  animation: blinkTeddy 4s infinite;
}

@keyframes blinkTeddy {
  0%, 95%, 100% { transform: scaleY(1); transform-origin: center; }
  97.5% { transform: scaleY(0.1); transform-origin: center; }
}

.hero-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.animated-heart-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  filter: drop-shadow(0 6px 15px rgba(255, 117, 143, 0.4));
  animation: breatheHeart 2.5s ease-in-out infinite;
}

.heart-pulse-svg {
  width: 100%;
  height: 100%;
}

@keyframes breatheHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.hero-subtitle {
  font-size: 26px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Doodles */
.cute-doodle {
  position: absolute;
  width: 48px;
  height: 48px;
  pointer-events: none;
}

.doodle-bow {
  top: 15px;
  left: 25px;
  transform: rotate(-15deg);
}

.doodle-flower {
  bottom: 20px;
  right: 25px;
  transform: rotate(10deg);
  animation: floatDoodle 4s ease-in-out infinite alternate;
}

@keyframes floatDoodle {
  0% { transform: translateY(0) rotate(10deg); }
  100% { transform: translateY(-10px) rotate(20deg); }
}

/* Clouds floating */
.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cute-cloud {
  position: absolute;
  width: 120px;
  opacity: 0.45;
  filter: drop-shadow(0 6px 12px rgba(255, 255, 255, 0.9));
}

.cloud-1 {
  top: 10%;
  left: -150px;
  animation: floatCloudLeft 25s linear infinite;
}

.cloud-2 {
  top: 55%;
  right: -150px;
  animation: floatCloudRight 30s linear infinite;
}

@keyframes floatCloudLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 300px)); }
}

@keyframes floatCloudRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100vw - 300px)); }
}

/* ==========================================================================
   REASONS SECTION (GRID & CARDS)
   ========================================================================== */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading {
  font-size: 34px;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-subtext {
  font-size: 22px;
  color: var(--text-secondary);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.reason-card {
  padding: 30px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.reason-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.reason-card:hover::before {
  opacity: 1;
}

.card-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.6), 0 4px 10px rgba(93, 77, 106, 0.05);
}

.card-icon-circle.accent-pink { background: #ffe9ec; }
.card-icon-circle.accent-lavender { background: #f0ecff; }
.card-icon-circle.accent-blue { background: #e8f4ff; }
.card-icon-circle.accent-peach { background: #fff1e5; }

.card-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reason-card:hover .card-icon {
  transform: scale(1.15) rotate(10deg);
}

.card-title {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hover-lift:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-pink);
}

/* ==========================================================================
   FRIENDSHIP TIMELINE
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-pink) 0%, var(--accent-lavender) 50%, var(--accent-blue) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(220, 211, 255, 0.6);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-bubble {
  padding: 30px;
  position: relative;
  transition: border-color 0.3s ease;
}

.timeline-bubble:hover {
  border-color: var(--accent-pink-dark);
}

.timeline-icon {
  position: absolute;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-pink);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
}

.timeline-item.left .timeline-icon {
  right: -62px;
}

.timeline-item.right .timeline-icon {
  left: -62px;
}

.timeline-date {
  font-size: 15px;
  color: var(--accent-pink-dark);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Scrapbook Timeline decorations */
.timeline-deco {
  position: absolute;
  font-size: 24px;
  opacity: 0.15;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.timeline-bubble:hover .timeline-deco {
  opacity: 0.8;
  transform: scale(1.2) rotate(15deg);
}

.timeline-item.left .timeline-deco {
  left: 15px;
  bottom: 15px;
}

.timeline-item.right .timeline-deco {
  right: 15px;
  bottom: 15px;
}

/* ==========================================================================
   COMPLIMENT WALL (STICKY NOTES)
   ========================================================================== */
.sticky-notes-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  padding: 20px 10px;
}

.sticky-note {
  position: relative;
  padding: 30px 24px;
  border-radius: 4px;
  box-shadow: 5px 8px 15px rgba(93, 77, 106, 0.08);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.sticky-note .pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.note-text {
  font-size: 21px;
  line-height: 1.4;
  color: var(--text-primary);
}

.note-subtext {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.8;
  text-align: center;
}

.note-heart-spark {
  align-self: flex-end;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.sticky-note:hover .note-heart-spark {
  transform: scale(1.3) rotate(-10deg);
}

/* Colors & Rotations for Sticky Notes */
.note-pink {
  background: #ffecf0;
  border-left: 5px solid var(--accent-pink);
}

.note-lavender {
  background: #f4f0ff;
  border-left: 5px solid var(--accent-lavender);
}

.note-blue {
  background: #eaf5ff;
  border-left: 5px solid var(--accent-blue);
}

.note-peach {
  background: #fff3ea;
  border-left: 5px solid var(--accent-peach);
}

.note-easter {
  background: #fff9db;
  border: 2px dashed #ffd43b;
  border-left: 6px solid #ffd43b;
  box-shadow: 0 8px 20px rgba(253, 224, 71, 0.2);
  animation: wiggleNote 3.5s ease-in-out infinite alternate;
}

@keyframes wiggleNote {
  0% { transform: rotate(-1deg); }
  100% { transform: rotate(3deg) scale(1.01); }
}

.ribbon-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffd43b;
  color: #5d4d6a;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Random rotations using CSS classes directly applied or dynamic */
.sticky-notes-wall > :nth-child(even) {
  transform: rotate(-1.5deg);
}
.sticky-notes-wall > :nth-child(odd) {
  transform: rotate(2deg);
}
.sticky-notes-wall > :nth-child(3n) {
  transform: rotate(-3deg);
}
.sticky-notes-wall > :nth-child(5n) {
  transform: rotate(1deg);
}

.hover-rotate-note:hover {
  transform: rotate(0deg) scale(1.08) translateY(-5px) !important;
  box-shadow: 10px 15px 25px rgba(93, 77, 106, 0.15);
  z-index: 10;
}

/* ==========================================================================
   SURPRISE SECTION
   ========================================================================== */
.surprise-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 50px 30px;
  text-align: center;
}

.surprise-prompt {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.surprise-button-wrapper {
  position: relative;
  display: inline-block;
}

.cute-surprise-btn {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 18px 45px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 117, 143, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulseButton 2s infinite;
}

.cute-surprise-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 117, 143, 0.5);
  background: linear-gradient(135deg, var(--accent-pink-dark) 0%, #ff4d6d 100%);
}

.cute-surprise-btn:active {
  transform: scale(0.98);
}

.btn-stars {
  animation: rotateStars 3s linear infinite;
  display: inline-block;
}

@keyframes pulseButton {
  0% { transform: scale(1); box-shadow: 0 8px 25px rgba(255, 117, 143, 0.4); }
  50% { transform: scale(1.04); box-shadow: 0 12px 30px rgba(255, 117, 143, 0.6); }
  100% { transform: scale(1); box-shadow: 0 8px 25px rgba(255, 117, 143, 0.4); }
}

@keyframes rotateStars {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-card {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.footer-doodles {
  font-size: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-doodles span {
  animation: bounceDoodle 2.5s ease-in-out infinite alternate;
}

.footer-doodles span:nth-child(even) {
  animation-delay: 0.5s;
}

@keyframes bounceDoodle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px) rotate(8deg); }
}

.footer-message {
  font-size: 28px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.footer-signature {
  font-size: 15px;
  color: var(--accent-pink-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-hearts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   MODAL OVERLAYS (GLASSMORPHISM POPUPS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(93, 77, 106, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay:not(.hidden) .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--accent-pink-dark);
  transform: scale(1.1);
}

.modal-emoji {
  font-size: 44px;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 26px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.modal-message {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Easter modal custom style */
.easter-modal {
  border: 2px solid var(--accent-peach);
  box-shadow: 0 20px 50px rgba(253, 224, 71, 0.3);
}

.easter-modal .modal-message span {
  font-size: 14px;
  display: block;
  margin-top: 10px;
  font-family: 'Quicksand', sans-serif;
  color: var(--text-primary);
}

.laughing-emojis-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.bouncing-emoji {
  font-size: 28px;
  animation: laughBounce 1s infinite alternate;
}

.bouncing-emoji:nth-child(2) { animation-delay: 0.2s; }
.bouncing-emoji:nth-child(3) { animation-delay: 0.4s; }

@keyframes laughBounce {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-15px) scale(1.15) rotate(10deg); }
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE-FIRST PRINCIPLE)
   ========================================================================== */
@media (max-width: 768px) {
  body {
    cursor: auto !important; /* Standard touch cursor for mobile */
  }

  .scrapbook-container {
    padding: 20px 12px 80px;
  }

  .section {
    margin-bottom: 80px;
  }

  .audio-player-container {
    bottom: 16px;
    left: 16px;
  }

  .vinyl-wrapper {
    width: 48px;
    height: 48px;
  }

  .music-info-bubble {
    display: none; /* Hide on mobile hover to avoid screen blockage */
  }

  /* Hero Section */
  .hero-card {
    padding: 35px 20px;
  }

  .teddy-bear-avatar {
    width: 100px;
    height: 90px;
    margin: -80px auto 15px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  /* Reasons Grid */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Timeline */
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 10px 20px 10px 45px;
  }

  .timeline-item.left {
    left: 0;
    text-align: left;
  }

  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-icon {
    left: -35px;
    right: auto;
  }

  .timeline-item.right .timeline-icon {
    left: -35px;
  }

  .timeline-item.left .timeline-deco {
    right: 15px;
    left: auto;
  }

  /* Sticky Notes */
  .sticky-notes-wall {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sticky-note {
    min-height: 160px;
  }

  /* Modals */
  .modal-content {
    padding: 35px 20px;
  }

  .modal-message {
    font-size: 17px;
  }
}
