@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* Custom class for the active thumbnail in Tag01 gallery - Các viền xung quanh ảnh của trang chi tiết điểm đến */
.uk-active .tc-active-thumb {
  border-color: #0088ff !important;
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.7) !important;
  transform: scale(0.98) !important;
}

/* === Testing Mode Popup Premium Styles === */
.testing-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testing-overlay.active {
  opacity: 1;
  visibility: visible;
}

.testing-modal {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 450px;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(235, 28, 36, 0.1);
}

.testing-overlay.active .testing-modal {
  transform: scale(1) translateY(0);
}

.testing-icon {
  width: 64px;
  height: 64px;
  background: rgba(235, 28, 36, 0.1);
  color: #eb1c24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(235, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0);
  }
}

.testing-title {
  font-size: 20px;
  font-weight: 700;
  color: #161616;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.testing-message {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-testing-close {
  background: #eb1c24;
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(235, 28, 36, 0.3);
}

.btn-testing-close:hover {
  background: #d31920;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 28, 36, 0.4);
}

/* Style for TikTok social share icon in the footer */
.tiktok-footer-icon {
  width: 32px !important;
  height: 32px !important;
}

/* Responsive copyright footer custom styling */
.copyright-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
}

.copyright-separator {
  display: none !important;
}

@media (min-width: 768px) {
  .copyright-container {
    flex-direction: row !important;
    gap: 0 !important;
  }
  .copyright-separator {
    display: inline !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    opacity: 0.5 !important;
  }
}

/* Custom font overrides to support Vietnamese correctly and avoid Georgia letter-spacing bugs on Windows */
.tc-title,
.global-font-title,
.font-playfair,
.font-georgia,
[class*="font-['Playfair_Display']"],
[class*="font-['Georgia']"] {
  font-family: "Playfair Display", "Lora", "Georgia", serif !important;
}

/* Custom breadcrumb interactive links style */
.tc-breadcrumb-link {
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}
.tc-breadcrumb-link:hover {
  /* color: #222 !important; */
}

/* Scrollbar and custom utility classes */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu-item-no-underline,
.menu-item-no-underline:hover,
.menu-item-no-underline:focus {
  text-decoration: none !important;
}

/* Background classes for Video Gallery */
.background-thu-vien-video-san-vat {
  background-image: url("../images/background_san_vat-BkXff8Dy.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.background-thu-vien-video-diem-den {
  background-image: url("../images/background_diem_den-D7wUUbsd.png");
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
.background-phim-kinh-vr {
  background-image: url("../images/background_phim_danh_cho_kinh_vr-iBdLkF7Y.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.background-di-san-van-hoa {
  background-image: url("../images/background_di_san_van_hoa_phi_vat_the-CRoaXvPn.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Video modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10100;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #eb1c24;
}

.video-card {
  position: relative;
  overflow: hidden;
}

.antuong-banner {
  height: 480px !important;
}

@media (max-width: 768px) {
  .antuong-banner {
    height: 300px !important;
  }
}

#captcha-answer {
  outline: none !important;
}

#captcha-timer {
  display: inline-block;
  width: 42px;
  text-align: center;
  font-family: monospace, monospace;
}

/* --- Download App Banner Styles --- */
.download-banner-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 240px;
}
.download-banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.download-banner-info-col {
  left: 28%;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  height: 80%;
  gap: 6px;
  text-align: left !important;
  align-items: flex-start !important;
}
.download-banner-text {
  font-size: 15px;
  color: #333333;
  text-align: left !important;
  display: block;
}
.download-banner-title {
  font-size: 36px;
  color: #b30e0e;
  margin: 24px 0;
  text-align: left !important;
  display: block;
  font-family: inherit;
}
.download-banner-desc {
  font-size: 16px;
  color: #555555;
  line-height: 1.45;
  margin: 0;
  text-align: left !important;
  display: block;
}
.download-banner-box {
  right: 4.8%;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 440px;
  height: max-content;
  padding: 16px 18px;
  box-sizing: border-box;
  background-color: #9b8282;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.download-banner-qr-col {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #ffffff;
  padding: 4px;
}
.download-banner-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.download-banner-right-col {
  width: 142px;
  height: 86%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  gap: 4px;
}
.download-banner-label {
  font-size: 13px;
  color: #ffffff;
  white-space: nowrap;
  text-align: center !important;
  display: block;
  width: 100%;
  margin-bottom: 2px;
}
.download-banner-badge-link {
  width: 125px;
  aspect-ratio: 135/40;
  display: block;
  transition: transform 0.2s ease-in-out;
}
.download-banner-badge-link:hover {
  transform: scale(1.05);
}
.download-banner-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.download-banner-badges-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.download-banner-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.download-banner-arrow-left {
  flex-shrink: 0;
  margin-right: 2px;
}
.download-banner-arrow-right {
  flex-shrink: 0;
  margin-left: 2px;
}

@media (max-width: 1600px) {
  .download-banner-text {
    font-size: 13px;
  }
  .download-banner-title {
    font-size: 30px;
  }
  .download-banner-desc {
    font-size: 13px;
    line-height: 1.35;
  }
  .download-banner-label {
    font-size: 11px;
  }
  .download-banner-qr-col {
    width: 100px !important;
    height: 100px !important;
  }
  .download-banner-right-col {
    width: 136px !important;
  }
  .download-banner-badge-link {
    width: 110px !important;
  }
}
@media (max-width: 1280px) {
  .download-banner-text {
    font-size: 11px;
  }
  .download-banner-title {
    font-size: 24px;
  }
  .download-banner-desc {
    font-size: 11px;
    line-height: 1.3;
  }
  .download-banner-label {
    font-size: 10px;
  }
  .download-banner-box {
    padding: 8px 12px !important;
    gap: 8px !important;
  }
  .download-banner-qr-col {
    width: 85px !important;
    height: 85px !important;
  }
  .download-banner-right-col {
    width: 126px !important;
  }
  .download-banner-badge-link {
    width: 100px !important;
  }
}
@media (max-width: 1024px) {
  .download-banner-text {
    font-size: 9px;
  }
  .download-banner-title {
    font-size: 18px;
  }
  .download-banner-desc {
    font-size: 9px;
    line-height: 1.25;
  }
  .download-banner-label {
    font-size: 8px;
  }
  .download-banner-box {
    padding: 6px 10px !important;
    gap: 6px !important;
  }
  .download-banner-qr-col {
    width: 75px !important;
    height: 75px !important;
  }
  .download-banner-right-col {
    width: 118px !important;
  }
  .download-banner-badge-link {
    width: 92px !important;
  }
}
@media (max-width: 768px) {
  .download-banner-container {
    height: 100px !important;
  }
  .download-banner-info-col {
    left: 33% !important;
    width: 34% !important;
    height: 80% !important;
  }
  .download-banner-text {
    display: block !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    margin: 2px !important;
  }
  .download-banner-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin: 2px 0 !important;
  }
  .download-banner-desc {
    display: none !important;
  }
  .download-banner-label {
    display: none !important;
  }
  .download-banner-qr-col {
    display: none !important;
  }
  .download-banner-right-col {
    width: 100% !important;
    height: 90% !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .download-banner-box {
    width: 26% !important;
    right: 4.8% !important;
    height: 80% !important;
    padding: 1% 2% !important;
    border-radius: 10px !important;
  }
  .download-banner-badge-link {
    width: 100% !important;
  }
}
