/*
Theme Name: Wedding Invite - Premium with Music
Theme URI: -
Author: Custom
Description: Modern wedding invitation with auto-play music, icons, and premium design.
Version: 9.0.0
License: GNU General Public License v2 or later
Text Domain: wedding-invite
*/

:root {
  --color-primary: #1e3a5f;
  --color-primary-light: #2c5f7c;
  --color-primary-dark: #142847;
  --color-accent: #c9a961;
  --color-accent-light: #e8d5a3;
  --color-accent-soft: rgba(201, 169, 97, 0.15);
  --color-bg: #f0f4f8;
  --color-bg-warm: #e8f0f5;
  --color-card: rgba(255, 255, 255, 0.95);
  --color-card-solid: #FFFFFF;
  --color-text: #1a2332;
  --color-text-light: #5a6c7d;
  --color-text-muted: #8a9bae;
  --color-border: rgba(201, 169, 97, 0.3);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-card: 0 8px 32px rgba(30, 58, 95, 0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-elevated: 0 20px 60px rgba(30, 58, 95, 0.2);
  --shadow-glow: 0 0 40px rgba(201, 169, 97, 0.2);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.wedding-front {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body.wedding-front.cover-active {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

/* ============================================
   MUSIC CONTROL BUTTON (FLOATING)
   ============================================ */
.music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.music-control.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.music-control:active {
  transform: scale(0.9);
}

.music-control .music-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.music-control.playing .music-icon {
  animation: musicSpin 3s linear infinite;
}

@keyframes musicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Music bars animation */
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.music-bar {
  width: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: musicBar 0.8s ease-in-out infinite;
}

.music-bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.music-bar:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.music-bar:nth-child(3) { height: 70%; animation-delay: 0.4s; }
.music-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }

.music-control:not(.playing) .music-bar {
  animation: none;
  height: 30% !important;
}

@keyframes musicBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ============================================
   COVER - FULL SCREEN PHOTO WITH BACKGROUND
   ============================================ */
.cover-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  transition: transform 1s var(--ease-out-expo), opacity 0.8s ease;
}

.cover-overlay.opened {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(44, 95, 124, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, #1e3a5f 0%, #2c5f7c 40%, #1e3a5f 100%);
  animation: meshShift 15s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% {
    background: 
      radial-gradient(ellipse at 20% 30%, rgba(201, 169, 97, 0.4) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 70%, rgba(44, 95, 124, 0.5) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.3) 0%, transparent 60%),
      linear-gradient(135deg, #1e3a5f 0%, #2c5f7c 40%, #1e3a5f 100%);
  }
  100% {
    background: 
      radial-gradient(ellipse at 30% 40%, rgba(201, 169, 97, 0.5) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 60%, rgba(44, 95, 124, 0.6) 0%, transparent 50%),
      radial-gradient(ellipse at 40% 90%, rgba(201, 169, 97, 0.4) 0%, transparent 60%),
      linear-gradient(135deg, #142847 0%, #1e3a5f 40%, #2c5f7c 100%);
  }
}

.cover-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.08;
  background-image: 
    radial-gradient(circle at 25% 25%, #c9a961 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #ffffff 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.cover-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 2;
}

.cover-orb-1 {
  width: 200px;
  height: 200px;
  background: rgba(201, 169, 97, 0.3);
  top: 10%;
  left: -50px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.cover-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(44, 95, 124, 0.4);
  bottom: 20%;
  right: -80px;
  animation: orbFloat2 14s ease-in-out infinite;
}

.cover-orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(201, 169, 97, 0.25);
  top: 50%;
  left: 50%;
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.1); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -30px) scale(1.15); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-40%, -60%) scale(1.2); }
}

/* ============================================
   COVER DECORATION - TOP RIGHT CORNER
   ============================================ */
.cover-decor-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  animation: decorFadeIn 1s 0.5s var(--ease-out-expo) forwards;
}

@keyframes decorFadeIn {
  from { opacity: 0; transform: translate(20px, -20px); }
  to { opacity: 1; transform: translate(0, 0); }
}

