.modal-content,
.transfer-qr-box .btn.copy-btn,
.transfer-qr-box h3 {
    font-family: 'Dancing Script', cursive
}

.countdown-date,
footer {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .4)
}


.heart-label,
.rsvp-wrapper h2 {
    -webkit-text-fill-color: transparent
}



.album-bg-btn,
.btn,
.view-all-link {
    text-decoration: none
}

body {
    font-family: Montserrat, sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #fde7ec, #fff);
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box
}

.animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.copy-modal-content .modal-close,
.modal-close {
    transition: color .3s;
    cursor: pointer;
    right: 15px
}

@keyframes fall {
    0% {
        transform: translateY(-50px) scale(1);
        opacity: 1
    }



    100% {
        transform: translateY(110vh) scale(1.2);
        opacity: 0
    }


}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    /* lớp phủ mờ */
    display: none;
    /* Ẩn mặc định */
    justify-content: center;
    /* Căn giữa ngang */
    align-items: center;
    /* Căn giữa dọc */
    z-index: 9999;
    overflow-y: auto;
    /* 🟢 Cho phép cuộn dọc khi nội dung cao */
    padding: 16px;
    /* 🟢 Tạo khoảng cách với mép màn hình */
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    /* thêm khoảng cách mép màn hình nhỏ */
}


.modal-content {
    background: linear-gradient(120deg, #fff0f5 70%, #e3f0ff 100%);
    color: #b45f06;

    width: 100%;
    /* luôn co giãn theo khung cha */
    height: auto;
    overflow-y: auto;
    /* cuộn nếu quá dài */
    border-radius: 22px;
    padding: 22px 16px 18px;
    text-align: center;
    position: relative;
    margin: auto;
    /* 🟢 giúp căn giữa ngang */
    box-shadow: 0 4px 24px rgba(233, 30, 99, .13);
    border: 2.5px solid #f8bbd0;
    font-size: 1.15rem;
    animation: .3s scaleIn;
    box-sizing: border-box;
    flex-shrink: 1;
    /* 🟢 ép co lại nếu không gian nhỏ */
}

@keyframes scaleIn {
    0% {
        transform: scale(.8);
        opacity: 0
    }



    100% {
        transform: scale(1);
        opacity: 1
    }


}

.modal-close {
    position: absolute;
    top: 10px;
    font-size: 45px;
    color: #e02121;
    pointer-events: auto
}



.modal-close:hover {
    color: #b45f06
}

/* Giới hạn kích thước của modal */
#transferModal {
    display: none;
    /* ẩn mặc định */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);

    justify-content: center;
    /* căn giữa nội dung */
    align-items: center;
}

#transferModal.active {
    display: flex;
}

.transfer-qr-columns {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: flex-start;
    margin: 18px 0 0;
    flex-wrap: wrap
}



.transfer-qr-box {
    background: #fffdfaee;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(233, 30, 99, .08);
    border: 2px solid #f8bbd0;
    padding: 14px 10px 10px;
    text-align: center;
    min-width: 150px;
    max-width: 300px;
    flex: 1 1 160px;
    margin: 0 4px;
    font-size: 1.25rem
}



.transfer-qr-box h3 {
    color: #e91e63;
    font-size: 1.25rem;
    margin-bottom: 8px
}



.transfer-qr-box .qr-code {
    width: 173px;
    height: 212px;
    margin: 0 auto 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px #f8bbd0;
    border: 1.5px solid #f8bbd0
}



.transfer-qr-box .bank-info {
    color: #7b4b94;
    margin-bottom: 4px;
    word-break: break-word;
    font-size: 1.15rem
}



.transfer-qr-box .bank-account {
    font-size: 1.08rem;
    font-weight: 700;
    color: #e91e63;
    background: #fff0f5;
    border-radius: 8px;
    padding: 3px 8px;
    margin: 6px 0;
    display: inline-block;
    letter-spacing: 1px
}



