:root {
    --bg-color: #e2d9ce;
    --text-brown: #5d4a44;
    --arch-border: #fcf8f0;
    --card-cream: #fcf8f0;
    --shadow-color: rgba(93, 74, 68, 0.4);
    --shadow-color-2: rgba(93, 74, 68, 0.7);
}

body {
    background-color: #2B0505; /* Background luar simulasi */
    font-family: "Lora", serif;
    margin: 0;
    padding: 0;
}
/* Kunci Scroll Saat Overlay Masih Ada */
body.no-scroll {
    overflow: hidden;
}

/* .app-container {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    height: 100vh;
} */

.fixed-bg {
    position: fixed; /* Mengunci posisi agar tidak ikut ter-scroll */
    top: 0;
    left: 50%; /* Pindah ke tengah layar */
    transform: translateX(
        -50%
    ); /* Geser ke kiri 50% dari lebarnya sendiri agar presisi di tengah */
    width: 100%;
    max-width: 450px; /* Mengikuti lebar kontainer utama */
    height: 100vh; /* Memenuhi tinggi layar */
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0; /* Tetap di paling belakang */
    pointer-events: none; /* Opsional: memastikan background tidak menangkap klik */
}
/* --- PERBAIKAN OVERLAY (COVER) --- */
#invitation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background-color: #2B0505;
}
.btn-gold {
    background-color: #ce8e59; /* Warna terracotta/orange brown sesuai gambar */
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(206, 142, 89, 0.3);
}

.btn-gold:hover {
    background-color: #b57a4a;
    transform: translateY(-2px);
}

.btn-gold:active {
    transform: translateY(0);
}
.overlay-container {
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--bg-color);
    /* background-image: url("bg.png"); */
    background-image: var(--root-bg-overlay);
    background-size: cover;
    position: relative;
    overflow: hidden; /* Mengunci agar tidak ada scroll internal */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start; /* MEMBUAT KONTEN DI TENAH OTOMATIS */
    text-align: center;
    padding: 40px;
}

/* layer gelap */
.overlay-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-container); /* atur tingkat gelap di sini */
    z-index: 1;
}

/* konten tetap di atas */
.overlay-container > * {
    position: relative;
    z-index: 2;
}

/* Aset Tirai Kiri & Kanan */
.curtain-side {
    position: absolute;
    top: 0;
    width: 60%; /* Lebar tirai masing-masing sisi */
    z-index: 10;
    pointer-events: none;
}

.curtain-left {
    left: 0;
}

.curtain-right {
    right: 0;
    transform: scaleX(-1); /* MEMBALIK POSISI ASSET (FLIP) */
}

.overlay-content {
    position: relative;
    z-index: 20;
    padding-top: 100px; /* Ruang untuk lengkungan tirai atas */
}

.sub-title-overlay {
    font-family: "Lora", serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-brown);
    margin-bottom: 20px;
}

.couple-name-overlay {
    font-family: "Great Vibes", cursive;
    font-size: 3.8rem; /* Sedikit dikecilkan agar tidak terlalu tinggi */
    color: var(--text-brown);
    margin-bottom: 50px;
    line-height: 1.1;
}

.to-guest-text {
    font-family: "Lora", serif;
    font-size: 1rem;
    color: #8b8178;
    margin-bottom: 5px;
}

.guest-name {
    font-family: "Lora", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-brown);
    margin-bottom: 25px;
}

