
body{
margin:0;
font-family:"Plus Jakarta Sans", sans-serif;
background:#4a1212;
}

.container{
max-width:700px;
margin:auto;
background:#f7efe9;
position:relative;
overflow:hidden;
border-radius:10px;
box-shadow:0 10px 40px rgba(0,0,0,.3);
z-index:2;
/* hiệu ứng fade khi mở thiệp */
opacity:0;
transform:translateY(20px);
transition:opacity 1.2s ease, transform 1.2s ease;
}

/* rồng bên trái */
body::before{
content:"";
position:fixed;
top:0;
left:0;
bottom:0;
width:50%;

background:url("https://skylandgroup.com.vn/thiep-moi/accses/img/dragon_left.webp") 
no-repeat left top;

background-repeat:repeat-y;   /* chỉ lặp dọc */
background-size:300px;

opacity:0.12;
z-index:0;
pointer-events:none;
}

/* rồng bên phải */
body::after{
content:"";
position:fixed;
top:0;
right:0;
bottom:0;
width:50%;

background:url("https://skylandgroup.com.vn/thiep-moi/accses/img/dragon_right.webp") 
no-repeat right top;

background-repeat:repeat-y;   /* chỉ lặp dọc */
background-size:300px;

transform:scaleX(-1);
opacity:0.12;
z-index:0;
pointer-events:none;
}

/* phong bì */

.envelope{
position:fixed;
inset:0;
background:#8e0b0b;
display:flex;
align-items:center;
justify-content:center;
z-index:999;
overflow:hidden;
}

/* nắp phong bì */

.envelope-flap{
position:absolute;
top:0;
left:0;
right:0;
height:50%;
background:#9d0d0d;
clip-path:polygon(0 0,100% 0,50% 100%);
transform-origin:top;
transition:transform 0.8s ease;
z-index:1;
}

/* vòng tròn */

.invite-circle{
position:relative;
z-index:2;
transition:transform 0.8s ease, opacity 0.8s ease;
}

/* khi mở */

.envelope.open .envelope-flap{
transform:rotateX(180deg);
}

.envelope.open .invite-circle{
transform:translateY(200px);
opacity:0;
}

/* fade trang chính */


.container.show{
opacity:1;
transform:translateY(0);
}
/* vòng tròn */

.invite-circle{
width:360px;
height:360px;
background:white;
border-radius:50%;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

text-align:center;
padding:30px;
box-shadow:0 10px 40px rgba(0,0,0,.3);

position:relative;
z-index:2;
}

/* icon nhẫn */

.ring-icon img{
width:60px;
margin-bottom:10px;
}

/* icon chữ hỷ */

.double-hy img{
width:40px;
margin:0 8px;
vertical-align:middle;
}

/* tên */

.couple-name{
font-weight:600;
letter-spacing:2px;
color:#8e1a1a;
margin-bottom:10px;

display:flex;
align-items:center;
justify-content:center;
gap:10px;
flex-wrap:wrap; /* cho phép xuống dòng */
text-align:center;
}

/* song hỷ */

.double-hy{
font-size:26px;
margin:0 8px;
color:#d40000;
}

/* ngày */

.invite-date{
font-family:"Prata", serif;
font-size:40px;
color:#8e1a1a;
margin:10px 0;
}

/* kính mời */

.invite-text{
font-size:28px;
font-weight:700;
color:#8e1a1a;
margin-bottom:15px;
}

/* nút mở */

.open-btn{
background:#8e1a1a;
color:white;
border:none;
padding:12px 28px;
border-radius:10px;
font-size:18px;
cursor:pointer;
}

.open-btn:hover{
background:#a61d1d;
}

/* header */

.header{
text-align:center;
padding:60px 20px 40px;
}
/* HEADER SONG LONG */

.header{
background:#f7efe9;
padding-top:90px;
padding-bottom:40px;
text-align:center;
position:relative;
}

/* nền rồng */

.dragon-top{
position:absolute;
top:0;
left:0;
right:0;
height:110px;
background:#8e1a1a;
overflow:hidden;
}



/* layout 2 người */

.couple-row{
display:flex;
justify-content:center;
align-items:center;
gap:100px;
margin-top:80px;
}

.happy-wrapper{
position:absolute;
left:0;
right:0;
top:220px;  
display:flex;
justify-content:center;
align-items:center;
z-index:1;
}

/* thanh đỏ ngang */

.happy-wrapper::before{
content:"";
position:absolute;
left:0;
right:0;
height:46px;
background:#8e1a1a;
z-index:1;
}
.person{
position:relative;
z-index:3;
}
/* icon hỷ */

.double-happiness{
position:relative;
z-index:2;
}

.double-happiness img{
width:70px;
height:auto;
}
/* avatar */

.person img{
width:170px;
height:170px;
border-radius:50%;
object-fit:cover;
box-shadow:0 6px 20px rgba(0,0,0,.25);
}

/* vai trò */

