/* ========================================================
   THE WEDDING OF KARIS & NURUL - ROYAL JAVANESE HERITAGE & MODERN LUXURY
   AUTHENTIC PREWEDDING COLOR HARMONY: LUNARA STUDIO
   PALETTE: WARM ESPRESSO NOIR, ANTIQUE ROYAL GOLD, SILKY JASMINE WHITE
   ======================================================== */

:root {
    /* 1. Warm Espresso Studio Noir & Mahogany Teak (Diambil dari Latar & Bayangan Foto) */
    --black-950: #100c09;
    --black-900: #17110d;
    --black-850: #201712;
    --black-800: #2b1f18;
    --black-700: #3c2c22;
    --black-card: rgba(28, 20, 15, 0.94);
    --black-card-solid: #1c140f;

    /* 2. Antique Royal Gold Palette (Cunduk Mentul & Perhiasan Emas Keraton) */
    --gold-100: #fffcf2;
    --gold-200: #fbf3df;
    --gold-300: #e8cf8d;
    --gold-400: #d9b35b;
    --gold-500: #c49938;
    --gold-600: #9e7623;
    --gold-gradient: linear-gradient(135deg, #faebd0 0%, #d9b35b 42%, #f0d696 70%, #9e7623 100%);
    --gold-gradient-subtle: linear-gradient(135deg, rgba(217, 179, 91, 0.22) 0%, rgba(158, 118, 35, 0.06) 100%);
    --gold-border: rgba(217, 179, 91, 0.38);
    --gold-glow: 0 0 25px rgba(217, 179, 91, 0.28);
    --gold-glow-strong: 0 0 35px rgba(217, 179, 91, 0.5);

    /* 3. Silky Jasmine White & Champagne Brocade (Busana Kebaya & Beskap Pengantin) */
    --pearl-bg: #faf7f2;
    --pearl-soft: #f2eee3;
    --pearl-card: #e9e2d3;
    --pearl-border: rgba(217, 179, 91, 0.28);

    /* 4. Sogan & Velvet Maroon Accents (Jarik Batik & Stagen Pengantin Putri) */
    --sogan-deep: #412a1c;
    --sogan-warm: #6a462b;
    --maroon-velvet: #48181e;

    /* 5. Text Hierarchy Colors */
    --text-dark: #1e1610;
    --text-body: #3c322a;
    --text-muted: #6b5c51;
    --text-light: #fefcf8;
    --text-light-muted: #d8cfc4;

    /* 6. Typography Stacks */
    --font-heading: 'Cinzel Decorative', 'Cinzel', 'Playfair Display', serif;
    --font-serif: 'Playfair Display', 'Marcellus', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;

    /* 7. Shadows & Lighting */
    --shadow-soft: 0 10px 30px rgba(23, 17, 13, 0.08);
    --shadow-md: 0 16px 36px rgba(23, 17, 13, 0.12);
    --shadow-lg: 0 24px 50px rgba(23, 17, 13, 0.18);
    --shadow-card-dark: 0 16px 40px rgba(0, 0, 0, 0.65);
}

/* ========================================================
   GLOBAL RESETS & CRAFTSMANSHIP
   ======================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--black-950);
    background-image: 
        radial-gradient(circle at 50% 12%, rgba(68, 48, 36, 0.45) 0%, transparent 65%),
        radial-gradient(circle at 50% 88%, rgba(42, 30, 22, 0.65) 0%, transparent 75%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Gold Desktop Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-300);
}

/* Text Selection */
::selection {
    background: var(--gold-400);
    color: var(--black-950);
}

/* Floating Gold Dust Sparkle Canvas */
#sparkle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 40;
}

/* Mobile-First Royal App Container */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--pearl-bg);
    min-height: 100vh;
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .app-container {
        max-width: 520px;
    }
}

/* Gold Gradient Metallic Text */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Gunungan Section Header Divider */
.gunungan-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 14px auto 0;
}

.gunungan-divider-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--gold-400), transparent);
}

.gunungan-icon {
    width: 26px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(217, 179, 91, 0.45));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gunungan-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 16px rgba(217, 179, 91, 0.75));
}

/* Section Header Typography */
.section-header {
    text-align: center;
    margin-bottom: 34px;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-600);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    line-height: 1.25;
    color: var(--text-dark);
}

.section-lead {
    font-size: 0.90rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 14px auto 0;
    line-height: 1.65;
}

.section-lead-dark {
    font-size: 0.90rem;
    color: var(--text-light-muted);
    max-width: 400px;
    margin: 14px auto 0;
    line-height: 1.65;
}

