
        :root { 
            --wedding-red: #8b0000; 
            --gold-color: #d4af37;
            --bg-gradient: radial-gradient(circle, #fff5f5 0%, #f4e4c1 100%);
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
        }

        /* 1. TOÀN TRANG & NỀN */
        body { 
            margin: 0; padding: 0; height: 100vh;
            background: var(--bg-gradient);
            display: flex; justify-content: center; align-items: center;
            overflow: hidden; position: relative;
            font-family: 'Lexend', sans-serif;
        }

        #bgDecor { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
        .hy-item { position: absolute; color: rgba(211, 47, 47, 0.15); font-weight: bold; user-select: none; }

        /* 2. KHỐI MOBILE TRẮNG (MAIN CONTENT) */
        .main-wrapper {
            width: 100%; max-width: 500px; height: 100vh;
            background: #ffffff; z-index: 5; position: relative;
            overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none;
        }
        .main-wrapper::-webkit-scrollbar { display: none; }

        /* 3. CÁNH CỬA MỞ (FULL SCREEN) */
        #opener { position: fixed; inset: 0; z-index: 1000; display: flex; cursor: pointer; }
        .door { width: 50%; height: 100%; background-color: var(--wedding-red); transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1); }
        .door-left { border-right: 1px solid var(--gold-color); }
        .door-right { border-left: 1px solid var(--gold-color); }
        /* Chữ hướng dẫn dưới logo */
        .tap-instruction {
            position: absolute;
            bottom: -40px; /* Cách chữ Song Hỷ một khoảng */
            width: 200px;
            text-align: center;
            color: white;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            animation: blink 1.5s infinite; /* Hiệu ứng nhấp nháy */
        }

        @keyframes blink {
            0% { opacity: 0.3; }
            50% { opacity: 1; }
            100% { opacity: 0.3; }
        }

        /* Hiệu ứng rung nhẹ cho logo để tăng tính tương tác */
        .center-logo {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.05); }
            100% { transform: translate(-50%, -50%) scale(1); }
        }
        .center-logo {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 140px; height: 140px; background: var(--gold-color);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            border: 4px solid #fff; z-index: 1001; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            transition: 0.6s;
        }
        .center-logo span { font-size: 5rem; color: var(--wedding-red); font-weight: bold; }
        .vintage-date {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 40px 0;
            color: var(--wedding-red); /* Đổi sang màu đỏ hoặc đỏ đô cho rõ nét hơn nữa */
            font-family: 'Cinzel', serif;
        }


        /* Các chữ đồng nhất: Đậm, rõ, sắc nét */
        .uniform-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            letter-spacing: 2px;
            font-weight: 800; /* Cực đậm */
            display: block;
            line-height: 1.4;
            text-transform: uppercase;
            color: var(--wedding-red); 
        }

        .date-col {
            display: flex;
            flex-direction: column;
            min-width: 100px;
        }

        .date-col-center {
            padding: 10px 25px;
            border-left: 3px solid var(--wedding-red); /* Đường kẻ dày, rõ nét */
            border-right: 3px solid var(--wedding-red);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Số 20: Siêu đậm và uy nghi */
        .date-col-center .val-day {
            font-family: 'Cinzel', serif;
            font-size: 5rem; 
            font-weight: 900; /* Đậm nhất có thể */
            line-height: 0.8;
            margin: 5px 0;
            color: var(--wedding-red);
            text-shadow: 2px 2px 0px rgba(212, 175, 55, 0.3); /* Đổ bóng nhẹ để nổi khối */
        }

        .text-end { text-align: right; }
        .text-start { text-align: left; }


/* ==================================================
   FAMILY SECTION – COMPACT CEREMONY STYLE (FINAL)
================================================== */

/* ===============================
   MOBILE FIRST (≤ 767px)
=============================== */

.section-family {
    padding: 32px 10px 24px;
    background: #fff;
    text-align: center;
}

.family-inner {
    max-width: 390px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FAMILY BLOCK */
.family-card {
    width: 100%;
    padding: 12px 8px;            /* padding nhỏ nhưng đủ thoáng */
    text-align: center;
}

/* TITLE */
.family-title {
    font-size: 15px;              /* MOBILE TO HƠN */
    letter-spacing: 2.2px;
    margin-bottom: 8px;
    color: var(--wedding-red);
}

/* PARENTS */
.family-card .parents {
    font-size: 16px;              /* QUAN TRỌNG: scale mobile */
    line-height: 1.7;
    color: #222;
}

/* ADDRESS */
.family-card .address {
    margin-top: 6px;
    font-size: 13px;
    font-style: italic;
    color: #666;
}

/* DIVIDER */
.family-divider {
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

.betel-icon {
    font-size: 36px;
    color: var(--wedding-red);
    opacity: 0.85;
}

/* ===============================
   TABLET (768px – 1023px)
=============================== */

@media (min-width: 768px) {

    .section-family {
        padding: 46px 14px 38px;
    }

    .family-inner {
        max-width: 700px;
    }

    .family-card {
        padding: 16px 14px;
    }

    .family-title {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .family-card .parents {
        font-size: 15px;
    }

    .family-card .address {
        font-size: 13px;
    }

    .betel-icon {
        font-size: 44px;
        margin: 14px 0;
    }
}

/* ===============================
   DESKTOP (≥ 1024px)
=============================== */

@media (min-width: 1024px) {

    .section-family {
        padding: 80px 0 56px;
    }

    .family-inner {
        max-width: 1000px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    /* 45% – NHÀ TRAI */
    .family-card.groom-family {
        width: 45%;
        flex: 0 0 45%;
    }

    /* 10% – BIỂU TƯỢNG */
    .family-divider {
        width: 10%;
        flex: 0 0 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    /* 45% – NHÀ GÁI */
    .family-card.bride-family {
        width: 45%;
        flex: 0 0 45%;
    }

    .family-card {
        padding: 24px 22px;
    }

    .family-title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .family-card .parents {
        font-size: 15px;
    }

    .family-card .address {
        font-size: 13px;
    }

    .betel-icon {
        font-size: 60px;
        opacity: 0.9;
    }
}


/* ===============================
   MOBILE FIRST
=============================== */

.section-couple {
    padding: 32px 10px 26px;
    background: #fff;
    text-align: center;
}

.couple-inner {
    max-width: 390px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* PERSON */
.person {
    width: 100%;
    text-align: center;
}

.person .role {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.avatar {
    width: 96px;               /* GỌN */
    height: 96px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid var(--gold-color);
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.person .name {
    margin-top: 10px;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--wedding-red);
}

.person .rank {
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 1.2px;
    color: var(--wedding-red);
    text-transform: uppercase;
}

/* DIVIDER */
.couple-divider {
    display: flex;
    justify-content: center;
}

.double-happiness {
    font-size: 34px;
    color: var(--gold-color);
    line-height: 1;
}

/* ===============================
   TABLET
=============================== */

@media (min-width: 768px) {

    .section-couple {
        padding: 50px 14px 40px;
    }

    .couple-inner {
        max-width: 720px;
        gap: 0;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    /* 45% – CHÚ RỂ */
    .person.groom {
        width: 45%;
        flex: 0 0 45%;
    }

    /* 10% – HỶ */
    .couple-divider {
        width: 10%;
        flex: 0 0 10%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 45% – CÔ DÂU */
    .person.bride {
        width: 45%;
        flex: 0 0 45%;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .person .name {
        font-size: 24px;
    }

    .double-happiness {
        font-size: 48px;
    }
}

/* ===============================
   DESKTOP
=============================== */

@media (min-width: 1024px) {

    .section-couple {
        padding: 80px 0 60px;
    }

    .couple-inner {
        max-width: 900px;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }

    .person .name {
        font-size: 26px;
    }

    .double-happiness {
        font-size: 58px;
    }
}
        

        .formal-invite {
            font-family: 'Lexend', sans-serif;
            font-size: 0.95rem;
            color: #555;
            line-height: 1.8;
            letter-spacing: 0.5px;
            font-weight: 300;
        }

        /* BOX QUOTE: Nhẹ nhàng, nghệ thuật */
        .wedding-quote-box {
            position: relative;
            padding: 60px 25px; /* Padding dọc 60px cực kỳ quan trọng để tách dấu ngoặc */
            margin: 20px auto;
            max-width: 90%;
            text-align: center;
            /* border: 1px solid #eee; (Bỏ comment nếu muốn xem khung bao) */
        }

        .quote-mark {
            font-family: 'Cinzel', serif;
            font-size: 5rem;
            color: var(--wedding-red);
            opacity: 0.12;
            position: absolute;
            z-index: 1;
            line-height: 1;
        }

        /* Đặt dấu mở ở góc trên cùng bên trái */
        .mark-top { 
            top: 30;
            left: 0;
        }

        /* Đặt dấu đóng ở góc dưới cùng bên phải */
        .mark-bottom { 
            bottom: 0;
            right: 0;
        }

        .quote-content {
            font-family: 'Great Vibes', serif;
            font-size: 2rem;
            color: var(--wedding-red);
            line-height: 1.6;
            font-style: italic;
            position: relative;
            z-index: 2; /* Chữ nằm trên */
            margin: 0;
        }

        /* Phần lời mời tách biệt */
        .wedding-invitation-main {
            padding: 0 20px 20px 20px;
            text-align: center;
        }

        .invitation-text-block {
            text-align: center;
            padding: 30px 15px;
            margin-top: 20px;
        }

        .main-invite-text {
    font-family: 'Great Vibes', serif;
    font-size: 1.5rem;
    color: var(--wedding-red);
    line-height: 1.9;
    margin: 0;
    text-align: center;
    letter-spacing: 0.3px;
}

/* DÒNG NGHI LỄ */
.ceremony-title {
    display: block;
    margin: 12px 0;
    font-family: 'Cinzel', serif !important;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wedding-red);
    text-shadow: 0.5px 0.5px 0 rgba(0,0,0,0.08);
}

        /* Đường kẻ mảnh phía dưới để kết thúc đoạn mời một cách tinh tế */
        .mini-divider {
            width: 200px;
            height: 1px;
            background: var(--gold-color);
            margin: 20px auto 0;
            position: relative;
        }

        .mini-divider::after {
            content: '♥';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff; /* Trùng với màu nền của main-wrapper */
            padding: 0 8px;
            color: var(--gold-color);
            font-size: 0.8rem;
        }

        /* Responsive cho màn hình nhỏ */
        @media (max-width: 400px) {
            .main-invite-text {
                font-size: 1.6rem;
            }
        }

        .opened .door-left { transform: translateX(-100%); }
        .opened .door-right { transform: translateX(100%); }
        .opened .center-logo { opacity: 0; transform: translate(-50%, -50%) scale(0.5); visibility: hidden; }

        /* 4. CÁC SECTION NỘI DUNG */
        .section-hero {
    width: 100%;
    height: 70vh;
    background-image: url("http://dinhquy-ngocdung.io.vn/public/image/Anh17.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

        .section-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, white); }

        .section-event { padding: 40px 20px; text-align: center; border-bottom: 8px solid #f9f9f9; }
        .section-title { font-family: 'Great Vibes'; font-size: 2rem; color: var(--wedding-red); margin-bottom: 30px; }

        .event-card { background: #fffcf5; border: 1px solid #f1e5c8; border-radius: 15px; padding: 25px 15px; margin-bottom: 20px; }
        .event-name { font-family: 'Great Vibes'; font-size: 2rem; color: var(--wedding-red); }
        .event-time { font-family: 'Playfair Display'; font-size: 2.2rem; font-weight: 900; margin: 10px 0; }
        
        .btn-map { background: var(--wedding-red); color: white !important; padding: 10px 25px; border-radius: 50px; text-decoration: none; display: inline-block; font-weight: bold; margin-top: 10px; font-size: 0.8rem; }

        /* Collage 5 ảnh */
        .album-collage {
            display: flex;
            gap: 10px;
            max-width: 1000px;
            margin: 30px auto;
            height: 450px;
            cursor: pointer;
        }

        .collage-main { flex: 2; border-radius: 8px; overflow: hidden; }
        .collage-sub { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

        .album-collage img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
        .collage-main img:hover, .collage-sub img:hover { transform: scale(1.05); }

        .more-overlay { position: relative; border-radius: 4px; overflow: hidden; }
        .more-overlay span {
            position: absolute; inset: 0; background: rgba(0,0,0,0.5);
            color: white; display: flex; align-items: center; justify-content: center;
            font-size: 1.5rem; font-family: 'Cinzel'; font-weight: 900;
        }

        /* Modal Full màn hình */
        .gallery-modal {
            display: none; 
            position: fixed; 
            z-index: 9999; 
            inset: 0;
            background: rgba(0, 0, 0, 0.98); 
            backdrop-filter: blur(15px);
            padding: 0; /* Xóa padding để ảnh sát mép hơn */
        }

        /* Container chính */
        .gallery-content { 
            display: flex; 
            flex-direction: column; 
            height: 100vh;
            justify-content: space-between;
        }

        /* Khu vực ảnh lớn: Thêm khung Gold */
        .main-slide { 
            flex: 1; 
            display: flex; 
            align-items: center; 
            justify-content: center;
            padding: 20px;
        }

        #expandedImg { 
            max-width: 100%; 
            max-height: 80vh; 
            object-fit: contain; 
            border: 4px solid var(--gold-color); /* Viền vàng đậm nét */
            box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
            background: #000;
        }

        /* Dải ảnh phụ: Biến thành "Thước phim" (Filmstrip) */
        .thumb-slider {
            background: rgba(255, 255, 255, 0.05);
            display: flex; 
            gap: 5px; 
            overflow-x: auto; 
            padding: 15px 5px;
            scrollbar-width: none;
            border-top: 1px solid rgba(212, 175, 55, 0.3);
        }

        .thumb { 
            min-width: 60px; 
            height: 80px; 
            object-fit: cover; 
            opacity: 0.3; 
            cursor: pointer; 
            transition: all 0.4s ease;
            border: 1px solid transparent;
        }

        /* Ảnh đang chọn: Sáng rực và phóng to */
        .thumb.active { 
            opacity: 1; 
            border: 2px solid var(--gold-color);
            transform: translateY(-5px) scale(1.1);
        }

        /* Nút đóng: Chuyển thành icon sang trọng */
        .close-gallery { 
            position: absolute; 
            top: 20px; 
            right: 20px; 
            color: var(--gold-color); 
            font-size: 35px; 
            z-index: 10001;
            cursor: pointer;
            line-height: 1;
            text-shadow: 0 0 10px rgba(0,0,0,0.5);
        }

        .nav-btn {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            font-size: 30px;
            padding: 20px 10px;
            cursor: pointer;
            z-index: 10002;
            transition: 0.3s;
        }
        .prev { left: 0; border-radius: 0 5px 5px 0; }
        .next { right: 0; border-radius: 5px 0 0 5px; }
        .nav-btn:hover { background: var(--gold-color); }

/* SECTION GIFT */
.section-gift {
    padding: 60px 20px;
    background-color: #fffcf5;
    text-align: center;
}

.gift-desc {
    font-family: 'Great Vibes', cursive;
    font-size: 1.5rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* SECTION GIFT - Cập nhật dàn hàng ngang 50/50 */
.gift-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Đảm bảo 2 hộp cao bằng nhau */
    gap: 15px; /* Khoảng cách nhỏ giữa 2 hộp */
    margin-top: 30px;
    padding: 0 10px;
}

.gift-box-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1; /* Mỗi hộp chiếm 50% */
    max-width: 200px; /* Giới hạn độ rộng tối đa để không bị quá to trên máy tính */
}

.icon-gift {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gift-box-item p {
    color: var(--wedding-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin: 0;
}

.gift-box-item p {
    color: var(--wedding-red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.gift-box-item:hover { transform: translateY(-10px); }

/* MODAL GIFT */
.gift-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* FIX: Kết hợp cả căn giữa màn hình và làm mốc cho nút Close */
.gift-modal .modal-content {
    background: #fff;
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%); /* Căn giữa tuyệt đối */
    padding: 40px 25px 30px; 
    border-radius: 25px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 2px solid var(--gold-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FIX: Dấu x đóng modal */
.gift-modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    line-height: 1;
    color: #bbb;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100;
}

.gift-modal .close:hover {
    color: var(--wedding-red);
    transform: rotate(90deg);
}

.qr-header {
    font-family: 'Montserrat', serif;
    color: var(--wedding-red);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.qr-img {
    width: 180px;
    height: 180px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

.bank-name {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
}

.bank-number {
    font-family: 'Lexend', sans-serif;
    font-size: 1.2rem;
    color: var(--wedding-red);
    margin: 5px 0 20px;
    font-weight: 700;
}

.btn-copy {
    background: var(--wedding-red);
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: 0.3s;
}

        .wedding-footer {
            padding: 80px 20px 40px 20px;
            background-color: #fff;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* Đường kẻ trang trí phía trên */
        .footer-divider {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            opacity: 0.5;
        }

        .footer-divider .line {
            height: 1px;
            width: 60px;
            background: var(--gold-color);
        }

        .footer-divider .dot {
            width: 6px;
            height: 6px;
            background: var(--gold-color);
            transform: rotate(45deg);
        }

        /* Chữ Thank You bay bổng nhưng rõ ràng */
        .thanks-text {
            font-family: 'Great Vibes', cursive;
            font-size: 4rem;
            color: var(--wedding-red);
            margin: 0;
            line-height: 1;
            /* Hiệu ứng bóng đổ nhẹ giúp chữ mềm mượt hơn */
            text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
        }

        /* Tên cô dâu chú rể đậm nét */
        .couple-names {
            font-family: 'Montserrat', serif;
            font-weight: 900;
            font-size: 1.1rem;
            color: var(--gold-color);
            letter-spacing: 4px;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .ampersand {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 1.5rem;
            font-weight: 400;
        }

        /* Thông tin bản quyền nhỏ gọn */
        .copyright {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.65rem;
            letter-spacing: 2px;
            opacity: 0.5;
            margin-top: 30px;
            text-transform: uppercase;
        }

        /* Container chứa hiệu ứng rơi */
        #falling-container {
            position: fixed;
            top: -50px; /* Bắt đầu từ ngoài màn hình */
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
        }

        .falling-item {
            position: absolute;
            top: 0;
            user-select: none;
            will-change: transform;
            animation-name: fallOnly;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        @keyframes fallOnly {
            0% {
                transform: translateY(0) rotate(0deg) translateX(0);
                opacity: 0;
            }
            10% { opacity: 0.8; }
            90% { opacity: 0.8; }
            100% {
                /* Rơi xuống hết màn hình và hơi lệch sang phải 30px tạo độ tự nhiên */
                transform: translateY(110vh) rotate(360deg) translateX(30px);
                opacity: 0;
            }
        }

        @media (max-width: 480px) {
            /* Thu nhỏ tiêu đề chính của các mục */
            .section-title {
                font-size: 1.5rem !important; /* Giảm từ 3rem xuống 2.2rem */
                margin-bottom: 20px;
            }

            /* Thu nhỏ tên cô dâu chú rể ở phần đầu trang */
            .section-event h1 {
                font-size: 2rem !important; /* Giảm từ 2.5rem để không bị tràn dòng */
            }

            /* Điều chỉnh lại khoảng cách các thẻ sự kiện */
            .event-card {
                padding: 20px 10px;
                margin-bottom: 15px;
            }
            
            .event-name {
                font-size: 1.6rem; /* Giảm nhẹ để cân đối với tiêu đề chung */
            }

            .event-time {
                font-size: 1.8rem; /* Giảm từ 2.2rem */
            }

            /* Thu nhỏ ngày tháng để không bị thô */
            .date-col-center .val-day {
                font-size: 3.5rem;
            }
            
            /* Thu nhỏ tiêu đề mục */
            .section-title {
                font-size: 1.5rem !important;
                margin-bottom: 20px;
            }

            /* Điều chỉnh khung trích dẫn */
            .wedding-quote-box {
                padding: 30px 15px; /* Giảm padding dọc từ 60px xuống 30px */
                margin: 10px auto;
            }

            /* Tăng kích thước chữ trích dẫn để dễ đọc hơn trên màn hình nhỏ */
            .quote-content {
                font-size: 1.4rem; /* Điều chỉnh nhẹ để nét chữ rõ ràng hơn */
                line-height: 1.5;
                padding: 0 10px;
            }

            /* Thu nhỏ dấu ngoặc kép trang trí */
            .quote-mark {
                font-size: 3rem; /* Giảm từ 5rem để không đè vào chữ */
            }
            
            .mark-top { top: 10px; }
            .mark-bottom { bottom: -10px; }

            /* Điều chỉnh tiêu đề cảm ơn cuối trang */
            .thanks-text {
                font-size: 2.8rem;
            }

            /* Quan trọng: Sửa lại Collage ảnh trên mobile */
            .album-collage {
                height: auto;
                flex-direction: column; /* Xếp dọc thay vì xếp ngang */
            }
            .collage-sub {
                height: 200px; /* Cho dải ảnh phụ xuống dưới và thấp lại */
            }

            /* Chỉnh lại nút map cho dễ bấm hơn */
            .btn-map {
                width: 100%;
                padding: 15px;
            }
        }

        .countdown-block {
            text-align: center;
            margin: 40px 0;
            font-family: 'Cinzel', serif;
        }

        .countdown-number {
            font-size: 48px;
            font-weight: 700;
            color: #8b0000;
        }

        .countdown-text {
            font-family: 'Great Vibes', serif;
            font-size: 26px;
            letter-spacing: 1px;
            margin-top: 8px;
        }

        /* ===============================
   MUSIC OVERLAY
================================ */
.music-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.music-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    text-align: center;
    width: 280px;
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.disc {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    position: relative;

    background:
        radial-gradient(circle,
            #fff4c2 12%,
            #d4af37 14%,
            #b8962e 40%,
            #8b6b1f 65%,
            #5c450f 100%
        );

    box-shadow:
        0 0 12px rgba(212,175,55,0.7),
        inset 0 0 8px rgba(255,255,255,0.3);

    animation: spin 3s linear infinite;
}

/* ICON Ở GIỮA */
.disc::after {
    content: "囍";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 28px;
    height: 28px;
    border-radius: 50%;

    background: #8b0000;
    color: #d4af37;
    font-size: 16px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.music-title {
    font-size: 18px;
    font-weight: 600;
}

.music-desc {
    font-size: 14px;
    color: #666;
    margin: 6px 0 20px;
}

.music-btn {
    background: #8b0000;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 14px;
}

/* ===============================
   MUSIC FLOAT BUTTON
================================ */
.music-toggle {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #d4af37;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    animation: spin 4s linear infinite;
}

.music-toggle.paused {
    animation-play-state: paused;
    opacity: 0.6;
}

.music-toggle.hidden {
    display: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


