:root {
    --primary-color: #580d0d; /* Dark Crimson */
    --primary-dark: #3a0808;
    --gold-color: #cfac5c;
    --gold-light: #ecd391;
    --gold-dark: #b8954b;
    --text-light: #f5eedc;
    --text-muted: #d8cfbe;
    --bg-card: rgba(45, 6, 6, 0.85);
    --border-gold: rgba(207, 172, 92, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-light);
    background-color: var(--primary-color);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

body.locked {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    position: fixed;
    width: 100%;
}

body.locked .bottom-nav,
body.locked .side-controls {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

h1, h2, h3, h4, .the-wedding-of, .ampersand, .section-title, .count-number, .bank-number, .profile-name {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, rgba(45, 6, 6, 0.96) 0%, rgba(20, 2, 2, 0.98) 100%);
    border: 1.5px solid var(--gold-color);
    color: var(--gold-light);
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    z-index: 999999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(207, 172, 92, 0.4);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

/* --- Common Section Styles --- */
.section-container {
    position: relative;
    padding: 60px 16px 75px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.section-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.bg-pattern-section {
    background-color: var(--primary-color);
}

.bg-crimson-dark {
    background-color: var(--primary-dark);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-oval.png');
    background-repeat: repeat;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: clamp(0.72rem, 2.2vw, 0.82rem);
    font-weight: 700;
    color: var(--gold-light);
    background: linear-gradient(135deg, rgba(207, 172, 92, 0.18) 0%, rgba(45, 6, 6, 0.75) 100%);
    border: 1px solid var(--border-gold);
    padding: 6px 18px;
    border-radius: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45), inset 0 0 10px rgba(207, 172, 92, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.section-badge i {
    color: var(--gold-color);
    font-size: 0.95em;
}

.section-subtitle {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    color: var(--gold-light);
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.section-title {
    font-size: clamp(1.55rem, 5.2vw, 2.2rem);
    color: var(--gold-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding: 0 10px;
    line-height: 1.65;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Gunungan Section Header Animation (Floating, Swaying, Breathing & Golden Shimmer) */
@keyframes gununganLivelyMotion {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 6px rgba(207, 172, 92, 0.3));
    }
    20% {
        transform: translate3d(0, -6px, 0) scale(1.025) rotate(1.8deg);
        filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 14px rgba(237, 213, 154, 0.55)) drop-shadow(0 0 22px rgba(255, 215, 0, 0.3));
    }
    40% {
        transform: translate3d(0, -3px, 0) scale(1.045) rotate(-1.2deg);
        filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(255, 225, 120, 0.7)) drop-shadow(0 0 28px rgba(207, 172, 92, 0.45));
    }
    65% {
        transform: translate3d(0, -9px, 0) scale(1.03) rotate(1.4deg);
        filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(237, 213, 154, 0.55)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.35));
    }
    85% {
        transform: translate3d(0, -4px, 0) scale(1.015) rotate(-1deg);
        filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 10px rgba(207, 172, 92, 0.45));
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 6px rgba(207, 172, 92, 0.3));
    }
}

.gunungan-small {
    width: clamp(65px, 15vw, 85px);
    margin: 0 auto 15px;
    display: block;
    animation: gununganLivelyMotion 4.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    transform-origin: 50% 90%;
    will-change: transform, filter;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.gunungan-small:hover {
    transform: translate3d(0, -10px, 0) scale(1.1) rotate(0deg);
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(255, 225, 120, 0.85)) drop-shadow(0 0 35px rgba(207, 172, 92, 0.6));
}

.ring-icon {
    width: 50px;
}

/* --- 1. Cover Section (Clean, Modern & Balanced Composition) --- */
.cover-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    z-index: 10;
    overflow: hidden;
    padding: clamp(20px, 3.5vh, 32px) 15px max(16px, env(safe-area-inset-bottom));
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(20, 3, 3, 0.15) 0%,
        rgba(30, 4, 4, 0.35) 30%,
        rgba(40, 5, 5, 0.75) 55%,
        rgba(35, 5, 5, 0.94) 80%,
        rgba(25, 3, 3, 0.98) 100%
    );
    z-index: 1;
}