.transfer-qr-box .btn.copy-btn {
    margin: 8px 0 4px;
    padding: 6px 12px;
    font-size: 1rem;
    border-radius: 10px;
    background: linear-gradient(90deg, #e91e63 60%, #ffb6c1 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(233, 30, 99, .1);
    transition: background .3s, transform .2s
}



.transfer-qr-box .btn.copy-btn:hover {
    background: linear-gradient(90deg, #ffb6c1 0, #e91e63 100%);
    transform: scale(1.05)
}

/* UNUSED - không dùng trong index.html */


.modal-overlay.rsvp-modal {
    background: rgba(0, 0, 0, .4)
}

/* UNUSED - không dùng trong index.html */


.modal-content.rsvp-content,
.modal-content.thank {
    font-size: 1.7rem;
    background: #4caf50;
    color: #fff
}

/* UNUSED - không dùng trong index.html */


.modal-content.thank {
    max-width: 500px;
    width: 96vw;
    padding: 32px 24px;
    border-radius: 12px
}



.copy-modal-content {
    background: linear-gradient(135deg, #4caf50, #81c784);
    color: #fff;
    max-width: 100%;
    width: 90%;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
    animation: .5s ease-out slideDown
}



.hero,
header {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative
}



@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0
    }



    to {
        transform: translateY(0);
        opacity: 1
    }


}

.copy-modal-content .modal-close {
    position: absolute;
    top: 10px;
    font-size: 24px;
    color: #fff
}



.copy-modal-content .modal-close:hover {
    color: #ccc
}



header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    background: 0 0
}



.header-container {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto
}



.hero {
    animation: 8s infinite zoomBg;
    height: 100vh;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    box-sizing: border-box;
    transform-origin: center center
}



@keyframes zoomBg {

    0%,
    100% {
        transform: scale(1)
    }



    50% {
        transform: scale(1.02)
    }


}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px
}



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #e91e63;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: background .3s, transform .3s
}



.content-section,
.rsvp-wrapper {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}



.btn:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
}



.content-section {
    max-width: 100%;
    margin: 50px auto;
    text-align: center;
    background: #fff
}



.content-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    color: #1dc1d6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
    text-align: center
}



.content-section h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #e91e63;
    margin: 10px auto 0
}



.content-section p {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1dc1d6;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: justify;
    font-family: "Playfair Display", serif
}



