/* =============================================
   PYAAR BILLI — LIGHT THEME BIRTHDAY PAGE
   ============================================= */

/* === FONTS & RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Light pastel palette */
  --bg:           #fff5fb;
  --bg2:          #ffedf7;
  --surface:      #ffffff;
  --surface2:     #fff0f8;
  --pink:         #f472b6;
  --pink-d:       #ec4899;
  --pink-l:       #fce7f3;
  --pink-ll:      #fff0f8;
  --rose:         #fb7185;
  --purple:       #a855f7;
  --purple-l:     #f3e8ff;
  --purple-d:     #7c3aed;
  --lavender:     #e9d5ff;
  --gold:         #f59e0b;
  --gold-l:       #fef3c7;
  --peach:        #fed7aa;
  --mint:         #d1fae5;

  --text-main:    #3b1a4a;
  --text-mid:     #7c3aed;
  --text-soft:    #9d77c0;
  --text-light:   #c4a8d9;

  --shadow-sm:    0 2px 12px rgba(244,114,182,0.12);
  --shadow-md:    0 8px 32px rgba(244,114,182,0.2);
  --shadow-lg:    0 16px 48px rgba(168,85,247,0.18);

  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --radius-xl:    40px;

  --font:         'Nunito', sans-serif;
  --font-fancy:   'Dancing Script', cursive;
  --font-title:   'Pacifico', cursive;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: linear-gradient(160deg, var(--bg) 0%, #fdf2fa 40%, #f8ebff 70%, var(--bg2) 100%);
  min-height: 100vh;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* === CONFETTI CANVAS === */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* === FLOATING PETALS === */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  border-radius: 60% 5% 60% 5%;
  opacity: 0;
  animation: petal-fall linear infinite;
}

@keyframes petal-fall {
  0%   { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(480deg); opacity: 0; }
}

/* === MUSIC BAR === */
.music-bar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(244, 114, 182, 0.3);
  border-radius: 60px;
  padding: 10px 20px 10px 14px;
  box-shadow: 0 8px 32px rgba(244,114,182,0.18), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 260px;
  max-width: 90vw;
  animation: slideDownBar 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

@keyframes slideDownBar {
  from { transform: translateX(-50%) translateY(-70px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.music-icon {
  position: relative;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(244,114,182,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.music-icon:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(244,114,182,0.5); }
.music-icon:active { transform: scale(0.95); }

.music-note-anim {
  position: absolute;
  display: flex;
  gap: 2px;
}
.note {
  color: white;
  font-size: 0.9rem;
  animation: note-bounce 0.8s ease-in-out infinite;
  display: inline-block;
}
.n1 { animation-delay: 0s; }
.n2 { animation-delay: 0.15s; }
.n3 { animation-delay: 0.3s; }
@keyframes note-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.play-icon {
  position: absolute;
  color: white;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.music-icon.paused .music-note-anim { opacity: 0; }
.music-icon.paused .play-icon { opacity: 1; }

.music-info { flex: 1; min-width: 0; }
.music-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.music-progress { display: flex; align-items: center; gap: 8px; }
.progress-bar-wrap {
  flex: 1;
  height: 4px;
  background: var(--pink-l);
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 10px;
  transition: width 0.5s linear;
}
.music-time { font-size: 0.7rem; font-weight: 700; color: var(--text-soft); flex-shrink: 0; }

/* === WRAPPER === */
.wrapper {
  position: relative;
  z-index: 10;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 18px 48px;
}

/* === FLOATING RING DECORATIONS === */
.floatie-ring { pointer-events: none; }
.fr {
  position: fixed;
  font-size: 1.6rem;
  animation: fr-drift ease-in-out infinite;
  opacity: 0.6;
  z-index: 2;
}
.fr1  { top: 12%; left: 2%;   animation-duration: 5s; animation-delay: 0s; }
.fr2  { top: 30%; right: 2%;  animation-duration: 6s; animation-delay: 0.5s; }
.fr3  { top: 55%; left: 1%;   animation-duration: 4.5s; animation-delay: 1s; }
.fr4  { bottom: 20%; right: 3%; animation-duration: 5.5s; animation-delay: 1.5s; }
.fr5  { top: 70%; left: 3%;   animation-duration: 7s; animation-delay: 0.3s; }
.fr6  { bottom: 35%; left: 1%; animation-duration: 4s; animation-delay: 0.8s; }
.fr7  { top: 45%; right: 1%;  animation-duration: 6.5s; animation-delay: 0.2s; }
.fr8  { bottom: 10%; right: 2%; animation-duration: 5.2s; animation-delay: 1.2s; }

@keyframes fr-drift {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-12px) rotate(8deg); }
  66%      { transform: translateY(6px) rotate(-5deg); }
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-bottom: 56px;
  animation: fadeUp 0.8s ease both;
}

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

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid var(--pink-l);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pink-d);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  animation: dot-pulse 1.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.6); }
}