/* ========================================================
   COVER PEMBUKA (THEATRICAL TIED-BACK SWAG CURTAIN)
   ======================================================== */
#opening-cover {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
    pointer-events: auto;
}

#opening-cover.opened {
    pointer-events: none;
}

.curtain-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.theatrical-pelmet {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55px;
    z-index: 25;
    pointer-events: none;
    transition: transform 1.25s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

.theatrical-pelmet svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.95));
}

#opening-cover.opened .theatrical-pelmet {
    transform: translateY(-100%);
    opacity: 0;
}

/* Cover Card (Plaque Undangan Tengah) */
.cover-card {
    width: 100%;
    max-width: 440px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(28, 20, 15, 0.97) 0%, rgba(16, 11, 8, 0.98) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid rgba(217, 179, 91, 0.45);
    padding: 34px 22px 28px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 
        inset 0 0 0 1px rgba(217, 179, 91, 0.18),
        0 25px 65px rgba(0, 0, 0, 0.95), 
        0 0 45px rgba(217, 179, 91, 0.18);
    position: relative;
    z-index: 30;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.card-ornament {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    border-color: rgba(217, 179, 91, 0.65);
    border-style: solid;
}
.card-ornament.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.card-ornament.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.card-ornament.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.card-ornament.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }

.cover-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2.5px;
    background: var(--gold-gradient);
    box-shadow: 0 0 14px rgba(217, 179, 91, 0.85);
}

#opening-cover.opened .cover-card {
    opacity: 0;
    transform: scale(0.85) translateY(-20px);
    filter: blur(10px);
    pointer-events: none;
}

.cover-gunungan-wrap {
    position: relative;
    width: 85px;
    height: 155px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-gunungan-aura {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 179, 91, 0.35) 0%, transparent 70%);
    animation: auraPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auraPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.95; }
}

.cover-gunungan-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(217, 179, 91, 0.65));
    animation: modernFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes modernFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.cover-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cover-eyebrow-line {
    width: 25px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.cover-eyebrow-text {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-300);
}

.cover-subtitle {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-200);
    margin-bottom: 6px;
    font-weight: 600;
}

.cover-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    line-height: 1.18;
    margin-bottom: 18px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85);
}

/* Kotak Plaque Nama Tamu */
.cover-guest-box {
    position: relative;
    background: radial-gradient(ellipse at 50% -10%, rgba(55, 42, 32, 0.6) 0%, rgba(18, 13, 9, 0.96) 100%);
    border: 1.5px solid rgba(217, 179, 91, 0.42);
    border-radius: 20px;
    padding: 6px;
    margin: 16px auto 22px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(217, 179, 91, 0.12);
}

.plaque-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    border-color: var(--gold-400);
    border-style: solid;
    z-index: 2;
}
.plaque-corner.tl { top: 3px; left: 3px; border-width: 2px 0 0 2px; border-top-left-radius: 5px; }
.plaque-corner.tr { top: 3px; right: 3px; border-width: 2px 2px 0 0; border-top-right-radius: 5px; }
.plaque-corner.bl { bottom: 3px; left: 3px; border-width: 0 0 2px 2px; border-bottom-left-radius: 5px; }
.plaque-corner.br { bottom: 3px; right: 3px; border-width: 0 2px 2px 0; border-bottom-right-radius: 5px; }

.guest-inner-frame {
    border: 1px dashed rgba(217, 179, 91, 0.35);
    border-radius: 15px;
    padding: 16px 14px 14px;
    background: radial-gradient(circle at 50% 10%, rgba(217, 179, 91, 0.08) 0%, transparent 80%);
}

.guest-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2px;
}

.guest-line {
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.guest-star {
    font-size: 0.55rem;
    color: var(--gold-400);
}

.guest-label-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--gold-300);
}

.guest-target-desc {
    font-size: 0.78rem;
    color: #c4b9ae;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.cover-guest-box .guest-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    word-break: break-word;
}

.guest-apology {
    font-size: 0.68rem;
    color: #a4978a;
    font-style: italic;
    margin-top: 4px;
    line-height: 1.4;
}

/* Tombol Buka Undangan */
.btn-open-invitation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 16px 28px;
    background: var(--gold-gradient);
    color: #12100e;
    border: none;
    border-radius: 35px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(217, 179, 91, 0.45);
    animation: goldPulseRing 3s infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-open-invitation:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(217, 179, 91, 0.7);
    filter: brightness(1.08);
}

.btn-open-invitation::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(25deg);
    animation: btnGoldShimmer 3.2s infinite ease-in-out;
}

