:root {
    --bg-color: #5a0b21;
    --bg-color-2: #2865ab;
    --text-brown: #685752;
    --text-brown-2: #77470d;
    --text-black: #000;
    --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: #333; /* Background luar simulasi */
    font-family: "Crimson Text", serif;
}
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.no-scroll {
    overflow: hidden;
}

.fixed-bg {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 450px;
    height: 100dvh;

    background-image: url("bg.png");
    background-repeat: no-repeat;
    background-position: center;
    /* penting */
    background-size: cover;

    z-index: -1;
}
.app-container {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    /* Gunakan min-height agar container mengikuti konten, 
     bukan dipaksa 100vh yang membuat scroll internal */
    min-height: 100vh;
    overflow-x: hidden;
    /* Jika Anda tetap ingin scroll internal, pastikan posisinya relatif */
}
/* HOME */
#home {
    position: relative;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    padding: 20px;
    z-index: 1;
}

/* Overlay Text */
.text-overlay {
    color: var(--text-brown);
    width: 100%;
}

/* Title */
.title {
    font-family: "Crimson Text", serif;
    font-size: clamp(16px, 4vw, 22px);

    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 2rem;
}

/* Nama */
.ampersand {
    font-family: "Playball", cursive;

    font-size: clamp(56px, 10vw, 72px);
    line-height: 1.2;

    margin-bottom: 1.5rem;
}

/* Date */
.date {
    font-family: "Crimson Text", serif;
    font-size: clamp(16px, 4vw, 22px);

    font-style: italic;
    font-weight: 700;
}
.bingkai {
    position: absolute;
    inset: 0;
    margin: auto;

    width: clamp(70%, 80vw, 85%);

    z-index: -1;
}

/* Kutipan */
#kutipan {
    position: relative;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    background-image: url("bg-2.png");
    background-repeat: no-repeat;
    background-position: center;
    /* penting */
    background-size: cover;
    z-index: 1;
}

.card-kutipan {
    width: clamp(350px, 90vw, 400px);
    max-width: clamp(
        350px,
        90vw,
        400px
    ); /* Tambahkan max-width agar bentuknya proporsional seperti gambar */
    background-color: #fff;
    border-radius: 60px;
    border: 5px solid var(--text-brown-2);
    overflow: hidden;
    box-shadow: 10px 10px 4px var(--shadow-color-2);
    margin: 100px 0px;
}

.kutipan-image-wrapper {
    width: 100%;
    height: 380px;
}

.kutipan-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
}

.kutipan-content {
    padding: 30px 20px; /* Padding disesuaikan agar teks lebih rapi */
    text-align: center;
    color: var(--text-brown);
}

.kutipan-text {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 4vw, 22px);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.kutipan-reference {
    font-family: "Crimson Text", serif;
    font-weight: 600;
    font-size: clamp(12px, 4vw, 22px);
}

/* COUPLE */
#couple {
    position: relative;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.card-couple {
    width: clamp(350px, 90vw, 400px);
    max-width: clamp(
        350px,
        90vw,
        400px
    ); /* Tambahkan max-width agar bentuknya proporsional seperti gambar */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 148px;
    border: 5px solid var(--text-brown-2);
    overflow: hidden;
    box-shadow: 10px 10px 4px var(--shadow-color-2);
    margin: 100px 0px;
}

.mempelai-intro {
    font-size: clamp(12px, 1vw, 25px);
    color: #000;
    line-height: 1.6;
    text-align: center;
    margin-top: 3rem;
    padding: 0px 40px;
}

.mempelai-arch {
    width: 190px; /* Ukuran proporsional sesuai gambar */
    height: 270px;
    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;
}

.couple-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.mempelai-divider {
    font-family: "Lily Script One", cursive;
    font-size: 4.5rem;
    color: var(--text-black);
    /* margin: 30px 0 50px; */
    opacity: 0.8;
    text-align: center;
}

.mempelai-name {
    font-family: "Tangerine", cursive;
    font-size: 3.2rem;
    color: var(--text-black);
    margin-bottom: 5px;
    font-weight: bold;
}
.mempelai-fullname {
    font-family: "Libre Caslon Text", serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-black);
    line-height: 1.4;
}

