@font-face {
    font-family: 'MTD William Letter';
    src: url('../fonts/MTD-WILLIAM-LETTER.OTF') format('opentype'), url('../fonts/MTD-WILLIAM-LETTER.OTF') format('opentype'); 
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'VL Amelaryas';
    src: url('../fonts/VL-AMELARYAS.TTF') format('truetype'), url('../fonts/VL-AMELARYAS.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN Ivymode Regular';
    src: url('../fonts/SVN-IVYMODE-REGULAR.TTF') format('truetype'), url('../fonts/SVN-IVYMODE-REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

 :root {
     /* Biến Màu Sắc */
     --primary-gold: #DEB243;
     --primary-orange: #BB581A;
     --dark-orange: #92441A;
     --text-dark: #6C1503;
     --text-gray: #333333;

     /* Biến Font Chữ */
     --font-svn: 'SVN Ivymode Regular', serif;
     --font-playfair: 'Playfair Display', serif;
     --font-mtd: 'MTD William Letter', serif;
     --font-vl: 'VL Amelaryas', serif;
 }

 body {
     background: linear-gradient(180deg, #FFDBCC 0%, #FDF7F3 100%);
     margin: 0;
     padding: 0;
     overflow-x: hidden;
     font-family: var(--font-svn);
 }
html {
    scroll-behavior: smooth;
}
 /* HEADER */
 .site-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 44px 84px 24px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    pointer-events: none;
    transition: all 0.3s ease;
 }

 .site-header a {
     pointer-events: auto;
 }

 .site-header img {
     height: 68px;
     width: auto;
     transition: all 0.3s ease;
 }

.site-header.scrolled {
    padding: 16px 5%;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    background: #0E0602;
}

.header-register-btn {
    pointer-events: auto; 
    background: var(--primary-orange);
    color: #ffffff;
    font-family: var(--font-svn);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(187, 88, 26, 0.3);
}

.header-register-btn:hover {
    background: var(--dark-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(187, 88, 26, 0.4);
}

@media (max-width: 767px) {
    /* .site-header {
        position:absolute;
        padding: 24px 20px 16px 20px;
        justify-content: space-between; 
    } */

    .site-header.scrolled {
        padding: 16px 20px;
    }

    /* .header-register-btn {
        display: none;
    } */
    /* Thu nhỏ nút trên giao diện Mobile */
    .header-register-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
}

 .site-header.scrolled img {
     height: 48px;
 }

 .logo-default {
     display: block;
 }

 .logo-scrolled {
     display: none;
 }

 /* .site-header.scrolled .logo-default {
     display: none;
 }

 .site-header.scrolled .logo-scrolled {
     display: block;
 } */

 @media (max-width: 991px) {
     .site-header img {
         height: 48px;
     }



     /* .site-header.scrolled {
         background-color: rgba(255, 255, 255, 0.5);
         box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
     } */
 }

 @media (max-width: 767px) {
     .site-header {
         /* justify-content: center; */
         padding: 42px 20px 16px 20px;
     }

     .site-header.scrolled {
         padding: 16px 20px;
     }
 }

 /* BANNER */
 .banner-section {
     width: 100%;
     height: 100%;
     position: relative;
 }

 .banner-section img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 /* MAIN WRAPPER */
 .main-wrapper {
     width: 100%;
     max-width: 1512px;
     padding: 64px 84px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 40px;
 }

 @media (max-width: 767px) {
     .banner-section {
         height: 100vh;
     }

     .main-wrapper {
         padding: 24px 20px;
         gap: 32px;
     }
 }

 /* =========================================
           THEATER SECTION (VỞ NHẠC KỊCH) 
        ========================================= */
 .theater-section {
     width: 100%;
     padding: 64px 0;
     background: linear-gradient(314deg, #270F00 0%, #702B01 100%);
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .theater-inner {
     width: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 24px;
     padding: 0 20px;
 }

 .theater-title-wrapper {
     width: 100%;
     position: relative;
     height: 204px;
     margin-bottom: 20px;
 }

 .theater-subtitle {
     width: 100%;
     position: absolute;
     left: 50%;
     transform: translateX(-50%);
     top: 0;
     text-align: center;
     color: white;
     font-size: 64px;
     font-family: var(--font-vl);
     font-weight: 400;
     font-style: normal;
     line-height: 93px;
 }

 .theater-main-title {
     width: 100%;
     max-width: 970px;
     position: absolute;
     left: 50%;
     transform: translateX(-50%);
     top: 80px;
     text-align: center;
     color: white;
     font-size: 136px;
     font-family: var(--font-mtd);
     font-weight: 400;
     line-height: 81px;
     text-shadow: 0px 0px 14px rgba(255, 255, 255, 1.00);
     white-space: nowrap;
 }

 .theater-desc {
     width: 100%;
     max-width: 1116px;
     text-align: center;
     color: #FFFADF;
     font-size: 20px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 35px;
 }

 .theater-time-wrapper {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 16px;
     margin-top: 24px;
 }

 .theater-time-slot {
     padding: 12px 24px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 4px;
     color: white;
     font-size: 16px;
     border: 1px solid rgba(255, 255, 255, 0.4);
     font-family: var(--font-svn);
     font-weight: 500;
 }

 .theater-slider-wrapper {
     width: 100%;
     margin-top: 60px;
     overflow: hidden;
 }

 @media (max-width: 767px) {
     .theater-slider-wrapper {
         margin-top: 32px;
         /* giảm khoảng cách trên mobile */
     }

     .theater-slide-img {

         aspect-ratio: 16/9;
     }
 }

 .theater-slide-img {
     width: 85vw;
     /* ✅ responsive mọi màn hình */
     aspect-ratio: 16/9;
     object-fit: cover;
     border-radius: 12px;
 }

 /* Tablet */
 @media (min-width: 768px) {
     .theater-slide-img {
         width: 600px;
     }
 }

 /* Desktop */
 @media (min-width: 1200px) {
     .theater-slide-img {
         width: 740px;
     }
 }

 .theater-section .custom-pagination .swiper-pagination-bullet {
     background: var(--primary-gold);
 }

 @media (max-width: 767px) {
     .theater-title-wrapper {
         height: auto;
         display: flex;
         flex-direction: column;
         align-items: center;
         gap: 0px;
     }

     .theater-subtitle,
     .theater-main-title {
         position: static;
         transform: none;
         white-space: normal;
     }

     .theater-subtitle {
         font-size: 40px;
     }

     .theater-main-title {
         text-align: center !important;
         font-size: 72px;
         margin-top: -10px;
     }

     .theater-time-slot {
         padding: 10px 16px;
         font-size: 14px;
     }
 }

 /* PMQ SECTION */
 .pmq-section {
     width: 100%;
     margin: 0 auto;
     padding: 64px 0;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 40px;
 }

 .pmq-header {
     width: 90%;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 12px;
     text-align: center;
 }

 .pmq-subtitle {
     color: #6C1503;
     font-size: 18px;
     font-family: var(--font-svn);
     text-transform: uppercase;
     font-size: 18px;
     font-style: normal;
     font-weight: 500;
     line-height: 35px;
 }

 .pmq-title-group {
     justify-content: center;
     align-items: center;
     gap: 8px;
 }

 .pmq-title-gold {
     color: #E67E2D;
     text-align: center;
     font-family: var(--font-vl);
     font-size: 28px;
     font-style: normal;
     font-weight: 400;
     line-height: 64px;
 }

 .pmq-title-script {
     color: #6C1503;
     text-align: center;
     text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
     font-family: "MTD William Letter";
     font-size: 220px;
     font-style: normal;
     font-weight: 400;
     line-height: 81px;
 }

 .youtube-wrapper {
     width: 100%;
     aspect-ratio: 16 / 9;
     overflow: hidden;
     box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
 }

 .youtube-iframe {
     width: 100%;
     height: 100%;
     border: none;
 }

 .pmq-carousel-area {
     width: 100%;
     display: flex;
     flex-direction: column;
     gap: 24px;
     /* margin-top: 24px; */
 }

 .pmq-grid-3 {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 24px;
     width: 100%;
 }

 .pmq-grid-item {
     position: relative;
     border-radius: 12px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     justify-content: flex-end; /* Ép nội dung xuống đáy */
     height: 320px; /* Bạn có thể tăng giảm chiều cao tùy ý */
     text-decoration: none;
     background: #000;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .pmq-grid-item:hover {
     transform: translateY(-8px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
 }

 .pmq-item-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
     transition: transform 0.6s ease;
 }

 .pmq-grid-item:hover .pmq-item-bg {
     transform: scale(1.08); /* Hiệu ứng zoom nhẹ ảnh khi hover */
 }

 /* Lớp phủ đen gradient để chữ nổi bật trên nền ảnh */
 .pmq-item-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 70%;
     background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.85) 100%);
     z-index: 1;
 }

 .pmq-item-content {
     position: relative;
     z-index: 2;
     padding: 24px 20px;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .pmq-item-title {
     color: #ffffff;
     font-size: 16px;
     font-family: var(--font-svn);
     font-weight: 700;
     line-height: 1.4;
     text-shadow: 0 2px 4px rgba(0,0,0,0.3);
 }

 .pmq-item-desc {
     color: rgba(255, 255, 255, 0.85);
     font-size: 13px;
     font-family: var(--font-svn);
     font-weight: 500;
     line-height: 1.5;
     display: -webkit-box;
     -webkit-line-clamp: 2; /* Giới hạn hiển thị tối đa 2 dòng */
     -webkit-box-orient: vertical;
     overflow: hidden;
 }

 /* --- Responsive --- */
 @media (max-width: 991px) {
     .pmq-grid-item {
         height: 280px;
     }
 }

 @media (max-width: 767px) {
     .pmq-grid-3 {
         grid-template-columns: 1fr; /* Trở thành 1 cột xếp dọc trên Mobile */
         gap: 16px;
     }
     .pmq-grid-item {
         height: 250px;
     }
 }
 /* --- KẾT THÚC: CSS MỚI --- */

 @media (max-width: 767px) {
     .pmq-section {
         padding: 40px 0 0;
         gap: 32px;
     }

     .register-section {
         padding-top: 22px;
     }

     .pmq-title-gold {
         margin-bottom: 0;
         font-size: 26px;
     }

     .pmq-title-script {
        margin-top: -30px;
         font-size: 92px;
         line-height: 1.4;
         margin-bottom: 0;
         padding-bottom: 0;
         padding-right: 40px;
         margin-right: -40px;
         overflow: visible !important;
     }
     .pmq-card {
         width: 80vw;
     }
 }

 /* REGISTER SECTION */
 .register-section {
     width: 100%;
     margin: 0 auto;
     padding: 64px 0;
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: stretch;
     gap: 40px;
 }

 .register-info {
     flex: 1 1 500px;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     gap: 24px;
 }

 .register-title {
     color: var(--text-dark);
     font-size: 18px;
     font-family: var(--font-svn);
     font-weight: 500;
     font-style: normal;
     text-transform: uppercase;
     line-height: 35px;
 }

 .register-counter {

     display: flex;
     gap: 8px;
     font-family: var(--font-svn);
     font-weight: 700;
     line-height: 1.2;
     flex-direction: column;
 }

 .register-counter .num-wrapper {
     display: flex;
     gap: 5px;
     font-size: 80px;
     color: var(--primary-orange);
     font-family: var(--font-playfair);
 }

 .register-counter .num-wrapper .fade-num {
     color: rgba(187, 88, 26, 0.61);
 }

 .register-info .text {
     color: var(--primary-gold);
     font-size: 72px;
     font-family: var(--font-mtd);
     font-weight: 400;
     margin: 0;
 }

 .register-desc {
     color: #454545;
     font-size: 18px;
     font-family: var(--font-svn);
     font-weight: 500;
     line-height: 1.6;
     text-align: justify;
 }

 .map-wrapper {
     width: 100%;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
     flex-grow: 1;
     display: flex;
 }

 .map-wrapper iframe {
     width: 100%;
     height: 100%;
     border: none;
 }

 @media (max-width: 767px) {
     .map-wrapper {
         aspect-ratio: 4 / 3;
         flex-grow: 0;
     }
 }

 .register-form-box {
     flex: 1 1 500px;
     background: #ffffff;
     border-radius: 20px;
     padding: 32px;
     box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
     display: flex;
     flex-direction: column;
     gap: 24px;
 }

 .form-group {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .form-label {
     color: #666666;
     font-size: 12px;
     font-family: var(--font-svn);
     font-weight: 600;
     text-transform: uppercase;
 }

 .form-label span {
     color: var(--primary-orange);
 }

 .form-input {
     width: 100%;
     padding: 16px;
     background: #F5F5F5;
     border: 1px solid #CCCCCC;
     border-radius: 6px;
     color: #333;
     font-size: 14px;
     font-family: var(--font-svn);
     outline: none;
     box-sizing: border-box;
 }

 .form-input:focus {
     border-color: var(--primary-orange);
     background: #ffffff;
 }

 .form-row {
     display: flex;
     gap: 12px;
     width: 100%;
 }

 .form-row .form-group {
     flex: 1;
 }

 .form-checkbox-group {
     display: flex;
     gap: 12px;
     align-items: flex-start;
 }

 .form-checkbox {
     width: 18px;
     height: 18px;
     margin-top: 2px;
     accent-color: var(--primary-orange);
     cursor: pointer;
 }

 .form-checkbox-text {
     color: #666666;
     font-size: 12px;
     font-family: var(--font-svn);
     font-weight: 500;
     line-height: 1.6;
     text-align: justify;
     margin: 0;
 }

 .form-checkbox-text a {
     color: var(--primary-orange);
     text-decoration: underline;
 }

 .date-options {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
 }

 .date-btn {
     flex: 1;
     min-width: 110px;
     padding: 10px;
     background: white;
     border: 1px solid var(--primary-orange);
     border-radius: 6px;
     color: var(--primary-orange);
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 500;
     text-align: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .date-btn:hover,
 .date-btn.active {
     background: var(--primary-orange);
     color: white;
 }

 .form-notice {
     padding: 16px;
     background: #FCF7F6;
     border-left: 3px solid var(--primary-orange);
     color: #666666;
     font-size: 12px;
     font-family: var(--font-svn);
     font-weight: 500;
     line-height: 1.8;
 }
.form-error {
    color: #e53935;
    font-size: 12px;
    font-family: var(--font-svn);
    min-height: 16px;
    display: block;
    margin-top: 4px;
}

.form-input.input-error {
    border-color: #e53935;
    background: #fff5f5;
}
 .form-notice strong {
     color: var(--primary-orange);
     font-weight: 600;
 }

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-orange);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: var(--font-svn);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
    min-height: 52px;
    position: relative;
}
.submit-btn:hover { opacity: 0.9; }
.submit-btn:disabled { opacity: 0.75; cursor: not-allowed; }
.submit-btn .btn-text { display: flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.submit-btn .btn-spinner { display: none; }
.submit-btn.loading .btn-text { opacity: 0; position: absolute; }
.submit-btn.loading .btn-spinner { display: flex; align-items: center; justify-content: center; }

/* Modal button loading state */
.modal-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}
.modal-btn:disabled { opacity: 0.75; cursor: not-allowed; }
.modal-btn .btn-text { display: flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.modal-btn .btn-spinner { display: none; }
.modal-btn.loading .btn-text { opacity: 0; position: absolute; }
.modal-btn.loading .btn-spinner { display: flex; align-items: center; justify-content: center; }

/* Spinner ring dùng chung */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-ring {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

 @media (max-width: 767px) {
     .register-info {
         flex: 1 1 100%;
         text-align: center;
     }

     .register-title {
         font-size: 18px;
     }

     .register-counter {
         align-items: center;
     }

     .register-counter .num-wrapper {
         font-size: 54px;
     }

     .register-desc {
         text-align: center;
     }

     .register-form-box {
         flex: 1 1 100%;
         padding: 20px;
     }

     .form-row {
         flex-direction: column;
         gap: 16px;
     }

     .date-options {
         /* flex-direction: column; */
     }
 }

 /* SWIPER OVERRIDES */
 .swiper {
     width: 100%;
     padding: 0 0 10px 0;
 }

 .swiper-slide {
     width: auto;
 }

 .custom-pagination {
     display: flex;
     justify-content: center;
     gap: 8px;
 }

 .custom-pagination .swiper-pagination-bullet {
     width: 12px;
     height: 4px;
     opacity: 0.3;
     background: var(--primary-orange);
     border-radius: 2px;
     margin: 0 !important;
     transition: all 0.3s ease;
 }

 .custom-pagination .swiper-pagination-bullet-active {
     width: 24px;
     opacity: 1;
 }

 /* ART SECTION */
 .art-outer {
     padding-top: 128px;
     width: 100%;
     display: flex;
     align-items: stretch;
     overflow: hidden;
     gap: 40px;
 }

 .art-title-big,
 .pmq-title-script {
     padding-left: 12px;
     margin-left: -12px;
 }

 .art-section {
     flex-shrink: 0;
     width: 50%;
     padding: 0 0 180px 90px;
     position: relative;
     display: flex;
     flex-direction: column;
     gap: 40px;
 }

 .art-left {
     display: flex;
     flex-direction: column;
     gap: 40px;
 }

 @media (max-width: 2491px) {
     .art-top {
         width: 65%;
     }
 }

 @media (max-width: 1891px) {
     .art-top {
         width: 83%;
     }
 }

 @media ((min-width: 720px) and (max-width: 916px)) {
     .art-top {
         width: 45%;
     }

     .art-section {
         padding: 0 20px 340px;
     }
 }

 @media(max-width: 767px) {
     .art-section {
         padding: 0 20px 240px;
     }

     .art-top {
         overflow: visible;
         /* ✅ cho phép chữ thò ra ngoài */
         width: 100%;
     }

     .art-left {
         overflow: visible;
         /* ✅ tương tự */
     }
 }

 .art-title-small {
     color: #E67E2D;
     font-size: 64px;
     font-family: var(--font-vl);
     font-weight: 400;
     line-height: 64px;
 }

 .art-title-big {
     color: #6C1503;
     font-size: 136px;
     font-family: var(--font-mtd);
     font-weight: 400;
     line-height: 81px;
     text-align: right;
     text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
 }

 .art-desc {
     color: #6C1503;
     font-size: 20px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 35px;
     text-align: justify;
 }

 .art-main-img {
     flex: 1;
     width: 50%;
     height: auto;
     object-fit: cover;
     object-position: center;
     display: block;
 }

 .art-slide-row {
     position: absolute;
     left: 0;
     bottom: 0;
     width: 100%;
     overflow: hidden;
 }

 .art-slide-row .swiper {
     width: 100%;
     padding: 0 !important;
 }

 .art-slide-row .swiper-slide {
     width: 22vw !important;
 }

 .art-slide-row .swiper-slide img {
     width: 100%;
     height: 13vw;
     object-fit: cover;
     box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
     display: block;
 }

 .art-main-img-mobile {
     display: none;
 }

 .art-main-img-desktop {
     flex: 1;
     height: 712px;
     width: 50%;
     object-fit: cover;
     object-position: center;
     display: block;
 }

 @media (max-width: 767px) {
     .art-title-big {
         font-size: 72px;
         line-height: 1.3;
         text-align: right;
         padding-left: 4px;
         padding-top: 10px;
         -webkit-text-stroke: 0;
     }

     .art-title-small {
         padding-left: 20px;
         margin-left: -20px;
         padding-bottom: 60px;
         margin-bottom: -60px;
         padding-top: 12px;
         -webkit-transform: translateZ(0);
     }

     .art-top {
         width: 100%;
         overflow: visible;
         -webkit-overflow-scrolling: touch;
         transform: translateZ(0);
         padding-left: 8px;
     }
 }


 /* Mobile: ẩn ảnh desktop, hiện ảnh mobile */
 @media (max-width: 991px) {
     .art-main-img-desktop {
         display: none;
     }

     .art-main-img-mobile {
         display: block;
         width: 100%;
         height: 55vw;
         object-fit: cover;
     }

     .art-outer {
         padding-top: 64px;
         flex-direction: column;
     }

     .art-section {
         width: 100%;
     }

     .art-title-small {
         font-size: 40px;
     }

     .art-title-big {
         font-size: 72px;
         line-height: 60px;
     }

     .art-desc {
         font-size: 16px;
         line-height: 28px;
     }

     .art-slide-row {
         bottom: 40px;
     }

     .art-slide-row .swiper-slide {
         width: 55vw !important;
     }

     .art-slide-row .swiper-slide img {
         height: 32vw;
     }
 }

 @media (max-width: 767px) {
     .art-section {
         padding: 0 20px 220px;
     }

     .art-slide-row {
         bottom: 30px;
     }

     .art-slide-row .swiper-slide {
         width: 65vw !important;
     }

     .art-slide-row .swiper-slide img {
         height: 38vw;
     }
 }

 /* ARTIST SECTION */
 .artist-section {
     width: 100%;
     max-width: 1512px;
     padding: 64px 90px;
     display: flex;
     margin: 0 auto;
     flex-direction: column;
     gap: 10px;
 }

 .artist-header {
     display: flex;
     flex-direction: column;
     gap: 0;
     margin-bottom: 32px;
 }

 .artist-subtitle {
     color: #6C1503;
     font-size: 18px;
     font-family: var(--font-svn);
     font-weight: 500;
     line-height: 35px;
     font-style: normal;
     text-transform: uppercase;
 }

 .artist-title-1 {
     color: #E67E2D;
     font-size: 64px;
     font-family: var(--font-vl);
     font-weight: 400;
     font-style: normal;
     line-height: 118px;
 }

 .artist-title-2 {
     color: #6C1503;
     font-size: 136px;
     font-family: var(--font-mtd);
     font-weight: 400;
     line-height: 81px;
     text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
     margin-top: 16px;
     text-align: right;
 }

 .artist-cards {
     display: flex;
     align-items: stretch;
     gap: 12px;
     width: 100%;
 }

 .artist-cards {
     display: flex;
     align-items: stretch;
     gap: 12px;
     width: 100%;
 }

 .artist-card {
     position: relative;
     border-radius: 12px;
     overflow: hidden;
     cursor: pointer;
     flex: 0 0 200px;
     height: 640px;
     transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .artist-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center top;
     display: block;
     transition: transform 0.5s ease;
 }

 .artist-card.active {
     flex: 1 1 489px;
 }

 .artist-card.active img {
     transform: scale(1.05);
 }

 /* Overlay gradient */
 .artist-card-info {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     padding: 20px;
     box-sizing: border-box;
     /* thêm dòng này */
     background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.33) 60%, black 100%);
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 8px;
 }


 .artist-card.active .artist-card-info {
     align-items: flex-start;
 }

 .artist-card-name {
     color: white;
     font-size: 64px;
     font-family: var(--font-mtd);
     font-weight: 400;
     line-height: 1;
     text-shadow: 0px 0px 14px rgba(255, 255, 255, 1);
     text-align: center;
     /* luôn hiện */
     max-height: 1200px;
     opacity: 1;
     transition: none;
     
 }

 .artist-card.active .artist-card-name{
    font-size: 82px;
 }
 .artist-card-desc {
     color: white;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 25px;
     text-align: justify;
     max-height: 0;
     overflow: hidden;
     opacity: 0;
     transition: max-height 0.5s ease, opacity 0.4s ease 0.1s;
     width: 100%;
     /* full width của card */
     box-sizing: border-box;
     word-break: break-word;
     white-space: normal;
 }
  .artist-card-desc a{
    color: white;
  }

 /* Khi active: hiện cả name lẫn desc */
 .artist-card.active .artist-card-name {
     max-height: 1200px;
     opacity: 1;
     text-align: start;
 }

 .artist-card.active .artist-card-desc {
     max-height: 200px;
     opacity: 1;
 }

 /* MOBILE */
 @media (max-width: 991px) {
     .artist-section {
         padding: 48px 20px;
     }

     .artist-title-1 {
         font-size: 40px;
         line-height: 2.2;
     }

     .artist-title-2 {
         font-size: 72px;
         line-height: 60px;
         margin-top: 24px;
     }

     .artist-cards {
         overflow-x: auto;
         flex-wrap: nowrap;
         -webkit-overflow-scrolling: touch;
         padding-bottom: 12px;
     }

     .artist-card {
         flex: 0 0 160px;
         height: 480px;
     }

     .artist-card.active {
         flex: 0 0 300px;
     }

     .artist-card-name {
         font-size: 42px;
     }
     .artist-card.active .artist-card-name{
        font-size: 52px;
     }

     .artist-card-desc {
         font-size: 12px;
     }
 }

 @media (max-width: 767px) {
     .artist-card-info {
        padding: 10px;
     }
     .artist-title-1 {
         font-size: 32px;
     }

     .artist-title-2 {
         text-align: center;
         align-self: center;
         line-height: 50px;
     }

     .artist-card {
         flex: 0 0 130px;
         height: 380px;
     }

     .artist-card.active {
         flex: 0 0 250px;
     }
 }

 /* FOOTER */
 .site-footer {
     width: 100%;

     background: #0E0602;
     padding: 64px 84px;
     display: flex;
     box-sizing: border-box;
 }

 .footer-inner {
     flex: 1;
     width: 100%;
     max-width: 1344px;
     margin: 0 auto;
     /* ✅ thêm dòng này */
     display: flex;
     flex-direction: column;
     gap: 40px;
 }

 /* Top: Logo + mô tả */
 .footer-top {
     display: flex;
     flex-direction: column;
     gap: 15px;
     padding-bottom: 15px;
     border-bottom: 1px solid #BB581A;
 }

 .footer-logo {
     width: 110px;
     height: 52px;
     object-fit: contain;
     object-position: left center;
 }

 .footer-desc {
     color: #FFFADF;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 24px;
     text-align: justify;
 }

 /* Middle: 3 cột thông tin */
 .footer-middle {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     gap: 40px;
     flex-wrap: wrap;
 }

 .footer-col-title {
     color: #BB581A;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     display: block;
     margin-bottom: 16px;
 }

 .footer-col-text {
     color: #FFFADF;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 28px;
 }

 .footer-col-text a {
     color: #FFFADF;
     text-decoration: none;
     display: block;
     transition: color 0.2s;
 }

 .footer-col-text a:hover {
     color: #BB581A;
 }

 /* Cột social */
 .footer-social-title {
     color: #BB581A;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     margin-bottom: 16px;
 }

 .footer-social-icons {
     display: flex;
     gap: 12px;
     align-items: center;
 }

 .footer-social-icons a {
     width: 32px;
     height: 32px;
     background: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: opacity 0.2s;
 }

 .footer-social-icons a:hover {
     opacity: 0.8;
 }

 .footer-social-icons a svg {
     width: 16px;
     height: 16px;
 }

 /* Bottom: policy + copyright */
 .footer-policy {
     color: #FFFADF;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 24px;
 }

 .footer-policy a {
     color: #BB581A;
     text-decoration: underline;
 }

 .footer-copyright {
     color: #FFFADF;
     font-size: 14px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 24px;
 }
 .footer-copyright .copy-right{
    text-align: center;
 }
 .footer-copyright .copy-right img{
    height: 50px;
 }

 /* RESPONSIVE */
 @media (max-width: 991px) {
     .site-footer {
         padding: 48px 40px;
     }
 }

 @media (max-width: 767px) {
     .site-footer {
         padding: 40px 20px;
     }

     .footer-middle {
         flex-direction: column;
         gap: 32px;
     }
 }

 .pmq-card a {
     text-decoration: none;
     color: inherit;
     display: flex;
     flex-direction: column;
     height: 100%;
     cursor: pointer;
     position: relative;
     z-index: 1;
 }

 .footer-col-text a,
 .footer-contact-link {
     color: #FFFADF;
     text-decoration: none;
     display: block;
     transition: color 0.2s;
     line-height: 28px;
 }

 .footer-col-text a:hover,
 .footer-contact-link:hover {
     color: #BB581A;
 }

 /* MODAL SUCCESS */
 .modal-overlay {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.6);
     backdrop-filter: blur(4px);
     z-index: 9999;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }

 .modal-overlay.active {
     display: flex;
     opacity: 1;
     visibility: visible;
 }

 .modal-box {
     background: #ffffff;
     border-radius: 20px;
     padding: 48px 40px;
     max-width: 480px;
     width: 90%;
     /* display: flex; */
     flex-direction: column;
     align-items: center;
     gap: 16px;
     text-align: center;
     position: relative;
     transform: translateY(20px);
     transition: transform 0.3s ease;
     box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.2);
 }

 .modal-overlay.active .modal-box {
     transform: translateY(0);
 }

 .modal-close {
     position: absolute;
     top: 16px;
     right: 20px;
     background: none;
     border: none;
     cursor: pointer;
     color: #999;
     font-size: 20px;
     line-height: 1;
     padding: 4px;
     transition: color 0.2s;
 }

 .modal-close:hover {
     color: var(--primary-orange);
 }

 .modal-icon {
     width: 72px;
     height: 72px;
     background: linear-gradient(135deg, #FFF0E6, #FFD9BF);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 8px;
 }

 .modal-icon svg {
     width: 36px;
     height: 36px;
 }

 .modal-tag {
     color: var(--primary-orange);
     font-size: 12px;
     font-family: var(--font-svn);
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1.5px;
 }

 .modal-title {
     color: var(--text-dark);
     font-size: 30px;
     font-family: var(--font-svn);
     font-weight: 400;
     line-height: 1.2;
     margin: 0;
 }

 .modal-desc {
     color: #666;
     font-size: 14px;
     font-family: var(--font-svn);
     line-height: 1.8;
     margin: 0;
 }

 .modal-info-box {
     width: 100%;
     background: #FDF7F3;
     border-radius: 10px;
     padding: 16px 20px;
     display: flex;
     flex-direction: column;
     gap: 8px;
     margin-top: 4px;
 }

 .modal-info-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-size: 13px;
     font-family: var(--font-svn);
 }

 .modal-info-row .label {
     color: #999;
 }

 .modal-info-row .value {
     color: var(--text-dark);
     font-weight: 600;
 }

 .modal-btn {
     width: 100%;
     padding: 14px;
     background: var(--primary-orange);
     border: none;
     border-radius: 8px;
     color: white;
     font-size: 15px;
     font-family: var(--font-svn);
     font-weight: 600;
     cursor: pointer;
     transition: opacity 0.2s;
     margin-top: 4px;
 }

 .modal-btn:hover {
     opacity: 0.9;
 }

.modal-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #BB581A;
    border: 2px solid #BB581A;
    text-decoration: none; /* Bỏ gạch chân của thẻ a */
    margin-top: 8px; /* Khoảng cách với nút phía trên */
    transition: all 0.3s ease;
}

.modal-btn-outline:hover {
    background: #BB581A;
    color: #ffffff;
}

.modal-btn-outline svg {
    transition: transform 0.3s ease;
}

.modal-btn-outline:hover svg {
    transform: translate(2px, -2px);
}

 .modal-note {
     color: #aaa;
     font-size: 12px;
     font-family: var(--font-svn);
     line-height: 1.6;
 }

 @media (max-width: 767px) {
     .modal-box {
         padding: 36px 24px;
     }

 }

 /* MODAL OTP */
 .otp-inputs {
     display: flex;
     gap: 12px;
     justify-content: center;
     margin: 8px 0;
 }

 .otp-input {
     width: 44px;
     height: 56px;
     border: 2px solid #CCCCCC;
     border-radius: 10px;
     text-align: center;
     font-size: 24px;
     font-family: var(--font-playfair);
     font-weight: 700;
     color: var(--text-dark);
     outline: none;
     transition: border-color 0.2s;
     background: #F5F5F5;
 }

 .otp-input:focus {
     border-color: var(--primary-orange);
     background: #fff;
 }

 .otp-input.filled {
     border-color: var(--primary-orange);
     background: #FFF5EE;
 }

 .otp-input.error {
     border-color: #e53935;
     background: #fff5f5;
     animation: shake 0.3s ease;
 }

 @keyframes shake {

     0%,
     100% {
         transform: translateX(0);
     }

     25% {
         transform: translateX(-6px);
     }

     75% {
         transform: translateX(6px);
     }
 }

 .otp-timer {
     color: #999;
     font-size: 13px;
     font-family: var(--font-svn);
 }

 .otp-timer span {
     color: var(--primary-orange);
     font-weight: 600;
 }

 .otp-resend {
     display: none;
     background: none;
     border: none;
     color: var(--primary-orange);
     font-size: 13px;
     font-family: var(--font-svn);
     font-weight: 600;
     cursor: pointer;
     text-decoration: underline;
     padding: 0;
     display: none;
 }

 .otp-resend.visible {
     display: inline;
 }

 .otp-error-msg {
     display: none;
     color: #e53935;
     font-size: 12px;
     font-family: var(--font-svn);
     min-height: 18px;
 }

 .modal-email-highlight {
     color: var(--primary-orange);
     font-weight: 600;
 }
 
 .fab-wrapper {
  position: fixed;
  bottom: 70px;
  right: 10px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
 
.fab-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
 
.fab-tooltip {
  background: #6C1503;
  color: #FFFADF;
  font-family: 'SVN Ivymode Regular', serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 4px 14px rgba(108, 21, 3, 0.25);
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
 
.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #6C1503;
}
 
.fab-wrapper:hover .fab-tooltip,
.fab-wrapper.tooltip-visible .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}
 
.fab-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E67E2D 0%, #BB581A 60%, #92441A 100%);
  box-shadow: 0 6px 20px rgba(187, 88, 26, 0.45), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
 
.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(187, 88, 26, 0.55), 0 4px 10px rgba(0,0,0,0.2);
}
 
