/* ========================================================
   4. HERO COVER & MUSIC TOGGLE
   ======================================================== */
.floating-music {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--cream-text);
  box-shadow: 0 6px 20px rgba(56, 10, 14, 0.4);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.floating-music:hover { transform: scale(1.08); }
.floating-music.playing .music-icon {
  animation: spin-vinyl 4s linear infinite;
}

.hero-section {
  padding-top: 30px;
  text-align: center;
}

.hero-kicker {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  letter-spacing: 0.25em;
  color: var(--red-primary);
  text-transform: uppercase;
  margin-top: -18px;
  margin-bottom: 73px; /* 55 + 18: chữ lên, phong bì giữ chỗ */
  font-weight: 700;
}

/* Envelope & Picture Presentation */
.envelope-stage {
  position: relative;
  width: min(400px, 92%);
  margin: 0 auto 30px;
}

.envelope-back {
  position: relative;
  background: #420d12;
  border-radius: 12px;
  padding-top: 130%;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.envelope-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(110, 26, 32, 0.9) 0%, rgba(56, 10, 14, 0.95) 100%);
  z-index: 1;
}

.envelope-photo-wrap {
  position: absolute;
  top: 6%;
  left: 8%;
  right: 8%;
  height: 72%;
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.envelope-photo-wrap:hover {
  transform: rotate(0deg) scale(1.02);
}

.photo-frame {
  width: 100%;
  height: 100%;
  background: #ffffff;
  padding: 10px 10px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.hero-peony-deco {
  position: absolute;
  top: 15%;
  left: -20px;
  width: 170px;
  z-index: 4;
  pointer-events: none;
  transform: rotate(-10deg);
  mix-blend-mode: normal;
}

.envelope-front-flaps {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  z-index: 5;
  pointer-events: none;
}

.envelope-front-flaps::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 160px 0 0 200px;
  border-color: transparent transparent transparent #4a1015;
  filter: drop-shadow(4px -3px 8px rgba(0,0,0,0.3));
}

.envelope-front-flaps::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 160px 200px;
  border-color: transparent transparent #380a0e transparent;
  filter: drop-shadow(-4px -3px 8px rgba(0,0,0,0.3));
}



.hero-title-box {
  margin-top: 10px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 8vw, 3.3rem);
  color: var(--red-primary);
  line-height: 1.12;
  font-weight: 600;
}

.hero-names .amp {
  display: block;
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold);
  margin: -6px 0 -4px;
  font-weight: 400;
}

.hero-quote {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 420px;
  margin: 16px auto 0;
}
