body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* Global Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0e1e2e;
}

::-webkit-scrollbar-thumb {
    background: #6b5c46;
    /* Subtle gold/brown for resting state */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4ae6f;
    /* Bright gold on hover */
}

body {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.playfair {
    font-family: 'Playfair Display', serif;
}

/* Custom scrollbar for legend */
.legend-scroll::-webkit-scrollbar {
    width: 6px;
}

.legend-scroll::-webkit-scrollbar-track {
    background: #1e2e3e;
    border-radius: 10px;
}

.legend-scroll::-webkit-scrollbar-thumb {
    background: #dcb88e;
    border-radius: 10px;
}

.legend-scroll::-webkit-scrollbar-thumb:hover {
    background: #c29b6f;
}

/* Tab shape with rounded top corners via 3D transform */
.trapezoid-tab {
    position: relative;
    padding: 6px 14px 4px;
    z-index: 1;
    text-align: center;
    color: white;
    min-width: 50px;
}

@media (min-width: 1024px) {
    .trapezoid-tab {
        padding: 8px 20px 6px;
        min-width: 60px;
    }
}

/* Ẩn thanh cuộn ngang trên mobile nhưng vẫn cho vuốt */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes orbit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbit-counter-spin {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.trapezoid-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #be976d;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    transform: perspective(40px) rotateX(10deg);
    transform-origin: bottom;
    z-index: -1;
    box-shadow: inset 0 -4px 0 #956f48;
}

/* --- Breathing Effect for Image (No Glow) --- */
@keyframes breathingImage {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-breathing {
    animation: breathingImage 4s ease-in-out infinite;
    will-change: transform;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #d4ae6f;
    height: 30px !important;
    width: 10px !important;
    border-radius: 5px;
}

/* Vertical pagination centered on the right */
.swiper-pagination {
    top: 50% !important;
    right: 2% !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto !important;
}

/* Custom Navigation Buttons - Glassmorphism, near bottom */
.hero-swiper-btn {
    top: auto !important;
    bottom: 40px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    opacity: 0;
    /* Hidden until hover on desktop */
}

.group:hover .hero-swiper-btn {
    opacity: 0.8;
}

.hero-swiper-btn:hover {
    background: #d4ae6f !important;
    border-color: transparent !important;
    transform: scale(1.1);
    opacity: 1;
}

.swiper-button-next.hero-swiper-btn {
    right: 2% !important;
}

.swiper-button-prev.hero-swiper-btn {
    left: auto !important;
    right: calc(2% + 60px) !important;
}

.hero-swiper-btn::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Responsive Adjustments for Mobile & Tablet */
@media (hover: none) {

    /* Hide arrows on touch devices (phones/tablets) as users can naturally swipe */
    .hero-swiper-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* Scale down pagination slightly on mobile */
    .swiper-pagination {
        right: 2% !important;
        gap: 8px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        height: 24px !important;
        width: 8px !important;
    }
}

/* --- Touch Ripple Effect --- */
.ripple-effect {
    position: fixed;
    border-radius: 50%;
    /* Sử dụng radial-gradient để tạo độ mềm mại ở viền thay vì màu đặc và border cứng */
    background: radial-gradient(circle, rgba(212, 174, 111, 0.3) 0%, rgba(212, 174, 111, 0.1) 50%, rgba(212, 174, 111, 0) 80%);
    border: none;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Ignore clicks */
    z-index: 9999;
    width: 150px;
    height: 150px;
}

/* --- Animated Gradient Text --- */
.animate-gradient-text {
    background: linear-gradient(90deg, #d4ae6f, #f0e0ca, #ffffff, #f0e0ca, #d4ae6f);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shine 3s linear infinite;
}

@keyframes text-shine {
    to {
        background-position: -200% center;
    }
}

/* Custom scrollbar for lists */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(14, 30, 46, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(212, 174, 111, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #d4ae6f;
}
@keyframes childMenuBgAnim {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(15, 103, 177, 0.6)) drop-shadow(0 0 20px rgba(15, 103, 177, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(15, 103, 177, 1)) drop-shadow(0 0 35px rgba(15, 103, 177, 0.8));
    }
}
.child-menu-bg-svg {
    animation: childMenuBgAnim 2.5s ease-in-out infinite;
    will-change: transform, opacity, filter;
}

    .banner {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 520px;
      overflow: hidden;
      isolation: isolate;
    }

    .banner-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      animation: bgZoom 8s ease-in-out infinite alternate;
    }

    @keyframes bgZoom {
      from { transform: scale(1); }
      to { transform: scale(1.06); }
    }

    .luxury-overlay {
      position: absolute;
      inset: 0;
      z-index: 5;
      background:
        radial-gradient(circle at 22% 46%, rgba(255, 205, 95, .18), transparent 32%),
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18), rgba(0,0,0,.02)),
        linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.35));
      pointer-events: none;
    }

    .content {
      position: absolute;
      top: 4%;
      left: 0;
      width: 50%;
      height: 100%;
      z-index: 30;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 22px;
      animation: contentIn 1.4s cubic-bezier(.16,1,.3,1) both;
    }

    @keyframes contentIn {
      from {
        opacity: 0;
        transform: translateX(-45px) scale(.96);
        filter: blur(10px);
      }
      to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
      }
    }

    .lux-img {
      position: relative;
      filter:
        drop-shadow(0 0 8px rgba(255, 222, 135, .35))
        drop-shadow(0 0 24px rgba(255, 185, 65, .28))
        drop-shadow(0 14px 35px rgba(0,0,0,.45));
      animation: softFloat 5s ease-in-out infinite;
      will-change: transform;
    }

    .lux-img:nth-child(2) {
      animation-delay: .5s;
    }

    @keyframes softFloat {
      0%,100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }


    @keyframes premiumShine {
      0% { transform: translateX(-130%) rotate(6deg); opacity: 0; }
      18% { opacity: 1; }
      42% { transform: translateX(130%) rotate(6deg); opacity: .9; }
      100% { transform: translateX(130%) rotate(6deg); opacity: 0; }
    }

    .grid-items {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
      width: 84%;
      align-items: center;
      justify-items: center;
    }

    .particle {
      position: absolute;
      z-index: 25;
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: #fff7d6;
      box-shadow:
        0 0 8px #fff,
        0 0 18px rgba(255,210,100,.9),
        0 0 36px rgba(255,180,40,.65);
      animation: particleTwinkle 3s ease-in-out infinite;
      opacity: .75;
    }

    .particle::before,
    .particle::after {
      content: "";
      position: absolute;
      inset: 50%;
      background: rgba(255,255,255,.95);
      transform: translate(-50%, -50%);
      border-radius: 999px;
    }

    .particle::before {
      width: 1px;
      height: 18px;
    }

    .particle::after {
      width: 18px;
      height: 1px;
    }

    @keyframes particleTwinkle {
      0%,100% {
        transform: scale(.55) rotate(0deg);
        opacity: .25;
      }
      50% {
        transform: scale(1.25) rotate(45deg);
        opacity: 1;
      }
    }

    @media (max-width: 1024px) {
      .content {
        width: 66%;
        left: -5%;
        gap: 10px;
      }

      .banner {
        height: 560px;
      }

      .grid-items {
        gap: 10px;
      }
    }

    @media (max-width: 640px) {
      .content {
        width: 78%;
        left: -8%;
      }

      .banner-bg {
        object-position: 70% center;
      }
    }