/* ============================================================
   IMPORTS & RESET
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Cinzel+Decorative:wght@400;700;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Great+Vibes&family=Dancing+Script:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

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

:root {
  --pink-light:  #ffd6e7;
  --pink-mid:    #ff6b9d;
  --pink-hot:    #ff2e63;
  --pink-deep:   #c41a5e;
  --rose:        #e91e63;
  --gold:        #ffd700;
  --white:       #ffffff;
  --glass:       rgba(255,255,255,0.15);
  --glass-border:rgba(255,255,255,0.30);
  --shadow:      rgba(0,0,0,0.25);
  /* Premium font stack */
  --font-body:    'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading: 'Cinzel Decorative', 'Playfair Display', serif;
  --font-cursive: 'Great Vibes', cursive;
  --font-script:  'Dancing Script', cursive;
  --font-ui:      'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  background: #0d0018;
  color: var(--white);
  cursor: none;
  min-height: 100vh;
}

/* ============================================================
   GLOBAL FLOATING PARTICLES
   ============================================================ */
#floatingHearts, #floatingRoses, #floatingStars {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.heart-float {
  position: absolute;
  font-size: clamp(18px, 3vw, 28px);
  animation: floatUp linear forwards;
  pointer-events: none;
}

.rose-float {
  position: absolute;
  font-size: clamp(16px, 2.5vw, 24px);
  animation: floatUp linear forwards;
  pointer-events: none;
}

.star-float {
  position: absolute;
  font-size: clamp(14px, 2vw, 20px);
  animation: starTwinkle 2s ease forwards;
  pointer-events: none;
}

@keyframes floatUp {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20px) rotate(360deg); opacity: 0; }
}

@keyframes starTwinkle {
  0%   { transform: scale(0) rotate(0deg); opacity: 0; }
  50%  { transform: scale(1.5) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

/* ============================================================
   PARTICLE CANVAS
   ============================================================ */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
#loginPage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, #3d0034 0%, #0d0018 60%),
              radial-gradient(ellipse at 80% 20%, #4a0040 0%, transparent 60%);
}

/* Background orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.orb1 { width: 400px; height: 400px; background: rgba(255,46,99,0.3);  top: -100px; left: -100px; animation-delay: 0s; }
.orb2 { width: 300px; height: 300px; background: rgba(255,107,157,0.25); bottom: -80px; right: -80px; animation-delay: -3s; }
.orb3 { width: 250px; height: 250px; background: rgba(196,26,94,0.2);  top: 50%; left: 60%;  animation-delay: -6s; }
.orb4 { width: 200px; height: 200px; background: rgba(255,215,0,0.1);  top: 30%; left: 10%;  animation-delay: -2s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.1); }
}

/* Login floating hearts */
#loginHearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Login Box */
.login-box {
  position: relative;
  z-index: 10;
  width: min(420px, 92vw);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 40px 35px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5),
              0 0 40px rgba(255,46,99,0.2),
              inset 0 1px 0 rgba(255,255,255,0.2);
  animation: loginBoxIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes loginBoxIn {
  from { opacity: 0; transform: translateY(60px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Lock Icon */
.lock-icon {
  font-size: 36px;
  margin-bottom: 10px;
  animation: lockPulse 2s ease-in-out infinite;
}
@keyframes lockPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15) rotate(-5deg); }
}

/* Login Photo */
.login-photo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
}
.login-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 30px rgba(255,107,157,0.6),
              0 0 60px rgba(255,46,99,0.3);
  animation: photoPulse 3s ease-in-out infinite;
}
@keyframes photoPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(255,107,157,0.6), 0 0 60px rgba(255,46,99,0.3); }
  50%       { box-shadow: 0 0 50px rgba(255,107,157,0.9), 0 0 90px rgba(255,46,99,0.5); }
}
.photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(white,white) padding-box,
              linear-gradient(135deg, #ff2e63, #ffd700, #ff6b9d, #ff2e63) border-box;
  animation: ringRotate 4s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

/* Login Title */
.login-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 5vw, 34px);
  background: linear-gradient(135deg, #ff6b9d, #ffd700, #ff2e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.login-hint {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2px;
}
.login-dob-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

/* PIN Dots */
.pin-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pin-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  transition: all 0.3s ease;
}
.pin-dot.filled {
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border-color: #ff6b9d;
  box-shadow: 0 0 12px rgba(255,107,157,0.8);
  transform: scale(1.2);
}
.pin-dot.error {
  background: #ff4757;
  border-color: #ff4757;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* Hidden text input */
#password {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  background: rgba(255,255,255,0.1);
  color: white;
  outline: none;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 16px;
  transition: border 0.3s, box-shadow 0.3s;
}
#password::placeholder { color: rgba(255,255,255,0.4); letter-spacing: 1px; }
#password:focus {
  border-color: #ff6b9d;
  box-shadow: 0 0 20px rgba(255,107,157,0.4);
}

/* Numpad */
.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto 14px;
  max-width: 280px;
}
.num-btn {
  padding: 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  aspect-ratio: 1;
}
.num-btn:hover {
  background: rgba(255,107,157,0.3);
  border-color: #ff6b9d;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255,107,157,0.4);
}
.num-btn:active { transform: scale(0.92); }
.num-clear {
  background: rgba(255,71,87,0.2);
  border-color: rgba(255,71,87,0.4);
  font-size: 16px;
}
.num-clear:hover { background: rgba(255,71,87,0.4); border-color: #ff4757; }
.num-ok {
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border-color: #ff2e63;
  font-size: 20px;
}
.num-ok:hover { transform: scale(1.1); box-shadow: 0 0 25px rgba(255,46,99,0.6); }

.wrong-msg {
  color: #ff6b6b;
  font-size: 13px;
  min-height: 20px;
  margin-bottom: 10px;
  animation: fadeIn 0.3s ease;
}
.hint-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   MAIN PAGE
   ============================================================ */
#mainPage {
  display: none;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* ── HERO SECTION ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0018 0%, #1a0030 30%, #2d0040 60%, #0d0018 100%);
}
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; }
.hc {
  position: absolute;
  border-radius: 50%;
  animation: hcFloat 6s ease-in-out infinite;
}
.hc1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,46,99,0.15), transparent 70%); top: -200px; right: -200px; animation-delay: 0s; }
.hc2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,107,157,0.1), transparent 70%); bottom: -150px; left: -150px; animation-delay: -3s; }
.hc3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(255,215,0,0.08), transparent 70%); top: 30%; left: 40%; animation-delay: -1.5s; }