.mempelai-info {
    font-family: "Libre Caslon Display", serif;
    font-size: 0.95rem;
    color: var(--text-black);
    line-height: 1.4;
}

/* COUNTDOWN */
#countdown {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    background-image: url("bg-2.png");
    background-repeat: no-repeat;
    background-position: center;
    /* penting */
    background-size: cover;
    padding: 75px clamp(15px, 90vw, 20px);
    z-index: 1;
}
.card-countdown {
    width: 100%;
    max-width: 380px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 47px; /* Rounded corners besar sesuai gambar */
    border: 5px solid var(--text-brown-2); /* Garis emas */
    padding: clamp(25px, 90vw, 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: "Playfair Display", serif;
    font-style: italic;
    font-size: clamp(3rem, 1vw, 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: "Crimson Text", serif;
    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;
    margin-bottom: 20px;
}

/* Styling Timer Box agar lebih mirip gambar (Warna Maroon) */
.timer-box {
    background-color: var(--bg-color); /* Warna merah maroon gelap */
    width: 70px;
    padding: 10px 0;
    margin: clamp(15px, 1vw, 30px) 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;
}
/* EVENT */
#event {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
    background: var(--bg-color);
    padding: 75px clamp(15px, 90vw, 20px);
    z-index: 1;
}

.card-event {
    width: 100%;
    max-width: 380px;
    height: 700px;
    background-image: url("bg-3.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;

    border-radius: 100px; /* Rounded corners besar sesuai gambar */
    padding: clamp(70px, 90vw, 90px) 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);
}

.event-title {
    font-family: "Playball", cursive;
    font-size: clamp(2.5rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--card-cream);
}

.event-detail-title {
    font-family: "Playball", cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--text-brown);
}

.event-date-box {
    font-family: "Crimson Text", serif;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--text-brown);
}

.event-info {
    font-family: "Crimson Text", serif;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-brown);
}

.location-title {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-brown);
}

.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: 3px solid var(--text-brown-2);
    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);
}

/* STORY */
/* COUPLE */
#story {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.card-story {
    width: clamp(350px, 90vw, 400px);
    max-width: clamp(
        350px,
        90vw,
        400px
    ); /* Tambahkan max-width agar bentuknya proporsional seperti gambar */
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 48px;
    border: 5px solid var(--bg-color);
    overflow: hidden;
    box-shadow: 10px 10px 4px var(--shadow-color-2);
    margin: 50px 0px;
    padding: 50px 20px;
}
.story-card {
    background-color: #d9d9d9;
    color: var(--text-brown);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--text-brown-2);
    text-align: left;
    position: relative;
}
.story-header-title {
    font-family: "Playfair Display", cursive;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(37px, 4vw, 47px);
    color: var(--text-brown);
    text-align: center;
    position: relative;
    z-index: 2;
}
.story-header-desc {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-brown);
}
.story-date {
    font-family: "Lora", serif;
    font-size: 13px;
    margin-bottom: 5px;
    opacity: 0.9;
    color: var(--gold-bronze);
}
.story-title {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.2;
}
.story-desc {
    font-family: "Lora", serif;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.9;
}
.timeline-connector {
    width: 2px;
    height: 40px;
    border-left: 2px dashed var(--text-brown);
    margin: 0 auto;
}

/* GALLERY */
#gallery {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.card-gallery {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 48px;
    border: 5px solid var(--bg-color);
    overflow: hidden;
    box-shadow: 10px 10px 4px var(--shadow-color-2);
    margin: 50px 0px;
    padding: 50px 10px;
}
.gallery-title {
    font-family: "Playfair Display", cursive;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(37px, 4vw, 47px);
    color: var(--text-brown);
    text-align: center;
    position: relative;
    z-index: 2;
}
.gallery-desc {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-brown);
}

.gallery-slider {
    width: 100%;
    height: auto;
    padding: 0 15px 40px 15px; /* bottom padding for pagination dots */
}

.gallery-slider .swiper-slide {
    height: auto;
    /* Tinggi baris diatur otomatis oleh Swiper Grid,
           tapi kita pastikan container gambarnya punya aspect ratio */
}

