:root {
  --bg: #faf9f6;
  --paper: #fff8f0;
  --ink: #3a3a3a;
  --muted: #777777;
  --black: #000000;
  
  --gold: #b08d55;
  --gold-light: #d4b886;
  --brown: #8a6d4b;
  
  --line: rgba(176, 141, 85, 0.2);
  
  --radius-xl: 100px;
  --radius-lg: 12px;
  --radius-md: 8px;
  
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", sans-serif;
  
  --max: 500px;
}

/* Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }

.text-center { text-align: center; }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }

/* Floating Buttons */
.float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.fab:hover { transform: scale(1.1); background: var(--gold); color: #fff; }

/* ===============================================
   MODAL POPUP - Fullscreen Cover
   =============================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.modal[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Background Image */
.modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.modal__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient overlay */
.modal__shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

/* Content container */
.modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 30px;
  text-align: center;
}

/* Top section */
.modal__top {
  animation: modalFadeDown 0.8s ease-out;
}

@keyframes modalFadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  color: #fff;
  margin-bottom: 15px;
  opacity: 0.9;
}

.modal__title {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal__date {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

/* Bottom section */
.modal__bottom {
  animation: modalFadeUp 0.8s ease-out 0.2s both;
}

@keyframes modalFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__guest-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.modal__guest-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 25px;
  font-weight: 500;
}

.modal__btn {
  padding: 14px 35px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  background: rgba(176, 141, 85, 0.85);
  border: 1px solid var(--gold-light);
  color: #fff;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.modal__btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(176, 141, 85, 0.4);
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero--top .hero__img {
  height: 100%;
}

.hero__img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.hero__img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ===============================================
   HERO SLIDESHOW WITH ZOOM BLUR
   =============================================== */
.hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, filter;
}

/* Zoom blur animation on active slide */
.hero__slide.active img {
  animation: zoomBlurSmooth 7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes zoomBlurSmooth {
  0% {
    transform: scale(1) translateZ(0);
    filter: blur(2px);
  }
  30% {
    filter: blur(0px);
  }
  100% {
    transform: scale(1.08) translateZ(0);
    filter: blur(0px);
  }
}

/* Default shade - full gradient */
.hero__shade {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  z-index: 1;
}

/* Top shade - only darkens top portion for text readability */
.hero__shade--top {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 70%
  );
}

/* Blur effect at bottom of photo - fades into next section */
.hero__blur {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(250, 249, 246, 0.3) 20%,
    rgba(250, 249, 246, 0.6) 40%,
    rgba(250, 249, 246, 0.85) 70%,
    rgba(250, 249, 246, 1) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
}

/* Default content - centered */
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 30px;
  width: 100%;
}

/* Top-aligned content */
.hero__content--top-aligned {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* ===============================================
   CLEAN MINIMAL HERO DESIGN
   =============================================== */

.hero__title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 900;
}

/* Quote styling - elegant italic below the names */
.hero__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.3px;
}

.hero__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ===============================================
   SAVE THE DATE SECTION
   =============================================== */
.hero--save {
  min-height: 100vh;
  padding: 60px 20px;
}

.hero__shade--dark {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.save-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.save-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  text-align: left;
  line-height: 1.2;
}