@keyframes btnGoldShimmer {
    0% { left: -70%; }
    30%, 100% { left: 170%; }
}

@keyframes goldPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 179, 91, 0.6), 0 8px 30px rgba(217, 179, 91, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(217, 179, 91, 0), 0 8px 30px rgba(217, 179, 91, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 179, 91, 0), 0 8px 30px rgba(217, 179, 91, 0.4);
    }
}

/* ========================================================
   HERO SECTION - CLEAN, UNCLUTTERED, HIGHLIGHTS PHOTO
   ======================================================== */
.hero-section {
    position: relative;
    min-height: 96vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 20px 20px 84px;
    background-color: var(--black-950);
    background-size: cover;
    background-position: center top;
    color: var(--text-light);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 12, 9, 0.35) 0%,
        rgba(16, 12, 9, 0) 16%,
        rgba(16, 12, 9, 0) 55%,
        rgba(16, 12, 9, 0.45) 72%,
        rgba(16, 12, 9, 0.85) 88%,
        var(--black-950) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 4px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-names {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    line-height: 1.18;
    margin-bottom: 12px;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border-radius: 25px;
    background: rgba(16, 12, 9, 0.78);
    border: 1px solid var(--gold-border);
    color: var(--gold-200);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

/* ========================================================
   SECTIONS: DARK & PEARL
   ======================================================== */
.section {
    padding: 70px 20px;
    position: relative;
}

.section-dark {
    background-color: var(--black-900);
    color: var(--text-light);
    border-top: 1px solid rgba(217, 179, 91, 0.2);
    border-bottom: 1px solid rgba(217, 179, 91, 0.2);
}

.section-cream {
    background-color: var(--pearl-bg);
    color: var(--text-dark);
}

/* ========================================================
   QUOTE SECTION (BISMILLAH, QS. AR-RUM: 21, & FILOSOFI JAWA)
   ======================================================== */
.quote-section {
    padding-top: 45px;
}

.quote-card {
    background: var(--pearl-soft);
    border: 1.5px solid var(--pearl-border);
    border-radius: 0;
    padding: 38px 22px 32px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-400);
    border-style: solid;
    pointer-events: none;
}
.card-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.card-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.card-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.card-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.bismillah-arabic {
    font-family: var(--font-arabic);
    font-size: 1.65rem;
    color: var(--gold-300);
    line-height: 1.8;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-align: center;
}

.quran-verse-arabic {
    font-family: var(--font-arabic);
    font-size: 1.32rem;
    line-height: 2.3;
    color: var(--gold-200);
    text-align: center;
    direction: rtl;
    margin: 8px 0 12px;
    padding: 0 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    word-spacing: 2px;
}

.quran-verse-latin {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--gold-300);
    line-height: 1.65;
    margin: 4px auto 12px;
    max-width: 380px;
    letter-spacing: 0.2px;
    text-align: center;
}

.quote-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px auto 16px;
    max-width: 140px;
}

.quote-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.quote-divider-star {
    font-size: 0.55rem;
    color: var(--gold-400);
}

.quote-main {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: #f2eee3;
    line-height: 1.85;
    margin-bottom: 14px;
}

.quote-verse {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(217, 179, 91, 0.12);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold-300);
    text-transform: uppercase;
}

.quote-jawa-box {
    margin-top: 24px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0;
    border-left: 3px solid var(--gold-500);
    border-right: 1px solid rgba(217, 179, 91, 0.2);
    border-top: 1px solid rgba(217, 179, 91, 0.2);
    border-bottom: 1px solid rgba(217, 179, 91, 0.2);
    text-align: center;
}

.quote-jawa-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-600);
    margin-bottom: 8px;
}

.quote-jawa-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.96rem;
    color: #2b1f18;
    line-height: 1.7;
    margin-bottom: 6px;
}

.quote-jawa-meaning {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-style: italic;
}

/* Quote Section on Dark Background (Smooth Extension of Hero Black) */
.section-dark.quote-section {
    background-color: var(--black-950);
    border-top: none;
    padding-top: 35px;
}

.section-dark .quote-card {
    background: rgba(26, 19, 14, 0.94);
    border: 1.5px solid rgba(217, 179, 91, 0.4);
    border-radius: 0;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
}

.section-dark .bismillah-arabic {
    color: var(--gold-300);
}

.section-dark .quote-main {
    color: #f6eedf;
}

.section-dark .quote-verse {
    color: var(--gold-400);
}