/* === CAT UNIVERSE === */
.cat-universe {
  position: relative;
  width: 340px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sparkle ring */
.sparkle-ring {
  position: absolute;
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 14s linear infinite;
}
.sr-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  animation: sr-twinkle 2s ease-in-out infinite;
}
.sd1 { top: 0;    left: 50%;  transform: translate(-50%, -50%); }
.sd2 { top: 15%;  right: 8%;  animation-delay: 0.25s; }
.sd3 { top: 50%;  right: 0;   transform: translateY(-50%); animation-delay: 0.5s; }
.sd4 { bottom: 15%; right: 8%; animation-delay: 0.75s; }
.sd5 { bottom: 0; left: 50%;  transform: translate(-50%, 50%); animation-delay: 1s; }
.sd6 { bottom: 15%; left: 8%; animation-delay: 1.25s; }
.sd7 { top: 50%;  left: 0;    transform: translateY(-50%); animation-delay: 1.5s; }
.sd8 { top: 15%;  left: 8%;   animation-delay: 1.75s; }

@keyframes ring-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes sr-twinkle {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.4); opacity: 0.3; }
}

/* === CAT === */
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cat-float 3.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(244,114,182,0.3));
}
@keyframes cat-float {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}

/* Crown */
.crown { margin-bottom: -6px; z-index: 5; position: relative; text-align: center; }
.crown-shape {
  display: inline-flex;
  align-items: flex-end;
  position: relative;
}
.cp {
  width: 0; height: 0;
}
.peak-l {
  border-left: 14px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 28px solid var(--gold);
  transform: rotate(-15deg) translateX(4px);
}
.peak-m {
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 36px solid #f59e0b;
  position: relative;
  z-index: 2;
}
.peak-r {
  border-left: 8px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 28px solid var(--gold);
  transform: rotate(15deg) translateX(-4px);
}
.crown-gems {
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  font-size: 0.6rem;
}
.gem { filter: drop-shadow(0 0 4px rgba(255,215,0,0.8)); }
.crown-shape::before {
  content: '';
  position: absolute;
  bottom: 0; left: -6px; right: -6px;
  height: 14px;
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  border-radius: 3px;
  z-index: 3;
}