.rsvp-section {
    background: linear-gradient(to bottom, #fff0f5, #fceef3);
    padding: 60px 20px;
    text-align: center
}



.rsvp-wrapper {
    max-width: 70%;
    margin: 0 auto;
    background: linear-gradient(135deg, #708ea7, #f9f9f9);
    padding: 30px;
    position: relative
}



.couple-img,
.qr-code {
    margin: 0 auto 15px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    object-fit: cover
}



.couple-img {
    width: 250px;
    height: 250px;
    border-radius: 50%
}



.qr-code {
    width: 50%;
    height: 50%
}



.rsvp-wrapper h2 {
    font-size: 3.6rem;
    margin-bottom: 14px;
    font-family: "Dancing Script", cursive;
    color: #fff;
    background: linear-gradient(90deg, #43e97b 0, #38f9d7 40%, #f9ea8f 70%, #a18cd1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 12px #1356e6, 0 1px 0 #fff;
    padding: 14px 32px;
    border-radius: 24px;
    display: inline-block;
    letter-spacing: 3px;
    transition: transform .3s, box-shadow .3s;
    border: 4px solid;
    border-image: linear-gradient(90deg, #43e97b 0%, #38f9d7 40%, #f9ea8f 70%, #a18cd1 100%);
    border-image-slice: 1;
    box-shadow: 0 0 24px 0 rgba(67, 233, 123, .18), 0 2px 8px rgba(161, 140, 209, .12)
}



.guestbook-form button,
.rsvp-new-form button {
    background: #e91e63;
    transition: background .3s, transform .3s
}



.rsvp-wrapper h2:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(233, 30, 99, .18)
}



.rsvp-subtitle {
    font-size: 1.5rem;
    color: #555;
    max-width: 100%;
    margin: 0 auto 20px;
    line-height: 1.4
}



.rsvp-new-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    max-width: 100%;
    margin: 0 auto
}



.rsvp-new-form .form-group {
    display: flex;
    flex-direction: column
}



.rsvp-new-form label {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333
}



.rsvp-new-form input[type=text],
.rsvp-new-form select,
.rsvp-new-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box
}



.rsvp-new-form button {
    align-self: center;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px
}



.guestbook-form button:hover,
.rsvp-new-form button:hover {
    background: #d81b60;
    transform: scale(1.03)
}



.guestbook-section {
    background: #fff;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 70%;
    border-radius: 60%;
    border: 20px solid #ddd
}



.guestbook-form .form-group,
.guestbook-header {
    margin-bottom: 15px
}



.guestbook-container {
    background: rgba(255, 255, 255, .95);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    padding: 30px;
    text-align: center
}



.guestbook-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.guestbook-container h1 {
    font-family: "Dancing Script", cursive;
    font-size: 4rem;
    color: #e91e63;
    margin: 0
}



.guestbook-description {
    font-family: "fantasy";
    color: #555;
    font-size: 2rem;
    margin: 15px auto 20px;
    max-width: 100%;
    line-height: 1.4
}



.guestbook-form {
    text-align: left;
    margin: 0 auto;
    max-width: 100%
}



.guestbook-form label {
    font-family: "Comic Sans MS";
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.5rem;
    color: #333
}



.guestbook-form input,
.guestbook-form textarea {
    font-family: "Font Awesome 6 Free";
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.5rem;
    margin-bottom: 10px
}



.countdown-date,
.guestbook-form button,
.view-all-link,
footer {
    font-family: "Dancing Script", cursive
}



.guestbook-form button {
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1.8rem;
    cursor: pointer;
    width: 100%
}



.view-all-link {
    display: inline-block;
    margin-top: 24px;
    color: #fff;
    background: linear-gradient(90deg, #e91e63 40%, #ffb6c1 100%);
    font-weight: 700;
    font-size: 2rem;
    padding: 10px 32px;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(233, 30, 99, .18);
    transition: background .3s, color .3s, transform .2s, box-shadow .2s;
    letter-spacing: 1.5px;
    border: 2.5px solid #fff0f5
}



.countdown-container,
footer {
    border-radius: 10px;
    text-align: center
}



.view-all-link:hover {
    background: linear-gradient(90deg, #ffb6c1 0, #e91e63 100%);
    color: #fff;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 30, 99, .22);
    text-underline-offset: 6px
}



footer {
    padding: 30px 20px;
    margin-top: 40px;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, .1);
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #4caf50;
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    width: 100%
}



.countdown-container {
    max-width: 100%;
    margin: 40px auto;
    padding: 10px;
    background: linear-gradient(120deg, #d0f5ce 70%, #b2e5a6 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}



.countdown-date {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 10px
}



.album-bg-btn .album-label,
.album-title-label,
.arrow-hint .arrow-text,
.card-text h2,
.wedding-date {
    font-family: 'Dancing Script', cursive
}



.countdown-subtitle {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e91e63
}



.countdown-note {
    font-size: 2.5rem;
    color: #555;
    max-width: 100%;
    margin: 0 auto 20px;
    line-height: 1.4
}



.heart-label,
.heart-value {
    margin-bottom: 2px;
    position: relative
}



.countdown-heart-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap
}



.countdown-heart {
    width: 80px;
    height: 80px;
    position: relative;
    background: #fff;
    border: 2px solid #ff8a8a;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: transform .3s, box-shadow .3s
}



.countdown-heart:hover,
.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .3)
}



.countdown-heart::after,
.countdown-heart::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 70px;
    background: pink;
    border: 2px solid #ff8a8a;
    border-radius: 40px 40px 0 0;
    z-index: -1
}



.heart-value {
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e91e63
}



.heart-label {
    z-index: 1;
    font-size: 1rem;
    background: linear-gradient(45deg, red, #d81b60);
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    letter-spacing: 1px;
    margin-top: 4px;
    transition: transform .3s, filter .3s
}



.heart-label:hover {
    transform: scale(1.1);
    filter: brightness(1.2)
}

/* UNUSED - không dùng trong index.html */


#copyBtn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #2196f3;
    color: #2196f3;
    border-radius: 4px;
    cursor: pointer;
    transition: background .3s, color .3s
}

/* UNUSED - không dùng trong index.html */


#copyBtn:hover {
    background: #2196f3;
    color: #fff
}



.album-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 48px 0 64px;
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #e0ffe7 60%, #fff0f5 100%);
    border: none;
    border-radius: 48px;
    box-shadow: 0 8px 32px rgba(67, 233, 123, .13), 0 0 0 8px #fff6fa;
    padding: 0;
    overflow: visible
}



