:root {
  --blush-1: #fdf6f5;
  --blush-2: #f4d9d9;
  --rose: #d98d8d;
  --rose-deep: #9d5a5a;
  --gold: #d9c29f;
  --ink: #3d2d2d;
  --muted: #6d5b5b;
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 45px rgba(122, 82, 82, 0.12);
}



body {
  font-family: "Inter", sans-serif;
  background: var(--blush-1);
  color: var(--ink);
  
  margin: 0;
  overflow-x: hidden;
}

section {
  box-sizing: border-box;
  min-height: 100svh;
  height: auto !important;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

section > main {
  width: min(100%, 52rem);
  margin-inline: auto;
}

p,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
}

p {
  line-height: 1.6;
}

p1 {
  display: block;
  text-align: justify;
}

.family-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.family-columns p1 {
  text-align: center;
}

@media (max-width: 576px) {
  .family-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.hero {
  min-height: 100svh;
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-frame {
  position: absolute;
  z-index: 0;
  width: clamp(10rem, 25vw, 18rem);
  height: auto;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.hero-frame.is-visible {
  animation: frame-reveal 1.1s ease-out forwards;
}

.hero-frame-bottom-left {
  bottom: -0.5rem;
  left: -0.5rem;
}

.hero-frame-bottom-right {
  right: -0.5rem;
  bottom: -0.5rem;
  transform: scaleX(-1);
}

.hero-frame-top-left {
  top: -0.5rem;
  left: -0.5rem;
  transform: rotate(90deg);
}

.hero-frame-top-right {
  top: -0.5rem;
  right: -0.5rem;
  transform: rotate(180deg);
}

.hero main {
  position: relative;
  z-index: 1;
}

.hero main > *,
.section-text {
  opacity: 0;
  transform: translateY(1.25rem);
}

.hero main > *.text-visible {
  animation: text-reveal 0.8s ease-out forwards;
  animation-delay: var(--text-delay, 0s);
}

.section-text.text-visible {
  animation: text-reveal 0.8s ease-out forwards;
  animation-delay: var(--text-delay, 0s);
}

.section-frame {
  position: absolute;
  z-index: 0;
  width: clamp(9rem, 20vw, 15rem);
  height: auto;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.section-frame.is-visible {
  animation: frame-reveal 1.1s ease-out forwards;
}

.section-frame-bottom-left {
  bottom: -1rem;
  left: -1rem;
}

.section-frame-bottom-right {
  right: -1rem;
  bottom: -1rem;
  transform: scaleX(-1) translate(1.5rem, 1.5rem);
}

.section-frame-top-left {
  top: -1rem;
  left: -1rem;
  transform: rotate(90deg) translate(1.5rem, 1.5rem);
}

.section-frame-top-right {
  top: -1rem;
  right: -1rem;
  transform: rotate(180deg) translate(1.5rem, 1.5rem);
}

section > main {
  position: relative;
  z-index: 1;
}

@keyframes text-reveal {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes frame-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero main > *,
  .section-text,
  .hero-frame,
  .section-frame {
    opacity: 1;
    animation: none;
  }
}


.hero h3 {
  font-family: "Great Vibes", cursive;
  font-size: 3rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--rose-deep);
}

.hero h4 {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--rose-deep);
}
.content {
  min-height: 100svh;
}
.content h3{
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--rose-deep);
}
.nikah{
  min-height: 100svh;
}
.nikah h3{
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color:var(--rose-deep)
}

.nikah h3[aria-label="Dua cincin pernikahan"] {
  line-height: 1;
}

.nikah h3[aria-label="Dua cincin pernikahan"] .material-symbols-outlined {
  font-size: 1.35rem;
  vertical-align: middle;
}

.nikah h3[aria-label="Dua cincin pernikahan"] .material-symbols-outlined + .material-symbols-outlined {
  margin-left: -0.2rem;
}

.nikah .ring-image {
  display: inline-block;
  width: 3rem;
  height: auto;
  vertical-align: middle;
}

.akad {
  min-height: 100svh;
}
.akad .ring-image {
  display: inline-block;
  width: 3rem;
  height: auto;
  vertical-align: middle;
}

.akad .reception-icon {
  display: inline-block;
  width: 3rem;
  height: auto;
  padding-top: 2rem;
}
.akad h3{
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--rose-deep);  
}
.waktu {
  min-height: 100svh;
}

.waktu h3 {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: var(--rose-deep);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 1.5rem);
  margin-top: 2rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(4rem, 16vw, 6.5rem);
  padding: 1rem 0.5rem;
  border: 1px solid var(--rose);
  border-radius: 0.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.countdown-item span {
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 600;
  color: var(--rose-deep);
}

.countdown-item small {
  color: var(--muted);
}
.akhir {
  min-height: 100svh;
}
.akhir h3 {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: var(--rose-deep);
}

.hadiah {
  min-height: 100svh;
}

.gift-icon {
  display: block;
  font-size: 4rem;
  color: var(--rose-deep);
  margin-bottom: 0.75rem;
}

.hadiah h3 {
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: var(--rose-deep);
  margin-bottom: 1.5rem;
}

.gift-details {
  display: grid;
  gap: 1rem;
}

.gift-details p {
  margin: 0;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--rose);
  border-radius: 0.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.music-player {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  visibility: visible;
  opacity: 1;
}

.music-toggle {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid var(--rose-deep);
  border-radius: 50%;
  color: #fff;
  background: var(--rose-deep);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.music-toggle:hover {
  transform: scale(1.06);
  background: var(--rose);
}

.music-toggle.is-playing .material-symbols-outlined {
  animation: music-pulse 1.2s ease-in-out infinite;
}

.music-status {
  padding: 0.35rem 0.65rem;
  border-radius: 0.35rem;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  white-space: nowrap;
}

@keyframes music-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@media (max-width: 576px) {
  .music-player {
    display: flex !important;
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .music-toggle {
    width: 3.5rem;
    height: 3.5rem;
  }

  .music-status {
    display: none;
  }
}