.cover-content {
    position: relative;
    z-index: 5;
    padding: 0 10px;
    max-width: 480px;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - clamp(36px, 6vh, 48px));
    min-height: calc(100dvh - clamp(36px, 6vh, 48px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.cover-top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: clamp(120px, 28vh, 210px); /* Diturunkan agar area wajah pengantin di atas bebas & jelas */
    margin-bottom: auto;
}

/* Gunungan Floating & Breathing Animation */
@keyframes gununganMotion {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7)) drop-shadow(0 0 10px rgba(207, 172, 92, 0.35));
    }
    25% {
        transform: translateY(-6px) scale(1.02) rotate(1.2deg);
        filter: drop-shadow(0 8px 16px rgba(0,0,0,0.8)) drop-shadow(0 0 18px rgba(237, 213, 154, 0.55));
    }
    50% {
        transform: translateY(-2px) scale(1.03) rotate(-1deg);
        filter: drop-shadow(0 6px 12px rgba(0,0,0,0.75)) drop-shadow(0 0 24px rgba(255, 225, 120, 0.65));
    }
    75% {
        transform: translateY(-8px) scale(1.015) rotate(0.8deg);
        filter: drop-shadow(0 10px 18px rgba(0,0,0,0.85)) drop-shadow(0 0 18px rgba(237, 213, 154, 0.55));
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7)) drop-shadow(0 0 10px rgba(207, 172, 92, 0.35));
    }
}

.logo-gunungan {
    position: relative;
    z-index: 2;
    margin: 0 auto 4px;
    transform-origin: 50% 85%;
}

.gunungan-animated {
    width: clamp(65px, 16vw, 85px);
    height: auto;
    display: block;
    margin: 0 auto;
    animation: gununganMotion 4.5s ease-in-out infinite;
    transform-origin: 50% 85%;
    will-change: transform, filter;
}

