/* ==========================================================================
   MAKEMYDAY — Interactive Digital Gifts & Surprises Stylesheet
   Full multi-occasion styling (Birthday, Proposal, Sorry, Anniversary, Bestie)
   ========================================================================== */

:root {
  --bg-dark: #0d0a1a;
  --bg-deep: #16122c;
  --panel-bg: rgba(255, 255, 255, 0.96);
  --panel-radius: 28px;
  --pink-primary: #f43f5e;
  --pink-gradient: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  --pink-btn-gradient: linear-gradient(135deg, #f472b6 0%, #db2777 50%, #be185d 100%);
  --accent-gold: #fbbf24;
  --accent-cyan: #06b6d4;
  --text-dark: #2d1822;
  --text-muted: #83727c;
  --shadow-soft: 0 12px 36px rgba(225, 29, 72, 0.18), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(244, 63, 94, 0.35);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-cursive: 'Caveat', cursive, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: #fff;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 12px 60px;
}

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

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Layout Container */
.app-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Logo */
.app-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.brand-logo-wrap {
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.brand-logo-wrap:hover {
  transform: scale(1.02);
}

.makemyday-vector-logo {
  width: 190px;
  height: auto;
  display: block;
}

/* 3D Stacked Badges */
.badge-3d-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -3px;
  user-select: none;
}

.badge-pill-yellow {
  background: #facc15;
  color: #1c1917;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 12px;
  box-shadow: 0 3px 0 #ca8a04, 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: rotate(-1.5deg);
}

.badge-pill-coral {
  background: #f43f5e;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1.5px;
  padding: 5px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 0 #be123c, 0 6px 14px rgba(244, 63, 94, 0.4);
  margin-top: -3px;
  z-index: 2;
}

.badge-pill-blue {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.2px;
  padding: 3px 18px;
  border-radius: 12px;
  box-shadow: 0 3px 0 #0284c7, 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: -3px;
  transform: rotate(1.5deg);
  z-index: 1;
}

/* Occasion Selector Strip */
.occasion-selector-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  width: 100%;
  scrollbar-width: none;
}

.occasion-selector-strip::-webkit-scrollbar {
  display: none;
}

