/* ==========================================================================
   ROMANTIC MOBILE BIRTHDAY EXPERIENCE - STYLE SYSTEM
   ========================================================================== */

:root {
  --bg-primary: #18030e;
  --bg-secondary: #280718;
  --bg-gradient: radial-gradient(circle at 50% 10%, #3e0b24 0%, #1c0310 55%, #100109 100%);
  
  --rose-gold: #fca5a5;
  --rose-accent: #f43f5e;
  --rose-deep: #be123c;
  --blush-light: #fff1f2;
  --gold-accent: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.4);

  --text-main: #fff5f7;
  --text-muted: #e2b4c5;
  --text-dark: #3b071a;

  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-poetry: 'Amiri', serif;
  --font-accent: 'Playfair Display', serif;
  --font-calligraphy: 'Reem Kufi', cursive;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-arabic);
  background: var(--bg-primary);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  direction: rtl;
}

/* 🌹 ROSE PETALS CANVAS */
#petals-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
}

/* 📱 MAIN CONTAINER (Mobile Centered) */
.main-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 18px 100px;
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 💎 GLASS CARD BASE */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   🔒 SECURITY LOCK SCREEN SYSTEM
   ========================================================================== */
.lock-screen-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #2e091b 0%, #100109 95%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.lock-screen-overlay.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-card {
  max-width: 380px;
  width: 100%;
  padding: 35px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(46, 7, 27, 0.88) 0%, rgba(16, 1, 9, 0.95) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 63, 94, 0.25);
  animation: modalPop 0.5s ease;
}

.lock-card.shake {
  animation: lockShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.lock-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #e11d48 30%, #881337 100%);
  border: 2px solid rgba(251, 191, 36, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.5);
}

.lock-icon {
  font-size: 30px;
  transition: transform 0.3s ease;
}

.lock-card.unlocked-anim .lock-icon-wrap {
  background: radial-gradient(circle, #10b981 30%, #047857 100%);
  border-color: #34d399;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.lock-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.lock-subtitle {
  font-size: 13px;
  color: var(--rose-gold);
  margin-bottom: 24px;
}

.lock-form {
  margin-bottom: 12px;
}

.lock-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lock-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 16px;
  text-align: center;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lock-input:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.lock-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lock-btn:active {
  transform: scale(0.97);
}

.lock-error-msg {
  font-size: 13px;
  color: #fb7185;
  min-height: 20px;
  margin-top: 4px;
  font-weight: 600;
}

.lock-hint-wrap {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.lock-hint-btn {
  background: none;
  border: none;
  color: var(--gold-accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  opacity: 0.9;
}

.lock-hint-text {
  font-size: 12px;
  color: #fef08a;
  margin-top: 8px;
  line-height: 1.6;
}

@keyframes lockShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* ==========================================================================
   💌 ENVELOPE OVERLAY SYSTEM (Mobile Optimized & Authentic Envelope)
   ========================================================================== */
.envelope-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #2e091b 0%, #13010b 90%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.envelope-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  width: 100%;
  position: relative;
}

.envelope-card {
  position: relative;
  width: 320px;
  max-width: 86vw;
  height: 200px;
  background: #5a0e23;
  border-radius: 14px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px rgba(244, 63, 94, 0.35);
  perspective: 1000px;
  margin: 0 auto;
}

@media (max-width: 350px) {
  .envelope-card {
    width: 285px;
    height: 178px;
  }
}

.envelope-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #440a1a 0%, #5a0e23 100%);
  border-radius: 14px;
}

/* 📜 The White Letter Paper */
.envelope-letter {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 172px;
  background: linear-gradient(150deg, #ffffff 0%, #fffbf2 60%, #fff7eb 100%);
  border-radius: 10px;
  border: 1.5px solid #f2d0db;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  color: #5c142b;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.3s ease;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.envelope-wrapper.opening .envelope-letter {
  transform: translateY(-85px);
  opacity: 1;
  pointer-events: auto;
}

.letter-paper-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.letter-paper-heart {
  font-size: 26px;
  line-height: 1;
  display: inline-block;
  animation: pulseBeat 1.4s infinite;
  filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.3));
}

