* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fffaf8;
  color: #51372f;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.serif {
  font-family: "Playfair Display", serif;
}

:root {
  --cream: #fffaf8;
  --pink: #f58d96;
  --pink-dark: #e66f7b;
  --pink-soft: #ffe1e3;
  --pink-pale: #fff0f1;
  --brown: #51372f;
  --brown-soft: #7c635b;
  --brown-light: #a98e84;
  --line: #f0d9d5;
}

/* =====================================================
   DECORATION
===================================================== */

.heart {
  position: absolute;
  z-index: 2;
  color: #f58d96;
  font-size: 22px;
  opacity: .7;
  pointer-events: none;
}

.heart.h1 {
  top: 70px;
  left: 7%;
  transform: rotate(-15deg);
}

.heart.h2 {
  top: 150px;
  right: 8%;
  transform: rotate(15deg);
}

.heart.h3 {
  bottom: 80px;
  left: 10%;
  font-size: 17px;
}

.heart.h4 {
  right: 9%;
  bottom: 50px;
  font-size: 18px;
}

/* =====================================================
   COVER
===================================================== */

.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 15%, #ffe0e3 0, transparent 28%),
    radial-gradient(circle at 85% 80%, #ffd8d5 0, transparent 28%),
    #fffaf8;
  transition: opacity .8s ease, visibility .8s ease;
}

.cover.hide {
  opacity: 0;
  visibility: hidden;
}

.cover-card {
  position: relative;
  width: min(500px, 90%);
  min-height: 650px;
  padding: 60px 35px 45px;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(105, 62, 53, .13);
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed #efb9bd;
  border-radius: 25px;
}

.cover-heart {
  position: relative;
  z-index: 2;
  color: var(--pink);
  font-size: 30px;
}

.cover-small {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  color: var(--brown-soft);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cover-title {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  font-size: clamp(48px, 10vw, 75px);
  font-weight: 500;
  line-height: .9;
}

.cover-title .amp {
  display: block;
  margin: 14px 0;
  color: var(--pink);
  font-size: .43em;
}

.cover-character {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 190px;
  margin: 20px auto 5px;
}

.cover-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-date {
  position: relative;
  z-index: 2;
  color: var(--brown-soft);
  font-size: 13px;
}

.cover-place {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  color: var(--brown-light);
  font-size: 11px;
}

.open-btn {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding: 14px 28px;
  color: #fff;
  background: var(--pink);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: 0 10px 25px rgba(245, 141, 150, .28);
  transition: .25s ease;
}

.open-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 215, 218, .8), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(255, 229, 221, .8), transparent 28%),
    var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 80px;
  background:
    radial-gradient(80px 45px at 40px 45px, #fff 99%, transparent 100%) repeat-x;
  background-size: 80px 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  width: min(1180px, 90%);
  min-height: 760px;
  gap: 35px;
  margin: auto;
  padding: 90px 0 80px;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.hero-label {
  display: inline-flex;
  padding: 8px 14px;
  color: var(--brown-soft);
  background: #fff;
  border-radius: 999px;
  font-size: 10px;
  box-shadow: 0 7px 25px rgba(100, 50, 40, .06);
}

.hero-title {
  margin-top: 25px;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 500;
  line-height: .88;
}

.hero-title .amp {
  margin: 12px 0;
  color: var(--pink);
  font-size: .5em;
}

.hero-script {
  margin-top: 18px;
  color: var(--pink);
  font-family: "Parisienne", cursive;
  font-size: 44px;
}

.hero-description {
  max-width: 500px;
  margin-top: 20px;
  color: var(--brown-soft);
  font-size: 14px;
  line-height: 1.8;
}

.hero-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
}

.hero-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--pink-soft);
  border-radius: 50%;
}

.hero-info strong {
  display: block;
  font-size: 13px;
}

.hero-info span {
  display: block;
  margin-top: 4px;
  color: var(--brown-light);
  font-size: 11px;
}

/* =====================================================
   HERO ORGANIC FRAME
===================================================== */

.hero-character {
  position: relative;
  z-index: 4;
  height: 590px;
}

.hero-character-main {
  position: absolute;
  top: 45px;
  right: 0;
  width: 650px;
  height: 500px;
  padding: 18px;
  background: rgba(255, 255, 255, .25);
  border: 2px solid rgba(245, 141, 150, .55);
  border-radius: 42% 58% 52% 48% / 48% 42% 58% 52%;
  box-shadow: 0 18px 45px rgba(90, 50, 40, .08);
  transform: rotate(-1deg);
}