.album-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(67, 233, 123, .1);
    position: relative;
    min-width: 340px
}



.album-title-label {
    text-align: center;
    font-size: 2.5rem;
    color: #43e97b;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 3px;
    text-shadow: 0 2px 8px #b2e5a6
}



.album-bg-btn {
    display: block;
    width: 260px;
    height: 350px;
    background: url('../thumb/QUYE0938.webp') center/cover no-repeat;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(67, 233, 123, .12);
    border: 4px solid #d0f5ce;
    transition: box-shadow .3s, transform .3s;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 auto
}



.album-bg-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(67, 233, 123, .25);
    opacity: 0;
    transition: opacity .3s;
    z-index: 1
}



.album-bg-btn:hover::before {
    opacity: 1
}



.album-bg-btn .album-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(67, 233, 123, .92);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    box-shadow: 0 2px 12px rgba(67, 233, 123, .18);
    letter-spacing: 1px;
    z-index: 2;
    white-space: nowrap
}



.album-bg-btn:hover .album-label {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08)
}



.arrow-hint .arrow-text,
.arrow-hint i {
    animation: 1.2s infinite alternate arrow-flash
}



.music-control {
    position: fixed;
    bottom: 10px;
    left: 20px;
    z-index: 1000
}



.music-btn {
    background-color: #e91e63;
    color: #fff;
    padding: 20px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    transition: background-color .3s, transform .3s;
    animation: 2s infinite pulse
}



.card,
.card-text {
    background-color: #fff
}



@keyframes pulse {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .3)
    }



    50% {
        transform: translateY(-8px);
        opacity: .9;
        transform: scale(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, .4)
    }


}

.music-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .3)
}



.card,
.couple-section .card {
    transform: translateY(50px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    opacity: 0
}



.arrow-hint {
    position: fixed;
    left: 10px;
    bottom: 80px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: 1.2s infinite alternate arrow-bounce-hint;
    pointer-events: none
}



.arrow-hint i {
    font-size: 48px;
    color: #ea5785;
    filter: drop-shadow(0 2px 8px #fff6fa)
}



.arrow-hint .arrow-text {
    margin-top: 4px;
    font-size: 1.1rem;
    color: #ea5785;
    background: rgba(255, 255, 255, .85);
    padding: 2px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, .08)
}



@keyframes arrow-bounce-hint {
    0% {
        transform: translateY(0)
    }



    100% {
        transform: translateY(-18px)
    }


}

@keyframes arrow-flash {
    0% {
        opacity: 1
    }



    100% {
        opacity: .5
    }


}

.couple-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    height: auto
}



.card {
    flex: 1 1 10%;
    max-width: 45%;
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    position: relative
}



.card.visible,
.couple-section .card.visible {
    opacity: 1;
    transform: translateY(0) scale(1)
}



@keyframes flyInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%)
    }



    100% {
        opacity: 1;
        transform: translateX(0)
    }


}

@keyframes flyInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%)
    }



    100% {
        opacity: 1;
        transform: translateX(0)
    }

    /* UNUSED - không dùng trong index.html */

}

.card.in-view.left {
    animation: .8s forwards flyInFromLeft
}

/* UNUSED - không dùng trong index.html */


.card.in-view.right {
    animation: .8s forwards flyInFromRight
}

/* UNUSED - không dùng trong index.html */


.card.visible:hover {
    transform: translateY(0) scale(1.05);
    cursor: pointer
}



.card img {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(233, 30, 99, .13);
    background: #fff6fa;
    padding: 4px
}



.card-text h2,
.card-text p {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-style: italic;
    padding: 10px;
    border-radius: 8px;
    transition: transform .3s, box-shadow .3s;
    font-weight: 700;
    margin: 0
}



.card-text {
    padding: 15px;
    text-align: center
}



.card-description,
.card-text h2 {
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}



.card-text h2 {
    font-size: 1.5em;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    border: 2px solid #d81b60
}



.card-text p {
    font-size: 1.3em;
    color: #d81b60;
    font-family: "Times New Roman", Times, serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    background: linear-gradient(90deg, #fff0f5 60%, #fceef3 100%);
    border: 2.5px dashed #f8bbd0
}



.card-description {
    padding: 20px;
    border-top: 2px solid #d35400;
    border-bottom: 2px solid #d35400;
    text-align: center;
    margin: 20px auto;
    max-width: 90%;
    border-radius: 8px
}



.card-description p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1)
}



