/* ============================================================
   PUSPA ASRI ART 01 - MAIN STYLESHEET
   Soft Sage Botanical Wedding Theme
   ============================================================ */

/* ================= ROOT SYSTEM ================= */
:root {
    --primary: #9CAF9B;
    --primary-dark: #7E927D;
    --primary-light: #EBF1EA;
    --bg: #F7F9F6;
    --section-bg: #EDF2ED;
    --text: #2F3E35;
    --text-soft: #6E7F74;
    --white: #ffffff;
    --insta: #7E927D;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --font-accent: 'Great Vibes', cursive;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;

    --shadow-soft: 0 6px 18px rgba(47, 62, 53, 0.08);
    --shadow-medium: 0 12px 30px rgba(47, 62, 53, 0.18);

    /* ============================================================
       PENGATURAN HURUF NAMA TAMU (#namatamu)
       ============================================================ */
    --namatamu-font: var(--font-heading, 'Playfair Display', serif);
    --namatamu-color: #71f168;                                       /* Hijau cerah kontras pada cover gelap */
    --namatamu-size: 28px;                                           /* Diperbesar dari 22px ke 28px */
    --namatamu-size-mobile: 23px;                                    /* Diperbesar dari 19px ke 23px */
    --namatamu-weight: 700;
    --namatamu-letter-spacing: 0.6px;
    --namatamu-line-height: 1.3;
    --namatamu-text-transform: none; /* none | uppercase | capitalize */
    --namatamu-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

/* ================= RESET ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ================= SECTION BACKGROUND SYSTEM ================= */
.section-bg {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-bg > * {
    position: relative;
    z-index: 3;
}

.bg-floral-01 {
    background-image: url('../images/bg-tema2.jpeg');
}

/* ================= FLORAL TOP & BOTTOM ================= */
.floral-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: url('../images/top-tema2.webp') top center / 100% auto no-repeat;
    pointer-events: none;
    z-index: 2;
}

.floral-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: url('../images/bottom-tema2.webp') bottom center / 100% auto no-repeat;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 580px) {
    .floral-top::before {
        height: 180px;
    }
    .floral-bottom::after {
        height: 260px;
    }
}

/* ================= SECTION LAYOUT ================= */
section {
    max-width: 580px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.section-fullscreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; color: var(--primary-dark); }
h3 { font-size: 19px; color: var(--primary-dark); }
h4 { font-size: 16px; }

h1.couple-name {
    font-family: var(--font-accent);
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
}

p {
    font-size: 13.5px;
    margin-bottom: 12px;
}

small { font-size: 13px; }

.alamat-label {
    font-weight: 600;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--primary-dark);
}

/* ================= COVER ================= */
.cover {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 90px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cover > div {
    text-align: center;
    color: #fff;
    max-width: 420px;
    animation: coverEnter .9s cubic-bezier(.22,.61,.36,1) forwards;
}

.cover > div > div {
    font-size: 14px;
    letter-spacing: .3px;
    opacity: .9;
}

.cover .couple-name {
    margin: 18px 0 10px;
    color: #fff;
}

.cover p {
    font-size: 19px;
    opacity: 1;
}

.cover small {
    display: block;
    margin-top: 6px;
    opacity: .85;
}

#namatamu {
    font-family: var(--namatamu-font, 'Playfair Display', serif) !important;
    color: var(--namatamu-color, #ffffff) !important;
    font-size: var(--namatamu-size, 22px) !important;
    font-weight: var(--namatamu-weight, 600) !important;
    letter-spacing: var(--namatamu-letter-spacing, 0.5px) !important;
    line-height: var(--namatamu-line-height, 1.3) !important;
    text-transform: var(--namatamu-text-transform, none) !important;
    text-shadow: var(--namatamu-shadow, 0 2px 8px rgba(0, 0, 0, 0.45));
    margin-top: 12px;
    margin-bottom: 0;
    display: block;
}

@media (max-width: 480px) {
    #namatamu {
        font-size: var(--namatamu-size-mobile, 19px) !important;
    }
}

