/* ===========================================
   WEDDING-9 | Dark Luxury Celestial
   Modern UI/UX 2026 — Separated CSS File
   =========================================== */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap");

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-bg: #0b0c14;
  --color-bg-2: #111220;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-gold: #c9a96e;
  --color-gold-light: #e8d5a3;
  --color-gold-dark: #9a7a45;
  --color-indigo: #6c63ff;
  --color-text: #e8e8f0;
  --color-text-muted: rgba(232, 232, 240, 0.55);
  --color-white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.15);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Stars Background Canvas --- */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Everything above stars */
.site-wrapper {
  position: relative;
  z-index: 1;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}
h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}
h4 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}
h5 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

p {
  color: var(--color-text-muted);
  line-height: 1.8;
}
a {
  color: var(--color-gold);
  text-decoration: none;
}

.font-serif {
  font-family: var(--font-serif);
}
.gold-text {
  color: var(--color-gold);
}
.text-muted {
  color: var(--color-text-muted);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Divider --- */
.gold-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
  margin: 16px auto;
}
.gold-divider-left {
  margin: 16px 0;
}

/* --- Gold Gradient Text --- */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-gold-light) 0%,
    var(--color-gold) 50%,
    var(--color-gold-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background 0.3s var(--transition),
    border-color 0.3s var(--transition),
    transform 0.3s var(--transition);
}
.glass-card:hover {
  background: var(--color-surface-hover);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(
    135deg,
    var(--color-gold) 0%,
    var(--color-gold-dark) 100%
  );
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}
.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s var(--transition);
}
.btn-ghost:hover {
  background: rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION: OPENING / SPLASH
   ============================================================ */
#opening {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  transition:
    opacity 0.8s var(--transition),
    visibility 0.8s;
}
#opening.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#opening .opening-ornament {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  position: relative;
  animation: pulseOrb 3s ease-in-out infinite;
}
#opening .opening-ornament::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(201, 169, 110, 0.08);
  border-radius: 50%;
}
#opening .opening-ornament svg {
  width: 64px;
  height: 64px;
  opacity: 0.8;
}

@keyframes pulseOrb {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.2);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(201, 169, 110, 0);
  }
}

#opening .greeting {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
#opening .guest-name {
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 24px;
}
#opening .couple-name-opening {
  margin-bottom: 8px;
}
#opening .wedding-date-opening {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* ============================================================
   SECTION: NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition:
    background 0.4s,
    padding 0.4s,
    box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(11, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-gold);
}
.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-gold);
}
.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.navbar-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  display: block;
  transition: all 0.3s;
}
.navbar-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.navbar-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.navbar-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 20, 0.98);
  z-index: 99;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-text);
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--color-gold);
}

/* ============================================================
   SECTION: HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  opacity: 0.8;
}
.hero-couple {
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero-ampersand {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 9rem);
  color: rgba(201, 169, 110, 0.12);
  line-height: 1;
  margin: -20px 0;
}
.hero-date {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 28px 0 40px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounceY 2s ease-in-out infinite;
}
.hero-scroll-hint svg {
  width: 20px;
  opacity: 0.5;
}
@keyframes bounceY {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
section {
  padding: 100px 0;
  position: relative;
}
.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  margin-bottom: 16px;
}
.section-desc {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}
.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SECTION: COUPLE (Mempelai)
   ============================================================ */
#section-couple {
  background-color: var(--color-bg-2);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}
.couple-card {
  text-align: center;
}
.couple-img-wrap {
  width: 200px;
  height: 260px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
}
.couple-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(201, 169, 110, 0.2) 100%
  );
  z-index: 1;
}
.couple-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.couple-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 8px;
}
.couple-role {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.couple-parents {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.couple-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.couple-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: all 0.3s;
}
.couple-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.couple-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.couple-divider-symbol {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
}
.couple-divider-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-gold),
    transparent
  );
}

/* ============================================================
   SECTION: COUNTDOWN
   ============================================================ */
#section-countdown {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-2) 100%
  );
  text-align: center;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.countdown-item {
  min-width: 110px;
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.countdown-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-gold),
    transparent
  );
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-gold);
  line-height: 1;
  display: block;
}
.countdown-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 8px;
  display: block;
}
.countdown-sep {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-gold);
  align-self: center;
  opacity: 0.4;
}

/* ============================================================
   SECTION: GALLERY
   ============================================================ */
#section-gallery {
  background-color: var(--color-bg);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 48px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item-overlay-icon {
  color: var(--color-gold);
  font-size: 1.5rem;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.2s;
}
.lightbox-arrow:hover {
  background: rgba(201, 169, 110, 0.2);
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}

/* ============================================================
   SECTION: LOVE STORY
   ============================================================ */
#section-story {
  background-color: var(--color-bg-2);
}