.letter-paper-title {
  font-family: 'Amiri', 'Tajawal', serif;
  font-size: 22px;
  font-weight: 700;
  color: #7b112c;
  margin: 4px 0 2px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.letter-paper-subtitle {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #9f1c3f;
  margin: 0;
  white-space: nowrap;
}

.letter-paper-accent {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e11d48, transparent);
  margin-top: 6px;
  border-radius: 2px;
}

/* 💌 Front Pocket Flaps */
.envelope-pocket {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.envelope-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 💌 Top Triangular Flap */
.envelope-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  transform-origin: top center;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.envelope-wrapper.opening .envelope-top {
  transform: rotateX(180deg);
  z-index: 1;
}

/* 🏷️ WAX SEAL BUTTON */
.wax-seal {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: radial-gradient(circle, #e11d48 30%, #9f1239 80%, #630b24 100%);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.35), 0 0 25px rgba(225, 29, 72, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.3s ease;
  user-select: none;
}

.wax-seal:hover, .wax-seal:active {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 30px rgba(225, 29, 72, 0.85);
}

.envelope-wrapper.opening .wax-seal {
  transform: translate(-50%, -50%) scale(1.25);
  opacity: 0;
  pointer-events: none;
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(255, 241, 242, 0.65);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.seal-initials {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff0f5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.seal-heart {
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.seal-pulse-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(244, 63, 94, 0.5);
  animation: sealPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* ==========================================================================
   🎵 FLOATING MUSIC PLAYER
   ========================================================================== */
.music-pill {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(36, 6, 22, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px 6px 8px;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  direction: ltr; /* English layout for clean audio controller */
  transition: transform 0.3s ease;
}

.music-pill:active {
  transform: scale(0.96);
}

.music-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #333 40%, #111 90%);
  border: 2px solid var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinRecord 4s linear infinite;
  animation-play-state: paused;
}

.music-pill.playing .music-disc {
  animation-play-state: running;
}

.disc-heart {
  font-size: 13px;
}

.music-info {
  display: flex;
  flex-direction: column;
}

.music-title-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--blush-light);
  white-space: nowrap;
}

.sound-wave {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 10px;
  margin-top: 2px;
}

.sound-wave span {
  width: 3px;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.music-pill.playing .sound-wave span:nth-child(1) { animation: waveBar 0.9s infinite ease-in-out; }
.music-pill.playing .sound-wave span:nth-child(2) { animation: waveBar 0.7s infinite ease-in-out 0.2s; }
.music-pill.playing .sound-wave span:nth-child(3) { animation: waveBar 1.1s infinite ease-in-out 0.4s; }
.music-pill.playing .sound-wave span:nth-child(4) { animation: waveBar 0.8s infinite ease-in-out 0.1s; }

.music-toggle-btn {
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-gold);
}

/* ==========================================================================
   🌸 HERO SECTION
   ========================================================================== */
.hero-section {
  text-align: center;
  padding-top: 45px;
  margin-bottom: 35px;
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rose-gold);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 22px;
}

.highlight-name {
  font-family: var(--font-arabic);
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff9ebb 0%, #ff4d6d 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
}

/* FLOWER CONNECTION CARD */
.flower-connection-card {
  padding: 22px 20px;
  margin-bottom: 24px;
  border-color: rgba(244, 63, 94, 0.25);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(30, 4, 18, 0.4) 100%);
}

.flower-icon-wrap {
  font-size: 36px;
  margin-bottom: 10px;
  animation: gentleFloat 3s ease-in-out infinite;
}

.flower-text {
  font-family: var(--font-poetry);
  font-size: 19px;
  font-weight: 600;
  color: var(--blush-light);
  line-height: 1.8;
}

/* COUNTER SYSTEM */
.counter-wrapper {
  padding: 20px 16px;
  text-align: center;
}

.counter-badge {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-accent);
}

.counter-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  margin-bottom: 16px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.counter-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-family: var(--font-accent);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px var(--gold-glow);
}

.counter-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   💌 LOVE LETTER SECTION
   ========================================================================== */
.letter-section {
  margin-bottom: 45px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 22px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--rose-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.parchment-letter {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.08) 0%, rgba(20, 2, 12, 0.7) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 30px 24px 25px;
}