.cover-decor-top-right svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
  opacity: 0.5;
  filter: drop-shadow(0 2px 8px rgba(201, 169, 97, 0.3));
}

/* Small decorative dots around corner */
.cover-decor-dots {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  animation: decorFadeIn 1s 0.8s var(--ease-out-expo) forwards;
}

.cover-decor-dots .dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.6;
}

.cover-decor-dots .dot:nth-child(1) { top: 0; right: 0; }
.cover-decor-dots .dot:nth-child(2) { top: 0; right: 20px; opacity: 0.4; }
.cover-decor-dots .dot:nth-child(3) { top: 0; right: 40px; opacity: 0.2; }
.cover-decor-dots .dot:nth-child(4) { top: 20px; right: 0; opacity: 0.4; }
.cover-decor-dots .dot:nth-child(5) { top: 40px; right: 0; opacity: 0.2; }

/* ============================================
   COVER PHOTO & CONTENT
   ============================================ */
.cover-photo-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 3;
}

.cover-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: 
    linear-gradient(180deg, 
      rgba(30, 58, 95, 0.3) 0%, 
      rgba(30, 58, 95, 0.1) 30%,
      rgba(30, 58, 95, 0.2) 60%,
      rgba(30, 58, 95, 0.75) 100%
    );
  pointer-events: none;
}

.cover-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 32px 24px;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 14px;
  padding-bottom: 70px;
}

.cover-badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.3s var(--ease-out-expo) forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cover-names {
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.6s var(--ease-out-expo) forwards;
  background: rgba(30, 58, 95, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.cover-names h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.cover-names .ampersand {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.5rem;
  display: block;
  margin: 6px 0;
  text-shadow: 0 2px 10px rgba(201, 169, 97, 0.6);
}

.cover-date {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--color-accent-light);
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.9s var(--ease-out-expo) forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cover-guest {
  margin-top: 6px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.1s var(--ease-out-expo) forwards;
}

.cover-guest p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cover-guest .guest-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-accent);
  text-shadow: 0 2px 10px rgba(201, 169, 97, 0.6);
}

.btn-open {
  margin-top: 16px;
  padding: 14px 40px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.4s var(--ease-spring);
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.3s var(--ease-out-expo) forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.5);
}

.btn-open::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.5s 2s infinite;
}

.btn-open:active {
  transform: scale(0.95);
}

/* ============================================
   PAGE CONTAINER
   ============================================ */
.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* ============================================
   SECTIONS - DIRECTIONAL ANIMATION
   ============================================ */
.invite-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%) scale(0.95);
  transition: 
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth),
    visibility 0s linear 0.6s;
  will-change: transform, opacity;
}

.invite-section.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 10;
  transition: 
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth),
    visibility 0s linear 0s;
}

.invite-section.exit-up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%) scale(0.95);
  transition: 
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth),
    visibility 0s linear 0.6s;
}

.invite-section.exit-down {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%) scale(0.95);
  transition: 
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth),
    visibility 0s linear 0.6s;
}

.invite-section.entry-from-top {
  opacity: 0;
  visibility: visible;
  transform: translateY(-100%) scale(0.95);
  transition: none;
}

.invite-section.entry-from-bottom {
  opacity: 0;
  visibility: visible;
  transform: translateY(100%) scale(0.95);
  transition: none;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.scroll-indicator.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-muted);
  opacity: 0.3;
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
}

.scroll-dot.active {
  opacity: 1;
  background: var(--color-accent);
  transform: scale(1.5);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.section-opening { background: var(--color-bg); }
.section-couple { 
  background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
}
.section-event { 
  background: var(--color-bg);
  position: relative;
}
.section-gift { background: var(--color-bg-warm); }
.section-wishes { 
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 100%);
  overflow: hidden;
}
.section-rsvp { background: var(--color-bg); }
.section-closing { background: var(--color-primary); color: #fff; }

/* ============================================
   SHAPE BACKGROUND
   ============================================ */
.shape-bg {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.shape-bg.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  animation: shapeFloat 12s ease-in-out infinite;
}

.shape-bg.shape-2 {
  width: 250px;
  height: 250px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
  animation: shapeFloat 15s ease-in-out infinite reverse;
}

.shape-bg.shape-3 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  animation: shapePulse 10s ease-in-out infinite;
}