.section-dark .quote-jawa-box {
    background: rgba(16, 12, 9, 0.78);
    border-color: rgba(217, 179, 91, 0.28);
    border-left: 3px solid var(--gold-400);
    border-radius: 0;
}

.section-dark .quote-jawa-badge {
    color: var(--gold-300);
}

.section-dark .quote-jawa-text {
    color: var(--gold-200);
}

.section-dark .quote-jawa-meaning {
    color: var(--text-light-muted);
}

/* ========================================================
   MEMPELAI (ROYAL COUPLE CARDS)
   ======================================================== */
.couple-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.couple-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px 18px 26px;
    text-align: center;
    border: 1px solid var(--pearl-border);
    box-shadow: var(--shadow-soft);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.couple-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--gold-glow);
}

.couple-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    background: var(--pearl-soft);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-600);
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.couple-avatar-wrap {
    position: relative;
    width: 165px;
    height: 165px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    border: 2px solid var(--gold-400);
    background: linear-gradient(135deg, rgba(217, 179, 91, 0.4) 0%, rgba(28, 20, 15, 0.2) 100%);
    box-shadow: var(--gold-glow);
}

.avatar-ring-outer {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed rgba(217, 179, 91, 0.5);
    animation: ringSpin 25s linear infinite;
    pointer-events: none;
}

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

.couple-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.couple-card:hover .couple-avatar {
    transform: scale(1.04);
}

.couple-name {
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: clamp(1.18rem, 4.2vw, 1.38rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 auto 10px;
    line-height: 1.35;
    letter-spacing: 0.3px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}

.couple-parents-box {
    margin-bottom: 20px;
    padding: 0 4px;
    max-width: 100%;
}

.couple-parents {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Instagram Pill Button */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 18px 6px 8px;
    border-radius: 30px;
    background: #ffffff;
    border: 1.5px solid rgba(217, 179, 91, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ig-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(220, 39, 67, 0.35);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-ig-text {
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.btn-ig-arrow {
    font-size: 0.72rem;
    color: var(--gold-600);
}

.btn-instagram:hover {
    background: var(--black-900);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), var(--gold-glow);
}

.btn-instagram:hover .btn-ig-icon {
    transform: scale(1.1) rotate(6deg);
}

.btn-instagram:hover .btn-ig-text {
    color: var(--gold-200);
}

.btn-instagram:hover .btn-ig-arrow {
    color: var(--gold-300);
    transform: translate(2px, -2px);
}

/* Ampersand Center Medallion */
.couple-ampersand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px auto;
    width: 100%;
    max-width: 320px;
    position: relative;
    z-index: 5;
}

.couple-ampersand-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(217, 179, 91, 0.6), transparent);
    position: relative;
}

.couple-ampersand-line::after {
    content: '◆';
    position: absolute;
    top: 50%;
    font-size: 0.45rem;
    color: var(--gold-400);
    transform: translateY(-50%);
}

.couple-ampersand-line.left::after { right: 0; }
.couple-ampersand-line.right::after { left: 0; }

.couple-ampersand-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle, #33241b 0%, #120d09 100%);
    border: 2px solid var(--gold-400);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(217, 179, 91, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.couple-ampersand-badge:hover {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 24px rgba(217, 179, 91, 0.5);
}

.couple-ampersand-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(217, 179, 91, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(217, 179, 91, 0.12) 0%, transparent 70%);
}

.ampersand-symbol {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transform: translateX(-1px) translateY(-1px);
    display: block;
}

/* ========================================================
   COUNTDOWN TIMER & EVENT CARDS
   ======================================================== */
.countdown-container {
    max-width: 400px;
    margin: 0 auto 30px;
    text-align: center;
}

.countdown-header-tag {
    font-size: 0.74rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 700;
    margin-bottom: 12px;
}

.countdown-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-box {
    background: rgba(28, 20, 15, 0.92);
    border: 1.5px solid rgba(217, 179, 91, 0.38);
    border-radius: 16px;
    padding: 12px 6px 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gold-gradient);
}

.countdown-num {
    font-family: 'Cinzel', var(--font-sans);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--gold-300);
    display: block;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.countdown-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light-muted);
    margin-top: 4px;
    display: block;
    font-weight: 600;
}

/* Event Cards (Akad & Resepsi) */
.event-card {
    background: var(--black-card);
    border: 1.5px solid rgba(217, 179, 91, 0.4);
    border-radius: 26px;
    padding: 28px 18px 24px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card-dark);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.event-card:last-child {
    margin-bottom: 0;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2.5px;
    background: var(--gold-gradient);
    box-shadow: 0 0 12px rgba(217, 179, 91, 0.8);
}