.cover .btn {
    margin-top: 26px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

@keyframes coverEnter {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= BUTTON ================= */
.btn {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all .3s ease;
    font-size: 13.5px;
    margin-top: 10px;
    box-shadow: 0 6px 18px rgba(126, 146, 125, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn:hover {
    background: #6a7f69;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(126, 146, 125, 0.45);
}

.btn:active {
    transform: translateY(1px);
}

/* ================= WATERMARK PITA ================= */
.watermark {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: linear-gradient(135deg, #f5d06f, #d4af37, #b8962e);
    color: #3a2c00;
    padding: 8px 26px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 6px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6);
}

.watermark::before,
.watermark::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-top: 18px solid #b8962e;
}

.watermark::before {
    left: -18px;
    border-left: 18px solid transparent;
}

.watermark::after {
    right: -18px;
    border-right: 18px solid transparent;
}

@media (max-width: 768px) {
    .watermark {
        font-size: 12px;
        padding: 6px 20px 8px;
    }
}

/* ================= COUNTDOWN ================= */
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 10px;
    font-weight: 500;
}

.countdown .unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--primary-dark);
    color: #fff;
    padding: 10px 8px;
    width: 58px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(47,62,53,.15);
}

.countdown .number {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.1;
}

.countdown .label {
    font-size: 11px;
    letter-spacing: .5px;
    opacity: .85;
    text-transform: uppercase;
}

.tanggal-content {
    font-size: 14px;
}

/* ================= TRANSITION ================= */
.hidden { display: none; }

.fade-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CARD & PROFILE ================= */
.card-mempelai {
    position: relative;
    z-index: 4;
    margin: 0 auto;
    padding: 10px 0;
    width: 100%;
    max-width: 480px;
}

.mempelai-intro {
    margin-bottom: 32px;
}

.salam-pembuka {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.kalimat-pembuka {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-soft);
    margin: 10px auto 0;
    max-width: 440px;
}

.card {
    margin: 40px auto;
    position: relative;
}

.pembuka-photo {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 48px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 10px 28px rgba(47,62,53,.18), 0 2px 6px rgba(47,62,53,.08);
    margin-bottom: 18px;
}

.card-wanita,
.card-pria {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    padding: 32px 22px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(156, 175, 155, 0.45);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.card-wanita:hover,
.card-pria:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.profile-photo {
    margin-top: 6px;
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    border: 1.5px solid rgba(156, 175, 155, 0.45);
    box-shadow: 0 10px 26px rgba(47, 62, 53, 0.14), 0 2px 8px rgba(47, 62, 53, 0.06);
    margin-bottom: 16px;
    transition: transform .3s ease;
}

.card-wanita:hover .profile-photo,
.card-pria:hover .profile-photo {
    transform: scale(1.02);
}

.couple-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-dark);
    background: rgba(156, 175, 155, 0.22);
    border: 1px solid rgba(126, 146, 125, 0.3);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.card-wanita h3.couple-name,
.card-pria h3.couple-name,
.card-wanita h3,
.card-pria h3 {
    font-family: var(--font-accent);
    font-size: 38px;
    font-weight: 400;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.couple-parents {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text);
    margin: 8px auto 10px auto;
}

.couple-parents .parent-label {
    font-size: 12px;
    color: var(--text-soft);
    font-style: italic;
    display: block;
    margin-bottom: 3px;
}

.couple-parents .parent-names {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}

.couple-address {
    font-size: 12.5px;
    color: var(--text-soft);
    margin-top: 10px;
    line-height: 1.55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.couple-address i {
    color: var(--primary-dark);
    font-size: 13px;
    flex-shrink: 0;
}

.couple-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 26px auto;
    max-width: 220px;
}

.couple-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 175, 155, 0.75), transparent);
}