.occasion-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.occasion-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.occasion-pill.active {
  background: var(--pink-btn-gradient);
  border-color: #f43f5e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

/* Navigation Back Button */
.nav-back-btn {
  position: absolute;
  top: 0;
  left: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 100;
  transition: transform 0.2s ease, background 0.2s;
}

.nav-back-btn:hover {
  transform: scale(1.06);
  background: #ffffff;
}

/* Screens */
.screen-view {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.screen-view.active {
  display: flex;
}

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

/* Glass Panels */
.glass-panel {
  background: var(--panel-bg);
  color: var(--text-dark);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
}

.form-card {
  padding: 30px 22px 26px;
}

.customize-card {
  padding: 26px 20px 24px;
}

/* Typography Helpers */
.serif { font-family: var(--font-serif); }
.cursive { font-family: var(--font-cursive); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.hidden { display: none !important; }

.card-title {
  font-size: 21px;
  font-weight: 700;
  color: #1f1b24;
  margin-bottom: 12px;
  text-align: center;
}

.card-title-lg {
  font-size: 25px;
  font-weight: 700;
  color: #1f1b24;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Form Inputs */
.input-group {
  width: 100%;
}

.custom-input {
  width: 100%;
  height: 52px;
  background: #ffffff;
  border: 1.5px solid #f2d9e0;
  border-radius: 18px;
  padding: 0 18px;
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 500;
  color: #2b1f24;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.custom-input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18);
}

.custom-input.input-error {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.28) !important;
  animation: inputShake 0.35s ease-in-out;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.date-pickers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  width: 100%;
  height: 52px;
  background: #ffffff;
  border: 1.5px solid #f2d9e0;
  border-radius: 18px;
  padding: 0 36px 0 18px;
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 500;
  color: #2b1f24;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-select:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: #776e75;
}

/* Action Buttons */
.cta-btn {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 20px;
  font-size: 17px;
  font-family: var(--font-main);
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pink-gradient-btn {
  background: var(--pink-btn-gradient);
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.4);
}

.pink-gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(219, 39, 119, 0.55);
}

.pink-gradient-btn:active {
  transform: translateY(1px);
}

.cta-large-btn {
  height: 58px;
  font-size: 18px;
  letter-spacing: 0.3px;
}

/* Explore Tags at Bottom */
.explore-tags-container {
  width: 100%;
  margin-top: 30px;
  text-align: center;
}

.explore-heading {
  font-size: 13px;
  color: #c7bed1;
  margin-bottom: 12px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.pill-tag {
  background: rgba(244, 63, 94, 0.12);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-tag:hover {
  background: rgba(244, 63, 94, 0.24);
  border-color: #f43f5e;
  color: #fff;
}

.support-footer {
  font-size: 12px;
  color: #948b9e;
  line-height: 1.6;
  text-align: center;
}

.support-footer a {
  color: #f472b6;
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   STEP 2: CUSTOMIZE DASHBOARD
   ========================================================================== */

.customize-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customize-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fdf6f8;
  border-radius: 18px;
  border: 1px solid #f9e2eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customize-row:hover {
  background: #fbebf1;
  border-color: #f472b6;
}

.row-label {
  font-size: 14px;
  font-weight: 700;
  color: #44303b;
  min-width: 50px;
}

.row-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin: 0 10px;
  overflow: hidden;
}

.row-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.row-value {
  font-size: 14px;
  font-weight: 600;
  color: #2b1f24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vibe-emoji { font-size: 20px; }
.row-emoji {
  font-size: 24px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bond-preview-text,
.letter-preview-text {
  max-width: 170px;
}

.change-pill-btn {
  background: #fce7f3;
  color: #be185d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customize-row:hover .change-pill-btn {
  background: #fbcfe8;
  color: #9d174d;
}

/* Yellow Reward / ImgBB Upload Banner */
.yellow-reward-banner {
  width: 100%;
  background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
  color: #713f12;
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.25);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-icon { font-size: 22px; }

.banner-text {
  font-size: 12.5px;
  font-weight: 700;
  display: block;
}

.banner-subtext {
  font-size: 10.5px;
  opacity: 0.85;
  display: block;
  font-weight: 500;
}

.upload-badge-btn {
  background: #ca8a04;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.upload-badge-btn:hover {
  background: #a16207;
}

.hidden-file-input { display: none; }

.photo-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 4px 2px;
  width: 100%;
}

.photo-chip-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #ec4899;
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.active { display: flex; }

.modal-sheet {
  max-width: 390px;
  width: 100%;
  padding: 28px 20px 24px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-title {
  font-size: 23px;
  font-weight: 700;
  color: #2b1f24;
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.options-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.selection-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #ffffff;
  border: 2px solid #f5dfe6;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.selection-card:hover {
  border-color: #f472b6;
  transform: translateY(-1px);
}

.selection-card.selected {
  border-color: #ec4899;
  background: #fff5f8;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.25), 0 6px 16px rgba(236, 72, 153, 0.15);
}

.sel-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sel-icon-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.emoji-icon { font-size: 26px; }

.sel-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #3b2a33;
}

/* Letter Textarea */
.letter-textarea-wrapper {
  width: 100%;
  margin-top: 14px;
  position: relative;
}

.custom-textarea {
  width: 100%;
  height: 240px;
  background: #ffffff;
  border: 1.5px solid #f2d9e0;
  border-radius: 20px;
  padding: 18px;
  font-size: 15px;
  line-height: 1.6;
  font-family: var(--font-main);
  color: #2b1f24;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.custom-textarea:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18);
}

.char-count {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
}

/* ==========================================================================
   SMARTPHONE SIMULATOR & CARD PLAYER
   ========================================================================== */

.preview-header-area {
  text-align: center;
  margin-bottom: 18px;
}

.preview-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.preview-subtitle {
  font-size: 13.5px;
  color: #c4b5d4;
  margin-top: 4px;
}

.phone-frame-container {
  position: relative;
  width: 100%;
  max-width: 370px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.phone-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.35) 0%, rgba(147, 51, 234, 0.2) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.iphone-chassis {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 640px;
  background: #181524;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 4px #2f2a45, inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
}

.island-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111d2e;
  border: 1px solid #1e293b;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-theme-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.card-theme-layer.active { display: flex; }

.cute-sweet-theme {
  background: linear-gradient(180deg, #ffd7e4 0%, #ffc0d3 40%, #ffaec6 100%);
  color: #3b1d28;
}

.classic-theme {
  background: radial-gradient(circle at center top, #1e1b38 0%, #0d0a18 70%, #06040c 100%);
  color: #f1f0f7;
}

.scene-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 64px);
  padding: 48px 18px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(8px);
}

.scene-panel.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.cs-content-box,
.cl-content-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Cute Scene Elements */
.cs-greeting {
  font-size: 32px;
  color: #9f1239;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.cs-character-hero {
  margin: 18px 0;
  width: 180px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-character-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bounce-gentle {
  animation: bounceGentle 2.5s infinite ease-in-out;
}

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

.cs-tease-question {
  font-size: 16.5px;
  font-weight: 600;
  color: #831843;
  margin-top: 8px;
  text-align: center;
}

.cs-buttons-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  position: relative;
}

.cs-btn-yes {
  background: #be185d;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(190, 24, 93, 0.4);
  transition: all 0.2s ease;
}

.cs-btn-yes:hover {
  transform: scale(1.05);
  background: #9d174d;
}

.cs-btn-no {
  background: #ffffff;
  color: #831843;
  border: 1.5px solid #fbcfe8;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.unrejectable-hint {
  font-size: 11px;
  color: #be185d;
  font-weight: 600;
  margin-top: 10px;
}

.cs-title {
  font-size: 26px;
  font-weight: 700;
  color: #881337;
  margin-bottom: 20px;
  text-align: center;
}

/* Candle / Interactive Element */
.candle-cake-interactive {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.candle-cake-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.candle-glow-aura {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: glowPulse 1.5s infinite alternate;
}

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

.flame-element {
  position: absolute;
  top: 24px;
  left: calc(50% - 7px);
  width: 14px;
  height: 24px;
  background: linear-gradient(180deg, #fef08a 0%, #f97316 70%, #dc2626 100%);
  border-radius: 50% 50% 35% 35%;
  filter: drop-shadow(0 0 6px #f59e0b);
  animation: flameFlicker 0.18s infinite alternate ease-in-out;
  cursor: pointer;
  z-index: 5;
}

.flame-inner {
  position: absolute;
  bottom: 2px;
  left: 3px;
  width: 8px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.08, 0.95) rotate(1deg); }
  100% { transform: scale(0.96, 1.05) rotate(2deg); }
}

.flame-element.blown {
  opacity: 0;
  transform: scale(0.1);
  transition: opacity 0.3s, transform 0.3s;
}

.smoke-puff {
  position: absolute;
  top: 10px;
  left: 45%;
  font-size: 26px;
  animation: smokeRise 1.2s forwards ease-out;
}

@keyframes smokeRise {
  0% { opacity: 0.9; transform: translateY(0) scale(0.8); }
  100% { opacity: 0; transform: translateY(-35px) scale(1.6); }
}

.blow-controls-wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.blow-mic-toggle-btn {
  background: #ffffff;
  color: #9d174d;
  border: 1.5px solid #fbcfe8;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(157, 23, 77, 0.12);
  transition: all 0.2s ease;
}

.blow-mic-toggle-btn.listening {
  background: #ffe4e6;
  border-color: #f43f5e;
  animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
}

.tap-hint {
  font-size: 11px;
  color: #9d174d;
  opacity: 0.8;
}

/* Envelope & Letter */
.envelope-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 250px;
}

.envelope-gold-card {
  position: relative;
  width: 180px;
  height: 160px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.envelope-gold-card:hover { transform: scale(1.05); }

.envelope-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.envelope-wax-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.tap-envelope-hint {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #9d174d;
  white-space: nowrap;
}

.letter-sheet-parchment {
  width: 94%;
  background: #fffdfa;
  border-radius: 18px;
  padding: 22px 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 0 0 1px #fae8d4;
  position: relative;
  animation: slideLetterUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 380px;
  overflow-y: auto;
}

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

.parchment-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffe4e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parchment-body {
  font-size: 17px;
  line-height: 1.55;
  color: #4a282f;
  white-space: pre-wrap;
  min-height: 120px;
}

.parchment-companion {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.parchment-companion img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.letter-continue-btn {
  background: #be185d;
  color: #fff;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 16px;
  cursor: pointer;
  margin-top: 14px;
}

/* Polaroid Card */
.polaroid-frame-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 12px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  width: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-1.5deg);
  animation: polaroidSway 4s infinite ease-in-out;
}

@keyframes polaroidSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}

.polaroid-pin {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 18px;
}

.polaroid-photo-box {
  width: 196px;
  height: 180px;
  background: #fdf2f8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-caption {
  text-align: center;
  margin-top: 12px;
}

.polaroid-love-line {
  font-size: 18px;
  font-weight: 700;
  color: #be185d;
}

.polaroid-subline {
  font-size: 12px;
  color: #70535e;
  margin-top: 2px;
}

.polaroid-actions-row {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.polaroid-next-photo-btn {
  background: #fce7f3;
  color: #be185d;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
}

/* Heart QR Code Card (Pure Vector & Dynamic) */
.heart-qr-card-container {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px 20px 16px;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(254, 205, 211, 0.7);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
  cursor: pointer;
  user-select: none;
}

.heart-qr-card-container:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.22);
}

.heart-qr-card-container:active {
  transform: translateY(0) scale(0.99);
}

.heart-qr-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 4px;
}

.recipient-qr-name {
  font-size: 15px;
  font-weight: 800;
  color: #9f1239;
  line-height: 1.25;
  margin: 0;
  font-family: var(--font-body);
}

.recipient-qr-subline {
  font-size: 11px;
  color: #be185d;
  font-weight: 600;
  margin: 3px 0 0;
  opacity: 0.85;
}

.heart-qr-canvas-wrap {
  width: 168px;
  height: 152px;
  margin: 10px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.heart-vector-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.heart-qr-card-container:hover .heart-vector-svg {
  transform: scale(1.04);
}

.qr-canvas-badge {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-qr-canvas-wrap canvas {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 6px;
}

.heart-qr-tap-label {
  font-size: 11.5px;
  color: #be123c;
  font-weight: 700;
  margin: 6px 0 0;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.heart-qr-card-container:hover .heart-qr-tap-label {
  color: #e11d48;
}

/* Preview Scene Pills Switcher */
.preview-scene-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 4px 4px;
  justify-content: center;
  margin-top: 6px;
  max-width: 100%;
}

.scene-pill-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #831843;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.scene-pill-btn:hover {
  background: #fff;
  border-color: #f43f5e;
  transform: translateY(-1px);
}

.scene-pill-btn.active {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
}

/* Global Floating Toast */
.global-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(24, 24, 27, 0.92);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.global-toast.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.restart-experience-btn {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  backdrop-filter: blur(4px);
}

/* Classic Midnight Scene Elements */
.cl-subtitle-small {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #94a3b8;
  font-weight: 600;
}

.cl-recipient-name {
  font-size: 36px;
  color: #ffffff;
  font-weight: 700;
  margin: 8px 0 18px;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
}

.cl-magic-begins {
  font-size: 11px;
  letter-spacing: 2px;
  color: #c084fc;
  font-weight: 600;
  margin-bottom: 12px;
}

.cl-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
}

.countdown-num {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.countdown-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

.countdown-colon {
  font-size: 22px;
  font-weight: 700;
  color: #c084fc;
  margin-top: -12px;
}

.cl-peek-btn {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  padding: 6px 18px;
  border-radius: 16px;
  cursor: pointer;
  margin-top: 26px;
  transition: all 0.2s;
}

.cl-peek-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #c084fc;
}

.cl-celebrate-heading {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
}

.cl-lights-btn {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
  transition: transform 0.2s ease;
}

.cl-lights-btn:hover { transform: scale(1.05); }

.fairy-lights-string {
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 16px;
  z-index: 10;
}

.fairy-light-bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
  animation: bulbTwinkle 1.8s infinite alternate ease-in-out;
}