.opening-message {
    font-family: "Lora", serif;
    font-size: 0.85rem;
    color: #8b8178;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-open {
    background-color: #ce8e59;
    color: #fcf8f0;
    border: none;
    border-radius: 50px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Animasi transisi menghilang yang mulus */
.overlay-fade-out {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
/* --- CLASS GLOBAL UNTUK SETIAP SECTION --- */
.section-wrapper {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 80px 40px;
}

.section-wrapper-groom {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0px 40px;
}

.section-wrapper-second {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 10px;
}

.section-wrapper-kutipan {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}
.section-wrapper-gallery {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 0px 40px;
}
.section-wrapper-closing {
    max-width: 450px;
    margin: 0 auto;

    /* JANGAN PAKAI COVER */
    background-size: 100% auto; /* Lebar selalu 100% container (450px), tinggi mengikuti rasio */
    background-repeat: repeat-y; /* Mengulang ke bawah jika konten panjang */
    background-position: top center;

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}
.flower-decor {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    height: 100%; /* Mengikuti tinggi section berapapun panjangnya */
    z-index: 5;
    pointer-events: none;

    /* AGAR BUNGA TIDAK PECH SAAT DI STORY */
    background-size: contain;
    background-repeat: repeat-y; /* Bunga akan menyambung terus ke bawah */
    background-position: top;
}

/* Dekorasi Bunga (Diletakkan di setiap section) */
.flower-decor {
    position: absolute;
    /* Teknik Centering Vertikal */
    top: 50%;
    transform: translateY(-50%);

    width: 25%;
    /* Jangan gunakan height 100% agar tidak memenuhi layar, 
     gunakan height secukupnya atau biarkan sesuai aspek rasio gambar */
    height: 100%;

    z-index: 5;
    pointer-events: none;
    background-size: contain;
    background-repeat: repeat;
    background-position: center; /* Menjaga aset bunga tetap di tengah container-nya */
}

.flower-left {
    left: 0;
    background-image: url("flower.png");
}

.flower-right {
    right: 0;
    background-image: url("flower.png");
    /* Karena class ini menimpa transform dari class sebelumnya, 
     kita harus menggabungkan translateY dan scaleX agar tetap di tengah */
    transform: translateY(-50%) scaleX(-1);
}

/* Elemen Konten harus di atas bunga */
/* Gaya Dasar untuk Bunga di 4 Sudut */
.flower-main-1,
.flower-main-2,
.flower-main-3,
.flower-main-4 {
    position: absolute;
    width: 250px; /* Sesuaikan lebar bunga */
    height: 250px; /* Sesuaikan tinggi bunga */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1; /* Pastikan di bawah content-layer */
}

/* Kiri Atas */
.flower-main-1 {
    top: -15px;
    left: -40px;
    background-image: url("flower-main-1.png");
    background-position: top left;
    animation: cornerFloat1 6s ease-in-out infinite;
}

/* Kanan Atas */
.flower-main-2 {
    top: 0;
    right: -80px;
    background-image: url("flower-main-2.png");
    background-position: top right;
    animation: cornerMotion 7s ease-in-out infinite reverse;
}

/* Kiri Bawah */
.flower-main-3 {
    bottom: 0;
    left: -40px;
    background-image: url("flower-main-3.png");
    background-position: bottom left;
    animation: cornerMotion 8s ease-in-out infinite;
}

/* Kanan Bawah */
.flower-main-4 {
    bottom: 0;
    right: -115px;
    background-image: url("flower-main-4.png");
    background-position: bottom right;
    animation: cornerMotion 6.5s ease-in-out infinite reverse;
}

/* --- Elemen Konten tetap di atas bunga --- */
.content-layer-main {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0; /* Memberi ruang agar konten tidak tertutup bunga di layar kecil */
}

/* --- GAYA KHUSUS SECTION MAIN --- */
.wedding-of {
    font-family: "Cinzel", serif;
    letter-spacing: 4px;
    font-size: 1rem;
    color: var(--text-brown);
    font-weight: 700;
    margin-bottom: 30px;
}

.arch-container {
    width: 260px;
    height: 380px;
    margin-bottom: 30px;
}

.arch-frame {
    width: 100%;
    height: 100%;
    border: 10px solid var(--arch-border);
    border-radius: 130px 130px 0 0;
    overflow: hidden;
    box-shadow: -10px -10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
}

.arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.couple-name {
    font-family: "Great Vibes", cursive;
    font-size: 3.5rem;
    color: var(--text-brown);
    margin: 0;
}

.wedding-date {
    font-size: 1.1rem;
    color: var(--text-brown);
    letter-spacing: 3px;
}

/* --- GAYA KHUSUS SECTION QUOTE --- */
.flower-quote-1,
.flower-quote-2 {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%; /* Sesuaikan tinggi aset gambar bunga Anda */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Bunga di Bagian Atas */
.flower-quote-1 {
    top: 25px;
    background-image: url("flower-quote-1.png");
    background-position: top center;
    animation: flowerSway 5s ease-in-out infinite;
}

/* Bunga di Bagian Bawah */
.flower-quote-2 {
    bottom: 15px;
    background-image: url("flower-quote-2.png");
    background-position: bottom center;
    animation: flowerSway 6s ease-in-out infinite;
}

/* Pastikan content-layer memiliki padding agar tidak tertutup bunga */
.content-layer-quote {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px; /* Padding ditambah supaya kartu di tengah */
}
.quote-card {
    width: 350px;
    max-width: 350px; /* Tambahkan max-width agar bentuknya proporsional seperti gambar */
    background-color: var(--card-cream);
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 10px 10px 4px var(--shadow-color-2);
}

.quote-image-wrapper {
    width: 100%;
    height: 380px;
}

.quote-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-content {
    padding: 30px 20px; /* Padding disesuaikan agar teks lebih rapi */
    text-align: center;
    color: var(--text-brown);
}

.quote-text {
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-reference {
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- GAYA KHUSUS SECTION COUNTDOWN --- */
.bg-dark-section {
    background-color: #4b1a1d !important; /* Latar belakang cokelat tua sesuai gambar */
    background-image: none !important;
}

.flower-countdown-1,
.flower-countdown-2 {
    position: absolute;
    width: 70%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 99;
    animation: flowerPulse 4s ease-in-out infinite;
}

/* Pojok Kanan Atas */
.flower-countdown-1 {
    top: -100px;
    right: -120px;
    background-image: url("flower-countdown-1.png");
    background-position: top right;
}

/* Pojok Kiri Bawah */
.flower-countdown-2 {
    bottom: -106px;
    left: -120px;
    background-image: url("flower-countdown-2.png");
    background-position: bottom left;
}

.countdown-card {
    width: 100%;
    max-width: 380px;
    background-color: #fff;
    border-radius: 100px 100px 100px 100px; /* Rounded corners besar sesuai gambar */
    border: 3px solid #c5a880; /* Garis emas */
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 10; /* Agar kartu berada di atas bunga */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-title {
    font-family: "Great Vibes", cursive;
    font-size: 3.5rem;
    color: var(--text-brown);
    margin-bottom: 20px;
}

.display-date {
    font-family: "Lora", serif;
    font-size: 1.6rem;
    color: var(--text-brown);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.date-separator {
    color: #c5a880;
    font-weight: 300;
}

.special-time-text {
    font-family: "Great Vibes", cursive;
    font-size: 1.5rem;
    color: var(--text-brown);
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Timer Boxes */
.timer-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Styling Timer Box agar lebih mirip gambar (Warna Maroon) */
.timer-box {
    background-color: #802c2e; /* Warna merah maroon gelap */
    width: 70px;
    padding: 10px 0;
    border-radius: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.7rem;
    text-transform: capitalize;
    font-weight: 400;
}

/* Penyesuaian Bunga untuk Countdown (Di pojok) */
.flower-corner {
    width: 150px !important;
    height: 150px !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

/* --- GAYA KHUSUS SECTION MEMPELAI --- */
.mempelai-intro {
    font-family: "Lora", serif;
    font-size: 1rem;
    color: var(--text-brown);
    line-height: 1.6;
    text-align: center;
    max-width: 320px;
    margin-bottom: 50px;
    font-style: italic;
}
/* Container pembungkus arch agar bunga bisa diposisi secara absolut terhadap arch */
.arch-wrapper {
    position: relative;
    display: inline-block;
}
/* Gaya Dasar Bunga Couple */
.flower-couple-1,
.flower-couple-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 11; /* Di atas bingkai arch */
    pointer-events: none; /* Agar tidak menghalangi klik jika ada link */
}

/* Bunga Rama (Kanan Atas Arch) */
.flower-couple-1 {
    top: -20px;
    right: -70px;
    background-image: url("flower-couple-1.png");
    background-position: top right;
    z-index: 0;
    animation: flowerFloat 4s ease-in-out infinite;
}

/* Bunga Shinta (Kiri Bawah Arch) */
.flower-couple-2 {
    bottom: 20px;
    left: -70px;
    background-image: url("flower-couple-2.png");
    background-position: bottom left;
    z-index: 0;
    animation: flowerFloat 5s ease-in-out infinite;
}

.couple-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

/* Penyesuaian Shadow Arch agar tetap terlihat (opsional) */
.mempelai-arch {
    position: relative;
    z-index: 10;
    width: 190px;
    height: 270px;
    border: 6px solid #6d5952;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: -10px -10px 4px var(--shadow-color);
    z-index: 3;
}

.mempelai-arch {
    width: 190px; /* Ukuran proporsional sesuai gambar */
    height: 270px;
    border: 6px solid var(--text-brown); /* Bingkai cokelat tebal */
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: -10px -10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
}

.mempelai-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mempelai-name {
    font-family: "Great Vibes", cursive;
    font-size: 3.2rem;
    color: var(--text-brown);
    margin-bottom: 5px;
}

.mempelai-info {
    font-family: "Lora", serif;
    font-size: 0.95rem;
    color: var(--text-brown);
    line-height: 1.4;
}

.parent-name {
    font-weight: 600;
    display: block;
    margin-top: 3px;
}

/* Simbol Ampersand (&) Tengah */
.mempelai-divider {
    font-family: "Great Vibes", cursive;
    font-size: 4.5rem;
    color: var(--text-brown);
    margin: 30px 0 50px;
    opacity: 0.8;
    text-align: center;
}

/* --- GAYA KHUSUS SECTION ACARA --- */
.flower-event-1 {
    position: absolute;
    top: -30px;
    width: 405px;
    height: 220px;
    background-image: url("flower-event-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20; /* Pastikan berada di atas kartu */
    animation: flowerSway 7s ease-in-out infinite;
}
.event-card {
    width: 100%;
    background-color: rgb(139, 129, 120, 0.6);
    /* background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png"); */
    border-radius: 100px; /* Sudut membulat ekstrem */
    padding: 60px 30px;
    color: #fcf8f0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.event-title {
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: #fcf8f0;
}

.event-date-box {
    font-family: "Lora", serif;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.event-info {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-title {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1rem;
}

.location-name {
    font-size: 0.85rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Button Lihat Map */
.btn-map {
    background-color: #fcf8f0;
    color: var(--text-brown);
    border: none;
    border-radius: 50px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-map:hover {
    background-color: #e2d9ce;
    color: #5d4a44;
    transform: translateY(-2px);
}

/* Divider Estetik */
.event-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    width: 100%;
}

.line {
    height: 1px;
    background-color: rgba(252, 248, 240, 0.4);
    flex-grow: 1;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #fcf8f0;
    border-radius: 50%;
    margin: 0 15px;
}

/* --- GAYA KHUSUS SECTION STORY (REFINED LINE) --- */
.flower-story-1{
    position: absolute;
    width: 150px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    animation: flowerDriftLeft 6s ease-in-out infinite;
}
.flower-story-2 {
    position: absolute;
    width: 150px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    animation: flowerDriftRigth 6s ease-in-out infinite;
}
.flower-story-3,
.flower-story-4 {
    position: absolute;
    width: 800px;
    height: 800px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    animation: flowerDrift 7s ease-in-out infinite reverse;
}

.flower-story-1 {
    top: 0;
    left: -55px;
    background-image: url("flower-story-1.png");
}
.flower-story-2 {
    top: 0;
    right: -80px;
    background-image: url("flower-story-2.png");
}
.flower-story-3 {
    bottom: -270px;
    left: 0;
    background-image: url("flower-story-3.png");
}
.flower-story-4 {
    bottom: -270px;
    right: 0;
    background-image: url("flower-story-4.png");
}

.story-title {
    font-family: "Great Vibes", cursive;
    font-size: 2.5rem;
    color: var(--text-brown);
    text-align: center;
}
.story-desc {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-brown);
    font-family: "Lora", serif;
    margin-bottom: 60px;
}

.timeline-path {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

/* GARIS PENGHUBUNG YANG LEBIH TEGAS */
/* --- PENYESUAIAN TIMELINE AGAR SESUAI GAMBAR --- */
.timeline-path::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    border-left: 2px dashed #c5a880; /* Garis putus-putus sesuai gambar */
    transform: translateX(-50%);
    z-index: 1;
}

.story-item {
    position: relative;
    width: 100%;
    margin-bottom: 80px; /* Tambah jarak antar item agar garis lebih terlihat */
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* TITIK PENGHUBUNG (NODE) YANG LEBIH CANTIK */
.story-node {
    position: absolute;
    top: -45px; /* Sesuaikan posisi agar pas di tengah antara kartu */
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background-color: #c5a880;
    border-radius: 50%;
    border: 4px solid var(--bg-color); /* Beri jarak dengan background */
    z-index: 15;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.5); /* Efek glow tipis */
}

/* KARTU MODEL DOUBLE FRAME (MEWAH) */
.story-card {
    background-color: #ffffff;
    width: 100%;
    padding: 35px 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(93, 74, 68, 0.15);
    border: 1px solid #e2d9ce;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-card::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(197, 168, 128, 0.4);
    border-radius: 15px;
    pointer-events: none;
}

.story-number {
    font-family: "Cinzel", serif;
    font-size: 1.4rem;
    color: #c5a880;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.story-date-label {
    font-family: "Lora", serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #8b8178;
    display: block;
    margin-bottom: 10px;
}

.story-heading {
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    color: var(--text-brown);
    margin: 5px 0 20px;
    line-height: 1;
}

.story-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5d4a44;
    font-family: "Lora", serif;
}

/* --- GAYA KHUSUS SECTION GALLERY --- */
.bg-gallery-section {
    background-image: url("bg.png") !important;
    background-size: 100% auto !important;
    background-repeat: repeat-y !important;
}
.flower-gallery {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.flower-gallery {
    bottom: -500px;
    background-image: url("flower-galeri.png");
}
.gallery-card {
    width: 100%;
    /* background-color: rgba(252, 248, 240, 0.8);  */
    background-size: cover;
    border-radius: 80px; /* Sudut membulat besar sesuai gambar */
    padding: 80px 20px;
    text-align: center;
    z-index: 10;
}

.gallery-title {
    font-family: "Great Vibes", cursive;
    font-size: 3.5rem;
    color: var(--text-brown);
    text-align: center;
}
.gallery-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-brown);
    font-family: "Lora", serif;
    padding-bottom: 3rem;
    text-align: center;
}
/* Container Swiper */
.swiper {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 50px; /* Ruang untuk pagination */
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 280px; /* Ukuran lebar slide */
    height: 380px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 5px solid #fff;
    cursor: zoom-in; /* Menandakan bisa diklik */
    transition: transform 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Warna Pagination Swiper */
.swiper-pagination-bullet-active {
    background: #ce8e59 !important;
}

/* --- GAYA KHUSUS SECTION RSVP --- */
.bg-rsvp-section {
    background-image: url("bg.png") !important;
    background-size: cover;
}
.rsvp-card {
    width: 100%;
    background-color: rgba(252, 248, 240, 0.95);
    background-image: url("bg-3.png");
    background-size: cover;
    border-radius: 150px;
    padding: 100px 40px 80px; /* Padding top ditambah agar teks tidak tertutup bunga */
    box-shadow: inset 10px 10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
    position: relative; /* Wajib agar bunga bisa nempel di atasnya */
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 50px; /* Beri ruang untuk bunga yang meluber ke atas */
}

/* ORNAMEN BUNGA ATAS (flower-3.png) */
.rsvp-top-flower {
    position: absolute;
    top: -90px; /* Sesuaikan angka ini agar bunga pas di tengah garis lengkung */
    left: 50%;
    transform: translateX(-50%);
    width: 260px; /* Sesuaikan ukuran bunga daisy Anda */
    z-index: 20; /* Di atas segalanya */
    pointer-events: none;
    animation: flowerPulseCenter 3s ease-in-out infinite;
}

.rsvp-title {
    font-family: "Cinzel", serif;
    font-size: 3rem;
    font-style: italic;
    font-weight: 700;
    color: #fffdf2;
    margin-bottom: 5px;
}

.rsvp-subtitle {
    font-family: "Lora", serif;
    font-size: 1rem;
    color: #fffdf2;
    margin-bottom: 40px;
}

/* Gaya Input & Label */
.rsvp-form-label {
    font-family: "Lora", serif;
    font-weight: 700;
    color: #fffdf2;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.rsvp-input {
    background-color: #fffdf2; /* Warna krem sangat muda sesuai gambar */
    border: 1px solid #d1b894; /* Border cokelat keemasan */
    border-radius: 8px;
    padding: 12px 15px;
    color: #8b8178;
    font-family: "Lora", serif;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.rsvp-input:focus {
    outline: none;
    border-color: #ce8e59;
    box-shadow: 0 0 8px rgba(206, 142, 89, 0.2);
    background-color: #ffffff;
}

.rsvp-input::placeholder {
    color: #d1b894;
    opacity: 0.7;
}

/* Textarea khusus Alamat */
textarea.rsvp-input {
    min-height: 120px;
    resize: none;
}

/* Tombol Simpan */
.btn-simpan {
    background-color: #ce8e59; /* Warna terracotta/orange brown sesuai gambar */
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(206, 142, 89, 0.3);
}
.btn-simpan:hover {
    background-color: #b57a4a;
    transform: translateY(-2px);
}

.btn-simpan:active {
    transform: translateY(0);
}
.btn-rsvp {
    background-color: #ce8e59; /* Warna terracotta/orange brown sesuai gambar */
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(206, 142, 89, 0.3);
}

.btn-rsvp:hover {
    background-color: #b57a4a;
    transform: translateY(-2px);
}

.btn-rsvp:active {
    transform: translateY(0);
}

/* --- GAYA KHUSUS SECTION WEDDING WISH --- */
.bg-wish-section {
    background-image: url("bg.png") !important;
    background-size: cover;
}

/* Re-use gaya rsvp-card untuk wish-card agar konsisten */
.wish-card {
    width: 100%;
    background-color: rgba(252, 248, 240, 0.95);
    background-image: url("bg-3.png");
    background-size: cover;
    border-radius: 150px;
    padding: 100px 40px 80px; /* Padding top ditambah agar teks tidak tertutup bunga */
    box-shadow: inset 10px 10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
    position: relative; /* Wajib agar bunga bisa nempel di atasnya */
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 50px; /* Beri ruang untuk bunga yang meluber ke atas */
}
/* ORNAMEN BUNGA ATAS (flower-3.png) */
.wish-top-flower {
    position: absolute;
    top: -90px; /* Sesuaikan angka ini agar bunga pas di tengah garis lengkung */
    left: 50%;
    transform: translateX(-50%);
    width: 260px; /* Sesuaikan ukuran bunga daisy Anda */
    z-index: 20; /* Di atas segalanya */
    pointer-events: none;
    animation: flowerPulseCenter 3s ease-in-out infinite;
}
.wish-title {
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    font-weight: 500;
    color: #fffdf2;
    margin-bottom: 5px;
}

/* Container Daftar Ucapan */
.wish-list-container {
    width: 100%;
    max-height: 400px; /* Batasi tinggi agar tidak terlalu panjang */
    overflow-y: auto; /* Aktifkan scroll jika banyak ucapan */
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--text-brown) transparent;
}

/* Item Ucapan Satuan */
.wish-item {
    background-color: #fffdf9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

/* Efek Biru/Highlight sesuai gambar */
.wish-item.active {
    border: 2px solid #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

.wish-name {
    font-family: "Lora", serif;
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
}

.wish-message {
    font-family: "Lora", serif;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.wish-time {
    font-size: 0.7rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Custom scrollbar untuk list ucapan */
.wish-list-container::-webkit-scrollbar {
    width: 5px;
}
.wish-list-container::-webkit-scrollbar-thumb {
    background: var(--text-brown);
    border-radius: 10px;
}
.btn-wish {
    background-color: #ce8e59; /* Warna terracotta/orange brown sesuai gambar */
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 12px 50px;
    font-family: "Lora", serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(206, 142, 89, 0.3);
}

.btn-wish:hover {
    background-color: #b57a4a;
    transform: translateY(-2px);
}

.btn-wish:active {
    transform: translateY(0);
}
/* --- GAYA KHUSUS SECTION WEDDING GIFT --- */
.gift-title {
    font-family: "Great Vibes", cursive;
    font-size: 3.8rem;
    color: #fffdf2;
    margin-bottom: 20px;
    text-align: center;
}

.gift-description {
    font-family: "Lora", serif;
    font-size: 0.95rem;
    color: #fffdf2;
    line-height: 1.7;
    text-align: center;
    max-width: 320px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Container Kartu Bank */
.bank-card {
    width: 100%;
    max-width: 350px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Efek gelombang halus seperti di gambar */
    background-image: url(card.png);
    background-size: cover;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 10;
}

/* Baris Atas Kartu (Chip & Logo Bank) */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.chip-icon {
    width: 45px;
    height: auto;
}

.bank-logo {
    width: 80px;
    height: auto;
}

/* Baris Tengah (Nomor Rekening) */
.account-number {
    font-family: "Cinzel", serif; /* Font tegas untuk angka */
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* Baris Bawah (Nama & Tombol Salin) */
.card-footer-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.account-name {
    font-family: "Lora", serif;
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.btn-copy {
    background-color: #ce8e59;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(206, 142, 89, 0.3);
}

.btn-copy:hover {
    background-color: #b57a4a;
    transform: scale(1.05);
}

.btn-copy:active {
    transform: scale(0.95);
}

/* --- GAYA KHUSUS SECTION PENUTUP --- */
.flower-closing-1,
.flower-closing-2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 550px; /* Sesuaikan lebar bunga */
    height: 550px; /* Sesuaikan tinggi bunga agar terlihat memanjang ke bawah */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0; /* Di atas closing-card agar terlihat menumpuk sedikit */
}

/* Bunga Samping Kiri */
.flower-closing-1 {
    left: -145px;
    background-image: url("flower-closing-1.png");
    background-position: center left;
    animation: flowerDrift 8s ease-in-out infinite;
}

/* Bunga Samping Kanan */
.flower-closing-2 {
    right: -145px;
    background-image: url("flower-closing-2.png");
    background-position: center right;
    animation: flowerDrift 8s ease-in-out infinite reverse;
}
.closing-card {
    width: 350px;
    background-color: rgb(139, 129, 120, 0.6);
    border-radius: 100px;
    padding: 80px 20px;
    text-align: center;
    color: #fcf8f0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.thanks-text {
    font-family: "Lora", serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Frame Arch Kecil untuk Penutup */
.arch-small-container {
    width: 180px;
    height: 260px;
    margin: 0 auto 40px;
}

.arch-small-frame {
    width: 100%;
    height: 100%;
    border: 8px solid #fcf8f0;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    box-shadow: -10px -10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
}

.arch-small-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.regards-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
}

.couple-name-closing {
    font-family: "Great Vibes", cursive;
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.wedding-date-closing {
    font-size: 1.1rem;
    color: #fcf8f0;
    letter-spacing: 3px;
}

/* --- GAYA FOOTER --- */
.footer-dark {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    background-color: #2b2b3b; /* Warna gelap footer sesuai gambar */
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 1px;
}
/* --- MUSIC PLAYER (DI ATAS NAVIGASI SEBELAH KIRI) --- */
.music-control {
    position: fixed;
    bottom: 85px; /* Tetap di atas navigasi */
    z-index: 1000;
    width: 45px;
    height: 45px;
    background: #ce8e59;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;

    /* LOGIKA POSISI PRESISI: */
    /* Di HP (layar < 450px), jaraknya 20px dari kiri layar */
    /* Di Laptop, jaraknya tetap sejajar dengan sisi kiri undangan (450px) */
    left: max(20px, calc(50% - 205px));
    transform: none; /* Hapus transform translateX sebelumnya agar tidak konflik */
}

/* Animasi putar hanya pada ikonnya agar posisi tombol stabil */
.music-control.playing i {
    animation: spin 4s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* --- FLOATING NAVIGATION (CENTERED) --- */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #ce8e59;
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: white;
    transform: translateY(-3px);
}

/* --- ANIMASI FLOATING (ATAS BAWAH) BUNGA BG --- */
@keyframes moveUpDownLeft {
    0%,
    100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-20px);
    }
}

@keyframes moveUpDownRight {
    0%,
    100% {
        transform: translateY(-50%) scaleX(-1) translateY(0);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateY(-20px);
    }
}

/* Animasi Tirai Simetris */
@keyframes curtainMoveLeft {
    0%,
    100% {
        transform: scale(1.1) translateX(0);
    }
    50% {
        transform: scale(1.2) translateX(10px);
    }
}
@keyframes curtainMoveRight {
    0%,
    100% {
        transform: scaleX(-1) scale(1.1) translateX(0);
    }
    50% {
        transform: scaleX(-1) scale(1.2) translateX(10px);
    }
}

/* 1. Efek Mengapung (Up & Down) */
@keyframes flowerFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 2. Efek Tertiup Angin (Slight Rotation) */
@keyframes flowerSway {
    0%,
    100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

/* 3. Efek Bernapas (Pulse/Scale) */
@keyframes flowerPulseCenter {
    0%,
    100% {
        /* Tetapkan posisi tengah, lalu skala normal */
        transform: translateX(-50%) scale(1);
    }
    50% {
        /* Tetapkan posisi tengah, lalu skala membesar */
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes flowerPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 4. Efek Meluncur Horizontal (Drift) */
@keyframes flowerDrif {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}
@keyframes flowerDriftLeft {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}
@keyframes flowerDriftRigth {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

/* 5. Variasi Khusus untuk Pojok (Float + Sway) */
@keyframes cornerFloat1 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-5px, -10px) rotate(2deg);
    }
}
@keyframes cornerFloat2 {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(5px, -10px) rotate(-2deg);
    }
}
/* 5. Animasi Khusus Pojok (Kombinasi Gerak & Putar) */
@keyframes cornerMotion {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-8px, -12px) rotate(2deg);
    }
}
.curtain-left {
    animation: curtainMoveLeft 8s ease-in-out infinite;
}
.curtain-right {
    animation: curtainMoveRight 8s ease-in-out infinite;
}

/* Tambahkan Smooth Scroll */
html {
    scroll-behavior: smooth;
}
