/* ==========================================================================
   ROMANTIC RECONCILIATION THEME - DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark-1: #090314;
  --bg-dark-2: #160728;
  --bg-dark-3: #2a0845;
  
  --primary-pink: #ff4071;
  --primary-glow: rgba(255, 64, 113, 0.6);
  --primary-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --secondary-gradient: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
  --accent-gold: #ffd166;
  --accent-gold-glow: rgba(255, 209, 102, 0.5);

  --glass-bg: rgba(25, 12, 38, 0.65);
  --glass-bg-hover: rgba(35, 18, 52, 0.75);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-highlight: rgba(255, 117, 140, 0.35);
  
  --text-main: #ffffff;
  --text-muted: #e2d1f0;
  --text-dim: #a993bf;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-handwritten: 'Caveat', cursive;

  /* Radius & Shadows */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 64, 113, 0.15);
  --shadow-neon: 0 0 25px rgba(255, 64, 113, 0.6), 0 0 50px rgba(255, 64, 113, 0.3);
  --shadow-gold: 0 0 20px rgba(255, 209, 102, 0.4);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark-1);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px 16px;
  background: radial-gradient(circle at 50% 20%, #2e0847 0%, var(--bg-dark-1) 75%);
}

/* Ambient Canvas */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Glowing Aurora Blobs */
.aura-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  animation: auraFloat 14s infinite alternate ease-in-out;
}

.aura-1 {
  top: -10%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ff2e74 0%, rgba(255, 46, 116, 0) 70%);
}

.aura-2 {
  bottom: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7928ca 0%, rgba(121, 40, 202, 0) 70%);
  animation-delay: -5s;
}

.aura-3 {
  top: 40%;
  left: 60%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #ff0080 0%, rgba(255, 0, 128, 0) 70%);
  animation-delay: -9s;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ==========================================================================
   MINI ROMANTIC MUSIC PLAYER
   ========================================================================== */

.mini-music-player {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(30, 12, 44, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 117, 140, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 64, 113, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mini-music-player:hover {
  border-color: rgba(255, 209, 102, 0.5);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 64, 113, 0.35);
}

.player-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Spinning Vinyl Disc */
.player-disc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #2c0848 0%, #130020 100%);
  border: 2px solid rgba(255, 64, 113, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.player-disc.playing {
  animation: spinDisc 4s linear infinite;
  border-color: #ffd166;
  box-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
}

.disc-center {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.disc-icon {
  width: 8px;
  height: 8px;
  color: #ffffff;
}

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

/* Track Info */
.player-info {
  display: flex;
  flex-direction: column;
  max-width: 130px;
  text-align: left;
}

.player-title-wrap {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.player-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.player-artist {
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.player-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.player-btn i {
  width: 14px;
  height: 14px;
}

.player-btn-main {
  width: 28px;
  height: 28px;
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 64, 113, 0.4);
}

.player-btn-main:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 15px rgba(255, 64, 113, 0.6);
  color: #ffffff;
}

.player-btn-main i {
  width: 14px;
  height: 14px;
}

/* Equalizer */
.player-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  padding-left: 2px;
}

.player-equalizer.active {
  display: flex;
}

.player-equalizer span {
  width: 2.5px;
  background: linear-gradient(to top, var(--primary-pink), var(--accent-gold));
  border-radius: 2px;
  animation: eqWave 0.8s ease-in-out infinite alternate;
}

.player-equalizer span:nth-child(1) { height: 5px; animation-delay: 0.1s; }
.player-equalizer span:nth-child(2) { height: 13px; animation-delay: 0.3s; }
.player-equalizer span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.player-equalizer span:nth-child(4) { height: 11px; animation-delay: 0.4s; }

@keyframes eqWave {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Mini Progress Bar */
.player-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.player-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-gradient);
  transition: width 0.15s linear;
}

/* ==========================================================================
   APP CONTAINER & GLASS CARDS
   ========================================================================== */

.app-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-glass);
  text-align: center;
  position: relative;
  overflow: visible;
  transition: all 0.4s ease;
  touch-action: manipulation;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(255, 117, 140, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   COUNTDOWN / LOCKED VIEW
   ========================================================================== */

.countdown-view {
  animation: zoomInCard 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.countdown-tag {
  border-color: rgba(255, 209, 102, 0.5);
  color: var(--accent-gold);
}

.countdown-timer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 28px 0 24px;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.timer-box {
  background: rgba(35, 14, 48, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 117, 140, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  min-width: 82px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 64, 113, 0.2);
  transition: transform 0.2s ease, border-color 0.3s ease;
}

.timer-box:hover {
  border-color: #ffd166;
  transform: translateY(-2px);
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffd166;
  line-height: 1;
  display: block;
}

.glow-number {
  text-shadow: 0 0 25px rgba(255, 209, 102, 0.7), 0 0 12px rgba(255, 64, 113, 0.8);
}

.timer-separator {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-pink);
  margin-top: -24px;
  animation: sepBlink 1.2s infinite alternate ease-in-out;
}

@keyframes sepBlink {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

.timer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-footer {
  margin-top: 10px;
}

.pulse-heart-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 64, 113, 0.15);
  border: 1px dashed rgba(255, 117, 140, 0.45);
  color: #ff85a1;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   QUESTION CARD COMPONENTS
   ========================================================================== */

/* Mascot Wrapper */
.mascot-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.mascot-frame {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, rgba(255, 64, 113, 0.8), rgba(255, 209, 102, 0.6));
  box-shadow: 0 0 30px rgba(255, 64, 113, 0.4);
  animation: mascotFloat 4s ease-in-out infinite alternate;
}

.mascot-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  display: block;
}