.letter-top-decor {
  text-align: center;
  font-size: 26px;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.letter-body {
  font-family: var(--font-poetry);
  font-size: 19px;
  line-height: 2;
  color: #fff4f6;
  white-space: pre-line;
  text-align: justify;
}

.letter-footer {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.signature {
  font-family: var(--font-calligraphy);
  font-size: 20px;
  color: var(--gold-accent);
}

.wax-stamp-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #e11d48, #881337);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   📸 CLEAN PHOTO GALLERY (No text on photos)
   ========================================================================== */
.memories-section {
  margin-bottom: 45px;
}

.photos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.clean-photo-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
}

.clean-photo-card:active {
  transform: scale(0.96);
}

.photo-img-box {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.photo-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.clean-photo-card:hover .photo-img-box img {
  transform: scale(1.08);
}

.photo-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  opacity: 0.85;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(225, 29, 72, 0.85);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(225, 29, 72, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.clean-photo-card:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background: #e11d48;
}

/* ==========================================================================
   💖 WHY I LOVE YOU (FLIP CARDS)
   ========================================================================== */
.reasons-section {
  margin-bottom: 45px;
}

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

.flip-card {
  height: 180px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: var(--radius-sm);
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}

.flip-card-front {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.flip-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.flip-front-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blush-light);
}

.flip-tap-hint {
  font-size: 11px;
  color: var(--rose-gold);
  margin-top: 6px;
  opacity: 0.8;
}

.flip-card-back {
  background: linear-gradient(145deg, #881337 0%, #4c0519 100%);
  border: 1px solid rgba(251, 191, 36, 0.4);
  transform: rotateY(180deg);
  box-shadow: 0 10px 25px rgba(136, 19, 55, 0.4);
}

.flip-back-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.flip-back-desc {
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
}

/* 🤖 GEMINI NOTE / HEARTFELT SURPRISE */
.gemini-note-card {
  margin-top: 25px;
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(136, 19, 55, 0.3) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(251, 191, 36, 0.15);
  text-align: center;
  position: relative;
}

.gemini-note-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.5);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.gemini-icon {
  font-size: 16px;
}

.gemini-badge {
  font-size: 12px;
  font-weight: 800;
  color: #fde047;
}

.gemini-note-text {
  font-family: var(--font-poetry);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
  color: #fff4f6;
  text-align: center;
}

/* ==========================================================================
   🎂 MAKE A WISH & INTERACTIVE CAKE
   ========================================================================== */
.cake-section {
  margin-bottom: 45px;
}

.cake-card {
  padding: 30px 20px;
  text-align: center;
  border-color: rgba(251, 191, 36, 0.3);
}

.cake-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-accent);
}

.cake-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 25px;
}

.cake-stage {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}

.cake-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Candles */
.candle {
  position: absolute;
  top: -45px;
  width: 12px;
  height: 45px;
  cursor: pointer;
  z-index: 5;
}

.candle-1 { left: 40px; }
.candle-2 { left: calc(50% - 6px); top: -52px; height: 52px; }
.candle-3 { right: 40px; }