.couple-divider .divider-ampersand {
    font-family: var(--font-accent);
    font-size: 38px;
    color: var(--primary-dark);
    line-height: 1;
}

.instagram-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 18px;
    background: rgba(126, 146, 125, 0.12);
    color: var(--primary-dark);
    border: 1px solid rgba(126, 146, 125, 0.28);
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

.instagram-icon-link:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(126, 146, 125, 0.28);
}

.instagram-icon-link i {
    font-size: 14px;
}

@media (max-width: 480px) {
    .card-wanita,
    .card-pria {
        padding: 26px 16px;
        border-radius: 22px;
    }
    .card-wanita h3.couple-name,
    .card-pria h3.couple-name,
    .card-wanita h3,
    .card-pria h3 {
        font-size: 32px;
    }
    .profile-photo {
        width: 160px;
        height: 215px;
    }
}

/* ================= QUOTE ================= */
.quote {
    background: var(--primary);
}

section blockquote {
    background: var(--primary-dark);
    color: #fff;
    padding: 35px 24px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    line-height: 1.8;
    box-shadow: var(--shadow-soft);
}

/* ================= CARD ACARA ================= */
.section-acara {
    position: relative;
    z-index: 4; 
    margin: 20px auto;
    padding: 20px 15px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.card-acara {
    width: 100%;
    margin: 0 auto 24px auto;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(156, 175, 155, 0.4);
    border-radius: 24px;
    padding: 40px 24px;
    box-shadow: var(--shadow-soft);
}

.card-acara h2 {
    margin-bottom: 12px;
    color: var(--text);
}

.card-acara p {
    font-size: 18px;
    color: var(--text);
}

.card-acara .tanggal-custom {
    font-weight: 600;
    color: var(--text);
    font-size: 19px;
}

.card-acara .btn {
    margin-top: 14px;
}

/* Google Maps Embed - Puspa Asri */
.event-map-wrapper {
    margin: 18px 0 16px 0;
    width: 100%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(156, 175, 155, 0.5);
    background: #ffffff;
    transition: all 0.3s ease;
}

.event-map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(156, 175, 155, 0.3);
}

.event-map-frame {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

@media (min-width: 576px) {
    .event-map-frame {
        height: 250px;
    }
}

/* ================= LIVE STREAMING & DRESSCODE ================= */
.live-stream {
    background: var(--section-bg);
    border-radius: var(--radius-md);
    margin: 30px auto;
    padding: 40px 24px;
    border: 1px solid rgba(156, 175, 155, 0.3);
}

.live-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    background: #c62828;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.3);
    transition: all .3s ease;
}

.live-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.dresscode-section {
    background: #FFFFFF;
}

.dresscode-color-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.dc-view-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ================= GALLERY ================= */
.gallery {
    background: var(--primary);
    color: #fff;
}

.gallery h2 {
    color: #fff;
}

.gallery-masonry {
    column-count: 2;
    column-gap: 12px;
    margin-top: 30px;
}

.masonry-item {
    width: 100%;
    margin-bottom: 12px;
    break-inside: avoid;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .3s ease;
}

.masonry-item:hover {
    transform: scale(1.02);
}

/* GALLERY POPUP */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.gallery-modal.active {
    display: block;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.85);
}

.gallery-modal-box {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.gallery-modal-box img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10000;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-indicator {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    z-index: 5;
}

@media (max-width: 768px) {
    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
        background: rgba(0,0,0,.45);
    }    
}

/* ================= VIDEO PREWEDDING ================= */
.video-prewedding {
    width: 100%;
    margin: 20px 0;
}

.video-prewedding iframe {
    width: 100%;
    height: 220px;
    border: none;
}

@media (min-width: 600px) {
    .video-prewedding iframe {
        height: 320px;
    }
}

@media (min-width: 1024px) {
    .video-prewedding iframe {
        height: 420px;
    }
}

/* ============================================================
   LOVE STORY SECTION (MODERN BOTANICAL TIMELINE)
   ============================================================ */