@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.1); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

@keyframes shapePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ============================================
   SECTION: OPENING
   ============================================ */
.card-opening {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .card-opening {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card-opening .bismillah {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-family: 'Amiri', serif;
}

.card-opening .verse {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 10px;
}

.card-opening .verse-ref {
  font-size: 0.7rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 1px;
}

.card-opening .divider {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 14px auto;
  border-radius: 2px;
}

.card-opening .opening-text {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   SECTION: COUPLE - COMPACT
   ============================================ */
.couple-wrapper {
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 100%;
  padding: 8px 0;
}

.couple-header {
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s var(--ease-out-expo) 0.1s, transform 0.6s var(--ease-out-expo) 0.1s;
  flex-shrink: 0;
}

.invite-section.active .couple-header {
  opacity: 1;
  transform: translateY(0);
}

.couple-header .label-top {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.couple-header h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 6px;
}

.couple-header .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.couple-header .ornament-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.couple-header .ornament-icon {
  color: var(--color-accent);
  display: flex;
}

.couple-cards-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .couple-cards-row {
  opacity: 1;
  transform: translateY(0);
}

.couple-card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.couple-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  flex-shrink: 0;
}

.couple-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(30, 58, 95, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

.couple-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out-expo);
}

.couple-card:active .couple-photo {
  transform: scale(1.05);
}

.frame-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}

.frame-corner::before,
.frame-corner::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
}

.frame-corner.tl { top: 10px; left: 10px; }
.frame-corner.tl::before { top: 0; left: 0; width: 14px; height: 1.5px; }
.frame-corner.tl::after { top: 0; left: 0; width: 1.5px; height: 14px; }

.frame-corner.tr { top: 10px; right: 10px; }
.frame-corner.tr::before { top: 0; right: 0; width: 14px; height: 1.5px; }
.frame-corner.tr::after { top: 0; right: 0; width: 1.5px; height: 14px; }

.frame-corner.bl { bottom: 10px; left: 10px; }
.frame-corner.bl::before { bottom: 0; left: 0; width: 14px; height: 1.5px; }
.frame-corner.bl::after { bottom: 0; left: 0; width: 1.5px; height: 14px; }

.frame-corner.br { bottom: 10px; right: 10px; }
.frame-corner.br::before { bottom: 0; right: 0; width: 14px; height: 1.5px; }
.frame-corner.br::after { bottom: 0; right: 0; width: 1.5px; height: 14px; }

.couple-info {
  padding: 12px 10px;
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.couple-info .role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  padding: 4px 10px;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  margin-bottom: 6px;
  background: var(--color-accent-soft);
}

.couple-info .name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.couple-info .parent-label {
  font-size: 0.55rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.couple-info .parent {
  font-size: 0.65rem;
  color: var(--color-text-light);
  line-height: 1.4;
  font-style: italic;
}

.couple-divider-vertical {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1.5px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 20;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo) 0.4s, transform 0.6s var(--ease-spring) 0.4s;
}

.invite-section.active .couple-divider-vertical {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.couple-divider-vertical .heart-icon {
  color: var(--color-accent);
  animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ============================================
   SECTION: EVENT
   ============================================ */
.event-wrapper {
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-header-section {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo) 0.1s, transform 0.6s var(--ease-out-expo) 0.1s;
}

.invite-section.active .event-header-section {
  opacity: 1;
  transform: translateY(0);
}

.event-header-section .label-top {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.event-header-section h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 6px;
}

.event-header-section .subtitle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 2px;
}

.event-card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.invite-section.active .event-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.2s;
}

.invite-section.active .event-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.event-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.event-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--color-border);
}

.event-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
  position: relative;
}