.role{
margin-top:10px;
color:#777;
font-size:15px;
}

/* tên */

.person-name{
font-family:"Prata", serif;
font-size:32px;
color:#8e1a1a;
margin-top:6px;
font-weight:400;
letter-spacing:0.5px;
}

/* song hỷ */

.double-happiness{
display:flex;
align-items:center;
justify-content:center;
}


.names{
font-size:36px;
color:#8e1a1a;
}

.date{
color:#666;
margin-top:10px;
}

/* countdown */

.countdown{
display:flex;
justify-content:center;
gap:15px;
margin:30px 0;
}

.box{
background:#8e1a1a;
color:white;
padding:15px;
border-radius:10px;
width:70px;
text-align:center;
}

/* section */

.section{
padding:20px 20px;
text-align:center;
}

.title{
background:#8e1a1a;
color:white;
padding:12px;
font-weight:500;
text-align:center;
font-size:18px;
font-family:"Plus Jakarta Sans", sans-serif;
letter-spacing:1px;
}

/* album */

.gallery{
display:grid;
grid-template-columns:repeat(2,150px);
gap:18px;
justify-content:center;
padding:30px 0;
}

.gallery a{
position:relative;
display:block;
}

.gallery img{
width:150px;
height:150px;
object-fit:cover;
border-radius:16px;
cursor:zoom-in;
transition:transform .3s ease;
}

.gallery img:hover{
transform:scale(1.05);
}

/* ảnh cuối tối */

.album-more img{
filter:brightness(.65);
}

/* +11 */

.album-overlay{
position:absolute;
top:0;
left:0;
width:150px;
height:150px;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:28px;
font-weight:bold;
}

/* ảnh ẩn */

.hidden{
display:none;
}

.pswp__img{
transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
/* map */

iframe{
width:100%;
height:300px;
border:none;
}

/* guestbook */

input,textarea{
width:100%;
padding:10px;
margin:6px 0;
border-radius:5px;
border:1px solid #ccc;
}

button{
background:#8e1a1a;
color:white;
border:none;
padding:10px 20px;
border-radius:6px;
cursor:pointer;
}

.wish{
background:white;
padding:10px;
margin:10px 0;
border-radius:6px;
}

/* QR */

.qr{
text-align:center;
padding:30px;
}
.header-title{
position:absolute;
top:40px;
left:50%;
transform:translateX(-50%);

font-family:"Prata", serif;
font-size:28px;
letter-spacing:4px;

color:#f3d9a5;
text-shadow:0 2px 6px rgba(0,0,0,.3);
}

/*wedding-info*/

.wedding-info{
text-align:center;
padding:40px 20px;
}

.parents{
display:flex;
justify-content:center;
gap:40px;
margin-bottom:30px;
flex-wrap:wrap;
}

.parent-block{
max-width:220px;
font-size:14px;
}

.label{
color:#777;
margin-bottom:5px;
}

.parent-name{
font-weight:600;
}

.address{
font-size:13px;
margin-top:6px;
color:#555;
}

.divider{
width:1px;
background:#ccc;
}

.announce{
margin:30px 0;
letter-spacing:1px;
}

.name-big{
font-family:"Prata", serif;
font-size:42px;
color:#8e1a1a;
margin:10px 0;
}

.role-small{
font-size:12px;
letter-spacing:2px;
color:#666;
}

.amp{
font-size:28px;
margin:15px 0;
}

.ceremony{
margin-top:25px;
}

.time{
margin-top:8px;
}

.date{
display:flex;
justify-content:center;
align-items:center;
gap:15px;
margin-top:15px;
}

.day{
font-size:40px;
color:#8e1a1a;
font-family:"Prata", serif;
}

.year{
margin-top:8px;
}

.lunar{
font-size:12px;
margin-top:5px;
color:#666;
}

.wedding-party{
text-align:center;
}

.party-time{
font-family:"Prata", serif;
color:#8e1a1a;
margin:10px 0;
font-size:32px;
}

.confirm-link{
display:inline-block;
margin-top:10px;
color:#8e1a1a;
font-weight:600;
text-decoration:underline;
cursor:pointer;
}
.map-wrapper{
position:relative;
width:100%;
}

.map-wrapper iframe{
width:100%;
height:350px;
border:0;
border-radius:10px;
}

.map-marker{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-100%);
font-size:32px;
pointer-events:none;
}

/* nút chỉ đường */

.map-direction{
position:absolute;
bottom:15px;
left:50%;
transform:translateX(-50%);

background:#8e1a1a;
color:white;
padding:8px 16px;
border-radius:20px;
font-size:14px;
text-decoration:none;

box-shadow:0 3px 10px rgba(0,0,0,.3);
}

.map-direction:hover{
background:#a31d1d;
}
.music-control{
position:fixed;
right:20px;
bottom:20px;

width:45px;
height:45px;

background:#8e1a1a;
color:white;

display:flex;
align-items:center;
justify-content:center;

border-radius:50%;
font-size:20px;
cursor:pointer;

box-shadow:0 4px 12px rgba(0,0,0,.3);

z-index:999;
}