.love-story {
    padding: 60px 20px;
    position: relative;
    max-width: 640px;
    margin: 40px auto 0 auto;
    text-align: center;
}

.love-story-header {
    margin-bottom: 35px;
}

.story-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EBF1EA;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(156, 175, 155, 0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.story-section-badge i {
    font-size: 12px;
    color: #c62828;
}

.love-story-header h2 {
    font-size: 26px;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.love-story-header p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 16px auto;
}

/* DIVIDER BOTANICAL */
.divider-botanical {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px auto 0 auto;
    max-width: 220px;
}

.divider-botanical .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(156, 175, 155, 0.6), transparent);
}

.divider-botanical .icon {
    color: var(--primary-dark);
    font-size: 13px;
    opacity: 0.85;
}

/* TIMELINE CONTAINER */
.love-story-timeline {
    position: relative;
    padding: 20px 0 10px 48px;
    text-align: left;
}

/* Vertical Gradient Stem Line */
.love-story-timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 25px;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(156, 175, 155, 0.2) 0%,
        var(--primary) 15%,
        var(--primary-dark) 85%,
        rgba(156, 175, 155, 0.2) 100%
    );
    border-radius: 2px;
}

/* TIMELINE ITEM */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

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

/* TIMELINE NODE / DOT */
.timeline-node {
    position: absolute;
    left: -48px;
    top: 18px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-node .node-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(156, 175, 155, 0.25), 0 3px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 11px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-node .node-icon {
    transform: scale(1.18);
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 0 0 6px rgba(156, 175, 155, 0.35), 0 4px 12px rgba(47, 62, 53, 0.15);
}

/* STORY CARD */
.story-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid rgba(156, 175, 155, 0.3);
    box-shadow: 0 6px 20px rgba(47, 62, 53, 0.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 26px;
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border-left: 1px solid rgba(156, 175, 155, 0.3);
    border-bottom: 1px solid rgba(156, 175, 155, 0.3);
    transform: rotate(45deg);
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(47, 62, 53, 0.09);
    border-color: rgba(156, 175, 155, 0.55);
}

/* STORY CARD TOP HEADER */
.story-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.story-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    background: #F4F7F3;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(156, 175, 155, 0.25);
}

.story-date-badge i {
    font-size: 12px;
    color: var(--primary-dark);
}

.story-step-badge {
    font-size: 11px;
    font-weight: 700;
    color: #8C9E91;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* STORY TITLE & DESC */
.story-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.story-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
    text-align: justify;
    word-break: break-word;
}

/* Responsive Love Story */
@media (max-width: 480px) {
    .love-story {
        padding: 40px 14px;
    }

    .love-story-timeline {
        padding-left: 38px;
    }

    .love-story-timeline::before {
        left: 14px;
    }

    .timeline-node {
        left: -38px;
        width: 32px;
        height: 32px;
    }

    .timeline-node .node-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .story-card {
        padding: 16px 16px;
        border-radius: 14px;
    }

    .story-card::before {
        left: -6px;
        top: 22px;
        width: 11px;
        height: 11px;
    }

    .story-title {
        font-size: 15.5px;
    }

    .story-desc {
        font-size: 13px;
        line-height: 1.65;
    }
}

/* ================= GIFT ================= */
.gift-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(156, 175, 155, 0.35);
    box-shadow: var(--shadow-soft);
}

.gift-card strong {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.gift-card small {
    display: block;
    font-size: 21px;
    color: var(--text-soft);
}

.gift-card span.account-number {
    display: block;
    font-size: 21px;
    font-weight: 600;
    margin: 6px 0;
    color: var(--text);
}

.gift-card .btn {
    background: var(--primary-dark);
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    border: none;
    outline: none;
    color: #ffffff;
}

.gift-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 62, 53, 0.25);
    filter: brightness(1.08);
}

.gift-card .btn:active {
    transform: scale(0.96);
}