/* Cat Head */
.cat-head {
  position: relative;
  width: 150px; height: 130px;
  background: linear-gradient(160deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
  border-radius: 55% 55% 48% 48% / 58% 58% 42% 42%;
  box-shadow: 0 4px 24px rgba(244,114,182,0.25),
              inset 0 -12px 24px rgba(255,255,255,0.4);
}

.ear {
  position: absolute;
  top: -30px;
  width: 46px; height: 52px;
  clip-path: polygon(50% 0%, 5% 100%, 95% 100%);
  background: linear-gradient(160deg, #f9a8d4, #f472b6);
}
.ear-l { left: 14px;  transform: rotate(-10deg); }
.ear-r { right: 14px; transform: rotate(10deg); }
.ear-in {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 30px;
  clip-path: polygon(50% 0%, 5% 100%, 95% 100%);
  background: linear-gradient(160deg, #fce7f3, #fbcfe8);
}

/* Face */
.cat-face {
  position: absolute;
  top: 26px; left: 50%;
  transform: translateX(-50%);
  width: 115px;
}

.eye-row {
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  margin-bottom: 10px;
}

.eye {
  position: relative;
  width: 34px; height: 32px;
  background: linear-gradient(160deg, #1e1b4b, #312e81);
  border-radius: 50% 50% 44% 44%;
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(139,92,246,0.4),
              0 0 0 3px rgba(244,114,182,0.15);
}
.pupil {
  position: absolute;
  bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 20px;
  background: #0f0023;
  border-radius: 50%;
  transition: transform 0.1s ease;
}
.shine {
  position: absolute;
  background: white;
  border-radius: 50%;
}
.s-big { top: 5px; right: 6px; width: 10px; height: 10px; opacity: 0.9; }
.s-sm  { top: 8px; left: 6px;  width: 5px;  height: 5px;  opacity: 0.6; }

.lashes {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  gap: 5px;
  padding-left: 4px;
}
.lashes span {
  display: block;
  width: 1.5px; height: 6px;
  background: rgba(255,255,255,0.7);
  transform-origin: bottom;
  border-radius: 2px;
}
.lashes span:nth-child(1) { transform: rotate(-15deg); }
.lashes span:nth-child(2) { transform: rotate(-5deg); }
.lashes span:nth-child(3) { transform: rotate(5deg); }

.blush-row {
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 8px;
}
.blush {
  width: 34px; height: 18px;
  background: radial-gradient(ellipse, rgba(249,168,212,0.7) 0%, transparent 75%);
  border-radius: 50%;
}

.nose-wrap { text-align: center; margin-bottom: 5px; }
.nose {
  width: 16px; height: 10px;
  background: linear-gradient(135deg, #ec4899, #be185d);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  margin: 0 auto 5px;
  box-shadow: 0 2px 8px rgba(236,72,153,0.35);
}
.mouth {
  width: 34px; height: 14px;
  border-bottom: 3px solid rgba(190,24,93,0.4);
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 0 0 50% 50%;
  margin: 0 auto;
}

.whiskers {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 52px;
  width: 145px;
  left: 50%; transform: translateX(-50%);
}
.wl, .wr { display: flex; flex-direction: column; gap: 6px; }
.wl span, .wr span {
  display: block;
  width: 46px; height: 1.5px;
  background: rgba(190,24,93,0.3);
  border-radius: 2px;
}
.wr { align-items: flex-end; }

/* Cat Body */
.cat-body {
  position: relative;
  width: 130px; height: 110px;
  background: linear-gradient(160deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
  border-radius: 38% 38% 48% 48% / 28% 28% 52% 52%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -6px;
  box-shadow: 0 6px 20px rgba(244,114,182,0.2),
              inset 0 -16px 28px rgba(255,255,255,0.35);
}
.bow-tie { font-size: 2rem; animation: bow-wiggle 3s ease-in-out infinite; }
@keyframes bow-wiggle {
  0%,100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.18) rotate(-6deg); }
}
.belly-spot {
  position: absolute;
  bottom: 16px;
  width: 60px; height: 40px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

/* Paws */
.cat-paws {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.paw-l, .paw-r { font-size: 1.5rem; }
.paw-l { animation: paw-l-wave 3.5s ease-in-out infinite; }
.paw-r { animation: paw-r-wave 3.5s ease-in-out infinite 0.6s; }
@keyframes paw-l-wave {
  0%,100% { transform: rotate(0deg); }
  40%      { transform: rotate(-20deg) translateY(-6px); }
}
@keyframes paw-r-wave {
  0%,100% { transform: rotate(0deg); }
  40%      { transform: rotate(20deg) translateY(-6px); }
}

/* Tail */
.tail {
  position: absolute;
  right: -44px; bottom: 22px;
  width: 64px; height: 22px;
  background: linear-gradient(90deg, #f9a8d4, #fbcfe8);
  border-radius: 50% 80% 80% 50%;
  transform-origin: left center;
  animation: tail-swing 2.2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(244,114,182,0.2);
}
@keyframes tail-swing {
  0%,100% { transform: rotate(-12deg); }
  50%      { transform: rotate(28deg); }
}

/* Mini hearts */
.mini-hearts span {
  position: absolute;
  font-size: 1.4rem;
  animation: mh-float ease-in-out infinite;
  pointer-events: none;
}
.mh1 { top: 6%; left: 4%;    animation-duration: 4s;   animation-delay: 0s; }
.mh2 { top: 20%; right: 3%;  animation-duration: 5.5s; animation-delay: 0.4s; }
.mh3 { top: 55%; left: 2%;   animation-duration: 4.8s; animation-delay: 0.8s; }
.mh4 { bottom: 8%; right: 5%; animation-duration: 5s;  animation-delay: 1.2s; }
.mh5 { top: 40%; right: 1%;  animation-duration: 6s;   animation-delay: 0.2s; }
.mh6 { top: 8%; right: 10%;  animation-duration: 4.5s; animation-delay: 1.6s; }

@keyframes mh-float {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.7; }
  33%      { transform: translateY(-16px) scale(1.15); opacity: 1; }
  66%      { transform: translateY(8px) scale(0.9); opacity: 0.5; }
}

/* === HERO TEXT === */
.hero-text { text-align: center; animation: fadeUp 0.8s ease 0.2s both; }

.pyaar-billi-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-l), var(--purple-l));
  border: 1.5px solid rgba(244,114,182,0.3);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--pink-d);
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(244,114,182,0.12);
}

.big-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 8vw, 5rem);
  background: linear-gradient(135deg, var(--pink-d) 0%, var(--purple) 60%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(244,114,182,0.2));
}