@keyframes hcFloat {
  0%, 100% { transform: scale(1) translate(0,0); }
  50%       { transform: scale(1.1) translate(15px, -15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  animation: heroIn 1.2s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cake-animation {
  font-size: clamp(60px, 12vw, 100px);
  animation: cakeBounce 1.5s ease-in-out infinite;
  display: block;
  margin-bottom: 10px;
}
@keyframes cakeBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 6vw, 60px);
  background: linear-gradient(135deg, #ff6b9d 0%, #ffd700 50%, #ff2e63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  line-height: 1.2;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: titleGlow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(255,107,157,0.5));
}
@keyframes titleGlow {
  from { filter: drop-shadow(0 0 15px rgba(255,107,157,0.4)); }
  to   { filter: drop-shadow(0 0 35px rgba(255,46,99,0.8)); }
}

.hero-name {
  font-family: var(--font-cursive);
  font-size: clamp(44px, 9vw, 90px);
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255,107,157,0.8), 0 0 40px rgba(255,46,99,0.5);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(14px, 3vw, 18px);
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.balloon-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.balloon {
  font-size: clamp(28px, 5vw, 42px);
  display: inline-block;
  animation: balloonFloat 3s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes balloonFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-18px) rotate(5deg); }
}

.hero-from {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.scroll-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(255,46,99,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: scrollBtnPulse 2s ease-in-out infinite;
}
.scroll-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,46,99,0.6); }
@keyframes scrollBtnPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255,46,99,0.4); }
  50%       { box-shadow: 0 10px 40px rgba(255,46,99,0.7), 0 0 0 8px rgba(255,46,99,0.1); }
}

/* ── CONTENT SECTIONS ── */
.content-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 50px 30px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
              0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
  animation: iconBounce 2s ease-in-out infinite;
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 4vw, 36px);
  background: linear-gradient(135deg, #ff6b9d, #ffd700, #ff2e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff2e63, #ffd700, #ff6b9d);
  border-radius: 2px;
  margin: 0 auto;
}

/* ── PHOTO SHOWCASE ── */
.photo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.photo-card:hover { transform: translateY(-8px) scale(1.02); }
.photo-card:hover .photo-glow { opacity: 1; }
.photo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,157,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
.showcase-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 24px;
  transition: transform 0.6s ease;
}
.photo-card:hover .showcase-photo { transform: scale(1.06); }
.photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  border-radius: 0 0 24px 24px;
  z-index: 2;
}
.photo-caption {
  font-family: 'Great Vibes', cursive;
  font-size: 26px;
  color: white;
  text-shadow: 0 0 10px rgba(255,107,157,0.8);
}
.photo-sub { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ── INSTAGRAM ── */
.instagram-section { text-align: center; }
.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(130,58,180,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.insta-btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 40px rgba(130,58,180,0.6); }
.insta-icon { font-size: 22px; }
.insta-arrow { font-size: 20px; transition: transform 0.3s; }
.insta-btn:hover .insta-arrow { transform: translateX(6px); }

/* ── ENVELOPE ── */
.envelope-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.envelope {
  position: relative;
  width: 280px;
  height: 190px;
  cursor: pointer;
  animation: envPulse 2s ease-in-out infinite;
  transition: transform 0.3s;
}
.envelope:hover { transform: scale(1.05); }

@keyframes envPulse {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(255,107,157,0.5)); }
  50%       { filter: drop-shadow(0 0 25px rgba(255,46,99,0.8)); }
}

