* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  font-family: 'Lato', sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
}

/* COVER */
#cover {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 52px;
  background: linear-gradient(135deg, #0a1628 0%, #000000 100%);
}

.cover-photo {
  position: absolute;
  inset: 0;
  background-image: url('preweding.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.92) 80%, rgba(0,0,0,0.98) 100%);
}

.cover-frame {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(126,200,227,0.05) 0px, rgba(126,200,227,0.05) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
}

.cover-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 28px;
  width: 100%;
}

.arabic {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  line-height: 1.8;
  font-family: 'Cormorant Garamond', serif;
}

.cover-label {
  font-family: 'Great Vibes', cursive;
  font-size: 24px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}

.cover-names {
  font-family: 'Great Vibes', cursive;
  font-size: 60px;
  color: #7ec8e3;
  line-height: 1.05;
  margin-bottom: 4px;
  text-shadow: 0 0 40px rgba(126,200,227,0.35);
}

.cover-and {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: #aad4e8;
  display: block;
}

.cover-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, #7ec8e3, transparent);
  margin: 10px auto 12px;
}

.cover-dates {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 2;
}

.cover-to {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  line-height: 1.9;
  font-weight: 300;
}

.cover-to strong {
  font-weight: 700;
  color: #fff;
  display: block;
  font-size: 15px;
}

.btn-open {
  display: block;
  width: 88%;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px;
  background: transparent;
  border: 1px solid #7ec8e3;
  color: #7ec8e3;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-open:hover {
  background: rgba(126,200,227,0.12);
}

/* DETAIL */
#detail {
  display: none;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,5,15,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(126,200,227,0.12);
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 10px 6px;
  flex-wrap: wrap;
}

.nav-item {
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  padding: 7px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
}

.nav-item:hover, .nav-item.active {
  color: #7ec8e3;
  background: rgba(126,200,227,0.1);
}

/* TOMBOL AUTO SCROLL */
.scroll-control {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 1000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(126,200,227,0.5);
  border-radius: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.scroll-control:hover {
  transform: scale(1.05);
  background: rgba(0,0,0,0.9);
  border-color: #7ec8e3;
}

.scroll-icon svg {
  transition: transform 0.3s ease;
}

.scroll-control:hover .scroll-icon svg {
  transform: translateY(3px);
}

.scroll-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #7ec8e3;
}

.scroll-control.off {
  border-color: rgba(255,255,255,0.3);
  opacity: 0.7;
}

.scroll-control.off .scroll-text {
  color: rgba(255,255,255,0.5);
}

/* Section */
.section {
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  font-size: 9.5px;
  letter-spacing: 3px;
  color: #7ec8e3;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Great Vibes', cursive;
  font-size: 46px;
  color: #7ec8e3;
  margin-bottom: 6px;
}

.sec-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  margin-bottom: 28px;
  line-height: 1.75;
}

.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #7ec8e3, transparent);
  margin: 0 auto 24px;
}

/* COUPLE */
.couple-wrap {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.couple-card {
  flex: 1;
  min-width: 150px;
  background: rgba(126,200,227,0.04);
  border: 1px solid rgba(126,200,227,0.18);
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.couple-card:hover {
  transform: translateY(-5px);
  border-color: rgba(126,200,227,0.4);
  box-shadow: 0 10px 25px rgba(126,200,227,0.15);
}

.c-photo {
  width: 86px;
  height: 105px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 1px solid rgba(126,200,227,0.28);
}

.c-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.c-name {
  font-family: 'Great Vibes', cursive;
  font-size: 30px;
  color: #7ec8e3;
  margin-bottom: 8px;
}

.c-role {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.c-parents {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
}

.c-parents .p-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7ec8e3;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-family: 'Lato', sans-serif;
}

.alm {
  font-size: 10px;
  color: rgba(126,200,227,0.5);
  font-style: italic;
}

.and-sym {
  font-family: 'Great Vibes', cursive;
  font-size: 52px;
  color: #7ec8e3;
  align-self: center;
  flex-shrink: 0;
  opacity: 0.6;
}

/* EVENT */
#s-event {
  background: #000510;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin: 22px 0 28px;
}

.cd-box {
  background: rgba(126,200,227,0.05);
  border: 1px solid rgba(126,200,227,0.18);
  border-radius: 8px;
  padding: 14px 4px;
  text-align: center;
  transition: all 0.3s ease;
}

.cd-box:hover {
  transform: scale(1.02);
  border-color: rgba(126,200,227,0.4);
}

.cd-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: #7ec8e3;
  font-weight: 600;
  line-height: 1;
}

.cd-lbl {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: 4px;
}

.event-card {
  background: rgba(126,200,227,0.04);
  border: 1px solid rgba(126,200,227,0.15);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateX(5px);
  border-color: rgba(126,200,227,0.3);
}

.event-header {
  background: rgba(126,200,227,0.08);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(126,200,227,0.12);
}

.event-icon {
  font-size: 18px;
}

.event-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #7ec8e3;
  text-transform: uppercase;
  font-weight: 700;
}

.event-body {
  padding: 16px 18px;
  text-align: left;
}

.event-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.event-date {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3px;
}

.event-time {
  font-size: 12px;
  color: rgba(126,200,227,0.7);
  letter-spacing: 1px;
}

