.gift-card {
    background: linear-gradient(120deg, #0057a6 0%, #0086d1 100%);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 28px 18px 18px 18px;
    text-align: left;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow: hidden;
}
.gift-card .gift-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: linear-gradient(90deg, #003366 0%, #0057a6 100%);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    z-index: 1;
}
.gift-card .bca-logo {
    position: absolute;
    top: 10px;
    right: 18px;
    width: 54px;
    height: auto;
    z-index: 2;
}
.gift-card .gift-chip {
    position: absolute;
    top: 38px;
    left: 18px;
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 2;
}
.gift-card .gift-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    margin-top: 48px;
    z-index: 3;
    position: relative;
}
.gift-card .gift-rek {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
    z-index: 3;
    position: relative;
}
.gift-card .gift-name {
    font-size: 1em;
    font-weight: 500;
    color: #ffe0b2;
    margin-bottom: 2px;
    z-index: 3;
    position: relative;
}
.gift-card .gift-desc {
    font-size: 0.98em;
    color: #e3f2fd;
    margin-bottom: 0;
    z-index: 3;
    position: relative;
}
@media (max-width: 400px) {
    .gift-card {
        padding: 18px 8px 12px 8px;
        max-width: 98vw;
    }
    .gift-card .bca-logo {
        width: 38px;
        top: 6px;
        right: 10px;
    }
    .gift-card .gift-chip {
        width: 28px;
        height: 18px;
        top: 28px;
        left: 8px;
    }
    .gift-card .gift-title {
        margin-top: 38px;
    }
    .gift-card .gift-rek {
        font-size: 1.1em;
        color: #fff;
    }
    .couple-container {
        gap: 3px;
        flex-direction: row;
    }
}
/* Galeri foto pengantin */
.section-gallery {
    padding: 24px 18px;
    border-bottom: 1px solid #f0e6dd;
    text-align: center;
}
.gallery-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}
.gallery-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-img:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    text-align: center;
}
.gallery-modal-content {
    margin: 5% auto;
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.gallery-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@media (max-width: 600px) {
    .gallery-img {
        width: 70px;
        height: 70px;
    }
    .gallery-modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .gallery-close {
        top: 12px;
        right: 16px;
        font-size: 2em;
    }
    .couple-container {
        gap: 3px;
        flex-direction: row;
    }

}
@media (min-width: 992px) {
    .main-bg {
        padding: 0;
        min-height: 100vh;
        background-size: cover;
    }
    .cover-content.modern, .cover-content {
        max-width: 520px;
        width: 520px;
        padding: 56px 48px 40px 48px;
        border-radius: 40px;
        box-sizing: border-box;
        margin: 0 auto;
    }
    .cover-title {
        font-size: 2.8em;
    }
    .cover-title span[style*='Dancing Script'] {
        font-size: 3em !important;
    }
    .cover-img {
        width: 140px;
        height: 140px;
    }
    .cover-divider {
        width: 80px;
        margin: 24px auto 24px auto;
    }
    .cover-date {
        font-size: 1.2em;
    }
    .invitation-wrapper {
        max-width: 600px;
        width: 600px;
        border-radius: 32px;
        margin: 40px auto;
        box-sizing: border-box;
        padding: 0;
    }
    .header-img {
        width: 140px;
        height: 140px;
    }
    .title {
        font-size: 3em;
    }
    .section {
        padding: 32px 48px;
    }
    .couple-container {
        gap: 3px;
        flex-direction: row;
    }
    .couple-card {
        width: 180px;
        min-width: 180px;
        padding: 18px 12px;
    }
    .map-container {
        height: 260px;
    }
    .footer {
        font-size: 1.1em;
        padding: 24px 12px;
        border-radius: 0 0 32px 32px;
    }
    .message-list {
        max-height: 180px;
        font-size: 1em;
    }
}
/* Font painter untuk nama Ema & Rio di cover utama */
.cover-title span[style*='Dancing Script'] {
    font-family: 'Dancing Script', cursive !important;
    font-size: 2.8em !important;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6d4c41;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media (max-width: 600px) {
    .cover-title span[style*='Dancing Script'] {
        font-size: 2em !important;
    }
}
/* Nama Ema & Rio lebih besar dan Latin di cover utama */
.cover-title span[style*='Montserrat'] {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 2.6em !important;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6d4c41;
    text-transform: uppercase;
}
/* Penataan cover lebih rapi dan tombol modern */
.cover-invite-box {
    background: rgba(250, 235, 215, 0.45);
    border-radius: 12px;
    padding: 12px 0 8px 0;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}
.guest-name-box {
    background: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    margin-top: 6px;
    font-size: 1.08em;
    color: #6d4c41;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    word-break: break-word;
}
.modern-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #a1887f 0%, #6d4c41 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 14px 36px;
    font-size: 1.12em;
    font-family: 'Montserrat', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}
.modern-btn:hover {
    background: linear-gradient(90deg, #6d4c41 0%, #a1887f 100%);
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}
.btn-icon {
    font-size: 1.3em;
    margin-right: 2px;
    display: inline-block;
    vertical-align: middle;
}
.btn-text {
    font-size: 1em;
    display: inline-block;
    vertical-align: middle;
}
/* Modern Cover Page Styles */
.cover-content.modern {
    position: relative;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border-radius: 32px;
    padding-top: 56px;
    padding-bottom: 40px;
    animation: fadeIn 1.2s ease;
}

.cover-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a1887f 0%, #6d4c41 100%);
    border-radius: 2px;
    margin: 18px auto 18px auto;
}
.cover-date {
    font-size: 1.08em;
    color: #a1887f;
    margin-top: 18px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .cover-content.modern {
        border-radius: 0;
        padding-top: 18px;
        padding-bottom: 12px;
        min-height: 240px !important;
        max-width: 98vw;
        width: 98vw;
        box-sizing: border-box;
    }
    .cover-circle {
        width: 90px;
        height: 90px;
    }
    .cover-circle .cover-img {
        width: 62px;
        height: 62px;
    }
    .cover-divider {
        width: 40px;
        margin: 12px auto 12px auto;
    }
    .cover-content.modern.d-flex {
        min-height: 340px !important;
    }
}
/* Cover Page Styles */
.cover-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-content {
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    max-width: 340px;
    width: 92vw;
    padding: 40px 24px 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cover-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 18px;
}
.cover-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    color: #6d4c41;
    margin-bottom: 8px;
    font-weight: bold;
}
.cover-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    color: #a1887f;
    margin-bottom: 18px;
}
.cover-invite {
    font-size: 1.08em;
    color: #4e342e;
    margin-bottom: 24px;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .cover-content {
        max-width: 98vw;
        border-radius: 0;
        padding: 16px 2vw 12px 2vw;
        box-sizing: border-box;
    }
    .cover-img {
        width: 80px;
        height: 80px;
    }
    .cover-title {
        font-size: 1.4em;
    }
}
/* Complex & Responsive Wedding Invitation Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8f6f2;
}
.main-bg {
    min-height: 100vh;
    width: 100vw;
    background: url('../foto/background.webp') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.invitation-wrapper {
    background: rgba(255,255,255,0.70); /* putih transparan */
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 18px;
    margin: 32px auto;
    max-width: 900px;
    backdrop-filter: blur(2px);
}
.header {
    text-align: center;
    padding: 32px 16px 16px 16px;
    background: linear-gradient(120deg, #fbeee6 0%, #f8f6f2 100%);
}
.header-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 12px;
}
.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6em;
    color: #6d4c41;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
}
.and {
    color: #a1887f;
    font-size: 1em;
}
.subtitle {
    font-size: 1.2em;
    color: #a1887f;
    margin: 8px 0 0 0;
    font-family: 'Cormorant Garamond', serif;
}
.section {
    padding: 24px 18px;
    border-bottom: 1px solid #f0e6dd;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3em;
    color: #6d4c41;
    margin-bottom: 12px;
    text-align: center;
}
.section-desc {
    font-size: 1em;
    color: #4e342e;
    text-align: center;
}
.detail-card {
    background: #fbeee6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
}
.detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    color: #6d4c41;
    margin-bottom: 6px;
}
.detail-date, .detail-time, .detail-location {
    font-size: 1em;
    color: #4e342e;
    margin: 2px 0;
}
.couple-container {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-direction: row;
}
.couple-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 12px 8px;
    text-align: center;
    width: 120px;
}
.couple-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
}
.couple-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    color: #6d4c41;
    margin: 0;
}
.couple-desc {
    font-size: 0.95em;
    color: #4e342e;
    margin: 0;
}
/* Countdown lebih menarik */
.countdown {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 1.6em;
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 18px 0;
    background: linear-gradient(90deg, #a1887f 0%, #6d4c41 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 18px 0;
    letter-spacing: 2px;
    font-weight: 700;
    animation: pulseCountdown 1.5s infinite alternate;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
}
.countdown-label {
    font-size: 0.6em;
    color: #ffe0b2;
    font-weight: 400;
    margin-top: 4px;
    letter-spacing: 1px;
}
@keyframes pulseCountdown {
    0% { box-shadow: 0 4px 16px rgba(0,0,0,0.10); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
}
@media (max-width: 600px) {
    .countdown {
        font-size: 1em;
        padding: 10px 0;
        gap: 10px;
    }
    .countdown-item {
        min-width: 38px;
    }
}
.map-container {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 8px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Gift card ATM BCA style */
.gift-card {
    background: linear-gradient(120deg, #0057a6 0%, #0086d1 100%);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    padding: 22px 18px 18px 18px;
    text-align: left;
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', Arial, sans-serif;
}
.gift-card .bca-logo {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: auto;
}
.gift-card .gift-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.gift-card .gift-rek {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.gift-card .gift-name {
    font-size: 1em;
    font-weight: 500;
    color: #ffe0b2;
    margin-bottom: 2px;
}
.gift-card .gift-desc {
    font-size: 0.98em;
    color: #e3f2fd;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .gift-card {
        padding: 14px 8px 12px 8px;
        max-width: 98vw;
    }
    .gift-card .bca-logo {
        width: 38px;
        top: 10px;
        right: 10px;
    }
}
@media (max-width: 400px) {
    .gift-card .gift-title {
        font-size: 1em;
    }
    .gift-card .gift-rek {
        font-size: 1.1em;
    }
    .gift-card .gift-name {
        font-size: 0.95em;
    }
    .gift-card .gift-desc {
        font-size: 0.9em;
    }
    .couple-card {
        font-size: 0.9em;
    }
    .couple-container {
        gap: 3px;
        flex-direction: row;
    }
}
.message-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.message-form input, .message-form textarea {
    border: 1px solid #e0cfc0;
    border-radius: 8px;
    padding: 8px;
    font-size: 1em;
    font-family: inherit;
    resize: none;
}
.message-form button {
    background: linear-gradient(90deg, #a1887f 0%, #6d4c41 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
}
.message-form button:hover {
    background: linear-gradient(90deg, #6d4c41 0%, #a1887f 100%);
    transform: scale(1.04);
}
.message-list {
    max-height: 120px;
    overflow-y: auto;
    font-size: 0.98em;
    color: #4e342e;
    padding: 4px 0;
}
.footer {
    text-align: center;
    padding: 18px 8px;
    font-size: 1em;
    color: #a1887f;
    background: #fbeee6;
    border-radius: 0 0 24px 24px;
}
@media (max-width: 600px) {
    .invitation-wrapper {
        max-width: 99vw;
        border-radius: 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    .header-img {
        width: 80px;
        height: 80px;
    }
    .title {
        font-size: 2em;
    }
    .section {
        padding: 16px 6vw;
    }
    .couple-card {
        width: 44vw;
        min-width: 120px;
    }
    .map-container {
        height: 80px;
    }
    /* Tambahan agar lebih responsif di mobile */
    body {
        font-size: 0.98em;
    }
    .main-bg {
        padding: 0;
        min-height: 100vh;
        background-size: cover;
    }
    .cover-content.modern, .cover-content {
        padding-left: 2vw;
        padding-right: 2vw;
        min-width: 0;
        width: 98vw;
        box-sizing: border-box;
    }
    .detail-card, .gift-card {
        padding: 10px;
        font-size: 0.98em;
    }
    .message-form input, .message-form textarea {
        font-size: 0.98em;
        padding: 6px;
    }
    .footer {
        font-size: 0.95em;
        padding: 12px 4px;
        border-radius: 0;
    }
    .couple-container {
        gap: 3px;
        flex-direction: row;
    }
    .countdown {
        font-size: 1em;
    }
    .message-list {
        max-height: 80px;
        font-size: 0.95em;
    }
}