.env-back {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #ff6b9d, #ff2e63);
  border-radius: 10px;
}
.env-front {
  position: absolute;
  bottom: 0;
  width: 0; height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-top: 95px solid rgba(255,46,99,0.6);
  z-index: 5;
}
.env-cover {
  position: absolute; top: 0;
  width: 0; height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-bottom: 95px solid rgba(255,107,157,0.8);
  z-index: 4;
}
.env-lid {
  position: absolute; top: 0;
  width: 0; height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-top: 95px solid #ff2e63;
  transform-origin: top center;
  transition: transform 0.8s ease;
  z-index: 6;
}
.env-letter-inside {
  position: absolute;
  left: 15px; top: 15px;
  width: 250px; height: 160px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  transition: transform 0.8s ease 0.3s;
  z-index: 3;
}
.envelope.open .env-lid { transform: rotateX(180deg); }
.envelope.open .env-letter-inside { transform: translateY(-200px); }
.env-tap-hint {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* Love Letter */
.love-letter-box {
  display: none;
  animation: fadeSlideIn 0.8s ease both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.letter-paper {
  background: linear-gradient(135deg, #fff9fb, #fff0f5);
  border-radius: 20px;
  padding: 40px;
  color: #4a1a2e;
  border: 1px solid rgba(255,107,157,0.3);
  box-shadow: 0 10px 40px rgba(255,46,99,0.2),
              inset 0 0 60px rgba(255,107,157,0.05);
  position: relative;
}
.letter-decoration {
  text-align: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.top-dec { margin-bottom: 20px; }
.bottom-dec { margin-top: 20px; }
.letter-salutation {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: #c41a5e;
  margin-bottom: 18px;
}
.typing-text {
  font-size: 16px;
  line-height: 2;
  color: #5a2a40;
  white-space: pre-line;
  min-height: 40px;
}
.letter-sign {
  text-align: right;
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: #c41a5e;
  margin-top: 24px;
}

/* ── VIDEO ── */
.video-section { text-align: center; }
.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
  width: 100%;
  height: clamp(250px, 45vw, 450px);
  display: block;
}

/* ── COUNTDOWN ── */
.countdown-section { text-align: center; }
.countdown-label {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.timer-box {
  background: linear-gradient(135deg, rgba(255,46,99,0.2), rgba(255,107,157,0.15));
  border: 1.5px solid rgba(255,107,157,0.3);
  border-radius: 20px;
  padding: 24px 28px;
  min-width: 100px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(255,46,99,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.timer-number {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b9d, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.timer-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.timer-sep {
  font-size: 40px;
  font-weight: 800;
  color: #ff6b9d;
  line-height: 1;
  margin-bottom: 20px;
}

/* ── FAVOURITES ── */
.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.fav-card {
  background: linear-gradient(135deg,
    hsla(var(--hue), 80%, 25%, 0.4),
    hsla(var(--hue), 60%, 15%, 0.2));
  border: 1px solid hsla(var(--hue), 70%, 60%, 0.3);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.fav-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px hsla(var(--hue), 70%, 40%, 0.3);
}
.fav-icon { font-size: 36px; margin-bottom: 12px; }
.fav-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.fav-value {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

/* ── WISHES ── */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.wish-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.wish-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff2e63, #ffd700, #ff6b9d);
}
.wish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,46,99,0.2);
}
.wish-num {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255,107,157,0.15), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255,107,157,0.2);
  background-clip: text;
  position: absolute;
  top: 10px; right: 16px;
  line-height: 1;
}
.wish-card p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.wish-card strong { color: #ff6b9d; }

/* ── GIFT ── */
.gift-section { text-align: center; }
.gift-wrapper { position: relative; display: inline-block; }
.gift-box {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s;
}
.gift-emoji {
  font-size: 100px;
  display: block;
  animation: giftBounce 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.4));
}
@keyframes giftBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-18px) rotate(5deg); }
}
.gift-box:hover .gift-emoji { filter: drop-shadow(0 0 35px rgba(255,215,0,0.8)); }
.gift-bow { font-size: 40px; display: block; margin-bottom: -10px; animation: bowSpin 3s ease-in-out infinite; }
@keyframes bowSpin {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(10deg); }
}
.gift-ribbon-h, .gift-ribbon-v { display: none; }
.gift-tap-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  animation: tapPulse 1.5s ease-in-out infinite;
}
@keyframes tapPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
.gift-message {
  display: none;
  margin-top: 40px;
  animation: giftMsgIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes giftMsgIn {
  from { transform: scale(0.3) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.gift-msg-inner {
  background: linear-gradient(135deg, rgba(255,46,99,0.2), rgba(255,107,157,0.15));
  border: 2px solid rgba(255,107,157,0.4);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 0 60px rgba(255,46,99,0.3), 0 0 120px rgba(255,46,99,0.1);
}
.gift-msg-big {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(36px, 7vw, 56px);
  background: linear-gradient(135deg, #ff6b9d, #ffd700, #ff2e63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.gift-msg-name {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(28px, 5vw, 44px);
  color: white;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(255,107,157,0.7);
  margin-bottom: 14px;
}
.gift-msg-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.gift-msg-from {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  color: #ffd700;
}

/* ── MUSIC ── */
.music-section { text-align: center; }
.apple-music-wrap {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.music-player {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Vinyl disc */
.vinyl-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}
.vinyl-disc {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #1a1a1a 0%, #1a1a1a 28%,
    #2a0a18 30%, #2a0a18 32%,
    #1a1a1a 34%, #1a1a1a 44%,
    #2a0a18 46%, #2a0a18 48%,
    #1a1a1a 50%, #1a1a1a 60%,
    #2a0a18 62%, #2a0a18 64%,
    #1a1a1a 66%
  );
  box-shadow: 0 0 40px rgba(255,46,99,0.3), 0 0 80px rgba(255,46,99,0.1);
  position: relative;
  animation: vinylSpin 4s linear infinite paused;
  cursor: pointer;
  transition: box-shadow 0.4s;
}
.vinyl-disc.playing {
  animation-play-state: running;
  box-shadow: 0 0 60px rgba(255,107,157,0.6), 0 0 120px rgba(255,46,99,0.2);
}
@keyframes vinylSpin { to { transform: rotate(360deg); } }

.vinyl-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 90px; height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,107,157,0.5);
  z-index: 2;
  box-shadow: 0 0 20px rgba(255,107,157,0.5);
}
.vinyl-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.vinyl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,157,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.r1 { width: 110px; height: 110px; }
.r2 { width: 150px; height: 150px; border-color: rgba(255,107,157,0.08); }
.r3 { width: 190px; height: 190px; border-color: rgba(255,107,157,0.05); }

/* Vinyl arm (needle) */
.vinyl-arm {
  position: absolute;
  top: 8px; right: -18px;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, #ffd700, #888);
  border-radius: 4px;
  transform-origin: right center;
  transform: rotate(-25deg);
  transition: transform 1s ease;
  z-index: 10;
}
.vinyl-arm::after {
  content: '◆';
  position: absolute;
  left: -6px; top: -8px;
  color: #ffd700;
  font-size: 16px;
}
.vinyl-arm.playing { transform: rotate(-10deg); }

/* Music info panel */
.music-info {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  text-align: left;
}
.music-song-name {
  font-family: var(--font-heading);
  font-size: clamp(13px, 2.5vw, 16px);
  color: white;
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-artist {
  font-family: var(--font-script);
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

/* Progress */
.music-progress-wrap { margin-bottom: 20px; }
.music-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
  cursor: pointer;
}
.music-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2e63, #ffd700, #ff6b9d);
  border-radius: 50px;
  transition: width 0.5s linear;
  box-shadow: 0 0 10px rgba(255,46,99,0.5);
}
.music-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-ui);
}