.loc-card {
  background: rgba(126,200,227,0.04);
  border: 1px solid rgba(126,200,227,0.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  text-align: left;
  transition: all 0.3s ease;
}

.loc-card:hover {
  transform: translateX(-5px);
  border-color: rgba(126,200,227,0.3);
}

.loc-label {
  font-size: 9.5px;
  letter-spacing: 2px;
  color: #7ec8e3;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.loc-address {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}

.loc-city {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

.btn-outline {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 26px;
  background: transparent;
  border: 1px solid rgba(126,200,227,0.45);
  color: #7ec8e3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(126,200,227,0.08);
  transform: scale(1.02);
}

/* GALLERY */
.gallery-hero {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(126,200,227,0.18);
  transition: all 0.3s ease;
}

.gallery-hero:hover {
  transform: scale(1.01);
  border-color: rgba(126,200,227,0.4);
}

.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.g-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(126,200,227,0.12);
  transition: all 0.3s ease;
}

.g-item:hover {
  transform: scale(1.03);
  border-color: rgba(126,200,227,0.4);
}

.g-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* RSVP */
#s-rsvp {
  background: #000510;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea,
.wish-form input,
.wish-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(126,200,227,0.22);
  border-radius: 6px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus,
.wish-form input:focus,
.wish-form textarea:focus {
  border-color: #7ec8e3;
  transform: scale(1.01);
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder,
.wish-form input::placeholder,
.wish-form textarea::placeholder {
  color: rgba(255,255,255,0.22);
}

.rsvp-form select option,
.wish-form select option {
  background: #000d18;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: #7ec8e3;
  color: #000d18;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #5ab8d9;
  transform: scale(1.02);
}

.rsvp-ok {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.rsvp-ok .big {
  font-family: 'Great Vibes', cursive;
  font-size: 40px;
  color: #7ec8e3;
  margin: 12px 0 10px;
}

/* WISHES */
.wish-card {
  background: rgba(126,200,227,0.04);
  border: 1px solid rgba(126,200,227,0.1);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
  text-align: left;
  transition: all 0.3s ease;
}

.wish-card:hover {
  transform: translateX(5px);
  border-color: rgba(126,200,227,0.3);
}

.wish-name {
  font-weight: 700;
  font-size: 11px;
  color: #7ec8e3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wish-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
}

.wish-form {
  text-align: left;
  margin-bottom: 28px;
}

/* FOOTER */
.footer {
  padding: 56px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(126,200,227,0.08);
  background: #000000;
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 54px;
  color: #7ec8e3;
  margin-bottom: 14px;
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
  max-width: 300px;
  margin: 0 auto 22px;
}

.footer-date {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.22);
  text-transform: uppercase;
}

/* AMPLOP ONLINE STYLES */
.gift-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.gift-card {
  background: rgba(126,200,227,0.04);
  border: 1px solid rgba(126,200,227,0.18);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gift-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(126,200,227,0.5);
  box-shadow: 0 15px 30px rgba(126,200,227,0.15);
}

.gift-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.gift-bank {
  font-family: 'Great Vibes', cursive;
  font-size: 28px;
  color: #7ec8e3;
  margin-bottom: 12px;
}

.gift-number {
  font-family: 'Lato', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
  background: rgba(126,200,227,0.1);
  padding: 8px;
  border-radius: 6px;
  display: inline-block;
}

.gift-name {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.btn-copy {
  background: rgba(126,200,227,0.15);
  border: 1px solid rgba(126,200,227,0.3);
  color: #7ec8e3;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-copy:hover {
  background: rgba(126,200,227,0.3);
  transform: scale(1.02);
}

.gift-note {
  text-align: center;
  margin-top: 20px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}

/* TOAST NOTIFICATION */
.toast-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #7ec8e3;
  color: #000d18;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: bold;
  z-index: 1000;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* MUSIC PLAYER STYLES */
.music-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.music-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  border: 2px solid #7ec8e3;
  color: #7ec8e3;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.music-btn:hover {
  transform: scale(1.08);
  background: rgba(126,200,227,0.2);
}

.music-btn.playing {
  animation: musicPulse 1.5s infinite;
}

@keyframes musicPulse {
  0% { box-shadow: 0 0 0 0 rgba(126,200,227,0.7); }
  70% { box-shadow: 0 0 0 15px rgba(126,200,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(126,200,227,0); }
}

/* ANIMASI BUNGA JATUH */
.floating-flower {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 22px;
  animation: flowerFall linear forwards;
}

@keyframes flowerFall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .section {
    padding: 40px 16px 35px;
  }
  
  .sec-title {
    font-size: 38px;
  }
  
  .cover-names {
    font-size: 48px;
  }
  
  .couple-wrap {
    gap: 10px;
  }
  
  .nav-item {
    font-size: 8px;
    padding: 5px 6px;
  }
  
  .gift-bank {
    font-size: 24px;
  }
  
  .gift-number {
    font-size: 16px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .section {
    padding: 50px 32px 45px;
  }
}

/* Animasi tambahan untuk elemen */
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section.visible .couple-card,
.section.visible .event-card,
.section.visible .gift-card {
  animation: fadeScale 0.5s ease forwards;
}


// CSS
.floating-flower-enhanced {
  position: fixed;
  top: -30px;
  pointer-events: none;
  z-index: 999;
  animation: floatDown linear forwards;
}

@keyframes floatDown {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}