.the-wedding-of {
    display: inline-block;
    color: #ebdcb9;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: clamp(10.5px, 2.7vw, 13px);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 3px 0 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.couple-name {
    font-size: clamp(1.3rem, 4.8vw, 2.1rem);
    color: #edd59a;
    background: linear-gradient(180deg, #ffffff 0%, #fae8be 25%, #dfbc6c 60%, #a78030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95));
    margin: 3px 0 10px;
    line-height: 1.25;
    letter-spacing: 0.5px;
    padding: 0 8px;
    text-transform: uppercase;
}

/* Guest Info (Clean & High Contrast Card) */
.guest-info {
    margin: 0 auto 10px;
    padding: 3px 28px;
    max-width: 360px;
    background: rgba(30, 4, 4, 0.55);
    border: 1px solid rgba(207, 172, 92, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.guest-label {
    font-size: clamp(0.76rem, 2.3vw, 0.84rem);
    margin-bottom: 3px;
    color: #ebdcb9;
    letter-spacing: 0.6px;
    font-weight: 400;
}

.guest-name {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    color: #edd59a;
    background: linear-gradient(180deg, #ffffff 0%, #ebd394 50%, #cfac5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9));
    margin-bottom: 4px;
    letter-spacing: 0.8px;
    word-break: break-word;
    font-weight: 700;
}

.apology {
    font-size: clamp(0.65rem, 1.9vw, 0.72rem) !important;
    font-style: italic;
    color: #d1bfa0;
    opacity: 0.85;
    margin-bottom: 0 !important;
    line-height: 1.35;
}

/* Wrapper Tombol Buka Undangan - Paling Bawah */
.cover-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-bottom: clamp(4px, 1vh, 8px);
    z-index: 10;
}

/* "Buka Undangan" Button */
.btn-open {
    position: relative;
    z-index: 10;
    margin: 0;
    background: linear-gradient(180deg, #ecd391 0%, #cfac5c 50%, #a47d2b 100%);
    color: #2b1704;
    border: 2px solid #54310d;
    padding: 6px 10px;
    border-radius: 50px;
    font-size: clamp(0.85rem, 2.7vw, 0.96rem);
    font-weight: 700;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.65), 0 0 16px rgba(207, 172, 92, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: btnPulse 2.5s infinite;
}

.btn-open:hover {
    background: linear-gradient(180deg, #fae8be 0%, #e0be6e 50%, #b88f3a 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 22px rgba(237, 213, 154, 0.6);
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(207, 172, 92, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(237, 213, 154, 0.6);
        transform: scale(1.03);
    }
}

/* Tablet & PC / Desktop Screen Adjustments for "Buka Undangan" Button */
@media (min-width: 768px) {
    .cover-btn-wrapper {
        padding-bottom: clamp(35px, 5vh, 55px);
        margin-bottom: 10px;
    }

    .btn-open {
        padding: 10px 28px;
        font-size: 1.05rem;
        letter-spacing: 1.5px;
        gap: 10px;
    }

    .btn-open i {
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .cover-btn-wrapper {
        padding-bottom: clamp(48px, 7vh, 75px);
        margin-bottom: 15px;
    }

    .btn-open {
        padding: 13px 40px;
        font-size: 1.18rem;
        letter-spacing: 2px;
        gap: 12px;
        border-width: 2.5px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75), 0 0 25px rgba(207, 172, 92, 0.5);
    }

    .btn-open i {
        font-size: 1.25rem;
    }

    .btn-open:hover {
        transform: translateY(-4px) scale(1.06);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.85), 0 0 35px rgba(237, 213, 154, 0.75);
    }
}

.bottom-ornament {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cover-bottom-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 -3px 8px rgba(0, 0, 0, 0.4));
    vertical-align: bottom;
}

/* --- Floating Side Controls --- */
.side-controls {
    position: fixed;
    right: 12px;
    top: 45%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.side-controls.visible {
    opacity: 1;
    pointer-events: auto;
}

.side-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gold-color);
    color: #2b1d0c;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.side-btn:hover {
    background-color: var(--gold-dark);
    transform: scale(1.08);
}

.side-btn.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(207, 172, 92, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(207, 172, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(207, 172, 92, 0); }
}

/* --- 2. Couple Section --- */
.bismillah-container {
    margin: 5px auto 18px;
    text-align: center;
}

.bismillah-text {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.82rem, 2.5vw, 0.98rem);
    color: var(--gold-color);
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.quote-box {
    position: relative;
    background: linear-gradient(135deg, rgba(50, 7, 7, 0.92) 0%, rgba(35, 4, 4, 0.96) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 22px 20px 18px;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(207, 172, 92, 0.08);
    max-width: 520px;
}

.quote-icon-left {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 1.1rem;
    color: var(--gold-color);
    opacity: 0.35;
}

.quote-text {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 10px;
    font-style: italic;
    padding: 0 4px;
}

.quote-surah {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-color);
    letter-spacing: 1px;
    font-style: normal;
    font-family: 'Cinzel', serif;
}

.salam {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6.5vw, 2.7rem);
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: normal;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.intro-text {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 35px;
    padding: 0 10px;
    color: var(--text-light);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.couple-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.profile-card {
    width: 100%;
    background: linear-gradient(180deg, rgba(48, 6, 6, 0.75) 0%, rgba(28, 3, 3, 0.88) 100%);
    border: 1px solid rgba(207, 172, 92, 0.35);
    border-radius: 24px;
    padding: 28px 18px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(207, 172, 92, 0.05);
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 213, 154, 0.65);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(207, 172, 92, 0.25);
}

.profile-frame {
    position: relative;
    width: clamp(170px, 46vw, 210px);
    height: clamp(235px, 62vw, 290px);
    margin: 0 auto 20px;
    border-radius: 110px 110px 20px 20px;
    border: 3px solid var(--gold-color);
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(207, 172, 92, 0.3);
    background: linear-gradient(135deg, rgba(207, 172, 92, 0.3) 0%, rgba(45, 6, 6, 0.9) 100%);
}

.frame-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 104px 104px 14px 14px;
}

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

.profile-card:hover .frame-inner img {
    transform: scale(1.05);
}

.ornament-left, .ornament-right {
    position: absolute;
    bottom: 10px;
    width: clamp(38px, 11vw, 52px) !important;
    height: auto !important;
    object-fit: contain !important;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(207, 172, 92, 0.35));
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: 3;
}

.ornament-left {
    left: clamp(-24px, -5.5vw, -32px);
    transform: scaleX(-1);
}

.ornament-right {
    right: clamp(-24px, -5.5vw, -32px);
    transform: none;
}

.profile-card:hover .ornament-left {
    transform: scaleX(-1) scale(1.08) translateY(-3px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(237, 213, 154, 0.6));
}

.profile-card:hover .ornament-right {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(237, 213, 154, 0.6));
}