.gallery-thumb-box {
    display: block;
    width: 100%;
    height: 250px;
    border: 1px solid var(--accent-gold);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.gallery-thumb-box:hover {
    transform: scale(1.05);
    border-color: var(--accent-shine);
}

.gallery-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2);
    transition: filter 0.3s;
}

.gallery-thumb-box:hover img {
    filter: none;
}

/* Custom Swiper Pagination Colors */
.swiper-pagination-bullet {
    background: #918f8f;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--text-brown);
    opacity: 1;
}

/* RSVP */
#rsvp {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    background-image: url("bg-2.png");
    background-repeat: no-repeat;
    background-position: center;
    /* penting */
    background-size: cover;
    padding: 75px clamp(15px, 90vw, 20px);
    z-index: 1;
}
.card-rsvp {
    width: 100%;
    max-width: 380px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 100px; /* Rounded corners besar sesuai gambar */
    border: 5px solid var(--text-brown-2); /* Garis emas */
    padding: clamp(25px, 90vw, 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);
}

.rsvp-header-title {
    font-family: "Playfair Display", cursive;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(37px, 4vw, 47px);
    color: var(--text-brown);
    text-align: center;
    position: relative;
    z-index: 2;
}
.rsvp-header-desc {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-brown);
}

.rsvp-form-label {
    font-family: "Lora", serif;
    font-weight: 700;
    color: var(--text-brown);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.rsvp-input {
    background-color: #fff; /* Warna krem sangat muda sesuai gambar */
    border: 1px solid var(--text-brown-2); /* Border cokelat keemasan */
    border-radius: 8px;
    padding: 12px 15px;
    color: #af8f6f;
    font-family: "Lora", serif;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.rsvp-input:focus {
    outline: none;
    border-color: #af8f6f;
    box-shadow: 0 0 8px rgba(206, 142, 89, 0.2);
    background-color: #ffffff;
}

.rsvp-input::placeholder {
    color: #af8f6f;
    opacity: 0.7;
}

/* Textarea khusus Alamat */
textarea.rsvp-input {
    min-height: 120px;
    resize: none;
}

.btn-rsvp {
    background-color: #fcf8f0; /* Warna terracotta/orange brown sesuai gambar */
    color: var(--text-brown);
    border: 2px solid var(--text-brown-2);
    border-radius: 50px;
    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: #e2d9ce;
    color: #5d4a44;
    transform: translateY(-2px);
}

.btn-rsvp:active {
    transform: translateY(0);
}

/* WISH */
#wish {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    padding: 75px clamp(15px, 90vw, 20px);
    z-index: 1;
}
.card-wish {
    width: 100%;
    max-width: 380px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 100px; /* Rounded corners besar sesuai gambar */
    border: 5px solid var(--text-brown-2); /* Garis emas */
    padding: clamp(25px, 90vw, 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);
}

.wish-header-title {
    font-family: "Playfair Display", cursive;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 40px);
    color: var(--text-brown);
    text-align: center;
    position: relative;
    z-index: 2;
}
.wish-header-desc {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-brown);
}

.wish-form-label {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    color: var(--text-brown);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.wish-input {
    background-color: #fff; /* Warna krem sangat muda sesuai gambar */
    border: 1px solid var(--text-brown-2); /* Border cokelat keemasan */
    border-radius: 8px;
    padding: 12px 15px;
    color: #af8f6f;
    font-family: "Lora", serif;
    width: 100%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.wish-input:focus {
    outline: none;
    border-color: #af8f6f;
    box-shadow: 0 0 8px rgba(206, 142, 89, 0.2);
    background-color: #ffffff;
}

.wish-input::placeholder {
    color: #af8f6f;
    opacity: 0.7;
}

/* Textarea khusus Alamat */
textarea.wish-input {
    min-height: 120px;
    resize: none;
}

.btn-wish {
    background-color: #fcf8f0; /* Warna terracotta/orange brown sesuai gambar */
    color: var(--text-brown);
    border: 2px solid var(--text-brown-2);
    border-radius: 50px;
    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: #e2d9ce;
    color: #5d4a44;
    transform: translateY(-2px);
}

.btn-wish:active {
    transform: translateY(0);
}

.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: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

.wish-name {
    font-family: "Crimson Text", serif;
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
}

.wish-message {
    font-family: "Crimson Text", 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;
}

/* #GIFT */
#gift {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;

    padding: 75px clamp(15px, 90vw, 20px);
    z-index: 1;
}
.card-gift {
    width: 100%;
    max-width: 380px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 100px; /* Rounded corners besar sesuai gambar */
    border: 5px solid var(--text-brown-2); /* Garis emas */
    padding: clamp(25px, 90vw, 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);
}

.gift-header-title {
    font-family: "Playfair Display", cursive;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 40px);
    color: var(--text-brown);
    text-align: center;
    position: relative;
    z-index: 2;
}
.gift-header-desc {
    font-family: "Crimson Text", serif;
    font-size: clamp(12px, 2vw, 14px);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
    color: var(--text-brown);
}