.gift-card .btn.copied {
    background: #2e7d32 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.35) !important;
}

.copy-address-button {
    margin-top: 12px;
}

/* ================= PENUTUP ================= */
.penutup {
    min-height: 80vh;
    padding: 80px 20px 120px;
    display: flex;
    background: var(--primary);
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.penutup > * {
    position: relative;
    z-index: 2;
}

.penutup p {
    max-width: 420px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #fff;
}

.penutup .couple-name {
    margin-top: 30px;
    font-size: 28px;
    letter-spacing: 2px;
}

/* ================= FOOTER (MASJID ART 01 STYLE) ================= */
.section-footer {
    padding: 50px 20px 60px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.footer {
    padding: 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-content .footer-date {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark, #7E927D);
    letter-spacing: 1px;
    margin-bottom: 0;
}

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

.footer-social a,
.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(126, 146, 125, 0.15);
    border: 1px solid rgba(126, 146, 125, 0.35);
    color: var(--primary-dark, #7E927D) !important;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(47, 62, 53, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a i,
.social-circle i {
    color: var(--primary-dark, #7E927D);
    transition: color 0.3s ease;
}

.footer-social a:hover,
.social-circle:hover {
    background: linear-gradient(135deg, #7E927D 0%, #2F3E35 100%);
    border-color: #2F3E35;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 18px rgba(47, 62, 53, 0.25);
}

.footer-social a:hover i,
.social-circle:hover i {
    color: #ffffff;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 8px auto;
}

.footer-divider span,
.footer-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126, 146, 125, 0.4), transparent);
}

.footer-divider i,
.footer-divider .footer-divider-heart {
    color: #e53935 !important;
    font-size: 15px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

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

.footer-thanks {
    font-size: 13.5px;
    font-style: italic;
    color: var(--text-soft, #6E7F74);
    max-width: 440px;
    line-height: 1.6;
    margin: 0;
}

.footer-copy {
    font-size: 12.5px;
    color: var(--text-soft, #6E7F74);
    margin-top: 4px;
    line-height: 1.6;
}

.footer-brand {
    font-weight: 600;
    color: var(--primary-dark, #7E927D);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-brand:hover {
    color: var(--text, #2F3E35);
    text-decoration: underline;
}

.footer-tagline {
    font-size: 11.5px;
    color: var(--text-soft, #6E7F74);
    opacity: 0.85;
}

/* ================= MUSIC TOGGLE ================= */
#music-toggle {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7E927D;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(47, 62, 53, 0.3);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

#music-toggle:hover {
    transform: scale(1.1);
    background: #2F3E35;
}

.spin-music {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ================= BOTTOM NAVBAR ================= */
.bottom-navbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 440px;
    z-index: 998;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

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

.bottom-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(47, 62, 53, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(156, 175, 155, 0.45);
    border-radius: 40px;
    box-shadow: 
        0 12px 32px rgba(47, 62, 53, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.bottom-navbar .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 20px;
    color: rgba(247, 249, 246, 0.75);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.bottom-navbar .nav-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bottom-navbar .nav-icon {
    font-size: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-navbar .nav-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.bottom-navbar .nav-item:hover {
    color: #ffffff;
}

.bottom-navbar .nav-item.active {
    color: #ffffff;
}

.bottom-navbar .nav-item.active .nav-icon-wrap {
    background: rgba(156, 175, 155, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bottom-navbar .nav-item.active .nav-icon {
    color: #ffffff;
}

.bottom-navbar .nav-item.active .nav-label {
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 480px) {
    .bottom-navbar {
        width: calc(100% - 16px);
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .bottom-navbar-inner {
        padding: 5px 4px;
        gap: 2px;
    }
    .bottom-navbar .nav-item {
        padding: 5px 2px;
    }
    .bottom-navbar .nav-icon {
        font-size: 13px;
    }
    .bottom-navbar .nav-label {
        font-size: 9px;
    }
    #music-toggle {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
        right: 14px;
    }
}