.event-status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(217, 179, 91, 0.15);
    border: 1px solid var(--gold-border);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--gold-300);
    margin-bottom: 14px;
    text-transform: uppercase;
    line-height: 1.35;
    max-width: 100%;
}

.event-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle, #38271e 0%, #150e09 100%);
    border: 2px solid var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.35rem;
    color: var(--gold-300);
    box-shadow: var(--gold-glow);
}

.event-name {
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: clamp(1.22rem, 4vw, 1.42rem);
    font-weight: 700;
    color: var(--gold-200);
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: 0.3px;
    overflow-wrap: break-word;
    word-break: normal;
}

.event-datetime-wrap {
    background: rgba(16, 12, 9, 0.65);
    border: 1px solid rgba(217, 179, 91, 0.25);
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-date-row,
.event-time-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gold-200);
    line-height: 1.4;
}

.event-row-icon {
    color: var(--gold-400);
    font-size: 0.90rem;
    flex-shrink: 0;
}

.event-venue-box {
    margin-bottom: 20px;
    padding: 0 4px;
}

.event-venue-name {
    font-family: var(--font-serif);
    font-size: 1.10rem;
    font-weight: 700;
    color: var(--gold-100);
    margin-bottom: 5px;
    line-height: 1.35;
}

.event-venue-address {
    font-size: 0.84rem;
    color: var(--text-light-muted);
    line-height: 1.55;
    max-width: 360px;
    margin: 0 auto;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.btn-event-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 18px;
    border-radius: 25px;
    background: var(--gold-gradient);
    color: var(--black-950);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(217, 179, 91, 0.4);
    transition: all 0.25s ease;
    flex: 1 1 130px;
    max-width: 200px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-event-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 6px 24px rgba(217, 179, 91, 0.6);
}

.btn-event-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 25px;
    border: 1.5px solid var(--gold-400);
    background: transparent;
    color: var(--gold-200);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 1 1 130px;
    max-width: 200px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-event-outline:hover {
    background: var(--gold-gradient);
    color: var(--black-950);
    border-color: transparent;
    transform: translateY(-2px);
}

/* ========================================================
   LOVE STORY TIMELINE (LELAMPAHAN ASIH)
   ======================================================== */
.timeline {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 9px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-300), var(--gold-500), var(--gold-600));
}

.timeline-item {
    position: relative;
    margin-bottom: 26px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-gradient);
    border: 3px solid #ffffff;
    box-shadow: 0 0 12px rgba(217, 179, 91, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.timeline-content-card {
    background: #ffffff;
    border: 1px solid var(--pearl-border);
    border-left: 3px solid var(--gold-400);
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
}

.timeline-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.timeline-year-badge {
    display: inline-block;
    padding: 3px 12px;
    background: var(--pearl-soft);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--gold-600);
    letter-spacing: 0.5px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
}

.timeline-desc {
    font-size: 0.90rem;
    line-height: 1.65;
    color: var(--text-body);
}

/* ========================================================
   GALERI PREWEDDING (LUNARA STUDIO BESPOKE ALBUM)
   ======================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid rgba(217, 179, 91, 0.4);
    box-shadow: var(--shadow-soft);
    background: var(--black-900);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 12, 9, 0.8) 0%, rgba(16, 12, 9, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-zoom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 12, 9, 0.88);
    border: 1px solid var(--gold-400);
    border-radius: 20px;
    color: var(--gold-200);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transform: translateY(8px);
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-zoom-badge {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 6, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gold-400);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.95), var(--gold-glow);
}

.lightbox-img-wrap img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-btn-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(28, 20, 15, 0.85);
    border: 1.5px solid var(--gold-400);
    color: var(--gold-200);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.lightbox-btn-close:hover {
    background: var(--gold-gradient);
    color: var(--black-950);
}

.lightbox-counter-tag {
    position: absolute;
    top: -45px;
    left: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gold-300);
    letter-spacing: 1px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(28, 20, 15, 0.85);
    border: 1.5px solid var(--gold-400);
    color: var(--gold-200);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 5;
}

.lightbox-nav-btn.prev { left: -22px; }
.lightbox-nav-btn.next { right: -22px; }

.lightbox-nav-btn:hover {
    background: var(--gold-gradient);
    color: var(--black-950);
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 480px) {
    .lightbox-nav-btn.prev { left: 4px; }
    .lightbox-nav-btn.next { right: 4px; }
}

/* ========================================================
   FORMS: RSVP & WISHES
   ======================================================== */