.name-tag {
  font-family: var(--font-fancy);
  font-size: clamp(2rem, 6vw, 3.5rem);
  background: linear-gradient(135deg, var(--purple-d), var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.tagline {
  font-size: 1.05rem;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 16px;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--lavender);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-d);
  box-shadow: var(--shadow-sm);
}

/* ===========================
   OOPS / APOLOGY CARD
   =========================== */
.oops-section {
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.oops-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-md),
              0 0 0 1.5px rgba(244,114,182,0.12);
  position: relative;
  overflow: hidden;
}
.oops-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--rose), var(--pink));
  background-size: 300%;
  animation: stripe-move 4s linear infinite;
}
@keyframes stripe-move {
  from { background-position: 0% 50%; }
  to   { background-position: 300% 50%; }
}

.oops-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: oops-wobble 2s ease-in-out infinite;
}
@keyframes oops-wobble {
  0%,100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}

.oops-title {
  font-family: var(--font-fancy);
  font-size: 2rem;
  color: var(--pink-d);
  margin-bottom: 16px;
}

.oops-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 540px;
  margin: 0 auto 28px;
}

.accept-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 50px;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(244,114,182,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: accept-pulse 2.5s ease-in-out infinite;
  user-select: none;
}
.accept-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(244,114,182,0.5);
}
@keyframes accept-pulse {
  0%,100% { box-shadow: 0 8px 24px rgba(244,114,182,0.35), 0 0 0 0 rgba(244,114,182,0.3); }
  50%      { box-shadow: 0 8px 24px rgba(244,114,182,0.35), 0 0 0 10px rgba(244,114,182,0); }
}

.accepted-msg {
  display: none;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--pink-ll), var(--purple-l));
  border-radius: var(--radius-md);
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-d);
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.accepted-msg.show { display: block; }
@keyframes pop-in {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ===========================
   MESSAGE CARD
   =========================== */
.msg-section {
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.4s both;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(244,114,182,0.3);
}

.msg-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md), 0 0 0 1.5px rgba(244,114,182,0.1);
}

.msg-opening {
  font-family: var(--font-fancy);
  font-size: 2rem;
  color: var(--pink-d);
  margin-bottom: 16px;
}
.msg-card p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-main);
  margin-bottom: 18px;
}

.wish-bubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}
.wb {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1.5px solid rgba(244,114,182,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wb:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}
.wb-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.wb span:last-child { font-size: 1rem; font-weight: 600; color: var(--text-main); line-height: 1.5; }

.wb1 { border-left: 4px solid var(--pink); }
.wb2 { border-left: 4px solid var(--gold); }
.wb3 { border-left: 4px solid var(--purple); }
.wb4 { border-left: 4px solid var(--rose); }
.wb5 { border-left: 4px solid #10b981; }
.wb6 { border-left: 4px solid #3b82f6; }

.msg-closing {
  font-family: var(--font-fancy);
  font-size: 1.6rem;
  color: var(--purple-d);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 8px;
}
.closing-sub { font-size: 1.1rem; color: var(--text-soft); }

.msg-sign {
  text-align: right;
  color: var(--text-soft);
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ===========================
   VIBES GRID
   =========================== */
.vibes-section {
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.5s both;
}

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.vc {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  padding: 26px 14px;
  text-align: center;
  cursor: default;
  overflow: hidden;
  border: 1.5px solid rgba(244,114,182,0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vc:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: rgba(244,114,182,0.4);
}

.vc-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-l), var(--purple-l));
  opacity: 0;
  transition: opacity 0.3s;
}
.vc:hover .vc-bg { opacity: 0.5; }

.vc-emoji {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
  position: relative;
  animation: vc-bounce 3s ease-in-out infinite;
}
.vc:nth-child(2) .vc-emoji { animation-delay: 0.4s; }
.vc:nth-child(3) .vc-emoji { animation-delay: 0.8s; }
.vc:nth-child(4) .vc-emoji { animation-delay: 1.2s; }
.vc:nth-child(5) .vc-emoji { animation-delay: 1.6s; }
.vc:nth-child(6) .vc-emoji { animation-delay: 2.0s; }
@keyframes vc-bounce {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.2) rotate(5deg); }
}