.hero-character-main::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1.5px solid rgba(245, 141, 150, .32);
  border-radius: 55% 45% 48% 52% / 43% 55% 45% 57%;
  transform: rotate(3deg);
  pointer-events: none;
}

.hero-character-main::after {
  content: "♥";
  position: absolute;
  top: 20px;
  right: -20px;
  color: var(--pink);
  font-size: 24px;
  transform: rotate(12deg);
}

.hero-character-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
}

.hero-circle {
  position: absolute;
  top: 60px;
  right: 80px;
  z-index: -1;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #ffe0e3, #ffd2d1);
  border-radius: 50%;
}

.hero-heart {
  position: absolute;
  z-index: 5;
  color: var(--pink);
  font-size: 32px;
}

.hero-heart.one {
  top: 50px;
  right: 120px;
}

.hero-heart.two {
  top: 170px;
  right: 10px;
  font-size: 20px;
}

.hero-heart.three {
  bottom: 120px;
  left: 70px;
  font-size: 24px;
}

/* =====================================================
   SECTION
===================================================== */

.section {
  position: relative;
  padding: 110px 0;
}

.section-inner {
  width: min(1100px, 90%);
  margin: auto;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-label {
  margin-bottom: 12px;
  color: var(--pink-dark);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
}

.section-description {
  margin-top: 18px;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.8;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.section-divider span {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
}

.section-divider span:nth-child(2) {
  width: 9px;
  height: 9px;
}

/* =====================================================
   STORY
===================================================== */

.story {
  overflow: hidden;
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.story-polaroid {
  position: relative;
  max-width: 440px;
  margin: auto;
  padding: 14px 14px 35px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(90, 50, 40, .12);
  transform: rotate(-4deg);
}

.story-polaroid::after {
  content: "♥";
  position: absolute;
  top: -30px;
  right: -25px;
  color: var(--pink);
  font-size: 35px;
  transform: rotate(12deg);
}

.story-polaroid img {
  height: 380px;
  object-fit: cover;
}

.story-polaroid p {
  margin-top: 17px;
  color: var(--brown);
  font-family: "Parisienne", cursive;
  font-size: 25px;
  text-align: center;
}

.story-copy h2 {
  font-size: 39px;
  font-weight: 500;
}

.story-copy p {
  margin-top: 20px;
  color: var(--brown-soft);
  font-size: 14px;
  line-height: 1.9;
}

.story-quote {
  margin-top: 25px;
  padding: 20px 22px;
  color: var(--brown);
  background: var(--pink-pale);
  border-radius: 20px;
  font-family: "Playfair Display", serif;
}

/* =====================================================
   EVENTS
===================================================== */

.events {
  background: var(--cream);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.event-card {
  min-height: 220px;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: .25s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(90, 50, 40, .08);
}

.event-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: var(--pink-soft);
  border-radius: 50%;
  font-size: 22px;
}

.event-label {
  color: var(--brown-light);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
}

.event-card p {
  margin-top: 9px;
  color: var(--brown-soft);
  font-size: 11px;
  line-height: 1.6;
}

.map-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 14px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  font-size: 10px;
}

/* =====================================================
   COUNTDOWN
===================================================== */

.countdown {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(245, 141, 150, .20), transparent 22%),
    radial-gradient(circle at 92% 75%, rgba(255, 190, 185, .28), transparent 25%),
    radial-gradient(circle at 55% 5%, rgba(255, 255, 255, .9), transparent 30%),
    linear-gradient(115deg, #ffe3e5, #fff2ee 48%, #ffe7e3);
}

.countdown::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -160px;
  width: 430px;
  height: 300px;
  background: rgba(255, 255, 255, .42);
  border-radius: 48% 52% 64% 36% / 55% 35% 65% 45%;
  transform: rotate(-15deg);
}

.countdown::after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -130px;
  width: 500px;
  height: 330px;
  background: rgba(255, 255, 255, .35);
  border-radius: 42% 58% 35% 65% / 50% 45% 55% 50%;
  transform: rotate(12deg);
}

.countdown-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 40px;
}

.countdown-inner::before {
  content: "♥";
  position: absolute;
  top: 12%;
  left: 3%;
  color: rgba(230, 111, 123, .28);
  font-size: 28px;
  transform: rotate(-18deg);
}

.countdown-inner::after {
  content: "♥";
  position: absolute;
  right: 4%;
  bottom: 12%;
  color: rgba(230, 111, 123, .30);
  font-size: 34px;
  transform: rotate(14deg);
}

.countdown-character {
  position: relative;
  z-index: 4;
  height: 300px;
}

.countdown-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.countdown-content {
  position: relative;
  z-index: 4;
}