.candle-stick {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #f43f5e, #f43f5e 4px, #fff 4px, #fff 8px);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.flame {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 22px;
  background: radial-gradient(circle at 50% 80%, #fff 20%, #facc15 60%, #ea580c 100%);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 15px #facc15, 0 0 30px #ea580c;
  animation: flameFlicker 1.2s infinite alternate;
  transform-origin: bottom center;
  transition: all 0.3s ease;
}

.candle.blown .flame {
  opacity: 0;
  transform: translateX(-50%) scale(0);
}

.smoke {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(200, 200, 200, 0.7);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.candle.blown .smoke {
  animation: smokeRise 1.5s forwards ease-out;
}

/* Cake Layers */
.cake-layer {
  position: relative;
  background: #f472b6;
  border-radius: 12px;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cake-layer-top {
  width: 150px;
  height: 50px;
  background: linear-gradient(to bottom, #fbcfe8 0%, #f472b6 100%);
  z-index: 3;
}

.frosting-drips {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
}

.frosting-drips span {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

.strawberry {
  position: absolute;
  top: -12px;
  font-size: 16px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.s1 { left: 15px; }
.s2 { left: calc(50% - 8px); }
.s3 { right: 15px; }

.cake-layer-middle {
  width: 190px;
  height: 55px;
  background: linear-gradient(to bottom, #fda4af 0%, #e11d48 100%);
  margin-top: -6px;
  z-index: 2;
}

.cake-layer-bottom {
  width: 230px;
  height: 60px;
  background: linear-gradient(to bottom, #881337 0%, #4c0519 100%);
  margin-top: -6px;
  z-index: 1;
}

.cake-cream-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
}

.cake-cream-dots i {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  display: block;
}

.cake-plate {
  width: 270px;
  height: 14px;
  background: linear-gradient(to bottom, #e2e8f0, #94a3b8);
  border-radius: 20px;
  margin-top: -4px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.blow-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blow-btn:active {
  transform: scale(0.96);
}

.celebration-banner {
  margin-top: 25px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(244, 63, 94, 0.2));
  border: 1px solid var(--gold-accent);
  border-radius: var(--radius-sm);
  display: none;
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.celebration-banner.show {
  display: block;
}

.fireworks-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.celebration-banner h3 {
  font-size: 20px;
  color: var(--gold-accent);
  font-weight: 800;
}

.celebration-banner p {
  font-size: 14px;
  color: var(--blush-light);
  margin-top: 6px;
}

/* ==========================================================================
   💋 THE KISS & DINNER SURPRISE
   ========================================================================== */
.surprise-section {
  margin-bottom: 45px;
}

.kiss-card {
  padding: 30px 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.22) 0%, rgba(76, 5, 25, 0.5) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
}

.kiss-card.kiss-accepted {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 78, 59, 0.4) 100%);
}

.kiss-icon-anim {
  font-size: 50px;
  margin-bottom: 12px;
  animation: pulseBeat 1.4s infinite;
  display: inline-block;
}

.kiss-question {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 22px;
}

.kiss-action-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 18px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 35px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.5);
  transition: all 0.3s ease;
  width: 100%;
}

.kiss-action-btn:active {
  transform: scale(0.96);
}

.vip-voucher {
  margin-top: 25px;
  background: linear-gradient(135deg, rgba(46, 7, 27, 0.9) 0%, rgba(20, 2, 12, 0.95) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.revealed-anim {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.voucher-badge {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #1a030e;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.voucher-serial {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.voucher-headline {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.voucher-details {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.voucher-divider {
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  letter-spacing: 2px;
  overflow: hidden;
}

.voucher-action-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: #fff;
  font-family: var(--font-arabic);
  font-size: 17px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-action-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   🌹 FOOTER
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heart {
  font-size: 15px;
  color: var(--rose-gold);
  font-weight: 700;
}

.footer-names {
  font-family: var(--font-calligraphy);
  font-size: 22px;
  color: var(--gold-accent);
  margin-top: 4px;
}

.footer-copy {
  font-family: var(--font-accent);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  letter-spacing: 2px;
}

/* ==========================================================================
   🖼️ LIGHTBOX MODAL (Full View for Photos & Videos)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: transparent;
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.modal-close-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100001;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(225, 29, 72, 0.85);
  transform: scale(1.1);
}

.modal-img-wrap {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-img-wrap img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.modal-img-wrap video {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  outline: none;
  background: #000;
}

.modal-caption {
  display: none;
}

/* ==========================================================================
   ✨ KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulseBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes sealPing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes bounceUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

@keyframes waveBar {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

@keyframes flameFlicker {
  0% { transform: translateX(-50%) scale(1) skewX(-2deg); }
  25% { transform: translateX(-50%) scale(1.05) skewX(2deg); }
  50% { transform: translateX(-50%) scale(0.95) skewX(-3deg); }
  75% { transform: translateX(-50%) scale(1.1) skewX(1deg); }
  100% { transform: translateX(-50%) scale(1) skewX(0deg); }
}

@keyframes smokeRise {
  0% { opacity: 0.8; transform: translateX(-50%) translateY(0) scale(1); }
  50% { opacity: 0.4; transform: translateX(-60%) translateY(-25px) scale(2.2); }
  100% { opacity: 0; transform: translateX(-40%) translateY(-50px) scale(3.5); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes modalPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