.vc-name {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-mid);
  position: relative;
}

/* ===========================
   SURPRISE SECTION
   =========================== */
.surprise-section {
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease 0.6s both;
}

.surprise-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md), 0 0 0 1.5px rgba(168,85,247,0.12);
  position: relative;
  overflow: hidden;
}
.surprise-box::after {
  content: '🎁';
  position: absolute;
  font-size: 6rem;
  right: -16px; bottom: -16px;
  opacity: 0.06;
  pointer-events: none;
}

.surprise-title {
  font-family: var(--font-fancy);
  font-size: 2rem;
  color: var(--purple-d);
  margin-bottom: 10px;
}
.surprise-sub {
  font-size: 1rem;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 28px;
}

.secret-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--purple-d), var(--pink));
  color: white;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(168,85,247,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.secret-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.secret-btn:hover::before { left: 100%; }
.secret-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(168,85,247,0.5);
}
.btn-paw { font-size: 1.2rem; }

.secret-msg {
  display: none;
  margin-top: 28px;
  background: linear-gradient(135deg, var(--pink-ll), var(--purple-l));
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1.5px solid rgba(168,85,247,0.2);
}
.secret-msg.show { display: block; animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

.secret-cat-anim {
  font-size: 3.5rem;
  margin-bottom: 14px;
  display: inline-block;
  animation: secret-spin 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes secret-spin {
  from { transform: rotate(-720deg) scale(0); }
  to   { transform: rotate(0) scale(1); }
}

.secret-heading {
  font-family: var(--font-fancy);
  font-size: 1.8rem;
  color: var(--pink-d);
  margin-bottom: 14px !important;
}
.secret-msg p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 10px;
}
.secret-emoji-row {
  font-size: 1.8rem;
  letter-spacing: 10px;
  margin-top: 16px;
  animation: heart-beat 1.5s ease-in-out infinite;
}
@keyframes heart-beat {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  text-align: center;
  padding: 28px 0 16px;
  animation: fadeUp 0.8s ease 0.7s both;
}

.footer-cat-row {
  font-size: 2.5rem;
  letter-spacing: 20px;
  margin-bottom: 16px;
}
.big-cat-footer {
  display: inline-block;
  animation: footer-cat-spin 5s linear infinite;
}
@keyframes footer-cat-spin { to { transform: rotate(360deg); } }

.footer-msg {
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-sub {
  font-family: var(--font-fancy);
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 640px) {
  .wrapper { padding: 72px 14px 36px; }

  .music-bar { min-width: 230px; padding: 8px 16px 8px 10px; }
  .music-title { font-size: 0.72rem; }

  .cat-universe { width: 280px; height: 320px; }
  .cat-head { width: 120px; height: 104px; }
  .cat-body { width: 104px; height: 88px; }
  .ear { width: 36px; height: 42px; top: -24px; }
  .eye { width: 28px; height: 26px; }
  .tail { right: -34px; width: 50px; }
  .bow-tie { font-size: 1.6rem; }

  .vibe-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .msg-card { padding: 24px 18px; }
  .oops-card { padding: 28px 18px; }
  .surprise-box { padding: 28px 18px; }

  .wb { padding: 11px 14px; gap: 10px; }
  .wb-icon { font-size: 1.1rem; }

  .oops-title { font-size: 1.6rem; }
  .surprise-title { font-size: 1.6rem; }
  .msg-opening { font-size: 1.7rem; }
  .msg-closing { font-size: 1.4rem; }

  .fr { display: none; }
}

@media (max-width: 400px) {
  .cat-universe { width: 240px; height: 280px; }
  .cat-head { width: 100px; height: 88px; }
  .cat-body { width: 88px; height: 75px; }
  .vibe-grid { grid-template-columns: repeat(2, 1fr); }
  .big-title { font-size: 2.2rem; }
}