.event-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.event-card-title h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.event-card-title .event-type {
  font-size: 0.62rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.event-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.event-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.event-info-content {
  flex: 1;
  min-width: 0;
}

.event-info-content .info-label {
  font-size: 0.62rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 600;
}

.event-info-content h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.event-info-content p {
  font-size: 0.72rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.event-card-footer {
  padding: 0 18px 18px;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.2);
}

.btn-map:active {
  transform: scale(0.95);
}

/* ============================================
   SECTION: GIFT
   ============================================ */
.gift-container {
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.gift-main-card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .gift-main-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gift-main-card .gift-icon {
  margin-bottom: 10px;
  color: var(--color-accent);
}

.gift-main-card h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.gift-main-card .gift-message {
  font-size: 0.72rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.gift-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s var(--ease-spring);
  letter-spacing: 0.5px;
}

.gift-toggle:active {
  transform: scale(0.95);
  background: var(--color-accent-light);
}

.gift-toggle .arrow {
  transition: transform 0.4s var(--ease-spring);
}

.gift-toggle.active .arrow {
  transform: rotate(180deg);
}

.gift-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo), opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.gift-details.show {
  max-height: 450px;
  opacity: 1;
  margin-top: 16px;
}

.gift-bank-card {
  background: var(--color-card-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  text-align: left;
  transition: transform 0.3s var(--ease-spring);
}

.gift-bank-card:active {
  transform: scale(0.97);
}

.gift-bank-card .bank-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gift-bank-card .bank-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.gift-bank-card .bank-holder {
  font-size: 0.68rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.5px;
}

.btn-copy:active {
  transform: scale(0.92);
}

.btn-copy.copied {
  background: #4CAF50;
}

.gift-address-card {
  background: var(--color-card-solid);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
}

.gift-address-card .address-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gift-address-card .address-text {
  font-size: 0.7rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   SECTION: WISHES - BOTTOM SHEET
   ============================================ */
.wishes-wrapper {
  max-width: 400px;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.wishes-header-float {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .wishes-header-float {
  opacity: 1;
  transform: translateY(0);
}

.wishes-header-float .label-top {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.wishes-header-float h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 2px;
}

.wishes-header-float .subtitle {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.wishes-bottom-sheet {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -10px 40px rgba(30, 58, 95, 0.15);
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s var(--ease-out-expo) 0.3s, transform 0.6s var(--ease-out-expo) 0.3s;
}

.invite-section.active .wishes-bottom-sheet {
  opacity: 1;
  transform: translateY(0);
}

.wishes-handle {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  flex-shrink: 0;
}

.wishes-handle-bar {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
}

.wishes-sheet-header {
  padding: 8px 20px 12px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.wishes-sheet-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
}

.wishes-count {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  background: var(--color-accent-soft);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.wishes-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.wishes-list::-webkit-scrollbar {
  width: 4px;
}

.wishes-list::-webkit-scrollbar-track {
  background: transparent;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

.wishes-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

.wish-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.wish-card:active {
  transform: scale(0.98);
}

.wish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary-light));
}

.wish-card::after {
  content: '"';
  position: absolute;
  top: -5px;
  right: 10px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.wish-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-left: 6px;
}

.wish-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.2);
  position: relative;
}

.wish-avatar::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  pointer-events: none;
}

.wish-meta {
  flex: 1;
  min-width: 0;
}

.wish-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wish-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 50px;
}

.wish-status.hadir {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

.wish-status.tidak {
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
}

.wish-status.ragu {
  background: rgba(255, 152, 0, 0.15);
  color: #FF9800;
}

.wish-message {
  font-size: 0.72rem;
  color: var(--color-text-light);
  line-height: 1.55;
  font-style: italic;
  padding-left: 6px;
  position: relative;
  margin-bottom: 6px;
}

.wish-date {
  font-size: 0.58rem;
  color: var(--color-text-muted);
  padding-left: 6px;
  letter-spacing: 0.5px;
}

.wishes-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
}

.wishes-empty .empty-icon {
  margin-bottom: 10px;
  opacity: 0.5;
  color: var(--color-accent);
}

.wishes-empty p {
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ============================================
   SECTION: RSVP
   ============================================ */
.rsvp-wrapper {
  max-width: 380px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rsvp-header-section {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo) 0.1s, transform 0.6s var(--ease-out-expo) 0.1s;
}

.invite-section.active .rsvp-header-section {
  opacity: 1;
  transform: translateY(0);
}

.rsvp-header-section .label-top {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.rsvp-header-section h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 4px;
}

.rsvp-header-section .subtitle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.rsvp-card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .rsvp-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.form-group {
  margin-bottom: 12px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group label .label-icon {
  color: var(--color-accent);
  display: flex;
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap input,
.form-input-wrap textarea {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: all 0.3s ease;
  outline: none;
}

.form-input-wrap textarea {
  padding-left: 14px;
  resize: none;
  height: 75px;
}

.form-input-wrap input:focus,
.form-input-wrap textarea:focus {
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-input-wrap .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-input-wrap input:focus + .input-icon,
.form-input-wrap textarea:focus + .input-icon {
  color: var(--color-accent);
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attendance-option {
  padding: 12px 6px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: var(--color-bg);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.attendance-option .option-icon {
  font-size: 1.3rem;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-spring);
}

.attendance-option.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

.attendance-option.selected .option-icon {
  transform: scale(1.2);
  color: #fff;
}

.attendance-option:active {
  transform: scale(0.95);
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-spring);
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:active::before {
  width: 300px;
  height: 300px;
}

.btn-submit:active {
  transform: scale(0.97);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit .btn-icon {
  transition: transform 0.3s var(--ease-spring);
}

.btn-submit:hover .btn-icon {
  transform: translateX(3px);
}

.rsvp-success {
  text-align: center;
  padding: 30px 20px;
  display: none;
}

.rsvp-success.show {
  display: block;
  animation: successPop 0.5s var(--ease-spring);
}

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.rsvp-success .success-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
  animation: successBounce 0.6s var(--ease-spring);
}

@keyframes successBounce {
  0% { transform: scale(0) rotate(-180deg); }
  60% { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

.rsvp-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.rsvp-success p {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   SECTION: CLOSING
   ============================================ */
.closing-container {
  max-width: 360px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.closing-card {
  padding: 26px 20px;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s var(--ease-out-expo) 0.2s, transform 0.6s var(--ease-out-expo) 0.2s;
}

.invite-section.active .closing-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.closing-card .closing-thanks {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 10px;
}

.closing-card h2 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 14px;
}

.closing-card .closing-message {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 18px;
}

.closing-card .closing-names {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
}

.closing-card .closing-date {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 1.5px;
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 2000;
  transition: transform 0.5s var(--ease-spring);
  white-space: nowrap;
  box-shadow: var(--shadow-elevated);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (min-width: 768px) {
  .cover-inner {
    max-width: 440px;
  }

  .cover-names h1 {
    font-size: 2.2rem;
  }

  .invite-section {
    padding: 40px;
  }

  .couple-wrapper,
  .event-wrapper,
  .wishes-wrapper,
  .rsvp-wrapper {
    max-width: 440px;
  }

  .couple-info .name {
    font-size: 1.1rem;
  }

  .card-opening,
  .gift-container,
  .closing-container {
    max-width: 440px;
  }
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.wedding-admin-wrap {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.wedding-admin-wrap h1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1d2327;
}

.wedding-admin-wrap .form-table th {
  width: 200px;
  padding: 15px 10px 15px 0;
  font-weight: 600;
}

.wedding-admin-wrap .form-table td {
  padding: 10px;
}

.wedding-admin-wrap input[type="text"],
.wedding-admin-wrap input[type="url"],
.wedding-admin-wrap textarea {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.wedding-admin-wrap textarea {
  height: 100px;
}

.wedding-admin-wrap .section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary, #1e3a5f);
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin: 30px 0 15px;
}

.wedding-admin-wrap .section-title:first-of-type {
  margin-top: 0;
}

.wedding-admin-wrap .description {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.wedding-admin-wrap .image-preview {
  margin-top: 10px;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #ddd;
}

.wedding-admin-wrap .image-preview img {
  width: 100%;
  height: auto;
}

.wedding-admin-wrap .btn-upload {
  display: inline-block;
  padding: 8px 16px;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 8px;
}

.wedding-admin-wrap .btn-remove {
  display: inline-block;
  padding: 8px 16px;
  background: #dc3232;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.wedding-admin-wrap .checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wedding-admin-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}