.save-the-date-section {
    width: 100%;
    box-sizing: border-box;
    padding: 200px 20px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background-color: #fdf7f0;
    background-image: url('../img/webp/QUYE1484.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh
}



.wedding-date {
    font-size: 1.9rem;
    color: #ea5785;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #fff0f5 60%, #fceef3 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(233, 30, 99, .07);
    padding: 10px 24px;
    border-radius: 18px;
    display: inline-block;
    letter-spacing: 8px;
    text-shadow: 0 2px 8px #fff, 0 1px 0 #ea5785
}



.big-title,
.couple-names {
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase
}



@media (max-width:480px) {
    .couple-img {
        width: 100%;
        height: 70%;
        object-fit: cover;
        margin: 0 auto 15px;
        display: block;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
    }



    .rsvp-wrapper h2 {
        font-size: 2.6rem
    }



    .guestbook-section,
    .rsvp-wrapper {
        max-width: 100%
    }



    .rsvp-subtitle {
        font-size: 1.2rem;
        text-align: center
    }



    .view-all-link {
        font-size: 1.9rem;
        font-weight: 700
    }



    .guestbook-description {
        font-size: 1.5rem
    }



    .countdown-heart-wrapper {
        gap: 10px
    }



    .countdown-heart {
        width: 60px;
        height: 60px
    }



    .countdown-heart::after,
    .countdown-heart::before {
        width: 30px;
        height: 50px
    }



    .heart-value {
        font-size: 1.1rem
    }



    .heart-label {
        font-size: .8rem
    }



    .save-the-date-section {
        padding: 158px 10px;
        min-height: 575px;
        background-position: top center;
        background-size: cover
    }


}

.big-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ea5785;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
}



.fly-in-text {
    opacity: 0;
    transform: translateY(40px) scale(.95);
    animation: 2s ease-out forwards flyInText
}



@keyframes flyInText {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(.95);
        letter-spacing: 8px
    }



    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
        letter-spacing: 2px
    }



    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 2px
    }


}

.big-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #ea5785;
    border-radius: 2px;
    opacity: .8
}



.big-title:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .4)
}



.couple-names {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: #000;
    letter-spacing: 1px;
    text-shadow: 5px 5px 7px rgba(0, 0, 0, .7);
    transition: transform .3s, text-shadow .3s;
    background: rgba(255, 255, 255, .6);
    padding: .2em .5em;
    border-radius: 4px
}



.fly-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: 2s ease-out forwards flyInFromLeft
}



.fly-in-right {
    opacity: 0;
    transform: translateX(60px);
    animation: 2s ease-out forwards flyInFromRight
}



@keyframes flyInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px)
    }



    100% {
        opacity: 1;
        transform: translateX(0)
    }


}

@keyframes flyInFromRight {
    0% {
        opacity: 0;
        transform: translateX(60px)
    }



    100% {
        opacity: 1;
        transform: translateX(0)
    }


}

.couple-names:hover {
    transform: scale(1.05);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, .3)
}



.couple-names::before {
    content: "♥";
    position: absolute;
    left: 50%;
    top: -1.5em;
    transform: translateX(-50%);
    font-size: 1.5rem;
    transition: transform .3s, color .3s;
    transform: translateX(-50%) scale(1.2);
    color: #ea5785
}



.couple-names:hover {
    transform: translateX(-50%) scale(1.2);
    color: #ea5785
}


@media (max-width:576px) {
    .hero-content {
        font-size: 1.1rem
    }

    .hero-content p {
        font-size: 1.5rem;
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
    }

    .hero-content h3 {
        font-size: 1.5rem
    }

    .big-title {
        font-size: 2.2rem
    }

    .couple-names {
        font-size: 1.6rem
    }

}

.icon-container {
    position: relative;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 50px
}



.icon-bulb,
.icon-emoji {
    cursor: pointer;
    font-size: 25px;
    opacity: .6;
    transition: transform .2s, opacity .2s
}



.icon-bulb:hover,
.icon-emoji:hover {
    transform: scale(1.2);
    opacity: 1
}



.emoji-picker-container {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    z-index: 1000;
    top: 100%;
    left: 0;
    width: auto
}



