:root {
  --bg-ivory: #fdf8f2;
  --bg-rose: #f9e8ee;
  --bg-pink: #f7dfe8;
  --bg-lavender: #efe4f7;
  --bg-cream: #f5ecdd;
  --bg-green: #e8f1e3;
  --text: #4a3d39;
  --muted: #6d5b57;
  --soft-pink: #d98aa4;
  --soft-rose: #e7b3c1;
  --soft-peach: #f1c9a4;
  --soft-lavender: #cbb8e6;
  --soft-green: #b8d5b0;
  --card: rgba(255, 255, 255, 0.5);
  --stroke: rgba(122, 92, 90, 0.12);
  --shadow: 0 20px 45px rgba(124, 99, 106, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 40%),
    linear-gradient(180deg, #fffaf6 0%, #fdf4f5 30%, #f8f2ea 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.home-button {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 20;
  border: 1px solid rgba(120, 87, 95, 0.16);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 10px 22px rgba(137, 101, 114, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(137, 101, 114, 0.18);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 6rem 1.4rem 3rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 20% 20%, rgba(241, 201, 164, 0.55), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(203, 184, 230, 0.45), transparent 32%),
    linear-gradient(180deg, #fffaf6 0%, #f8ebe2 100%);
}

.hero-glow {
  position: absolute;
  inset: 8% auto auto 8%;
  width: 420px;
  height: 420px;
  background: rgba(230, 175, 188, 0.08);
  filter: blur(45px);
  border-radius: 50%;
}

@media (max-width: 860px) {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(125, 98, 104, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 16px rgba(120, 86, 91, 0.06);
}

.top-nav a {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 860px) {
  .package-top {
    flex-direction: column;
    text-align: center;
  }

  .package-identity {
    align-items: center;
    text-align: center;
  }

  .doll-scene {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1rem;
  }

  .mini-objects {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    width: 100%;
  }
}

.eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--soft-pink);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.9;
  color: #5c3c3d;
  text-shadow: 0 4px 28px rgba(107, 82, 86, 0.08);
}

.hero-text {
  max-width: 620px;
  margin: 1.4rem auto 2rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.8;
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
  max-width: 700px;
}

.hero-badges span {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(120, 87, 95, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  box-shadow: 0 8px 18px rgba(125, 97, 103, 0.06);
}

.hero-gift {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(128, 97, 100, 0.12);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(245, 225, 231, 0.65));
  box-shadow: 0 16px 30px rgba(156, 118, 128, 0.1);
}

.gift-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(241, 207, 216, 0.7), rgba(231, 214, 194, 0.7));
  color: #6a4b53;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(153, 114, 127, 0.08);
}

.hero-gift p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d3dc, #eedcc4, #d9d2ed);
  color: #4d3a3a;
  box-shadow: 0 18px 35px rgba(147, 101, 122, 0.22);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 22px 40px rgba(147, 101, 122, 0.25);
}

.page-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.2rem 5rem;
}

.section {
  padding-top: 4.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-kicker {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #5c3c3d;
}

.letter-card,
.reason-card,
.music-card,
.memory-note,
.final-message,
.memory-card {
  position: relative;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.letter-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  border-radius: 32px;
  text-align: center;
}

.letter-card p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
  margin: 0.8rem 0;
}

.letter-decoration {
  position: absolute;
  top: 1.25rem;
  font-size: 2.1rem;
  color: rgba(210, 146, 171, 0.8);
}

.letter-decoration-left {
  left: 1.2rem;
}

.letter-decoration-right {
  right: 1.2rem;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.reason-card {
  border-radius: 28px;
  padding: 2rem 1.3rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(136, 110, 118, 0.13);
}

.icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245, 221, 227, 0.9), rgba(233, 219, 195, 0.9));
  box-shadow: inset 0 0 0 1px rgba(128, 89, 99, 0.06);
  font-size: 1.8rem;
}

.reason-card h3 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #5e3d42;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.memory-card {
  position: relative;
  min-height: 220px;
  border-radius: 30px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.memory-card:hover {
  transform: translateY(-5px) scale(1.01);
  filter: saturate(1.08);
}

.memory-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 1px rgba(110, 92, 94, 0.08);
}

.memory-card h3 {
  font-size: 1.8rem;
  color: #5e3d42;
}