/* Controls */
.music-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.mc-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  font-family: var(--font-ui);
}
.mc-btn:hover { background: rgba(255,107,157,0.25); border-color: #ff6b9d; transform: scale(1.1); }
.mc-play {
  width: 58px; height: 58px;
  font-size: 22px;
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border: none;
  box-shadow: 0 6px 20px rgba(255,46,99,0.45);
}
.mc-play:hover { box-shadow: 0 10px 30px rgba(255,46,99,0.7); transform: scale(1.12); }

/* Volume */
.music-vol-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vol-icon { font-size: 16px; }
.vol-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e63, #ffd700);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255,46,99,0.5);
}

/* Disc spin kept for backward compat */
.music-disc.playing { animation-play-state: running; }
@keyframes discSpin { to { transform: rotate(360deg); } }
audio { display: none; }

/* ── FOOTER ── */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 50px 20px 80px;
}
.footer-hearts { font-size: 24px; margin-bottom: 10px; animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}
.footer-text {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.footer-text strong { color: #ff6b9d; }
.footer-sub { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 14px; }

/* ============================================================
   CONFETTI / FIREWORKS
   ============================================================ */
.confetti-piece {
  position: fixed;
  top: -20px;
  font-size: clamp(20px, 3vw, 28px);
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg) scale(0.5); opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .content-section { padding: 35px 18px; margin: 0 12px 40px; }
  .photo-showcase { grid-template-columns: 1fr; }
  .showcase-photo { height: 300px; }
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
  .wishes-grid { grid-template-columns: 1fr; }
  .timer-box { padding: 16px 18px; min-width: 72px; }
  .timer-sep { font-size: 28px; }
  .envelope { width: 240px; height: 165px; }
  .env-front { border-left-width: 120px; border-right-width: 120px; border-top-width: 82px; }
  .env-cover { border-left-width: 120px; border-right-width: 120px; border-bottom-width: 82px; }
  .env-lid   { border-left-width: 120px; border-right-width: 120px; border-top-width: 82px; }
  .env-letter-inside { width: 210px; height: 135px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
  .hero-name  { font-size: 32px; }
  .fav-grid { grid-template-columns: 1fr; }
  .timer { gap: 6px; }
  .timer-sep { display: none; }
}

/* ============================================================
   EXTRA FEATURE CSS
   ============================================================ */

/* ── MUSIC VISUALIZER ── */
.music-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: 16px;
  padding: 0 10px;
}
.music-visualizer .bar {
  flex: 1;
  background: linear-gradient(to top, #ff2e63, #ffd700);
  border-radius: 4px 4px 0 0;
  height: 6px;
  transition: height 0.15s ease;
  min-height: 4px;
}
.music-visualizer.active .bar {
  animation: barDance 0.6s ease-in-out infinite alternate;
}
.music-visualizer.active .bar:nth-child(1) { animation-delay: 0.0s; }
.music-visualizer.active .bar:nth-child(2) { animation-delay: 0.05s; }
.music-visualizer.active .bar:nth-child(3) { animation-delay: 0.10s; }
.music-visualizer.active .bar:nth-child(4) { animation-delay: 0.15s; }
.music-visualizer.active .bar:nth-child(5) { animation-delay: 0.05s; }
.music-visualizer.active .bar:nth-child(6) { animation-delay: 0.20s; }
.music-visualizer.active .bar:nth-child(7) { animation-delay: 0.08s; }
.music-visualizer.active .bar:nth-child(8) { animation-delay: 0.12s; }
.music-visualizer.active .bar:nth-child(9) { animation-delay: 0.18s; }
.music-visualizer.active .bar:nth-child(10){ animation-delay: 0.03s; }
.music-visualizer.active .bar:nth-child(11){ animation-delay: 0.22s; }
.music-visualizer.active .bar:nth-child(12){ animation-delay: 0.07s; }
.music-visualizer.active .bar:nth-child(13){ animation-delay: 0.14s; }
.music-visualizer.active .bar:nth-child(14){ animation-delay: 0.02s; }
.music-visualizer.active .bar:nth-child(15){ animation-delay: 0.19s; }
.music-visualizer.active .bar:nth-child(16){ animation-delay: 0.09s; }
.music-visualizer.active .bar:nth-child(17){ animation-delay: 0.16s; }
.music-visualizer.active .bar:nth-child(18){ animation-delay: 0.06s; }
.music-visualizer.active .bar:nth-child(19){ animation-delay: 0.11s; }
.music-visualizer.active .bar:nth-child(20){ animation-delay: 0.21s; }

@keyframes barDance {
  0%   { height: 4px; }
  100% { height: calc(4px + 50px * var(--rnd, 0.5)); }
}

/* ── BIRTHDAY CAKE ── */
.cake-section { text-align: center; }
.cake-hint {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
  letter-spacing: 1px;
}
.cake-scene {
  display: inline-block;
  position: relative;
  user-select: none;
}
.candles-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.candle-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.candle-wrap:hover { transform: scale(1.1); }
.candle {
  width: 16px;
  height: 55px;
  border-radius: 8px 8px 4px 4px;
}
.c-pink   { background: linear-gradient(180deg, #ffb3d1, #ff6b9d); }
.c-yellow { background: linear-gradient(180deg, #fff176, #ffd700); }
.c-purple { background: linear-gradient(180deg, #ce93d8, #9c27b0); }
.c-blue   { background: linear-gradient(180deg, #90caf9, #1565c0); }
.flame {
  width: 14px;
  height: 20px;
  background: radial-gradient(ellipse at 50% 80%, #fff176, #ffa726 40%, #ff5722 80%, transparent);
  border-radius: 50% 50% 30% 30%;
  margin-bottom: 0;
  animation: flameDance 0.5s ease-in-out infinite alternate;
  position: relative;
  z-index: 3;
  transition: opacity 0.3s, transform 0.3s;
}
@keyframes flameDance {
  0%   { transform: scaleX(0.9) skewX(-5deg); }
  100% { transform: scaleX(1.1) skewX(5deg); }
}
.flame.out {
  opacity: 0;
  transform: scale(0);
}
.candle-smoke {
  position: absolute;
  top: -28px;
  width: 4px;
  height: 20px;
  background: linear-gradient(to top, rgba(200,200,200,0.6), transparent);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.candle-smoke.visible {
  opacity: 1;
  animation: smokeRise 1.5s ease-out forwards;
}
@keyframes smokeRise {
  0%   { opacity: 0.8; transform: translateY(0) scaleX(1); }
  100% { opacity: 0; transform: translateY(-30px) scaleX(3); }
}

/* Cake layers */
.cake-body {
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: filter 0.2s;
}
.cake-body:hover { filter: brightness(1.1); }
.cake-body.cake-jiggle {
  animation: cakeJiggle 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes cakeJiggle {
  0%  { transform: translateX(0)    rotate(0deg)   scale(1); }
  15% { transform: translateX(-8px) rotate(-3deg)  scale(1.03); }
  30% { transform: translateX(7px)  rotate(2.5deg) scale(1.04); }
  45% { transform: translateX(-5px) rotate(-2deg)  scale(1.03); }
  60% { transform: translateX(4px)  rotate(1.5deg) scale(1.02); }
  75% { transform: translateX(-3px) rotate(-1deg)  scale(1.01); }
  90% { transform: translateX(2px)  rotate(0.5deg) scale(1); }
  100%{ transform: translateX(0)    rotate(0deg)   scale(1); }
}
.cake-layer {
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.layer-top {
  width: 200px; height: 50px;
  background: linear-gradient(135deg, #ff80ab, #ff2e63);
  border-radius: 8px 8px 0 0;
}
.layer-mid {
  width: 240px; height: 60px;
  background: linear-gradient(135deg, #f48fb1, #e91e63);
}
.layer-bot {
  width: 280px; height: 70px;
  background: linear-gradient(135deg, #f06292, #c62828);
}
.cake-plate {
  width: 310px; height: 18px;
  background: linear-gradient(135deg, #ffd700, #ffb300);
  border-radius: 50% 50% 4px 4px / 12px 12px 4px 4px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.cake-deco {
  font-size: 12px;
  color: white;
  letter-spacing: 1px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.cake-wish-msg {
  margin-top: 28px;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(28px, 6vw, 44px);
  background: linear-gradient(135deg, #ffd700, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 50px;
  animation: wishPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wishPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── AGE COUNTER ── */
.age-section { text-align: center; }
.age-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 30px;
  letter-spacing: 1px;
}
.age-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.age-box {
  background: linear-gradient(135deg, rgba(255,46,99,0.2), rgba(255,107,157,0.1));
  border: 1.5px solid rgba(255,107,157,0.25);
  border-radius: 18px;
  padding: 20px 18px;
  min-width: 100px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.age-box:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(255,46,99,0.2); }
.age-box-sec {
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,107,157,0.1));
  border-color: rgba(255,215,0,0.35);
}
.age-num {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b9d, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.age-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.age-total {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.age-total strong { color: #ffd700; }

/* ── ZODIAC ── */
.zodiac-section {}
.zodiac-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  margin-bottom: 32px;
  align-items: start;
}
.zodiac-symbol-wrap {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,46,99,0.15), rgba(130,58,180,0.15));
  border: 1.5px solid rgba(255,107,157,0.25);
  border-radius: 24px;
  padding: 36px 24px;
}
.zodiac-symbol {
  font-size: 90px;
  background: linear-gradient(135deg, #ff6b9d, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: zodiacSpin 8s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(255,107,157,0.5));
}
@keyframes zodiacSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(10deg) scale(1.1); }
  100% { transform: rotate(0deg) scale(1); }
}
.zodiac-name {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: #ff6b9d;
  margin: 8px 0 4px;
}
.zodiac-date { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.zodiac-element {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,87,34,0.15);
  border: 1px solid rgba(255,87,34,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: #ff8a65;
}
.element-icon { font-size: 18px; }
.traits-title {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: #ff6b9d;
  margin-bottom: 18px;
}
.trait-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px 16px;
  transition: background 0.3s;
}
.trait-row:hover { background: rgba(255,107,157,0.1); }
.trait-icon { font-size: 24px; flex-shrink: 0; }
.trait-row strong { color: white; font-size: 15px; }
.trait-row p { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.lucky-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 10px;
}
.lucky-item {
  flex: 1; min-width: 120px;
  background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,46,99,0.1));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
  transition: transform 0.3s;
}
.lucky-item:hover { transform: translateY(-5px); }
.lucky-item span { font-size: 28px; display: block; margin-bottom: 6px; }
.lucky-item p { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.lucky-item strong { font-size: 16px; color: #ffd700; }

/* ── LOVE METER ── */
.lovemeter-section { text-align: center; }
.lm-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.lm-name-box { text-align: center; }
.lm-name-box p { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }
.lm-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(255,107,157,0.5);
  box-shadow: 0 0 20px rgba(255,107,157,0.3);
}
.lm-photo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  font-size: 22px;
  font-weight: 800;
  color: white;
  border: 3px solid rgba(255,107,157,0.5);
}
.lm-hearts-anim {
  font-size: 40px;
  animation: heartbeat 1s ease-in-out infinite;
}
.lm-bar-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto 16px;
}
.lm-bar {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.lm-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2e63, #ffd700, #ff6b9d);
  border-radius: 50px;
  transition: width 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: 0 0 20px rgba(255,46,99,0.5);
}
.lm-percent {
  font-size: 22px;
  font-weight: 800;
  color: #ffd700;
  min-width: 55px;
  text-align: left;
}
.lm-result {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  background: linear-gradient(135deg, #ff6b9d, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 44px;
  margin-bottom: 20px;
}
.lm-btn {
  padding: 14px 36px;
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255,46,99,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.lm-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 32px rgba(255,46,99,0.6); }
.lm-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── PROMISE WALL ── */
.promise-section { text-align: center; }
.promise-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  font-style: italic;
}
.promise-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  text-align: left;
}
.promise-card {
  position: relative;
  border-radius: 20px;
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: default;
}
.promise-card:hover { transform: translateY(-8px) rotate(-0.5deg); }
.pc1 { background: linear-gradient(135deg, rgba(255,46,99,0.25), rgba(255,107,157,0.1)); border: 1px solid rgba(255,107,157,0.3); }
.pc2 { background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.08)); border: 1px solid rgba(255,215,0,0.25); }
.pc3 { background: linear-gradient(135deg, rgba(130,58,180,0.2), rgba(156,39,176,0.1)); border: 1px solid rgba(156,39,176,0.3); }
.pc4 { background: linear-gradient(135deg, rgba(0,150,136,0.2), rgba(38,198,218,0.1)); border: 1px solid rgba(38,198,218,0.25); }
.pc5 { background: linear-gradient(135deg, rgba(255,87,34,0.2), rgba(255,138,101,0.1)); border: 1px solid rgba(255,87,34,0.25); }
.pc6 { background: linear-gradient(135deg, rgba(21,101,192,0.2), rgba(100,181,246,0.1)); border: 1px solid rgba(100,181,246,0.25); }
.promise-num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: -8px; right: 12px;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}
.promise-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.promise-seal {
  font-size: 26px;
  position: relative;
  z-index: 1;
  animation: sealPulse 2s ease-in-out infinite;
}
@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

/* ── QUOTE CAROUSEL ── */
.quote-section { text-align: center; }
.quote-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.quote-stage {
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.quote-card {
  background: linear-gradient(135deg, rgba(255,46,99,0.1), rgba(255,215,0,0.05));
  border: 1px solid rgba(255,107,157,0.2);
  border-radius: 20px;
  padding: 36px 30px 28px;
  width: 100%;
  animation: quoteIn 0.5s ease both;
  position: relative;
}
@keyframes quoteIn {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.quote-marks {
  font-size: 80px;
  line-height: 0.5;
  color: rgba(255,107,157,0.25);
  font-family: Georgia, serif;
  position: absolute;
  top: 20px; left: 20px;
}
.quote-text {
  font-size: clamp(15px, 3vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.quote-author {
  font-size: 13px;
  color: #ff6b9d;
  font-weight: 600;
  letter-spacing: 1px;
}
.q-arrow {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,107,157,0.3);
  background: rgba(255,46,99,0.1);
  color: #ff6b9d;
  font-size: 28px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.q-arrow:hover { background: rgba(255,46,99,0.3); border-color: #ff6b9d; transform: scale(1.1); }
.quote-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.q-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.q-dot.active {
  background: #ff6b9d;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255,107,157,0.6);
}

/* ── FIREWORKS CANVAS ── */
#fireworksCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 8888;
}
.fireworks-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,157,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 50px;
  z-index: 9000;
  pointer-events: none;
  transition: opacity 1s ease;
  white-space: nowrap;
}

/* ── RESPONSIVE EXTRAS ── */
@media (max-width: 768px) {
  .zodiac-layout { grid-template-columns: 1fr; }
  .zodiac-symbol-wrap { max-width: 260px; margin: 0 auto; }
  .promise-wall { grid-template-columns: 1fr; }
  .q-arrow { width: 38px; height: 38px; font-size: 22px; }
  .age-grid { gap: 10px; }
  .age-box { min-width: 80px; padding: 14px 12px; }
}

/* ============================================================
   PREMIUM ADVANCED FEATURES
   ============================================================ */

/* ── CUSTOM HEART CURSOR ── */
#customCursor {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: normal;
}
.cursor-heart {
  font-size: 22px;
  animation: cursorPulse 1s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,107,157,0.9));
}
@keyframes cursorPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  font-size: 12px;
  opacity: 0;
  animation: trailFade 0.6s ease forwards;
}
@keyframes trailFade {
  0%   { opacity: 0.8; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(0.3) translateY(-20px); }
}
/* Hide on touch devices */
@media (hover: none) {
  #customCursor { display: none; }
  body { cursor: auto; }
}

/* ── SCROLL PROGRESS BAR ── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 9999;
  backdrop-filter: blur(4px);
}
#scrollFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2e63, #ff6b9d, #ffd700, #ff2e63);
  background-size: 200% auto;
  animation: scrollGradient 3s linear infinite;
  transition: width 0.1s ease;
  box-shadow: 0 0 12px rgba(255,46,99,0.6);
}
@keyframes scrollGradient {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── AURORA CANVAS (hero background) ── */
#auroraCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── 3D TILT EFFECT on section cards ── */
.content-section {
  transform-style: preserve-3d;
  will-change: transform;
}
.content-section.tilt-active {
  transition: transform 0.1s ease;
}

/* ── PREMIUM LETTER STYLING ── */
.letter-salutation {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.typing-text {
  font-family: var(--font-body) !important;
  font-size: 17px !important;
  line-height: 2 !important;
  font-style: italic;
  color: #5a2a40 !important;
}
.letter-sign {
  font-family: var(--font-cursive) !important;
  font-size: 28px !important;
}

/* ── HEARTBEAT EKG ── */
.heartbeat-section { text-align: center; overflow: hidden; }
.hb-label {
  font-family: var(--font-script);
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
  letter-spacing: 1px;
}
.ekg-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto 24px;
  max-width: 900px;
}
.ekg-svg {
  width: 100%;
  height: 100px;
  display: block;
  overflow: visible;
}
.ekg-line {
  fill: none;
  stroke: url(#ekgGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  filter: drop-shadow(0 0 8px #ff6b9d) drop-shadow(0 0 20px #ff2e63);
  animation: ekgDraw 2s ease-out forwards, ekgPulse 1.2s ease-in-out 2s infinite;
}
@keyframes ekgDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes ekgPulse {
  0%, 100% { filter: drop-shadow(0 0 6px #ff6b9d) drop-shadow(0 0 14px #ff2e63); }
  50%       { filter: drop-shadow(0 0 18px #ff6b9d) drop-shadow(0 0 40px #ff2e63); }
}
.ekg-heart-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  animation: ekgHeartRun 1.2s ease-in-out 2s infinite;
  filter: drop-shadow(0 0 12px rgba(255,107,157,0.9));
}
@keyframes ekgHeartRun {
  0%, 100% { left: 0%; transform: translateY(-50%) scale(1); }
  50%       { transform: translateY(-50%) scale(1.4); }
}
.hb-name-text {
  font-family: var(--font-heading);
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 8px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  animation: nameGlow 3s ease-in-out infinite alternate;
}
@keyframes nameGlow {
  from { color: rgba(255,107,157,0.6); text-shadow: none; }
  to   { color: rgba(255,215,0,0.9); text-shadow: 0 0 20px rgba(255,215,0,0.4); }
}

/* ── LOVE TIMELINE ── */
.timeline-section {}
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, #ff2e63 10%, #ffd700 50%, #ff6b9d 90%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
  animation: tlFadeIn 0.8s ease both;
}
.tl-left  { flex-direction: row; }
.tl-right { flex-direction: row-reverse; }

.tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255,46,99,0.5), 0 0 40px rgba(255,46,99,0.2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,46,99,0.5); }
  50%       { box-shadow: 0 0 35px rgba(255,46,99,0.9), 0 0 60px rgba(255,46,99,0.3); }
}

.tl-card {
  width: calc(50% - 48px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px 26px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(12px);
}
.tl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255,46,99,0.25);
  border-color: rgba(255,107,157,0.3);
}
.tl-left  .tl-card { margin-right: auto; }
.tl-right .tl-card { margin-left: auto; }

.tl-card::before {
  content: '';
  position: absolute;
  top: 24px;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, #ff2e63, #ff6b9d);
}
.tl-left  .tl-card::before { right: -20px; }
.tl-right .tl-card::before { left: -20px; }

.tl-date {
  font-family: var(--font-ui);
  font-size: 11px;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}
.tl-title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2.5vw, 18px);
  color: white;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.tl-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}
@keyframes tlFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PREMIUM FOOTER ── */
.footer-text {
  font-family: var(--font-script);
  font-size: 22px;
}
.footer-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
}

/* ── PREMIUM NUMPAD & BUTTONS ── */
.num-btn {
  font-family: var(--font-heading) !important;
  letter-spacing: 1px;
}
.scroll-btn, .lm-btn {
  font-family: var(--font-ui) !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px !important;
}
.lm-result {
  font-family: var(--font-cursive) !important;
  font-size: 36px !important;
}
.gift-msg-big {
  font-family: var(--font-cursive) !important;
}
.gift-msg-name {
  font-family: var(--font-heading) !important;
  letter-spacing: 6px !important;
}

/* ── RESPONSIVE TIMELINE ── */
@media (max-width: 640px) {
  .timeline::before { left: 24px; }
  .tl-item, .tl-left, .tl-right { flex-direction: column; padding-left: 60px; }
  .tl-dot { left: 0; transform: none; }
  .tl-card { width: 100%; margin: 0 !important; }
  .tl-card::before { display: none; }
}

/* ============================================================
   DESIGN IMPROVEMENTS & NEW FEATURES
   ============================================================ */

/* ── ANIMATED SHIMMER ON SECTION TITLES ── */
.section-title {
  background: linear-gradient(90deg, #ff6b9d 0%, #ffd700 30%, #ff2e63 60%, #ff6b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% auto;
  animation: sectionTitleShimmer 4s linear infinite;
}
@keyframes sectionTitleShimmer {
  0%   { background-position: 0%   center; }
  100% { background-position: 300% center; }
}

/* ── CONTENT SECTION — GLASSMORPHISM UPGRADE + HOVER GLOW ── */
.content-section {
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.13);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease;
}
.content-section.visible:hover {
  box-shadow: 0 28px 65px rgba(0,0,0,0.5),
              0 0 55px rgba(255,107,157,0.08),
              0 0 0 1px rgba(255,255,255,0.1);
}

/* ── BIRTHDAY BADGE ── */
.birthday-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
    rgba(255,215,0,0.18),
    rgba(255,107,157,0.18));
  border: 1.5px solid rgba(255,215,0,0.45);
  border-radius: 50px;
  padding: 9px 24px;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(255,215,0,0.12);
  animation: badgePulse 2.8s ease-in-out infinite;
}
.badge-icon { font-size: 18px; }
.badge-text {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(255,215,0,0.12), 0 0 0 0   rgba(255,215,0,0.0);
  }
  50% {
    box-shadow: 0 0 36px rgba(255,215,0,0.28), 0 0 0 10px rgba(255,215,0,0.04);
  }
}

/* ── LOGIN TYPEWRITER WORD ── */
.tw-word {
  color: #ffd700;
  font-weight: 700;
  border-right: 2px solid #ffd700;
  padding-right: 2px;
  animation: twBlink 0.75s step-end infinite;
  display: inline-block;
  min-width: 2px;
}
@keyframes twBlink {
  0%, 100% { border-color: #ffd700; }
  50%       { border-color: transparent; }
}

/* ── FOOTER WAVE ── */
.footer-wave-wrap {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  line-height: 0;
  pointer-events: none;
}
.footer-wave-svg {
  display: block;
  width: 100%;
  height: 90px;
}
.site-footer {
  background: linear-gradient(180deg,
    rgba(255,46,99,0.04) 0%,
    transparent 60%);
  border-top: 1px solid rgba(255,107,157,0.08);
}

/* ============================================================
   MEMORY WALL FEATURE
   ============================================================ */

.memory-wall-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  font-style: italic;
  letter-spacing: 1px;
  text-align: center;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px 28px;
  padding: 18px 8px 30px;
  align-items: start;
}

/* Card container */
.memory-card {
  cursor: pointer;
  perspective: 1100px;
  height: 280px;
  position: relative;
  will-change: transform;
}

/* 3D flip inner */
.mc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.memory-card.flipped .mc-inner {
  transform: rotateY(180deg);
}

/* Front & Back shared */
.mc-front, .mc-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Back face */
.mc-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg,
    rgba(15, 5, 35, 0.97),
    rgba(45, 15, 70, 0.97));
  border: 1.5px solid rgba(255,215,0,0.4);
  backdrop-filter: blur(20px);
  text-align: center;
  gap: 14px;
  box-shadow: inset 0 0 40px rgba(255,215,0,0.04);
}
.mc-back-emoji { font-size: 38px; }
.mc-back-text {
  font-family: 'Dancing Script', cursive;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  text-align: center;
}

/* ── Polaroid Cards ── */
.polaroid-card .mc-front {
  background: white;
  padding: 12px 12px 42px;
  align-items: stretch;
  justify-content: flex-start;
  border-radius: 6px;
  box-shadow:
    0 10px 35px rgba(0,0,0,0.55),
    0 2px  8px  rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(0,0,0,0.05);
}
.polaroid-img-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: 3px;
  background: #e8e8e8;
}
.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 3px;
  transition: transform 0.5s ease;
}
.memory-card:not(.flipped):hover .polaroid-img {
  transform: scale(1.05);
}
.polaroid-caption {
  font-family: 'Dancing Script', cursive;
  font-size: 16px;
  color: #555;
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  pointer-events: none;
  font-weight: 600;
}