.fab-btn:active { transform: scale(0.95); }
 
.fab-icon {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
 
.fab-btn:hover .fab-icon {
  transform: rotate(-10deg) scale(1.1);
}
 
.fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(230, 126, 45, 0.6);
  animation: fabRingPulse 2.8s ease-out infinite;
  pointer-events: none;
}
 
@keyframes fabRingPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.65); opacity: 0;   }
  100% { transform: scale(1.65); opacity: 0;   }
}
 
/* ---- Mobile ---- */
@media (max-width: 767px) {
 
  .fab-tooltip {
    display: none;
  }
 
  .fab-btn {
    width: 52px;
    height: 52px;
  }
}

.registration-closed-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    height: 100%;
    min-height: 380px;
    background: #FDF7F3; /* Màu nền cam nhạt tương đồng với tổng thể */
    border-radius: 12px;
    border: 1px dashed rgba(187, 88, 26, 0.4); /* Viền đứt khúc tạo cảm giác nghệ thuật / thiệp mời */
}

.closed-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FFF0E6, #FFD9BF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(187, 88, 26, 0.15);
}

.closed-icon svg {
    width: 32px;
    height: 32px;
}

.closed-title {
    color: var(--text-dark);
    font-size: 32px;
    font-family: var(--font-vl); /* Sử dụng font serif cho sự sang trọng */
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.closed-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
    margin: 16px auto;
    opacity: 0.6;
    border-radius: 2px;
}

.closed-desc {
    color: #666666;
    font-size: 15px;
    font-family: var(--font-svn);
    line-height: 1.8;
    max-width: 85%;
    margin: 0;
}

/* Responsive cho điện thoại */
@media (max-width: 767px) {
    .registration-closed-overlay {
        padding: 40px 16px;
        min-height: 320px;
    }
    
    .closed-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .closed-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .closed-title {
        font-size: 28px;
    }
    
    .closed-desc {
        font-size: 14px;
        max-width: 100%;
    }
}

/* BANNER BUTTON */
.banner-cta-wrapper {
    position: absolute;
    bottom: 40%;
    left: 63%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
}

.banner-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--primary-orange);
    color: #ffffff;
    font-family: var(--font-svn);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(187, 88, 26, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}
button.header-register-btn {
    border: none;
    cursor: pointer;
}
.banner-cta-btn:hover {
    background: var(--dark-orange);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(187, 88, 26, 0.6);
}

.banner-cta-btn svg {
    transition: transform 0.3s ease;
}

.banner-cta-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .banner-cta-wrapper {
        bottom: 46%;
        left: 50%;
    }

    .banner-cta-btn {
        font-size: 14px;
        padding: 12px 28px;
    }
}