.emoji-picker-container .emoji {
    font-size: 24px;
    margin: 5px;
    cursor: pointer;
    transition: transform .2s
}



.emoji-picker-container .emoji:hover {
    transform: scale(1.2)
}



.suggestion-box {
    display: none;
    background: #fdfdfd;
    border: 1px solid #ccc;
    margin-top: 5px;
    border-radius: 6px;
    padding: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}



.suggestion-box ul {
    list-style: none;
    padding: 0;
    margin: 0
}



.suggestion-box li {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color .2s;
    font-size: 18px
}



.suggestion-box li:hover {
    background: #f1f1f1
}



.floating-btn-group {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 9999
}



.floating-btn-items {
    display: none;
    flex-direction: column;
    gap: 10px;
    transition: opacity .3s
}



.floating-btn,
.floating-toggle-btn {
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: background-color .3s, transform .3s;
    display: flex;
    cursor: pointer
}



.floating-btn {
    width: 100%;
    justify-content: center;
    background-color: #c0392b;
    border: none;
    border-radius: 30px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    align-items: center
}



.floating-btn i {
    margin-right: 6px
}



.floating-btn:hover {
    background-color: #e74c3c;
    transform: translateY(-2px)
}



.floating-toggle-btn {
    background-color: #34495e;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center
}



.floating-toggle-btn:hover {
    background-color: #2c3e50;
    transform: scale(1.1)
}



.calendar-section {
    width: 80%;
    height: 600px;
    padding: 30px;
    background-color: #fff;
    border-radius: 50px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    opacity: 0;
    transform: translateY(20px);
    background: linear-gradient(135deg, #fdfdfd, #fafafa);
    animation: 2s ease-out forwards flyIn
}



.month-select,
.today-btn,
.year-select {
    height: 50px;
    font-size: 2.2rem;
    font-weight: 700
}



@keyframes flyIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }



    to {
        opacity: 1;
        transform: translateY(0)
    }


}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    background-color: #eceaea
}



.month-select,
.year-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 8px;
    background-color: #fff
}



.today-btn {
    background-color: #e3f9e3;
    color: #28a745;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 6px 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s, box-shadow .3s
}



.today-btn:hover {
    background-color: #d2f0d2;
    box-shadow: 0 0 3px rgba(40, 167, 69, .3)
}



.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed
}



.calendar-table th {
    background-color: #f8f8f8;
    padding: 10px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 2.5rem;
    border: 4px solid #eceaea
}



.calendar-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    position: relative;
    color: #333;
    font-size: 2.8rem;
    border: 4px solid #eceaea
}



.calendar-table td.highlight {
    background-color: #fff7dd
}



.heart-icon {
    color: red;
    margin-right: 4px
}

.wedding-icon {
    color: #ea5785;
    font-size: 30px
}

.calendar-footnote {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #555
}

.video-section {
    position: relative;
    width: 90%;
    /* vẫn giữ 80% */
    min-height: 320px;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    /* căn giữa ngang */
    align-items: center;
    /* căn giữa dọc */
    padding: 20px 0;
    margin: 0 auto;
    /* quan trọng: căn giữa container ngang */
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(29, 193, 214, 0.5),
        0 0 5px rgba(29, 193, 214, 0.3) inset;
    background: linear-gradient(145deg, #d6f0ff, #ffffff);
}

/* Ảnh nền lazy-load */
.video-section .video-bg-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.7;
    /* giảm độ đậm để dịu hơn (tuỳ chọn) */
    transform: scale(1.05);
    /* phóng to nhẹ để không lộ viền khi mờ */
}

/* Nội dung overlay */
.video-section .video-overlay {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
}

.video-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;

    /* Gradient màu giống video-subtitle */
    background: linear-gradient(90deg, #ff4081 0%, #ffc107 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Bóng sáng nổi bật */
    text-shadow:
        0 3px 10px rgba(255, 64, 129, 0.4),
        0 2px 4px rgba(255, 193, 7, 0.3),
        0 0 6px rgba(255, 193, 7, 0.7);

    text-align: center;
    letter-spacing: 2px;
    border-radius: 10px;
    padding: 0 12px;

    /* Cho phép xuống dòng */
    white-space: pre-line;
    line-height: 1.5;
}