.mascot-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 64, 113, 0.4) 0%, transparent 70%);
  z-index: -1;
  animation: pulseGlow 2.5s infinite;
}

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

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Emotion Tag */
.emotion-tag {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 6, 28, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 64, 113, 0.4);
  color: #ff85a1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4071;
  box-shadow: 0 0 8px #ff4071;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

/* Header & Typography */
.card-header {
  margin-bottom: 22px;
}

.main-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.title-sub {
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  color: var(--accent-gold);
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.4);
  letter-spacing: 0.5px;
}

.title-main {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.glow-text {
  background: linear-gradient(135deg, #ffffff 20%, #ff8fa3 60%, #ffd166 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 117, 140, 0.35));
}

.clean-emoji {
  -webkit-text-fill-color: initial;
  display: inline-block;
  vertical-align: middle;
}

.apology-subtext {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Reason Ticker Pill */
.reason-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin: 0 auto 28px;
  max-width: 500px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ticker-icon i {
  width: 20px;
  height: 20px;
  color: var(--primary-pink);
}

.beat-icon {
  animation: heartBeat 1.4s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.25); }
}

.ticker-content {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.4;
  transition: opacity 0.3s ease;
}

/* Dodge Counter Badge */
.dodge-counter-badge {
  display: inline-block;
  background: rgba(255, 75, 43, 0.15);
  border: 1px dashed rgba(255, 75, 43, 0.4);
  color: #ff85a1;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ==========================================================================
   ACTION ARENA (YES & NO BUTTONS)
   ========================================================================== */

.action-arena {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  margin: 15px 0 25px;
  padding: 10px;
}

.btn {
  position: relative;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, font-size 0.3s ease, padding 0.3s ease;
  z-index: 20;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  white-space: nowrap;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* YES BUTTON */
.btn-yes {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 65, 108, 0.4), 0 0 20px rgba(255, 75, 43, 0.3);
  overflow: hidden;
  transform-origin: center center;
  will-change: transform, padding;
  max-width: 92vw;
}

.btn-yes:hover {
  box-shadow: 0 15px 45px rgba(255, 65, 108, 0.6), 0 0 40px rgba(255, 75, 43, 0.5);
}

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

.btn-yes.huge-mode {
  z-index: 999;
  box-shadow: 0 20px 60px rgba(255, 64, 113, 0.85), 0 0 80px rgba(255, 209, 102, 0.7);
  animation: megaPulse 1.6s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes megaPulse {
  0% { filter: drop-shadow(0 0 20px rgba(255, 64, 113, 0.6)); }
  100% { filter: drop-shadow(0 0 45px rgba(255, 209, 102, 0.9)); }
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: btnShine 3s infinite;
}

@keyframes btnShine {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

/* NO BUTTON (THE RUNAWAY BUTTON) */
.btn-no {
  background: rgba(45, 18, 60, 0.8);
  color: #ff85a1;
  border: 2px solid rgba(255, 117, 140, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 64, 113, 0.2);
  touch-action: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease, left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, left, top;
}

.btn-no:hover {
  background: rgba(65, 25, 85, 0.95);
  border-color: #ff4071;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 64, 113, 0.4);
}

.btn-no.running {
  position: fixed !important;
  z-index: 9999 !important;
  animation: buttonWobble 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes buttonWobble {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-2deg); }
  20%, 80% { transform: translate3d(2px, 0, 0) rotate(2deg); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0) rotate(-1deg); }
  40%, 60% { transform: translate3d(3px, 0, 0) rotate(1deg); }
}

/* Card Footer */
.card-footer {
  margin-top: 10px;
}

.hint-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.8;
}

/* ==========================================================================
   CELEBRATION VIEW
   ========================================================================== */

.celebration-view {
  animation: zoomInCard 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomInCard {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.celebration-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 64, 113, 0.25), rgba(255, 209, 102, 0.2));
  border: 1px solid rgba(255, 209, 102, 0.5);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(255, 209, 102, 0.3);
  animation: pulseBadge 2s infinite;
}

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

.celebrate-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-gold);
}

.celebration-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}

/* Polaroid Card */
.couple-polaroid {
  background: #ffffff;
  padding: 12px 12px 18px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 64, 113, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
  position: relative;
}

.couple-polaroid:hover {
  transform: rotate(0deg) scale(1.03);
}

.polaroid-pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.polaroid-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  display: block;
}