.music-control:hover{
background:#a61d1d;
}
.music-control img{
width:22px;
height:22px;
pointer-events:none;
}
/* Responsive cho điện thoại */

@media (max-width:600px){

.couple-row{
gap:90px;          /* giảm khoảng cách */
margin-top:60px;
}

.person img{
width:110px;       /* giảm avatar */
height:110px;
}

.person-name{
font-size:22px;
}

.role{
font-size:13px;
}

.double-happiness img{
width:32px;
}

/* thanh đỏ */

.happy-wrapper{
top:190px;
}

.happy-wrapper::before{
height:32px;
}

.parents{
flex-direction:row;
justify-content:center;
align-items:flex-start;
gap:15px;
flex-wrap:nowrap;
}

.parent-block{
max-width:45%;
font-size:12px;
}

.divider{
display:block;
width:1px;
background:#ccc;
height:auto;
}

.name-big{
font-size:30px;
}

.day{
font-size:32px;
}

.date{
gap:10px;
}

.announce{
font-size:14px;
}

.role-small{
font-size:11px;
}
.header-title {
font-size: 18px;
}
.invite-circle{
width:260px;
height:260px;
}

.invite-date{
font-size:28px;
}

.invite-text{
font-size:22px;
}
.couple-name{
font-size:14px;
letter-spacing:1px;
}

.double-hy img{
width:22px;
}
}
/* ================================
   CONTACT BUTTONS
================================ */

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px auto 10px;
    width: 100%;
    max-width: 500px;
}

.contact-btn {
    flex: 1;
    min-height: 52px;
    padding: 10px 12px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #6d5145;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all .25s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn:active {
    transform: scale(.97);
}

.btn-icon {
    font-size: 18px;
}

.facebook-btn .btn-icon {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 20px;
}


/* ================================
   GIFT POPUP
================================ */

.gift-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
}

.gift-popup.active {
    visibility: visible;
    pointer-events: auto;
}


/* nền tối */

.gift-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .3s ease;
}

.gift-popup.active .gift-overlay {
    opacity: 1;
}


/* khung trượt từ dưới lên */

.gift-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: #fffaf7;
    border-radius: 25px 25px 0 0;

    padding: 28px 20px 35px;

    max-width: 520px;
    margin: auto;

    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);

    box-shadow: 0 -8px 30px rgba(0,0,0,.18);
}

.gift-popup.active .gift-sheet {
    transform: translateY(0);
}


/* nút đóng */

.gift-close {
    position: absolute;
    right: 15px;
    top: 12px;

    width: 35px;
    height: 35px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,.06);

    font-size: 25px;
    line-height: 35px;

    cursor: pointer;
    color: #76584b;
}


/* tiêu đề */

.gift-title {
    text-align: center;
    margin-bottom: 18px;
}

.gift-heart {
    font-size: 30px;
    margin-bottom: 5px;
}

.gift-title h3 {
    margin: 0;
    font-family: 'Prata', serif;
    font-size: 21px;
    font-weight: 400;
    color: #684d43;
}

.gift-title p {
    margin: 7px 0 0;
    font-size: 13px;
    color: #927a70;
}


/* QR */

.qr-box {
    width: 220px;
    height: 220px;

    margin: 0 auto 18px;

    background: #fff;
    padding: 10px;

    border-radius: 15px;

    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* thông tin ngân hàng */

.bank-info {
    text-align: center;
}

.bank-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #684d43;
}

.account-name {
    margin-top: 5px;
    font-size: 13px;
    color: #80685e;
}

.account-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 12px;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #5c443b;
}

.account-number button {
    border: none;
    padding: 6px 10px;
    border-radius: 8px;

    background: #ead8ce;
    color: #684d43;

    font-size: 11px;
    cursor: pointer;
}

.copy-message {
    text-align: center;
    font-size: 12px;
    color: #8b6a5d;

    margin-top: 10px;

    opacity: 0;
    transition: opacity .25s;
}

.copy-message.show {
    opacity: 1;
}


/* mobile */

@media (max-width: 400px) {

    .contact-buttons {
        gap: 7px;
    }

    .contact-btn {
        padding: 9px 6px;
        font-size: 11px;
    }

    .btn-icon {
        font-size: 16px;
    }

    .qr-box {
        width: 200px;
        height: 200px;
    }

}
.intro-quote {
    text-align: center;
    margin: 20px auto 5px;
    padding: 0 20px;
    font-family: 'Prata', serif;
    font-size: 15px;
    line-height: 1.8;
    color: #80685e;
    font-style: italic;
}
.section-intro {
    text-align: center;
    max-width: 500px;
    margin: -5px auto 25px;
    padding: 0 25px;
    font-size: 14px;
    line-height: 1.9;
    color: #80685e;
}