.video-subtitle,
.wedding-invite .invite-side {
    font-family: 'Dancing Script', cursive;
    text-align: center
}



.video-title .heart-icon {
    color: #ea5785 !important;
    -webkit-text-fill-color: initial !important;
    background: 0 0 !important;
    text-shadow: 0 2px 8px rgba(233, 30, 99, .25)
}



.video-subtitle {
    line-height: 1.5;
    margin-bottom: 32px;
    background: linear-gradient(90deg, #ff4081 0%, #ffc107 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 3px 10px rgba(255, 64, 129, 0.4),
        0 2px 4px rgba(255, 193, 7, 0.3),
        0 0 6px rgba(255, 193, 7, 0.7);
    letter-spacing: 2px;
    padding: 0 12px;
    border-radius: 8px;
    white-space: pre-line;
    /* hoặc normal */
    font-size: 1.2rem;
}




.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    border: 2px solid #fff;
    color: #ea5785;
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: transform .3s, box-shadow .3s
}



@media (max-width: 500px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        width: 100%
    }



    .header-container {
        width: 100%;
        justify-content: center
    }



    footer {
        font-size: 1.5rem
    }



    .couple-section .card {
        flex: 1 1 100%;
        max-width: 100%
    }



    .card {
        flex: 1 1 100%;
        width: 100%
    }



    .calendar-section {
        height: auto
    }



    .calendar-header {
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
        background-color: #eceaea
    }



    .month-select,
    .year-select {
        height: 50px;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0 8px;
        background-color: #fff;
        font-size: 1.2rem
    }



    .today-btn {
        height: 50px;
        background-color: #e3f9e3;
        color: #28a745;
        border: 1px solid #28a745;
        border-radius: 4px;
        padding: 6px 12px;
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color .3s, box-shadow .3s
    }



    .calendar-table th {
        font-size: .8rem
    }



    .calendar-table td {
        font-size: 1rem
    }



    .wedding-icon {
        font-size: 9px
    }

    .video-section .video-bg-img {
        display: block;
        /* ảnh chiếm nguyên dòng */
        width: 33%;
        /* full chiều ngang */
        height: auto;
        margin-bottom: 16px;
        /* tạo khoảng cách với chữ bên dưới */

    }

    .video-title {
        font-size: 1.4rem;
    }

    .video-subtitle {
        font-size: 0.9rem;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        display: block;
        margin: 0 auto;
        /* căn giữa nút play */
    }

    .modal-content {
        max-width: 300px;
        width: 90vw;
        font-size: 1rem;
        padding: 18px 12px 14px;
    }

}

.cloud-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, .4)
}



.cloud-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../thumb/QUYE0586.webp') center/cover no-repeat;
    opacity: .5;
    filter: blur(12px);
    z-index: -1
}



.cloud-text {
    position: absolute;
    z-index: 10;
    font-size: 3rem;
    font-weight: 700;
    align-items: center;
    color: #4caf50;
    animation: 4s ease-in-out infinite floatText;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-color: #fff;
    border-radius: 25px;
    opacity: 1.2
}



.card-container,
.logo-text {
    justify-content: center;
    display: flex
}



.cloud-left,
.cloud-right {
    position: absolute;
    top: 50%;
    max-width: 100vw;
    transform: translateY(-50%);
    opacity: .9
}



.cloud-left {
    left: -500px;
    animation: 8s forwards cloudLeftInOut
}



.cloud-right {
    right: -500px;
    animation: 8s forwards cloudRightInOut
}



@keyframes cloudLeftInOut {
    0% {
        left: -300px
    }



    30% {
        left: 70%;
        transform: translate(-150%, -50%)
    }



    100% {
        left: -400px;
        opacity: 0
    }


}

@keyframes cloudRightInOut {
    0% {
        right: -300px
    }



    30% {
        right: 70%;
        transform: translate(150%, -50%)
    }



    100% {
        right: -400px;
        opacity: 0
    }


}

@keyframes overlayFadeOut {
    0% {
        opacity: 1
    }



    100% {
        opacity: 0;
        visibility: hidden
    }


}

@keyframes floatText {

    0%,
    100% {
        transform: translateY(0)
    }



    50% {
        transform: translateY(-10px)
    }


}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    align-items: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .3)
}