.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);
}

/* CLOSING */
#closing {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    background-color: rgba(
        217,
        217,
        217,
        0.7
    ); /* Background transparan sesuai kode Anda */
}

.card-closing {
    width: 100%;
    max-width: 800px; /* Lebar area konten utama */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.frame-container {
    width: 100%;
    max-width: 800px; /* Permintaan: Lebar frame 600px */
    margin: 40px auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frame-svg {
    width: 150%;
    height: auto; /* Menjaga rasio agar tidak gepeng */
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

.closing-header-text {
    font-family: "Playball", cursive;
    font-size: clamp(2rem, 6vw, 2.5rem); /* Teks membesar mengikuti frame */
    color: var(--text-brown);
    margin-bottom: 10px;
}

.closing-couple-names {
    font-family: "Playball", cursive;
    font-size: clamp(2rem, 6vw, 2.5rem);
    color: var(--text-brown);
    margin: 10px 0;
}
.small-text {
    font-size: clamp(1rem, 6vw, 1.1rem);
    color: var(--text-brown);
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.closing-date {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-brown);
    margin-top: 10px;
}
.closing-mempelai-arch {
    width: 300px; /* Ukuran proporsional sesuai gambar */
    height: auto;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: -10px -10px 4px var(--shadow-color); /* Shadow kiri atas sesuai gambar */
}

.closing-mempelai-arch img {
    background-size: cover;
    width: 100%;
}
/* 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;
}

/* Kontainer pembungkus navbar dan musik */
.nav-wrapper {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #fff; /* Warna putih background navbar */
    border-radius: 50px; /* Membuat lengkung seperti kapsul */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Tombol Musik (Kecil di kiri) */
.toogle-music {
    width: 40px;
    height: 40px;
    background: var(--bg-color); /* Warna Navy */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Menu Navigasi */
.nav-menu {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.nav-item {
    text-decoration: none;
    color: #685752;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
}

.nav-item i {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

#invitation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    background-color: #333;
}
.overlay-container {
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--bg-color);
    /* background-image: url("bg.png"); */
    background-image: url("bg.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    /* penting */
    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;
}

.overlay-content {
    position: relative;
    z-index: 20;
    padding-top: 100px; /* Ruang untuk lengkungan tirai atas */
}

.sub-title-overlay {
    font-family: "Crimson Text", serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-brown);
    margin-bottom: 20px;
}

.couple-name-overlay {
    font-family: "Crimson Text", serif;
    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: var(--text-brown);
    margin-bottom: 5px;
}

.guest-name {
    font-family: "Crimson Text", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-brown);
}

.opening-message {
    font-family: "Crimson Text", serif;
    font-size: 0.85rem;
    color: var(--text-brown);
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-open {
    background-color: #ce8e59;
    color: #fcf8f0;
    border: none;
    border-radius: 50px;
    font-family: "Crimson Text", serif;
    padding: 12px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.overlay-fade-out {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.overlay-content {
    animation: fadeInDown 1.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guest-name {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mempercantik tombol */
.btn-open {
    transition: all 0.4s ease;
}
.btn-open:hover {
    transform: scale(1.1);
    background-color: #b87333; /* Warna sedikit lebih gelap saat hover */
}