.memory-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.memory-one {
  background: linear-gradient(135deg, #f5dce4, #ecc9d5 35%, #f1e6d9);
}

.memory-two {
  background: linear-gradient(135deg, #e8dfe7, #d7dced 35%, #f8e8d5);
}

.memory-three {
  background: linear-gradient(135deg, #f6e9d4, #f4d9c6 35%, #e8e4d8);
}

.memory-four {
  background: linear-gradient(135deg, #ebd7ee, #d9e6d4 35%, #f8e9d8);
}

.memory-five {
  background: linear-gradient(135deg, #f2dfe5, #e5ebd5 35%, #f0e2d6);
}

.memory-six {
  background: linear-gradient(135deg, #dfe9e4, #f2d6d7 35%, #f5eadb);
}

.gallery-note {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1rem 1.4rem;
  border-radius: 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.36);
  border: 1px solid rgba(120, 95, 100, 0.08);
}

.music-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 30px;
}

.music-title {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  color: #5 f3c3d;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.music-text {
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}

.music-controls {
  margin-top: 1.5rem;
}

.music-controls label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #5c3c3d;
}

.music-input-row {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.music-input-row input {
  flex: 1 1 280px;
  min-width: 0;
  border: 1px solid rgba(108, 89, 92, 0.15);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.music-input-row button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8d7ef, #f4d5d9);
  color: #4e3d45;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
}

#music-player {
  width: 100%;
  margin-top: 1.1rem;
  border-radius: 16px;
  filter: saturate(0.9);
}

.garden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.2rem;
  max-width: 820px;
  margin: 0 auto;
}

.flower-item {
  position: relative;
  width: 120px;
  height: 160px;
  margin: 0 auto;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.flower-item:hover {
  transform: translateY(-6px) rotate(-2deg);
}

.flower-item::before,
.flower-item::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.flower-item::before {
  width: 16px;
  height: 64px;
  bottom: 0;
  background: linear-gradient(180deg, #b7d7b3, #94be9a);
  border-radius: 20px;
}

.flower-item::after {
  width: 86px;
  height: 86px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.85) 0 18%, transparent 19%);
  border-radius: 50%;
}

.flower-core {
  position: absolute;
  inset: 26px auto auto 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.78);
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.flower-pink .flower-core {
  background: radial-gradient(circle, #f3bed2, #e7a9c0 55%, #d98aa4 100%);
}

.flower-lavender .flower-core {
  background: radial-gradient(circle, #d9cbf5, #c9b2e5 52%, #b49ecd 100%);
}

.flower-cream .flower-core {
  background: radial-gradient(circle, #f8e7b2, #efd79c 55%, #d9bb75 100%);
}

.flower-mauve .flower-core {
  background: radial-gradient(circle, #e0bfd9, #d5aacb 55%, #b887ae 100%);
}

.flower-peach .flower-core {
  background: radial-gradient(circle, #f2d9ba, #efc49a 55%, #d7a779 100%);
}

.flower-green .flower-core {
  background: radial-gradient(circle, #d7ecc7, #bccfa5 55%, #92b57a 100%);
}

.memory-note {
  max-width: 760px;
  margin: 2.2rem auto 0;
  padding: 1.2rem 1.5rem;
  border-radius: 22px;
  text-align: center;
  color: var(--muted);
  min-height: 82px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1.7;
}

.showcase-section {
  padding-top: 4.5rem;
}

.showcase-frame {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(120, 95, 100, 0.08);
  box-shadow: 0 20px 40px rgba(110, 90, 96, 0.1);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.final-message {
  max-width: 980px;
  margin: 4.5rem auto 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(245,225,231,0.56));
  padding: 2rem 1.4rem;
}

.final-message p {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.1;
  color: #5d3d40;
}

.final-subtext {
  margin-top: 0.8rem !important;
  font-size: clamp(1.1rem, 2vw, 1.7rem) !important;
  font-family: "Manrope", sans-serif !important;
  letter-spacing: 0.02em;
  color: var(--muted) !important;
}

.small-portuguese-note {
  margin-top: 1.2rem !important;
  font-size: 1rem !important;
  font-style: italic;
  color: #7d5a5d !important;
}

.final-subtext-small {
  margin-top: 0.5rem !important;
  font-size: clamp(0.95rem, 1.7vw, 1.25rem) !important;
}

.final-subtext-glow {
  color: #7d5a5d !important;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(188, 129, 145, 0.18);
}

.petal-layer,
.heart-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.petal,
.heart {
  position: absolute;
  top: -60px;
  opacity: 0.7;
  animation: fall linear infinite;
}

.petal {
  width: 12px;
  height: 20px;
  border-radius: 60% 0 60% 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(240, 172, 192, 0.8));
  box-shadow: 0 0 10px rgba(255, 160, 180, 0.15);
}

.heart {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, rgba(255, 200, 214, 0.9), rgba(236, 137, 167, 0.9));
  transform: rotate(-45deg);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(234, 142, 173, 0.15);
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: inherit;
  border-radius: 50%;
}

.heart::before {
  top: -8px;
  left: 0;
}

.heart::after {
  top: 0;
  left: 8px;
}

@keyframes fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(var(--drift), 110vh, 0) rotate(220deg);
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .top-nav {
    top: 5.8rem;
    width: min(92vw, 540px);
    gap: 0.4rem;
  }

  .top-nav a {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88vh;
  }

  .letter-card {
    padding: 2.5rem 1rem 2rem;
  }

  .section {
    padding-top: 3.5rem;
  }

  .music-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .music-input-row button {
    width: 100%;
  }
}