.form-card {
    background: #ffffff;
    border: 1px solid var(--pearl-border);
    border-radius: 28px;
    padding: 32px 22px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 26px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label-icon {
    color: var(--gold-500);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ded8cb;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.94rem;
    color: var(--text-dark);
    background: #faf8f5;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-500);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(217, 179, 91, 0.25);
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    padding-right: 40px;
}

.select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--gold-600);
    font-size: 0.82rem;
}

.rsvp-radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rsvp-radio-label {
    display: block;
    cursor: pointer;
}

.rsvp-radio-label input {
    display: none;
}

.radio-custom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid #ded8cb;
    border-radius: 14px;
    background: #faf8f5;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.25s ease;
}

.radio-icon {
    font-size: 0.90rem;
}

.rsvp-radio-label input:checked + .radio-custom-content {
    background: var(--gold-100);
    border-color: var(--gold-500);
    color: #1a140f;
    box-shadow: 0 4px 14px rgba(217, 179, 91, 0.25);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 15px 24px;
    background: var(--gold-gradient);
    color: var(--black-950);
    border: none;
    border-radius: 28px;
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(217, 179, 91, 0.4);
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 179, 91, 0.55);
}

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

/* Wishes Board (Buku Tamu Feed) */
.wishes-board {
    max-height: 520px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-right: 6px;
}

.wishes-board::-webkit-scrollbar {
    width: 5px;
}

.wishes-board::-webkit-scrollbar-thumb {
    background: var(--gold-300);
    border-radius: 10px;
}