.modal-content.video-modal-content {
    position: relative;
    background: #000;
    /* nền đen để video nổi bật */
    border-radius: 15px;
    width: 90%;
    /* chiếm 90% màn hình */
    max-width: 1000px;
    /* nhưng không vượt quá 1000px */
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* nút đóng (dấu X) */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: red;
    cursor: pointer;
    z-index: 1;
}



.heart-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../thumb/QUYE0717.webp') center/cover no-repeat;
    filter: blur(8px);
    z-index: -1
}


/* ===== Container 2 cột ===== */
.wedding-invite .invite-columns {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    margin: 0 auto 40px;
    max-width: 1000px;
    box-shadow: 0 0 0 12px rgba(176, 224, 163, .18),
        0 0 32px 8px rgba(176, 224, 163, .1),
        0 12px 48px 0 rgba(161, 140, 209, .1);
    background-clip: padding-box, border-box;
    position: relative;
    overflow: hidden;
    transition: box-shadow .4s cubic-bezier(.4, 2, .3, 1), border-color .4s;
}



/* ===== Mỗi cột ===== */
.wedding-invite .invite-side {
    flex: 1 1 320px;
    background: rgba(255, 255, 255, .95);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(233, 30, 99, .07);
    padding: 28px 22px;
    font-size: 1.2rem;
    border: 2px solid #f8bbd0;
    position: relative;
    transition: all .3s ease;
}



/* Hover hiệu ứng nổi */
.wedding-invite .invite-side:hover {
    box-shadow: 0 8px 32px rgba(233, 30, 99, .18),
        0 2px 12px rgba(233, 30, 99, .15);
    transform: translateY(-6px) scale(1.03);
    border-color: #e91e63;
    background: linear-gradient(120deg, #fff0f5 70%, #ffe3ed 100%);
    z-index: 2;
}



/* Icon trái tim */
.wedding-invite .bride-side::before,
.wedding-invite .groom-side::before {
    content: "💗";
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: .7;
}



/* Tiêu đề */
.wedding-invite .bride-side h3,
.wedding-invite .groom-side h3 {
    color: #e91e63;
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
}



/* Nội dung */
.wedding-invite .invite-side p {
    font-size: 1.3rem;
    color: #4a7a4a;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    margin: 6px 0;
}



.wedding-invite .invite-side strong {
    color: #e91e63;
    font-weight: 700;
}



/* Divider */
.wedding-invite .invite-side hr {
    border: none;
    border-top: 1.5px dashed #e91e63;
    margin: 20px 0;
}




@media (max-width:600px) {
    .transfer-qr-columns {
        flex-direction: column;
        gap: 10px;
        align-items: center
    }



    .transfer-qr-box {
        max-width: 98vw;
        width: 93%
    }



    .cloud-text,
    .modal-content h2 {
        font-size: 1.5rem
    }

    .album-btn-content {
        min-width: 0;
        padding: 18px 8px 12px
    }



    .album-bg-btn::after {
        opacity: 1;
        transform: translateY(0);
        animation: 1.5s infinite pulse
    }



    .album-title-label {
        font-size: 1.5rem;
        margin-bottom: 8px
    }



    .arrow-hint {
        left: 30px;
        bottom: 70px
    }



    .arrow-hint i {
        font-size: 32px
    }



    .arrow-hint .arrow-text {
        font-size: .95rem;
        padding: 2px 8px
    }





    .logo-text {
        background: 0 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
        font-size: 2.8rem;
        text-transform: uppercase;
        letter-spacing: 12px
    }

    .wedding-invite .invite-columns {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }



    .wedding-invite .invite-side p {
        display: flex;
        /* canh các phần tử con trên cùng một dòng */
        gap: 8px;
        /* khoảng cách giữa nhãn và nội dung */
        margin: 4px 0;
    }



    .wedding-invite .invite-side p strong {
        min-width: 70px;
        /* cố định độ rộng nhãn để thẳng hàng */
        color: #c2185b;
        /* màu hồng nổi bật */
    }



    .wedding-invite .invite-side p span {
        flex: 1;
        color: #2e5d3d;
        /* màu xanh đậm cho nội dung */
    }


}

.map-responsive {
    width: 100%;
    max-width: 600px;
    /* tùy chỉnh theo layout */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}



.map-responsive img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}



.map-responsive img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.divider{
    border: solid 5px #f7f0f2;
}