/* Event Details Card */
.save-card {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 30px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.save-card__event {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 20px;
}

.save-card__date {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}

.save-card__time {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.save-card__location {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Google Maps Button */
.btn--maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: var(--muted);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn--maps:hover {
  background: var(--gold-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn--maps svg {
  flex-shrink: 0;
}

/* Countdown Card */
.countdown-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.cd-box {
  text-align: center;
  padding: 15px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}

.cd-box__num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 5px;
}

.cd-box__label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: capitalize;
}

/* Save The Date Button */
.btn--save-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.btn--save-date:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn--save-date svg {
  flex-shrink: 0;
}

/* PAPER / CONTENT SECTIONS */
.section {
  padding: 10px 30px;
  background: var(--paper);
  position: relative;
}

.section::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 40px auto 0;
  opacity: 0.5;
}

.paper {
  padding: 10px 20px;
  background: var(--paper);
}

.paper__card {
  padding: 30px 20px;
  text-align: center;
}

.paper__small {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Arch Card (Om Swastiastu) */
.arch-card {
  text-align: right;
  margin: 40px 0;
}

.arch-img-frame {
  width: 150px;
  height: 200px;
  margin: 0 auto 30px;
  border-radius: 100px 100px 0 0;
  overflow: hidden;
  border: 4px solid var(--gold-light);
  padding: 5px;
}

.arch-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 90px 90px 0 0;
}

.arch-card__title {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 15px;
}

.arch-card__text {
  font-size: 0.95rem;
  color: var(--sans);
  line-height: 1.8;
}

/* ===============================================
   MEMPELAI SECTION - New Overlapping Photo Design
   =============================================== */
.mempelai-section {
  padding: 10px 0;
}

.mempelai {
  position: relative;
  padding: 20px;
  margin-bottom: 60px;
}

.mempelai:last-child {
  margin-bottom: 0;
}

/* Curved Label */
.mempelai__curved-label {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  z-index: 10;
}

.mempelai__curved-label--right {
  right: auto;
  left: 20px;
}

/* Curved Text Effect */
.curved-text {
  position: relative;
  width: 100%;
  height: 100%;
}

.curved-text span {
  position: absolute;
  top: 0;
  left: 50%;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0px;
  color: var(--ink);
  transform-origin: center 45px;
  text-transform: uppercase;
}

/* Position each letter along the curve - MEMPELAI PRIA (13 chars) */
.curved-text span:nth-child(1) { transform: rotate(-45deg); }
.curved-text span:nth-child(2) { transform: rotate(-35deg); }
.curved-text span:nth-child(3) { transform: rotate(-25deg); }
.curved-text span:nth-child(4) { transform: rotate(-15deg); }
.curved-text span:nth-child(5) { transform: rotate(-5deg); }
.curved-text span:nth-child(6) { transform: rotate(5deg); }
.curved-text span:nth-child(7) { transform: rotate(15deg); }
.curved-text span:nth-child(8) { transform: rotate(25deg); }
.curved-text span:nth-child(9) { transform: rotate(35deg); } /* space */
.curved-text span:nth-child(10) { transform: rotate(45deg); }
.curved-text span:nth-child(11) { transform: rotate(55deg); }
.curved-text span:nth-child(12) { transform: rotate(65deg); }
.curved-text span:nth-child(13) { transform: rotate(75deg); }

/* Reverse curve for bride section - MEMPELAI WANITA (15 chars) */
.curved-text--reverse span {
  transform-origin: center 45px;
}

.curved-text--reverse span:nth-child(1) { transform: rotate(45deg) scaleX(-1); }
.curved-text--reverse span:nth-child(2) { transform: rotate(35deg) scaleX(-1); }
.curved-text--reverse span:nth-child(3) { transform: rotate(25deg) scaleX(-1); }
.curved-text--reverse span:nth-child(4) { transform: rotate(15deg) scaleX(-1); }
.curved-text--reverse span:nth-child(5) { transform: rotate(5deg) scaleX(-1); }
.curved-text--reverse span:nth-child(6) { transform: rotate(-5deg) scaleX(-1); }
.curved-text--reverse span:nth-child(7) { transform: rotate(-15deg) scaleX(-1); }
.curved-text--reverse span:nth-child(8) { transform: rotate(-25deg) scaleX(-1); }
.curved-text--reverse span:nth-child(9) { transform: rotate(-35deg) scaleX(-1); } /* space */
.curved-text--reverse span:nth-child(10) { transform: rotate(-45deg) scaleX(-1); }
.curved-text--reverse span:nth-child(11) { transform: rotate(-55deg) scaleX(-1); }
.curved-text--reverse span:nth-child(12) { transform: rotate(-65deg) scaleX(-1); }
.curved-text--reverse span:nth-child(13) { transform: rotate(-75deg) scaleX(-1); }
.curved-text--reverse span:nth-child(14) { transform: rotate(-85deg) scaleX(-1); }
.curved-text--reverse span:nth-child(15) { transform: rotate(-95deg) scaleX(-1); }

/* Photos Container */
.mempelai__photos {
  position: relative;
  margin-bottom: 40px;
  margin-top: 20px;
}

/* Main Photo */
.mempelai__main-photo {
  width: 70%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.mempelai__main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mempelai__photos--reverse .mempelai__main-photo {
  margin-left: auto;
}

/* Secondary Photo (Overlapping) */
.mempelai__secondary-photo {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 45%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mempelai__secondary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.mempelai__secondary-photo--left {
  right: auto;
  left: 0;
}

/* Info Section */
.mempelai__info {
  text-align: left;
  padding-top: 30px;
}

.mempelai__info--right {
  text-align: right;
}

.mempelai__name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 12px;
}

.mempelai__parents {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Dark Instagram Button */
.btn--dark {
  display: inline-block;
  padding: 12px 25px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-radius: 25px;
  transition: all 0.3s;
}

.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Legacy Profile Cards (keeping for backwards compatibility) */
.profile {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.profile__card {
  text-align: center;
}

.profile__media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
  padding: 5px;
}

.profile__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
}

.profile__label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
}

.profile__name {
  font-size: 2rem;
  margin: 5px 0;
}

.profile__desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 15px;
}

/* Story Section */
.paper__card--story {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--line);
  background-color: var(--black);
  margin: 20px 0;
}