@keyframes bulbTwinkle {
  0% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.2); }
}

.neon-birthday-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fbcfe8;
  text-shadow: 0 0 8px #f43f5e, 0 0 16px #e11d48, 0 0 30px #be123c;
  margin-bottom: 24px;
  animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 8px #f43f5e, 0 0 16px #e11d48; }
  100% { text-shadow: 0 0 12px #f43f5e, 0 0 24px #e11d48, 0 0 40px #ec4899; }
}

.lyric-word-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.lyric-w.glow-fade { animation: wordGlow 1.8s infinite ease-in-out; }

@keyframes wordGlow {
  0%, 100% { opacity: 0.5; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px #38bdf8; }
}

.lyric-subline {
  font-size: 14px;
  color: #cbd5e1;
  margin-top: 14px;
}

.cl-next-btn {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.cake-cut-stage {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cl-cake-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.cl-cake-img.sliced {
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.6));
}

.knife-icon-anim {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  animation: knifeHover 2s infinite ease-in-out;
}

@keyframes knifeHover {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.tap-cake-hint {
  font-size: 12px;
  color: #e2e8f0;
  margin-top: 12px;
}

.cl-parchment-sheet {
  background: #fffdf5;
  color: #2b1f24;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  max-height: 380px;
  overflow-y: auto;
}

.cl-letter-body {
  font-size: 17px;
  line-height: 1.55;
  white-space: pre-wrap;
  min-height: 120px;
}

.cl-letter-companion {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.cl-letter-companion img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.classic-qr-style {
  background: #ffffff;
  color: #1e1b38;
}

/* Phone Media Bar */
.phone-media-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(18, 14, 28, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 50;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.media-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.06);
}

.media-track-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
}

.music-wave-bar {
  width: 3px;
  height: 100%;
  background: #ec4899;
  border-radius: 2px;
  animation: waveBar 1s infinite ease-in-out alternate;
}

.music-wave-bar:nth-child(2) { animation-delay: 0.2s; }
.music-wave-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes waveBar {
  0% { height: 4px; }
  100% { height: 18px; }
}

.media-track-indicator.paused .music-wave-bar {
  animation-play-state: paused;
  height: 4px;
}

/* ==========================================================================
   STYLE SWITCHER & PRICING
   ========================================================================== */

.preview-controls-panel {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.style-switcher-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.style-choice-card {
  background: #1e1932;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
}

.style-choice-card:hover {
  border-color: rgba(236, 72, 153, 0.5);
  transform: translateY(-2px);
}

.style-choice-card.active {
  border-color: #ec4899;
  background: #2b1f3c;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.35);
}

.style-icon-emojis { font-size: 16px; margin-bottom: 4px; }
.style-name { font-size: 14px; font-weight: 700; }
.style-desc { font-size: 11px; color: #a89bb6; margin-top: 2px; }


.feat-icon-svg-wrap {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.feat-icon-svg-wrap svg {
  width: 22px;
  height: 22px;
  display: block;
}

.features-cyan-banner {
  background: linear-gradient(90deg, #0284c7 0%, #0d9488 100%);
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.feature-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feat-icon { font-size: 18px; margin-bottom: 2px; }
.feat-bold { font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.feat-sub { font-size: 9.5px; opacity: 0.9; margin-top: 1px; }

.pricing-cta-card {
  background: #181428;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}

.pricing-label { font-size: 15px; font-weight: 700; color: #f472b6; }

.pricing-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.old-price { font-size: 14px; color: #7c7287; text-decoration: line-through; }
.current-price { font-size: 24px; font-weight: 800; color: #ffffff; }

.discount-pill {
  background: #06b6d4;
  color: #082f49;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 10px;
}

.cashback-pill-banner {
  background: #fef08a;
  color: #713f12;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 12px;
  margin-top: 12px;
  text-align: center;
  width: 100%;
}

.trust-guarantees-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: #948b9e;
  margin-top: 14px;
}

.text-link-btn {
  background: none;
  border: none;
  color: #f472b6;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: underline;
  transition: color 0.2s;
}

.text-link-btn:hover { color: #fb7185; }

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */

.checkout-modal-panel {
  padding: 24px 20px;
}

.checkout-header {
  border-bottom: 1px solid #f1d7e2;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.checkout-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-logo {
  font-size: 16px;
  font-weight: 800;
  color: #be185d;
}

.secured-badge {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 10px;
}

.checkout-summary-line {
  font-size: 14px;
  color: #4b5563;
  margin-top: 6px;
  font-weight: 600;
}

.order-summary-box {
  background: #fdf2f8;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #374151;
  margin-bottom: 8px;
}

.order-row.discount { color: #059669; font-weight: 600; }

.order-divider {
  height: 1px;
  background: #fbcfe8;
  margin: 10px 0;
}

.order-row.total {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0;
}

.total-amount { color: #be185d; }

.payment-methods-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.pay-method-pill {
  flex: 1;
  background: #f3f4f6;
  border: 1.5px solid #e5e7eb;
  padding: 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #374151;
  cursor: pointer;
}

.pay-method-pill.active {
  background: #fdf2f8;
  border-color: #ec4899;
  color: #be185d;
}

.pay-input {
  height: 48px;
  font-size: 14px;
}

.pay-now-action-btn {
  height: 52px;
  font-size: 16px;
}

.checkout-cashback-note {
  font-size: 11.5px;
  color: #854d0e;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   SHARE MODAL & SUCCESS
   ========================================================================== */

.success-checkmark-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.share-url-box {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.share-link-input {
  flex: 1;
  height: 46px;
  background: #ffffff;
  border: 1.5px solid #f2d9e0;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 13px;
  color: #3b2a33;
  outline: none;
}

.copy-url-btn {
  background: #be185d;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-url-btn:hover { background: #9d174d; }

.share-options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.share-action-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-action-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.whatsapp-btn {
  background: #25d366;
  color: #ffffff;
  border: none;
}

.whatsapp-btn:hover { background: #1ebe5b; }

.download-qr-btn {
  background: #ede9fe;
  color: #6d28d9;
  border-color: #c4b5fd;
}

.download-qr-btn:hover {
  background: #ddd6fe;
}

.modal-guarantee-note {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}

/* Proposal extra container */
.proposal-extra-wrap {
  margin-top: 16px;
  animation: fadeIn 0.3s ease-out;
}

.proposal-extra-wrap.hidden {
  display: none;
}

/* Photo Upload Thumbnails */
.photo-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  margin-top: 10px;
  scrollbar-width: thin;
}

.photo-thumb-item {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f472b6;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb-item .thumb-del-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.photo-thumb-item .uploading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #be185d;
}

.photo-thumb-item .thumb-check {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #10b981;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner Mode Footer */
.partner-brand-footer {
  text-align: center;
  margin-top: 20px;
  padding: 12px;
}

.partner-brand-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #be185d;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.2);
  transition: transform 0.2s;
}

.partner-brand-footer a:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   BENTO CATEGORIES SHOWCASE (MATCHING MYHEARTCRAFT)
   ========================================================================== */

.categories-bento-section {
  width: 100%;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.bento-overline {
  font-size: 11px;
  letter-spacing: 2px;
  color: #f43f5e;
  font-weight: 700;
  text-transform: uppercase;
}

.bento-headline {
  font-size: 24px;
  color: #2b1119;
  margin-top: 4px;
}

.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.bento-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.15);
  border-color: #f43f5e;
}

.bento-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff758c, #f43f5e);
}

.bento-emoji {
  font-size: 28px;
  display: inline-block;
  margin-bottom: 6px;
}

.bento-title {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.bento-desc {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.5;
  flex: 1;
}

.bento-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #be185d;
  transition: transform 0.2s;
}

.bento-card:hover .bento-link {
  transform: translateX(4px);
}

/* Extra Occasion Wrappers */
.anniversary-extra-wrap,
.sorry-extra-wrap,
.puzzle-extra-wrap {
  margin-top: 16px;
  animation: fadeIn 0.3s ease-out;
}

/* ==========================================================================
   OCCASION MODULES INSIDE SMARTPHONE
   ========================================================================== */

/* 2. Proposal Scene */
.proposal-celebration-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proposal-ring-hero {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #fbcfe8, #fda4af, #f43f5e);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.35);
}

.ring-sparkle-anim {
  position: absolute;
  top: -10px;
  right: 6px;
  font-size: 32px;
  animation: bounceSlow 2s infinite ease-in-out;
}

.proposal-couple-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.proposal-headline {
  font-size: 22px;
  font-weight: 800;
  color: #be123c;
  letter-spacing: -0.5px;
}

.proposal-sub {
  font-size: 13px;
  color: #701a75;
  font-weight: 600;
}

/* 3. Sorry Forgiveness Meter */
.sorry-forgiveness-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.forgiveness-companion-wrap {
  width: 130px;
  height: 130px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.sorry-companion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forgiveness-meter-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.meter-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #831843;
}

.meter-percent {
  font-size: 15px;
  color: #e11d48;
}

.forgiveness-progress-track {
  width: 100%;
  height: 14px;
  background: #fce7f3;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.forgiveness-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fb7185, #e11d48);
  border-radius: 10px;
  transition: width 0.15s ease-out;
}

.hold-forgive-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
  user-select: none;
  -webkit-user-select: none;
}

.peace-treaty-badge {
  background: #d1fae5;
  color: #065f46;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.bribes-pills-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.bribe-pill {
  background: #ffffff;
  border: 1px solid #fbcfe8;
  font-size: 11px;
  font-weight: 700;
  color: #be185d;
  padding: 4px 10px;
  border-radius: 12px;
}

/* 4. Anniversary Scene */
.anniversary-celebration-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.anniversary-kicker-badge {
  background: #fdf2f8;
  color: #be185d;
  border: 1.5px solid #fbcfe8;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 16px;
}

.anniversary-couple-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.anniversary-meter-card {
  width: 100%;
}

.love-meter-display {
  font-size: 14px;
  font-weight: 700;
  color: #831843;
}

.pump-love-btn,
.pinky-promise-btn {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.pump-love-btn {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3);
}

.pinky-promise-btn {
  background: #ede9fe;
  color: #6d28d9;
  border: 1px solid #c4b5fd;
}

/* 5. Friendship Diagnostic Scene */
.friendship-diagnostic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.friendship-alarm-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 14px;
  padding: 8px 14px;
  animation: pulseAlarm 1.2s infinite;
}

.alarm-siren { font-size: 20px; }
.alarm-heading { font-size: 11px; font-weight: 800; color: #b91c1c; }

.diagnostic-screen-card {
  width: 100%;
  background: #111827;
  color: #10b981;
  border-radius: 16px;
  padding: 14px;
  font-family: monospace;
}

.diag-scan-text { font-size: 11.5px; font-weight: 700; text-align: center; }

.diag-scan-bar {
  width: 100%;
  height: 8px;
  background: #1f2937;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.diag-scan-fill {
  width: 100%;
  height: 100%;
  background: #10b981;
  animation: scanProgress 1.6s infinite ease-in-out;
}

.diag-result-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.diag-result-line { font-size: 10px; color: #9ca3af; }
.diag-result-main { font-size: 13px; color: #f9fafb; font-weight: 700; margin: 4px 0 8px; }

.agreement-stamp {
  display: inline-block;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* 6. Puzzle Scene */
.puzzle-interactive-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.puzzle-stats-row {
  display: flex;
  justify-content: space-between;
  width: 220px;
  align-items: center;
}

.puzzle-moves { font-size: 12px; font-weight: 700; color: #831843; }

.puzzle-peek-btn {
  background: #fce7f3;
  color: #be185d;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.puzzle-grid-3x3 {
  width: 220px;
  height: 220px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  background: #fbcfe8;
  padding: 4px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.puzzle-tile {
  width: 100%;
  height: 100%;
  background-size: 212px 212px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.puzzle-tile.empty {
  background: rgba(255, 255, 255, 0.3) !important;
  cursor: default;
}

.puzzle-tile:hover:not(.empty) {
  transform: scale(0.96);
}

.puzzle-solved-banner {
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  animation: popIn 0.3s ease-out;
}

.puzzle-solved-title {
  font-size: 14px;
  font-weight: 900;
  color: #b45309;
}

.puzzle-secret-question {
  font-size: 13px;
  font-weight: 700;
  color: #78350f;
  margin-top: 4px;
}

/* Keyframe animations */
@keyframes pulseAlarm {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes scanProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

/* ==========================================================================
   NEW UNIQUE SCREENS: GIFS, BALLOON POP & SCRATCH CARD
   ========================================================================== */
.cute-gif-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 6px;
}

.cute-scene-gif {
  max-width: 140px;
  max-height: 100px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.18);
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cute-scene-gif.mini {
  max-width: 110px;
  max-height: 85px;
}

.cute-scene-gif:hover {
  transform: scale(1.06) rotate(-2deg);
}

.cs-subtitle-hint {
  font-size: 11.5px;
  color: #9f1239;
  font-weight: 500;
  margin: 2px 0 10px;
  opacity: 0.85;
}

/* Balloon Pop Stage */
.balloon-pop-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  margin: 12px 0 14px;
  min-height: 110px;
  position: relative;
}

.pop-balloon {
  width: 48px;
  height: 60px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: inset -4px -6px 12px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  animation: floatBalloon 3s ease-in-out infinite alternate;
}

.pop-balloon:nth-child(2) { animation-delay: 0.4s; }
.pop-balloon:nth-child(3) { animation-delay: 0.8s; }
.pop-balloon:nth-child(4) { animation-delay: 1.2s; }

.pop-balloon.b-pink { background: linear-gradient(135deg, #fb7185, #f43f5e); }
.pop-balloon.b-gold { background: linear-gradient(135deg, #fde047, #eab308); }
.pop-balloon.b-purple { background: linear-gradient(135deg, #c084fc, #9333ea); }
.pop-balloon.b-rose { background: linear-gradient(135deg, #f472b6, #db2777); }

.pop-balloon:hover {
  transform: scale(1.15) translateY(-5px);
}

.pop-balloon:active {
  transform: scale(0.9);
}

.balloon-string {
  position: absolute;
  bottom: -18px;
  width: 2px;
  height: 20px;
  background: rgba(159, 18, 57, 0.4);
  border-radius: 1px;
}

.balloon-icon {
  font-size: 20px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.pop-balloon.popped {
  animation: popBurst 0.35s ease-out forwards;
  pointer-events: none;
}

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

@keyframes popBurst {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

.revealed-wish-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #fecdd3;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.14);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 4px;
}

.wish-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #e11d48;
}

.wish-text {
  font-size: 14px;
  color: #881337;
  margin-top: 4px;
  line-height: 1.4;
  font-weight: 600;
}

/* Scratch Card Wrapper */
.scratch-card-wrapper {
  position: relative;
  width: 260px;
  height: 150px;
  margin: 10px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.25), 0 2px 8px rgba(0,0,0,0.1);
  border: 2px solid #fef08a;
  background: #ffffff;
}

.scratch-card-secret {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: radial-gradient(circle at center, #fffbeb 0%, #fef3c7 100%);
  text-align: center;
  z-index: 1;
}

.secret-stamp {
  font-size: 10.5px;
  font-weight: 900;
  color: #b45309;
  letter-spacing: 1px;
  border: 1.5px dashed #f59e0b;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #fef3c7;
}

.secret-headline {
  font-size: 13.5px;
  font-weight: 800;
  color: #78350f;
  margin-top: 8px;
  line-height: 1.35;
}

.secret-validity {
  font-size: 10.5px;
  color: #92400e;
  margin-top: 6px;
  font-weight: 600;
}

.scratch-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 150px;
  z-index: 2;
  cursor: crosshair;
  touch-action: none;
}

.scratch-status-hint {
  font-size: 11px;
  color: #b45309;
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 480px) {
  body { padding: 14px 8px 40px; }
  .iphone-chassis { height: 600px; border-radius: 40px; }
  .cs-greeting { font-size: 28px; }
}

/* ==========================================================================
   PARTNER FULL-SCREEN INTERACTIVE CARD EXPERIENCE MODE
   ========================================================================== */
body.partner-view-mode {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
  overflow-x: hidden;
}

body.partner-view-mode .app-header,
body.partner-view-mode .preview-header-area,
body.partner-view-mode .preview-controls-panel,
body.partner-view-mode .support-footer {
  display: none !important;
}

body.partner-view-mode .app-container {
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

body.partner-view-mode #previewView {
  height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body.partner-view-mode .phone-frame-container {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  max-height: 820px;
  margin: auto;
}

@media (max-width: 480px) {
  body.partner-view-mode .phone-frame-container {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
  }

  body.partner-view-mode .iphone-chassis {
    width: 100%;
    height: 100vh;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  body.partner-view-mode .phone-island {
    top: 10px;
    opacity: 0.7;
  }

  body.partner-view-mode .phone-screen {
    border-radius: 0 !important;
    height: 100vh;
  }
}