.story-timeline {
  margin-top: 60px;
  position: relative;
  padding-left: 0;
}
.story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-gold),
    transparent
  );
  transform: translateX(-50%);
}
.story-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 60px;
  align-items: center;
}
.story-item:last-child {
  margin-bottom: 0;
}
.story-content {
  padding: 28px;
}
.story-item:nth-child(odd) .story-content {
  text-align: right;
  padding-right: 40px;
}
.story-item:nth-child(even) .story-content-empty {
  order: -1;
}
.story-item:nth-child(even) .story-content {
  padding-left: 40px;
  grid-column: 3;
}

.story-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.story-dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-bg-2);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
}
.story-year {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.story-title {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 10px;
}
.story-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ============================================================
   SECTION: SCHEDULE (Jadwal)
   ============================================================ */
#section-schedule {
  background: var(--color-bg);
}

.schedule-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.schedule-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}
.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-indigo), var(--color-gold));
}
.schedule-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.schedule-type {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}
.schedule-card h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.schedule-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.schedule-detail-icon {
  color: var(--color-gold);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.schedule-detail-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.schedule-detail-text strong {
  display: block;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION: LOCATION (Lokasi)
   ============================================================ */
#section-location {
  background-color: var(--color-bg-2);
}

.location-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
}
.location-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
  filter: invert(90%) hue-rotate(180deg);
}
.location-info-bar {
  background: var(--color-surface);
  backdrop-filter: blur(16px);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--color-border);
}
.location-name h4 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.location-name p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ============================================================
   SECTION: RSVP & WISHES
   ============================================================ */
#section-rsvp {
  background: var(--color-bg);
}

.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.rsvp-form-wrap,
.wishes-wrap {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--color-gold);
}
.form-control::placeholder {
  color: rgba(232, 232, 240, 0.3);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.radio-label input {
  display: none;
}
.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
  flex-shrink: 0;
}
.radio-label input:checked ~ .radio-custom {
  border-color: var(--color-gold);
}
.radio-label input:checked ~ .radio-custom::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* Wishes */
.wishes-list {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
}
.wishes-list::-webkit-scrollbar {
  width: 4px;
}
.wishes-list::-webkit-scrollbar-track {
  background: transparent;
}
.wishes-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
.wish-item {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}
.wish-item:hover {
  border-color: rgba(201, 169, 110, 0.2);
}
.wish-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.wish-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
}
.wish-badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(201, 169, 110, 0.12);
  color: var(--color-gold);
}
.wish-badge.not-attend {
  background: rgba(232, 232, 240, 0.06);
  color: var(--color-text-muted);
}
.wish-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.wish-empty {
  text-align: center;
  padding: 40px;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

/* ============================================================
   SECTION: CLOSING
   ============================================================ */
#section-closing {
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-2) 100%
  );
  text-align: center;
  padding: 120px 0;
}
.closing-ornament-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.closing-ornament-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}
.closing-ornament-line.rev {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}
.closing-ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
}
footer p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
}
footer a {
  color: var(--color-gold);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.fab-group {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 12, 20, 0.85);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  transition: all 0.3s var(--transition);
  box-shadow: var(--shadow-card);
}
.fab:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: scale(1.1);
}
#btn-to-top {
  display: none;
}

/* ============================================================
   ANIMATIONS & AOS Overrides
   ============================================================ */
[data-aos] {
  transition-property: transform, opacity;
}

/* --- Fade Up --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--transition),
    transform 0.7s var(--transition);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fade In --- */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--transition);
}
.fade-in.visible {
  opacity: 1;
}

/* Delay helpers */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   RESPONSIVE — TABLET (< 992px)
   ============================================================ */
@media (max-width: 992px) {
  .couple-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .couple-divider {
    flex-direction: row;
  }
  .couple-divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      var(--color-gold),
      transparent
    );
  }
  .story-timeline::before {
    left: 16px;
    transform: none;
    width: 2px;
  }
  .story-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas: "dot content";
    gap: 0;
    margin-bottom: 40px;
    align-items: start;
  }
  .story-dot {
    grid-area: dot;
    justify-content: center;
    padding-top: 5px;
  }
  .story-dot-inner {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
  }
  .story-content {
    grid-area: content;
    padding: 0 0 0 20px !important;
    text-align: left !important;
  }
  .story-content-empty {
    display: none;
  }
  .story-year {
    font-size: 0.65rem;
  }
  .story-title {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }
  .story-desc {
    font-size: 0.82rem;
    line-height: 1.6;
  }
  .schedule-cards {
    grid-template-columns: 1fr;
  }
  .rsvp-grid {
    grid-template-columns: 1fr;
  }
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 640px)
   ============================================================ */
@media (max-width: 640px) {
  section {
    padding: 60px 0;
  }
  .container {
    padding: 0 20px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .navbar-links {
    display: none;
  }
  .navbar-hamburger {
    display: flex;
  }
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
    gap: 8px;
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .countdown-grid {
    gap: 8px;
  }
  .countdown-item {
    min-width: 70px;
    padding: 16px 8px;
  }
  .countdown-num {
    font-size: 1.8rem;
  }
  .location-info-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .rsvp-form-wrap,
  .wishes-wrap {
    padding: 20px;
  }
  .schedule-card {
    padding: 30px 20px;
  }
}