.countdown-content .section-label {
  text-align: left;
}

.countdown-title {
  font-size: 38px;
  font-weight: 500;
}

.countdown-content::before {
  content: "";
  position: absolute;
  top: -25px;
  right: -15px;
  width: 85px;
  height: 35px;
  border-top: 2px solid rgba(245, 141, 150, .35);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.countdown-content::after {
  content: "✦";
  position: absolute;
  right: 20px;
  bottom: -55px;
  color: rgba(245, 141, 150, .38);
  font-size: 20px;
  transform: rotate(15deg);
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 25px;
}

.count-item {
  position: relative;
  overflow: hidden;
  padding: 20px 8px;
  text-align: center;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(235, 180, 182, .5);
  border-radius: 17px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 25px rgba(90, 50, 40, .05);
}

.count-item::before {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 35px;
  height: 35px;
  background: rgba(245, 141, 150, .10);
  border-radius: 50%;
}

.count-number {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", serif;
  font-size: 35px;
}

.count-label {
  position: relative;
  z-index: 2;
  margin-top: 4px;
  color: var(--brown-soft);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* =====================================================
   GALLERY
===================================================== */

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.gallery-item {
  position: relative;
  height: 230px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 22px;
  box-shadow: 0 7px 25px rgba(80, 45, 35, .08);
  cursor: pointer;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5),
.gallery-item:nth-child(6) {
  grid-column: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "♥";
  position: absolute;
  top: 10px;
  right: 12px;
  color: #fff;
  font-size: 17px;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .2);
}

/* =====================================================
   RSVP
===================================================== */

.rsvp {
  background: var(--cream);
}

.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rsvp-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 27px;
}

.card-heading {
  margin-bottom: 25px;
  text-align: center;
}

.card-heading h3 {
  font-size: 25px;
  font-weight: 500;
}

.card-heading p {
  margin-top: 6px;
  color: var(--brown-light);
  font-size: 11px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  margin-bottom: 7px;
  color: var(--brown-soft);
  font-size: 10px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--brown);
  background: #fffaf9;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--pink);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  color: #fff;
  background: var(--pink);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
}

.submit-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* =====================================================
   WISHES
===================================================== */

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 385px;
  padding-right: 5px;
  overflow: auto;
}

.wish-card {
  position: relative;
  padding: 17px;
  background: var(--pink-pale);
  border-radius: 17px;
}

.wish-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wish-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--pink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.wish-name {
  font-size: 12px;
  font-weight: 700;
}

.wish-status {
  margin-top: 3px;
  color: var(--pink-dark);
  font-size: 9px;
}

.wish-message {
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: 13px;
  line-height: 1.6;
}

.wish-heart {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--pink);
}

/* =====================================================
   GIFT
===================================================== */

.gift {
  background: #fff;
}

.gift-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 50px;
}

.gift-character {
  height: 320px;
}

.gift-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gift-description {
  margin-top: 20px;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.8;
}

.gift-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.gift-card {
  padding: 23px;
  background: var(--pink-pale);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.gift-bank {
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
}

.gift-number {
  margin-top: 10px;
  color: var(--brown);
  font-weight: 700;
  letter-spacing: .04em;
}

.gift-owner {
  margin-top: 5px;
  color: var(--brown-light);
  font-size: 10px;
}

.copy-btn {
  margin-top: 14px;
  padding: 8px 13px;
  color: var(--brown);
  background: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 9px;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 45px;
  text-align: center;
  background:
    repeating-linear-gradient(
      45deg,
      #ffe3e4 0,
      #ffe3e4 15px,
      #fff0ed 15px,
      #fff0ed 30px
    );
}

.footer-couple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 18px;
  margin: auto;
}

.footer-name {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.footer-character {
  flex-shrink: 0;
  width: 125px;
  height: 95px;
}

.footer-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-text {
  margin-top: 10px;
  color: var(--brown-soft);
  font-size: 10px;
}

/* =====================================================
   MUSIC
===================================================== */

.music-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--pink);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(230, 111, 123, .28);
  transition: .25s ease;
}

.music-float:hover {
  transform: scale(1.06);
}

.music-float.playing {
  animation: musicPulse 1.5s ease-in-out infinite;
}

.disc {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
}

.disc-center {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
}

.music-float.playing .disc {
  animation: musicSpin 3s linear infinite;
}

@keyframes musicSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes musicPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: rgba(45, 27, 23, .92);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: auto;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 15px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 38px;
}