.profile-name {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(1.4rem, 4.8vw, 1.85rem);
    color: #edd59a;
    background: linear-gradient(180deg, #ffffff 0%, #fae8be 30%, #dfbc6c 70%, #a78030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    line-height: 1.25;
}

.parents-name {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-light);
    opacity: 0.92;
}

.parents-label {
    font-size: 0.8rem;
    color: var(--gold-color);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.profile-address {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(207, 172, 92, 0.15);
}

.profile-address i {
    color: var(--gold-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: rgba(207, 172, 92, 0.12);
    border: 1px solid rgba(207, 172, 92, 0.4);
    color: var(--gold-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, #d4af37 0%, #a27a23 100%);
    color: #2b0808;
    border-color: rgba(255, 223, 133, 0.85);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* Couple Divider */
.couple-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 10px 0;
}

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

.couple-ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.4rem, 8vw, 3.4rem);
    color: var(--gold-color);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 15px rgba(207, 172, 92, 0.4);
    padding: 0 6px;
}

/* Desktop & Tablet Layout for Couple Section */
@media (min-width: 768px) {
    .couple-container {
        max-width: 860px;
        flex-direction: row;
        align-items: stretch;
        gap: 20px;
    }

    .profile-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .couple-divider {
        flex-direction: column;
        width: auto;
        margin: 0;
        align-self: center;
    }

    .couple-divider .divider-line {
        width: 1px;
        height: 60px;
        background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
    }
}

/* --- 3. Event Section --- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px;
    max-width: 420px;
    width: 100%;
}

.countdown-item {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 10px 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.count-number {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    font-weight: 700;
    color: var(--gold-color);
    line-height: 1.1;
}

.count-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.event-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 22px 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.event-header {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 12px;
}

.event-header i {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 8px;
    display: block;
}

.event-header h3 {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
    color: var(--gold-color);
}

.event-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.event-item i {
    color: var(--gold-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.location-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-gold {
    background-color: var(--gold-color);
    color: #2b1d0c;
    border: 1px solid var(--gold-light);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    width: 100%;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: #1a1005;
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-gold-outline:hover {
    background: rgba(207, 172, 92, 0.15);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- 4. Story Section --- */
.timeline {
    position: relative;
    margin: 20px auto 0;
    padding-left: 15px;
    border-left: 2px solid var(--gold-color);
    text-align: left;
    max-width: 480px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 15px;
}

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 6px rgba(207, 172, 92, 0.8);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 14px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.timeline-year {
    display: inline-block;
    background: var(--gold-color);
    color: #2b1d0c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    color: var(--gold-color);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- 5. Gallery Section --- */
.video-wrapper {
    margin-bottom: 25px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(207, 172, 92, 0.4) 0%, rgba(45, 6, 6, 0.9) 100%);
    border-radius: 18px;
    border: 1.5px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-masonry {
    column-count: 2;
    column-gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.gallery-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1.5px solid rgba(207, 172, 92, 0.35);
    background: rgba(30, 4, 4, 0.6);
}

.gallery-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 4, 4, 0.85) 0%, rgba(30, 4, 4, 0.2) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 10px 12px;
    transition: opacity 0.3s ease;
}

.gallery-zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(207, 172, 92, 0.92);
    color: #2b0808;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-caption {
    font-size: 0.76rem;
    color: #edd59a;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(207, 172, 92, 0.3);
}

.gallery-item:hover .gallery-frame {
    border-color: rgba(237, 213, 154, 0.75);
}

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

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

.gallery-item:hover .gallery-zoom-btn {
    transform: translate(-50%, -50%) scale(1);
}

/* Tablet & Desktop Masonry */
@media (min-width: 768px) {
    .gallery-masonry {
        column-count: 3;
        column-gap: 16px;
    }
    .gallery-item {
        margin-bottom: 16px;
    }
}

@media (min-width: 1024px) {
    .gallery-masonry {
        column-count: 4;
        column-gap: 18px;
    }
}

/* --- Gallery Lightbox Modal --- */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 2, 2, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gallery-modal-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.gallery-modal-img-wrap {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-img-wrap img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 14px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(207, 172, 92, 0.25);
    transition: transform 0.25s ease;
    background: #000;
}

.gallery-modal-caption {
    margin-top: 10px;
    color: #ebdcb9;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    text-align: center;
    letter-spacing: 0.5px;
    max-width: 500px;
}