.paper__title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.paper__text {
  color: var(--muted);
  margin-bottom: 30px;
}

.signature {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.signature__line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* Save The Date */
.hero--mid {
  height: 60vh;
}

.hero--mid .hero__content {
  background: rgba(255,255,255,0.9);
  padding: 40px;
  color: var(--ink);
  margin: 20px;
  width: auto;
  border: 1px solid var(--gold);
}

.hero--mid .hero__title {
  color: var(--gold);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.cd {
  text-align: center;
}

.cd__num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
}

.cd__lab {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
}

/* Key-Value rows */
.kv__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.kv__k {
  font-size: 0.85rem;
  color: var(--muted);
}

.kv__v {
  font-family: var(--serif);
  font-size: 1rem;
}

/* RSVP Form */
.form {
  margin-top: 30px;
  text-align: left;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: var(--muted);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1rem;
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--gold);
}

.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Wishes */
.wishes {
  margin-top: 40px;
}

.wishes__title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-align: center;
}

.wishes__list {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  margin-top: 20px;
  
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) var(--paper);
}

/* Webkit scrollbar styling */
.wishes__list::-webkit-scrollbar {
  width: 8px;
}

.wishes__list::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 4px;
}

.wishes__list::-webkit-scrollbar-thumb {
  background: var(--gold-light);
  border-radius: 4px;
}

.wishes__list::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.wish-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease;
  position: relative;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-item:hover {
  box-shadow: 0 4px 16px rgba(176, 141, 85, 0.15);
  transform: translateY(-3px);
  border-color: var(--gold-light);
}

.wish-item strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  padding-right: 100px;
}

.wish-status {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.7rem;
  padding: 5px 14px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(176, 141, 85, 0.3);
}

.wish-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
  padding-left: 15px;
  border-left: 3px solid var(--gold-light);
}

.no-wishes {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  padding: 40px 20px;
  font-size: 1rem;
}

/* Gallery Grid */
.hero--gallery {
  height: 40vh;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.m-item {
  border: none;
  padding: 0;
  background: none;
  width: 100%;
  cursor: pointer;
}

.m-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: all 0.5s;
}

.m-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.m-item.wide { grid-column: span 2; }
.m-item.tall img { height: 410px;padding: 6px;border-radius: 17px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn:hover {
  background: var(--gold);
  color: #fff;
}

.btn--primary {
  background: var(--gold);
  color: #fff;
}

.btn--primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn--ghost { border-color: var(--muted); color: var(--muted); }

.btn--tiny {
  padding: 5px 15px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  min-width: auto;
  margin-top: 0;
}

/* Gift */
.gift__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 20px 0;
}

.gift__bank { font-weight: bold; color: var(--gold); }
.gift__num { font-family: var(--serif); font-size: 1.2rem; }

/* Footer */
.footer {
  padding: 50px 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer__muted {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===============================================
   PROFESSIONAL GALLERY LIGHTBOX
   =============================================== */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
}

.gallery-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 85vh;
}

.gallery-lightbox__image-wrapper img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close Button */
.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.gallery-lightbox__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.gallery-lightbox__close svg {
  width: 24px;
  height: 24px;
}

/* Navigation Arrows */
.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.gallery-lightbox__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.gallery-lightbox__nav--prev {
  left: 20px;
}

.gallery-lightbox__nav--next {
  right: 20px;
}

.gallery-lightbox__nav svg {
  width: 24px;
  height: 24px;
}

/* Image Counter */
.gallery-lightbox__counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  z-index: 3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-lightbox__nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-lightbox__nav--prev {
    left: 10px;
  }
  
  .gallery-lightbox__nav--next {
    right: 10px;
  }
  
  .gallery-lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .gallery-lightbox__counter {
    bottom: 20px;
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

.curve-wrap{
  position:absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
}
.curve{
  width:100%;
  height:100%;
}
.curve text{
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  fill: #2a2623;
}