/* =====================================================
   TOAST
===================================================== */

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 3000;
  padding: 11px 18px;
  color: #fff;
  background: var(--brown);
  border-radius: 999px;
  font-size: 11px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: .3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-info {
    justify-content: center;
  }

  .hero-character {
    height: 480px;
  }

  .hero-character-main {
    width: 100%;
    height: 470px;
    right: 0;
  }

  .hero-circle {
    right: 50%;
    width: 380px;
    height: 380px;
    transform: translateX(50%);
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .event-grid {
    grid-template-columns: 1fr 1fr;
  }

  .countdown-inner {
    grid-template-columns: 1fr;
  }

  .countdown-character {
    max-width: 300px;
    margin: auto;
  }

  .rsvp-grid {
    grid-template-columns: 1fr;
  }

  .gift-layout {
    grid-template-columns: 1fr;
  }

  .gift-character {
    max-width: 300px;
    margin: auto;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .cover-card {
    min-height: 600px;
    padding: 50px 25px 35px;
  }

  .cover-character {
    width: 220px;
    height: 160px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-title {
    font-size: 65px;
  }

  .hero-script {
    font-size: 38px;
  }

  .hero-character {
    height: 390px;
  }

  .hero-character-main {
    height: 380px;
    padding: 13px;
  }

  .hero-character-main::before {
    inset: -7px;
  }

  .hero-character-main::after {
    top: 15px;
    right: -13px;
    font-size: 20px;
  }

  .hero-circle {
    top: 40px;
    width: 300px;
    height: 300px;
  }

  .hero-heart.one {
    right: 40px;
  }

  .hero-heart.three {
    left: 20px;
  }

  .story-polaroid img {
    height: 320px;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .countdown::before {
    top: -80px;
    left: -130px;
    width: 280px;
    height: 220px;
  }

  .countdown::after {
    right: -150px;
    bottom: -90px;
    width: 300px;
    height: 220px;
  }

  .countdown-inner::before {
    top: 8%;
    left: 5%;
    font-size: 21px;
  }

  .countdown-inner::after {
    right: 5%;
    bottom: 7%;
    font-size: 25px;
  }

  .count-grid {
    grid-template-columns: 1fr 1fr;
  }

  .count-number {
    font-size: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: span 1;
    height: 180px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 2;
  }

  .rsvp-card {
    padding: 23px;
  }

  .gift-cards {
    grid-template-columns: 1fr;
  }

  .footer-couple {
    gap: 8px;
  }

  .footer-name {
    font-size: clamp(27px, 9vw, 38px);
  }

  .footer-character {
    width: 90px;
    height: 75px;
  }

  .music-float {
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
  }
}

/* =====================================================
   MOBILE BOTTOM NAVIGATION
===================================================== */

.mobile-nav {
  display: none;
}


@media (max-width: 600px) {

  .mobile-nav {
    position: fixed;

    left: 12px;
    right: 12px;
    bottom: 12px;

    z-index: 850;

    height: 58px;

    display: grid;

    grid-template-columns:
      repeat(4, 1fr);

    background:
      rgba(81, 55, 47, .97);

    border:
      1px solid
      rgba(255, 255, 255, .12);

    box-shadow:
      0 10px 30px
      rgba(80, 45, 35, .18);

    border-radius: 0;

    backdrop-filter:
      blur(12px);

    -webkit-backdrop-filter:
      blur(12px);
  }


  .mobile-nav-item {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 3px;

    color:
      rgba(255, 255, 255, .55);

    text-decoration: none;

    font-size: 7px;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
      color .25s ease,
      background .25s ease;
  }


  .mobile-nav-item
  + .mobile-nav-item {
    border-left:
      1px solid
      rgba(255, 255, 255, .10);
  }


  .mobile-nav-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    height: 18px;

    color:
      rgba(255, 255, 255, .55);

    font-size: 15px;

    line-height: 1;
  }


  .mobile-nav-item.active {
    color: #fff;
    background:
      rgba(245, 141, 150, .16);
  }


  .mobile-nav-item.active
  .mobile-nav-icon {
    color:
      var(--pink);
  }


  /* Navbar disembunyikan saat cover masih terbuka */
  body.locked .mobile-nav {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
  }


  /* Tombol musik tetap berada di atas navbar */
  .music-float {
    right: 18px;

    bottom: 82px;

    z-index: 900;
  }


  /* Supaya footer tidak tertutup navbar */
  .footer {
    padding-bottom: 105px;
  }

}


@media (max-width: 420px) {

  .mobile-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;

    height: 56px;
  }


  .mobile-nav-item {
    font-size: 6.5px;
  }


  .mobile-nav-icon {
    font-size: 14px;
  }


  .music-float {
    right: 16px;

    bottom: 78px;
  }

}