.gallery-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(45, 6, 6, 0.88);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.gallery-modal-close:hover {
    background: var(--gold-color);
    color: #2b0808;
    transform: scale(1.1) rotate(90deg);
}

.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(45, 6, 6, 0.88);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.gallery-nav.prev {
    left: 16px;
}

.gallery-nav.next {
    right: 16px;
}

.gallery-nav:hover {
    background: var(--gold-color);
    color: #2b0808;
    transform: translateY(-50%) scale(1.1);
}

.gallery-indicator {
    margin-top: 10px;
    background: rgba(45, 6, 6, 0.88);
    border: 1px solid rgba(207, 172, 92, 0.4);
    color: var(--gold-light);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* --- 6. Gift Section --- */
.bank-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.bank-card {
    background: linear-gradient(135deg, rgba(58, 9, 9, 0.9) 0%, rgba(28, 4, 4, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 22px 20px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 0 15px rgba(207, 172, 92, 0.06);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 213, 154, 0.7);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(207, 172, 92, 0.2);
}

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

.chip-img {
    width: 38px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bank-logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--gold-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.bank-logo {
    max-height: 32px;
    max-width: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.bank-number {
    font-family: 'Cinzel', 'Courier New', monospace;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 6px;
    word-break: break-all;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.bank-owner {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

/* Button Copy */
.btn-copy {
    background: linear-gradient(135deg, #dfbe70 0%, #b88e36 100%);
    color: #260505;
    border: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px rgba(207, 172, 92, 0.25);
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #eed59b 0%, #cb9e43 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 15px rgba(207, 172, 92, 0.45);
}

.btn-copy:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-copy.copied {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4) !important;
    transform: scale(1.03);
}

.btn-copy-small {
    font-size: 0.8rem;
    padding: 7px 16px;
}

/* --- Physical Gift Card --- */
.physical-gift-card {
    background: linear-gradient(180deg, rgba(48, 6, 6, 0.85) 0%, rgba(26, 3, 3, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 26px 20px;
    margin-top: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(207, 172, 92, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.physical-gift-card:hover {
    border-color: rgba(237, 213, 154, 0.6);
}

.physical-gift-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(207, 172, 92, 0.2);
}

.physical-gift-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(207, 172, 92, 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.physical-gift-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.physical-gift-badge {
    font-size: 0.7rem;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.physical-gift-title {
    font-size: 1.15rem;
    color: var(--gold-light);
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

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

.physical-gift-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.gift-detail-item {
    background: rgba(15, 2, 2, 0.5);
    border: 1px solid rgba(207, 172, 92, 0.2);
    border-radius: 12px;
    padding: 12px 14px;
}

.gift-detail-item .detail-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    font-weight: 600;
}

.gift-detail-item .detail-value {
    font-size: 0.92rem;
    color: var(--text-light);
    display: block;
    line-height: 1.4;
}

.detail-address-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.gift-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-wa-confirm {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    background: rgba(207, 172, 92, 0.08);
    transition: all 0.25s ease;
}

.btn-wa-confirm:hover {
    background: var(--gold-color);
    color: #260505;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 172, 92, 0.35);
}

/* --- 7. Vendor Section (Supported By) --- */
.vendor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .vendor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 720px;
    }
}

.vendor-card {
    background: linear-gradient(135deg, rgba(48, 6, 6, 0.88) 0%, rgba(26, 3, 3, 0.94) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 20px 18px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(207, 172, 92, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.vendor-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 213, 154, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 18px rgba(207, 172, 92, 0.25);
}

.vendor-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.vendor-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(207, 172, 92, 0.12);
    border: 1.5px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.vendor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-fallback-icon {
    color: var(--gold-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-header-text {
    min-width: 0;
    flex: 1;
}

.vendor-name {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0 0 4px;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.vendor-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    color: var(--gold-color);
    background: rgba(207, 172, 92, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(207, 172, 92, 0.25);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.vendor-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 12px;
}

.vendor-meta-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: rgba(15, 2, 2, 0.45);
    border-radius: 10px;
    border: 1px solid rgba(207, 172, 92, 0.12);
}

.vendor-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.4;
}

.vendor-meta-item i {
    color: var(--gold-color);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.vendor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.btn-vendor-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    background: rgba(207, 172, 92, 0.08);
}

.btn-vendor-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-vendor-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-color: transparent;
}

.btn-vendor-wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-vendor-web:hover {
    background: var(--gold-color);
    color: #260505;
    border-color: var(--gold-color);
}

/* --- 8. RSVP & Wishes Section --- */
.rsvp-form {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 20px 15px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-color);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    outline: none;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group select option {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

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

.radio-label {
    cursor: pointer;
}

.radio-label input {
    display: none;
}

.radio-label span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--text-light);
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
}

.radio-label input:checked + span {
    background: var(--gold-color);
    color: #2b1d0c;
    font-weight: 700;
    border-color: var(--gold-light);
}

/* Wishes Box */
.wishes-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 20px 15px;
    text-align: left;
}

.wishes-title {
    font-size: 1.15rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 10px;
}

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 4px;
}

.wish-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(207, 172, 92, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
}

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

.wish-author {
    font-weight: 600;
    color: var(--gold-color);
    font-size: 0.88rem;
}

.notif-hadir {
    background: #28a745;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 500;
}

.notif-tidakhadir {
    background: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 500;
}

.notif-ragu {
    background: #17a2b8;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 500;
}

.wish-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 6px;
}

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

/* --- 8. Footer Section (Adat Jawa Style Adapted) --- */
.footer-section {
    background-color: var(--primary-dark);
    padding: 50px 16px 115px;
    text-align: center;
    border-top: 1px solid var(--border-gold);
    position: relative;
}

.footer-inner {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gunungan-footer {
    width: clamp(75px, 18vw, 95px);
    margin: 0 auto 10px;
    display: block;
    animation: gununganSmallMotion 4.5s ease-in-out infinite;
    transform-origin: 50% 85%;
    will-change: transform, filter;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.footer-content {
    margin-bottom: 2px;
}

.footer-date {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--gold-color);
    letter-spacing: 1.5px;
    font-weight: 600;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px 0 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(207, 172, 92, 0.1);
    border: 1px solid rgba(207, 172, 92, 0.35);
    color: var(--gold-color);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform .28s ease, background .28s ease, color .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.08);
    background: linear-gradient(135deg, #d4af37 0%, #a27a23 100%);
    border-color: rgba(255, 223, 133, 0.85);
    color: #2b0808;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.footer-social i {
    font-size: 1.15rem;
    transition: transform .25s ease;
}

.footer-social a:hover i {
    transform: scale(1.1);
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px 0 14px;
    width: 100%;
}

.footer-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.footer-divider i.fa-heart,
.footer-divider .heart-icon {
    color: #e53935;
    font-size: 14px;
    filter: drop-shadow(0 2px 6px rgba(229, 57, 53, 0.45));
}

.footer-thanks {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 18px;
    font-style: italic;
    opacity: 0.9;
    max-width: 480px;
}

.footer-copy {
    border-top: 1px solid rgba(207, 172, 92, 0.2);
    padding-top: 16px;
    width: 100%;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-copy p {
    margin-bottom: 4px;
}

.footer-copy .footer-link {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-copy .footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-copy .footer-text-copy,
.footer-copy .footer-text {
    color: var(--text-muted);
}

.footer-brand {
    font-weight: 600;
    color: var(--gold-color);
    margin-top: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-service {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2px;
}

/* --- 9. Bottom Navigation --- */
.bottom-nav {
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(45, 6, 6, 0.96);
    border: 1px solid var(--gold-color);
    border-radius: 30px;
    padding: 6px 10px;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: calc(100vw - 20px);
    width: auto;
}

.bottom-nav.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.bottom-nav ul {
    list-style: none;
    display: flex;
    gap: clamp(4px, 1.2vw, 8px);
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.bottom-nav a {
    color: var(--gold-color);
    text-decoration: none;
    font-size: clamp(0.85rem, 3.8vw, 1.05rem);
    width: clamp(32px, 8.8vw, 38px);
    height: clamp(32px, 8.8vw, 38px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.bottom-nav a.active, .bottom-nav a:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    transform: scale(1.08);
}

/* --- Extra Mobile Specific Styles (< 480px) --- */
@media (max-width: 480px) {
    .section-container {
        padding: 50px 14px 65px;
    }

    .cover-content {
        padding: 5px 10px;
    }

    .logo-gunungan {
        margin: 42px auto 6px;
    }

    .the-wedding-of {
        font-size: 11px;
    }

    .side-controls {
        right: 8px;
    }

    .side-btn {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}