/* ── Sticky Note Cards ── */
.sticky-card .mc-front {
  border-radius: 5px 5px 5px 22px;
  padding: 22px 18px 28px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    4px 6px 20px rgba(0,0,0,0.4),
    -1px -1px 0   rgba(0,0,0,0.1),
    inset 0 1px 0  rgba(255,255,255,0.5);
}
/* Folded corner effect */
.sticky-card .mc-front::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.12);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Lines on sticky notes */
.sticky-card .mc-front::before {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: 40px;
  height: 1px;
  background: rgba(0,0,0,0.08);
  box-shadow: 0 14px 0 rgba(0,0,0,0.06), 0 28px 0 rgba(0,0,0,0.04);
}
.sticky-yellow .mc-front { background: linear-gradient(148deg, #fff9c4, #fff176); }
.sticky-pink   .mc-front { background: linear-gradient(148deg, #fce4ec, #f8bbd0); }
.sticky-blue   .mc-front { background: linear-gradient(148deg, #e3f2fd, #bbdefb); }
.sticky-green  .mc-front { background: linear-gradient(148deg, #e8f5e9, #c8e6c9); }

.sticky-emoji {
  font-size: 30px;
  display: block;
  margin-bottom: 2px;
}
.sticky-title {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  color: #2a2a2a;
  font-weight: 700;
  line-height: 1.2;
}
.sticky-text {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  color: #444;
  line-height: 1.65;
  font-weight: 400;
}

/* ── Memory Wall Responsive ── */
@media (max-width: 640px) {
  .memory-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
  .memory-card { height: 240px; }
  .mc-back-text { font-size: 14px; }
  .polaroid-card .mc-front { padding: 10px 10px 36px; }
}
@media (max-width: 380px) {
  .memory-board { grid-template-columns: 1fr; }
  .memory-card  { height: 260px; }
}

/* ── CHILDHOOD MEMORY CARD ── */
.childhood-card {
  cursor: default;
  height: 280px;
}
.childhood-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(145deg, #1a0035, #2d0050, #1a0035);
  border: 1.5px solid rgba(200,130,255,0.45);
  box-shadow:
    0 10px 35px rgba(130,0,255,0.25),
    inset 0 0 60px rgba(180,80,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: childhoodGlow 3s ease-in-out infinite alternate;
}
@keyframes childhoodGlow {
  from { box-shadow: 0 10px 35px rgba(130,0,255,0.2),  inset 0 0 60px rgba(180,80,255,0.04); border-color: rgba(200,130,255,0.4); }
  to   { box-shadow: 0 14px 50px rgba(200,80,255,0.4), inset 0 0 80px rgba(200,100,255,0.1); border-color: rgba(220,160,255,0.7); }
}
.childhood-inner::before {
  content: '✨';
  position: absolute;
  top: 10px; right: 12px;
  font-size: 18px;
  opacity: 0.4;
  animation: starTwinkle 2s ease-in-out infinite;
}
.childhood-inner::after {
  content: '✨';
  position: absolute;
  bottom: 12px; left: 10px;
  font-size: 14px;
  opacity: 0.3;
  animation: starTwinkle 2.5s ease-in-out infinite 0.8s;
}
.childhood-emoji {
  font-size: 34px;
  animation: childhoodBounce 1.8s ease-in-out infinite;
}
@keyframes childhoodBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.childhood-title {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  font-weight: 700;
  color: #e0b0ff;
  line-height: 1.2;
}
.childhood-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}
.childhood-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  line-height: 1.5;
  padding: 0 4px;
}
.childhood-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 50px;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(131,58,180,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.childhood-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(131,58,180,0.7);
}
.childhood-arrow {
  transition: transform 0.3s;
}
.childhood-link:hover .childhood-arrow {
  transform: translateX(4px);
}