.wish-item {
    background: #ffffff;
    border: 1px solid var(--pearl-border);
    border-radius: 20px;
    padding: 18px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wish-avatar-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, #38271e 0%, #17110d 100%);
    border: 1.5px solid var(--gold-400);
    color: var(--gold-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wish-body {
    flex: 1;
}

.wish-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.wish-author-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.wish-author {
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--text-dark);
}

.wish-relation {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.wish-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.wish-badge.badge-hadir {
    background: #eaf5eb;
    color: #2b7a36;
    border: 1px solid #c2e2c7;
}

.wish-badge.badge-absen {
    background: var(--pearl-soft);
    color: var(--text-muted);
    border: 1px solid var(--pearl-border);
}

.wish-message {
    font-size: 0.90rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.wish-time {
    font-size: 0.74rem;
    color: #8c8277;
    display: block;
}

.wish-empty-state {
    text-align: center;
    padding: 34px 20px;
    background: #ffffff;
    border: 1px dashed var(--gold-border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.wish-empty-icon {
    font-size: 2rem;
    color: var(--gold-400);
    margin-bottom: 10px;
    display: block;
}

/* ========================================================
   AMPLOP DIGITAL & KADO PERNIKAHAN
   ======================================================== */
.bank-card {
    border-radius: 24px;
    padding: 26px 22px;
    color: var(--text-light);
    margin-bottom: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
}

/* Titanium Noir Card (BCA) */
.bank-card.bank-bca {
    background: linear-gradient(135deg, #1c140f 0%, #2b1f18 45%, #150f0c 100%);
    border: 1.5px solid rgba(217, 179, 91, 0.45);
}

/* Royal Gold Card (Mandiri) */
.bank-card.bank-mandiri {
    background: linear-gradient(135deg, #2a1e16 0%, #3d2a1d 50%, #1c140f 100%);
    border: 1.5px solid rgba(217, 179, 91, 0.45);
}

.bank-card-shine {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 179, 91, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.bank-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.bank-chip {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip-svg {
    width: 44px;
    height: 32px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.contactless-icon {
    font-size: 1.25rem;
    color: var(--gold-300);
    transform: rotate(90deg);
}

.bank-name-tag {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-200);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bank-number-display {
    font-family: 'Courier New', monospace;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bank-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.bank-holder-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    color: var(--gold-300);
    font-weight: 700;
    margin-bottom: 2px;
}

.bank-holder-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-copy-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 20px;
    background: var(--gold-gradient);
    color: var(--black-950);
    font-size: 0.84rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: all 0.25s ease;
}

.btn-copy-card:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 179, 91, 0.5);
}

.btn-copy-card.copied {
    background: #2b7a36;
    color: #ffffff;
}

/* Kado Fisik Card */
.physical-gift-card {
    background: #ffffff;
    border: 1px solid var(--pearl-border);
    border-radius: 26px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.gift-icon-badge {
    font-size: 2rem;
    color: var(--gold-600);
    margin-bottom: 12px;
}

.gift-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.gift-desc {
    font-size: 0.90rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.gift-address-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--pearl-soft);
    border: 1px solid var(--pearl-border);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: left;
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.gift-pin-icon {
    color: var(--gold-600);
    font-size: 1.15rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-copy-gift {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 25px;
    background: var(--gold-gradient);
    color: var(--black-950);
    font-size: 0.86rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 179, 91, 0.35);
    transition: all 0.25s ease;
}

.btn-copy-gift:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-copy-gift.copied {
    background: #2b7a36;
    color: #ffffff;
}

/* ========================================================
   FOOTER (PENUTUP SAKRAL & TANDA TANGAN)
   ======================================================== */
.footer-section {
    text-align: center;
    padding: 60px 18px 115px;
    background-color: var(--black-950);
}

.footer-card {
    background: rgba(22, 16, 12, 0.94);
    border: 1.5px solid rgba(217, 179, 91, 0.38);
    border-radius: 0;
    padding: 38px 22px 32px;
    text-align: center;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), var(--gold-glow);
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-gunungan-wrap {
    margin-bottom: 12px;
}

.footer-gunungan-icon {
    width: 38px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(217, 179, 91, 0.55));
}

.footer-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-400);
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-thank-you {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: #ede5d8;
    line-height: 1.8;
    max-width: 380px;
    margin: 0 auto 18px;
}

.footer-arabic-salam {
    font-family: var(--font-arabic);
    font-size: 1.45rem;
    color: var(--gold-300);
    margin: 0 auto 16px;
    letter-spacing: 1px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px auto 20px;
    max-width: 140px;
}

.footer-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.footer-divider-star {
    font-size: 0.55rem;
    color: var(--gold-400);
}

.footer-signature-wrap {
    margin-top: 8px;
}

.footer-signature-label {
    font-size: 0.76rem;
    letter-spacing: 2px;
    color: var(--gold-400);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-signature-names {
    font-family: 'Playfair Display', 'Cinzel', serif;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-signature-families {
    font-size: 0.86rem;
    color: var(--text-light-muted);
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.footer-bottom-credit {
    margin-top: 26px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.72rem;
    color: #8c7e6f;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========================================================
   FLOATING MUSIC & NAVIGATION DOCK
   ======================================================== */
.floating-music-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.invitation-open .floating-music-wrap {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.music-title-badge {
    background: rgba(22, 16, 12, 0.94);
    border: 1px solid var(--gold-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gold-200);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.equalizer-bars span {
    width: 2.5px;
    background: var(--gold-400);
    border-radius: 1px;
    animation: eqBounce 1.2s infinite ease-in-out;
}
.equalizer-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.equalizer-bars span:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.equalizer-bars span:nth-child(3) { height: 8px; animation-delay: 0.2s; }

@keyframes eqBounce {
    0%, 100% { height: 4px; }
    50% { height: 12px; }
}

.music-title-badge.visible,
.floating-music-wrap:hover .music-title-badge {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.floating-music {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle, #38271e 0%, #150e09 100%);
    border: 2px solid var(--gold-400);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.20rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), var(--gold-glow);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.floating-music.playing {
    animation: spinModern 8s linear infinite;
    box-shadow: 0 0 25px rgba(217, 179, 91, 0.6);
}

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

/* Floating Navigation Dock */
.floating-nav {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(22, 16, 12, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(217, 179, 91, 0.4);
    border-radius: 34px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 90;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 18px rgba(217, 179, 91, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.invitation-open .floating-nav {
    opacity: 1;
    pointer-events: auto;
}

.floating-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #a4978a;
    min-height: 48px;
    padding: 6px 14px;
    border-radius: 22px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 58px;
    position: relative;
}

.floating-nav .nav-item i {
    font-size: 1.10rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.floating-nav .nav-item span {
    font-size: 0.66rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1;
}

.nav-active-dot {
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-400);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.floating-nav .nav-item:hover,
.floating-nav .nav-item.active {
    color: var(--gold-200);
    background: rgba(217, 179, 91, 0.14);
}

.floating-nav .nav-item:hover i,
.floating-nav .nav-item.active i {
    color: var(--gold-300);
    transform: scale(1.12);
}

.floating-nav .nav-item.active .nav-active-dot {
    opacity: 1;
}

/* Toast Notice */
.toast-notice {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(18, 13, 9, 0.96);
    border: 1.5px solid var(--gold-400);
    color: var(--gold-200);
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), var(--gold-glow);
    z-index: 2500;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

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

/* ========================================================
   RESPONSIVE MOBILE REFINEMENTS (<480px)
   ======================================================== */
@media (max-width: 480px) {
    .cover-card {
        padding: 28px 16px 24px;
        border-radius: 26px;
    }
    .cover-gunungan-wrap {
        width: 72px;
        height: 130px;
        margin-bottom: 10px;
    }
    .cover-title {
        font-size: 1.95rem;
        margin-bottom: 14px;
    }
    .cover-guest-box {
        margin: 10px auto 18px;
        padding: 5px;
    }
    .guest-inner-frame {
        padding: 14px 10px 14px;
    }
    .cover-guest-box .guest-name {
        font-size: 1.25rem;
    }
    .btn-open-invitation {
        min-height: 48px;
        padding: 13px 20px;
        font-size: 0.92rem;
    }
    .hero-section {
        padding: 16px 16px 78px;
    }
    .hero-names {
        font-size: 1.95rem;
        margin-bottom: 8px;
    }
    .hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 3px;
        margin-bottom: 3px;
    }
    .hero-date {
        padding: 5px 16px;
        font-size: 0.80rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .floating-music-wrap {
        top: 14px;
        right: 14px;
        gap: 6px;
    }
    .floating-music {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }
    .music-title-badge {
        padding: 5px 12px;
        font-size: 0.68rem;
    }
    .floating-nav {
        bottom: 12px;
        padding: 4px 8px;
        gap: 4px;
    }
    .floating-nav .nav-item {
        padding: 5px 10px;
        min-width: 50px;
    }
    .bank-number-display {
        font-size: 1.35rem;
        letter-spacing: 2px;
    }
    .couple-grid {
        gap: 24px;
    }
    .couple-card {
        padding: 26px 14px 22px;
        border-radius: 24px;
    }
    .couple-avatar-wrap {
        width: 148px;
        height: 148px;
        margin-bottom: 16px;
    }
    .couple-name {
        font-size: 1.20rem;
        line-height: 1.32;
    }
    .couple-parents {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .btn-ig-text {
        max-width: 155px;
    }
    .countdown-wrap {
        gap: 8px;
    }
    .countdown-box {
        padding: 10px 4px 8px;
        border-radius: 12px;
    }
    .countdown-num {
        font-size: 1.45rem;
    }
    .countdown-lbl {
        font-size: 0.64rem;
        letter-spacing: 0.8px;
    }
    .event-card {
        padding: 24px 14px 20px;
        border-radius: 22px;
        margin-bottom: 20px;
    }
    .event-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.20rem;
        margin-bottom: 12px;
    }
    .event-name {
        font-size: 1.22rem;
    }
    .event-venue-name {
        font-size: 1.02rem;
    }
    .event-venue-address {
        font-size: 0.80rem;
    }
    .btn-event-primary,
    .btn-event-outline {
        flex: 1 1 100%;
        max-width: 100%;
        font-size: 0.82rem;
        padding: 10px 14px;
    }
    .footer-section {
        padding: 48px 14px 115px;
    }
    .footer-card {
        padding: 30px 16px 26px;
    }
    .footer-signature-names {
        font-size: 1.65rem;
    }
    .footer-thank-you {
        font-size: 0.88rem;
        line-height: 1.7;
    }
    .footer-arabic-salam {
        font-size: 1.30rem;
    }
}

@media (max-width: 360px) {
    .section {
        padding: 50px 12px;
    }
    .couple-card {
        padding: 22px 10px 18px;
    }
    .couple-avatar-wrap {
        width: 135px;
        height: 135px;
    }
    .couple-name {
        font-size: 1.10rem;
    }
    .btn-ig-text {
        max-width: 130px;
    }
    .countdown-wrap {
        gap: 6px;
    }
    .countdown-box {
        padding: 8px 3px 6px;
    }
    .countdown-num {
        font-size: 1.30rem;
    }
    .countdown-lbl {
        font-size: 0.60rem;
        letter-spacing: 0.5px;
    }
    .event-card {
        padding: 20px 10px 18px;
        border-radius: 18px;
    }
    .event-name {
        font-size: 1.12rem;
    }
    .event-venue-name {
        font-size: 0.96rem;
    }
    .event-datetime-wrap {
        padding: 8px 8px;
    }
    .event-date-row,
    .event-time-row {
        font-size: 0.80rem;
    }
    .footer-card {
        padding: 24px 12px 22px;
    }
    .footer-signature-names {
        font-size: 1.48rem;
    }
    .footer-thank-you {
        font-size: 0.82rem;
    }
    .footer-arabic-salam {
        font-size: 1.18rem;
    }
}