.polaroid-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.caption-date {
  font-family: var(--font-handwritten);
  font-size: 1.1rem;
  color: #ff4071;
  font-weight: 700;
}

.caption-names {
  font-family: var(--font-handwritten);
  font-size: 1rem;
  color: #333333;
}

/* Celebration Letter */
.celebration-letter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  position: relative;
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.letter-icon {
  width: 18px;
  height: 18px;
}

.font-handwritten {
  font-family: var(--font-handwritten);
}

.letter-body {
  font-size: 1.35rem;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.letter-sign {
  font-size: 1.3rem;
  color: var(--primary-pink);
  text-align: right;
  font-weight: 700;
}

/* ==========================================================================
   LOVE COUPONS
   ========================================================================== */

.coupons-section {
  margin-bottom: 30px;
  text-align: center;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.section-title i {
  width: 22px;
  height: 22px;
  color: var(--accent-gold);
}

.coupons-subtext {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.coupons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.coupon-card {
  background: rgba(35, 14, 48, 0.7);
  border: 1px dashed rgba(255, 117, 140, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.coupon-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-pink);
  background: rgba(50, 20, 70, 0.85);
  box-shadow: 0 10px 25px rgba(255, 64, 113, 0.2);
}

.coupon-notch-left, .coupon-notch-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 18px;
  background: var(--bg-dark-1);
  border: 1px dashed rgba(255, 117, 140, 0.4);
}

.coupon-notch-left {
  left: -7px;
  border-radius: 0 12px 12px 0;
  border-left: none;
}

.coupon-notch-right {
  right: -7px;
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.coupon-icon {
  font-size: 1.8rem;
}

.coupon-info h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.coupon-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 8px;
}

.coupon-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 209, 102, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.coupon-redeem-btn {
  background: var(--primary-gradient);
  border: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  align-self: flex-start;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.coupon-redeem-btn:hover {
  transform: scale(1.05);
}

.coupon-card.redeemed {
  border-color: #2ed573;
  background: rgba(46, 213, 115, 0.12);
}

.coupon-card.redeemed .coupon-redeem-btn {
  background: #2ed573;
  cursor: default;
  transform: none;
}

/* ==========================================================================
   CELEBRATION ACTIONS & SHARE
   ========================================================================== */

.celebration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.confetti-btn {
  background: linear-gradient(135deg, #ff4071 0%, #7928ca 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 64, 113, 0.35);
}

.confetti-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 64, 113, 0.5);
}

.outline-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.action-btn i {
  width: 18px;
  height: 18px;
}



/* ==========================================================================
   FLOATING HEART & CLICK PARTICLES
   ========================================================================== */

.floating-hearts-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.spawned-heart {
  position: absolute;
  pointer-events: none;
  animation: floatHeartUp 2.5s ease-out forwards;
  font-size: 1.5rem;
  user-select: none;
}

@keyframes floatHeartUp {
  0% { transform: translate(0, 0) scale(0.6) rotate(0deg); opacity: 1; }
  50% { opacity: 0.9; }
  100% { transform: translate(var(--tx, 0px), -120px) scale(1.4) rotate(var(--rot, 20deg)); opacity: 0; }
}

/* Runaway Mini Toast */
.dodge-toast {
  position: fixed;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffd166;
  background: rgba(18, 6, 28, 0.85);
  border: 1px solid rgba(255, 209, 102, 0.5);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 1000;
  animation: toastFloat 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

@keyframes toastFloat {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  20% { transform: translate(-50%, -70%) scale(1.05); opacity: 1; }
  100% { transform: translate(-50%, -120%) scale(0.9); opacity: 0; }
}

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

@media (max-width: 600px) {
  body {
    padding: 14px 10px;
  }

  .mini-music-player {
    top: 10px;
    right: 10px;
    padding: 4px 10px 4px 6px;
  }

  .player-info {
    max-width: 95px;
  }

  .player-title {
    font-size: 0.74rem;
  }

  .player-artist {
    font-size: 0.62rem;
  }

  .player-disc {
    width: 30px;
    height: 30px;
  }

  .glass-card {
    padding: 26px 18px;
    border-radius: var(--radius-md);
  }

  .mascot-frame {
    width: 105px;
    height: 105px;
  }

  .title-sub {
    font-size: 1.4rem;
  }

  .title-main {
    font-size: 1.65rem;
  }

  .apology-subtext {
    font-size: 0.92rem;
  }

  .action-arena {
    gap: 16px;
    margin: 10px 0 15px;
  }

  .btn {
    padding: 14px 26px;
    font-size: 1rem;
  }

  .celebration-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .countdown-timer-container {
    gap: 8px;
    margin: 20px 0 18px;
  }

  .timer-box {
    padding: 12px 14px;
    min-width: 68px;
  }

  .timer-num {
    font-size: 1.9rem;
  }

  .timer-separator {
    font-size: 1.7rem;
    margin-top: -18px;
  }

  .couple-polaroid {
    max-width: 240px;
    margin: 0 auto;
  }

  .coupons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
