/* ==========================================================================
   Ujuescape Custom Typography System - Averta & CabinSketch
   ========================================================================== */
@font-face {
  font-family: 'Averta';
  src: url('../fonts/Averta-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Averta';
  src: url('../fonts/Averta-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Averta';
  src: url('../fonts/Averta-Black.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Averta';
  src: url('../fonts/Averta-Black.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Averta';
  src: url('../fonts/AvertaStd-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'CabinSketch';
  src: url('../fonts/cabin_sketch.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+0300-036F;
  /* Basic Latin + Latin Extended + Combining Diacriticals */
}

/* ==========================================================================
   Ujuescape Custom CSS System - Dark & Neon Mystery Aesthetic
   ========================================================================== */

:root {
  --color-brand: #ce5fe7;
  --color-brand-rgb: 206, 95, 231;
  --color-primary-accent: var(--color-brand);
  --color-secondary-accent: var(--color-brand);
  --color-dark-bg: #0d0f12;
  --color-dark-card: #141820;
  --color-dark-border: #222938;
  --color-neon-purple: var(--color-brand);
  --color-neon-pink: var(--color-brand);
  --color-neon-red: var(--color-brand);
  /* Primary Accent Alias matching Uju Logo */
  --color-neon-cyan: #00f0ff;
  --color-neon-gold: #ffb800;
  --color-text-main: #e2e8f0;
  --color-text-muted: #94a3b8;
  --uju-header-cluster-inset: 20px;
  --font-display: 'CabinSketch', cursive, sans-serif;
  --font-headline: 'CabinSketch', cursive, sans-serif;
  --font-grunge: 'CabinSketch', cursive;
  --font-body: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* System Border Radius Design Tokens */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Smooth Scrolling & Smooth Rendering Defaults */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-body);
  overflow-x: clip;
}

#phong-choi,
#cac-phong-choi-khac,
#bang-gia,
#gioi-thieu,
#quy-trinh,
#tinh-nang,
#danh-gia,
#tin-tuc-home,
#faqs {
  scroll-margin-top: 84px;
}

@media (max-width: 1023px) {

  #phong-choi,
  #cac-phong-choi-khac,
  #bang-gia,
  #gioi-thieu,
  #quy-trinh,
  #tinh-nang,
  #danh-gia,
  #tin-tuc-home,
  #faqs {
    scroll-margin-top: 72px;
  }
}

body {
  background-color: var(--color-dark-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home,
body.single-product,
body.single-post,
body.single,
body.page-template-page-tin-tuc {
  --color-dark-bg: #000000;
  background-color: #000000;
}

body.home #main,
body.single-product #main,
body.single-post #main,
body.single #main,
body.page-template-page-tin-tuc #main,
body.home #phong-choi,
body.home #cac-phong-choi-khac,
body.single-product #cac-phong-choi-khac,
body.home #bang-gia,
body.home #gioi-thieu,
body.home #tinh-nang,
body.home #danh-gia,
body.home #tin-tuc-home,
body.home #faqs {
  background-color: #000000 !important;
  background-image: none !important;
}

body.home .uj-section-title-row {
  border-bottom: none !important;
}

body.single-product .uj-container,
body.single-post .uj-container,
body.single .uj-container,
body.page-template-page-tin-tuc .uj-container {
  /* Match the site-wide 1200px container so single/product/news pages line up
     with the home page and reference sites (feedback #39) instead of sitting
     32px narrower. */
  max-width: 1200px !important;
}

body.home .uju-room-card {
  background: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display-fallback,
.uju-hero-title {
  text-wrap: balance;
}

p,
.uju-hero-description,
.uju-room-full-story,
article p {
  text-wrap: pretty;
}

/* Typography Utility Classes */
.font-display,
.font-headline,
.font-carbin,
.font-carbinsketch {
  font-family: var(--font-display) !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Use one complete typeface when CabinSketch lacks Vietnamese glyphs. */
.font-display-fallback,
.font-averta-black {
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.font-body,
.font-montserrat,
.font-averta,
.font-sans,
.font-fjalla,
.font-grunge,
.font-special-elite,
.font-typewriter,
.font-mystery {
  font-family: var(--font-body) !important;
}

/* Widescreen Container Utility System */
.uj-container {
  width: 100%;
  /* 1200px matches the content width of the reference sites the client asked to
     line up with (jinzoescape.com / masterescape.vn), which sit ~1200px. */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .uj-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .uj-container {
    max-width: 1200px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Large external / iMac displays: let contained sections use more of the width
   so the layout doesn't look marooned in the centre (feedback #50). Kicks in
   only above 1920px, so MacBook screens (≤1728px) keep the approved layout. */
@media (min-width: 1920px) {
  .uj-container {
    max-width: 1440px;
  }
}

@media (max-width: 1023px) {
  #masthead {
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  }

  #masthead.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 10, 15, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    pointer-events: auto;
  }

  #masthead .uju-navbar-row {
    height: 64px;
    min-height: 64px;
  }

  #masthead .uju-navbar-primary-cluster img {
    height: 36px;
    max-height: 36px;
  }

  #mobile-menu-drawer.hidden,
  #masthead #mobile-menu-drawer.hidden,
  #masthead.is-sticky #mobile-menu-drawer.hidden {
    display: none !important;
  }

  #masthead.is-sticky #mobile-menu-drawer:not(.hidden) {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0 !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(10, 13, 18, 0.98) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
    padding: 1.25rem 1.5rem 1.75rem !important;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
}


/* Brand Neon Color Glow & Utility Classes (Purple Unified to #ce5fe7 matching logo) */
.text-neon-purple,
.text-neon-pink {
  color: #ce5fe7 !important;
}

.bg-neon-purple,
.bg-neon-pink {
  background-color: #ce5fe7 !important;
}

.border-neon-purple,
.border-neon-pink {
  border-color: #ce5fe7 !important;
}

.text-neon-red {
  color: #ce5fe7 !important;
}

.bg-neon-red {
  background-color: var(--color-primary-accent);
}

.border-neon-red {
  border-color: var(--color-primary-accent);
}

.bg-neon-cyan {
  background-color: var(--color-neon-cyan);
}

.border-neon-cyan {
  border-color: var(--color-neon-cyan);
}

.text-neon-gold {
  color: var(--color-neon-gold);
}

.bg-neon-gold {
  background-color: var(--color-neon-gold);
}

.border-neon-gold {
  border-color: var(--color-neon-gold);
}

/* Glassmorphism & Neon Glow Utilities */
.glass-neon-card {
  background: rgba(20, 24, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  will-change: transform;
}

.glass-neon-card:hover {
  border-color: rgba(206, 95, 231, 0.8) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
  transform: translateY(-6px);
}

/* Swiper Slider Hover Protection System (Prevents top/side clipping on card translate & glow) */
.uju-rooms-swiper {
  padding: 16px 0 !important;
  margin: -16px 0 !important;
  overflow: hidden;
}

.uju-rooms-swiper .swiper-slide {
  transition: z-index 0.3s ease;
}

.uju-rooms-swiper .swiper-slide:hover {
  z-index: 30 !important;
}

.neon-glow-red,
.neon-glow-purple,
.neon-glow-pink,
.neon-glow-cyan {
  box-shadow: none !important;
}

.neon-text-red,
.neon-text-purple,
.neon-text-pink {
  color: var(--color-primary-accent);
  text-shadow: none !important;
}

.neon-text-cyan {
  color: var(--color-neon-cyan);
  text-shadow: none !important;
}

.neon-text-gold {
  color: var(--color-neon-gold);
  text-shadow: none !important;
}

/* WooCommerce CSS Override Protection for Site Logo */
#masthead img,
.site-header img,
#uj-main-navbar img,
.site-logo img {
  height: auto !important;
  width: auto !important;
  max-height: 44px;
  object-fit: contain !important;
}

footer img,
.site-footer img {
  max-height: 110px !important;
}

.uju-site-footer {
  background-position: center;
  background-size: cover;
}

.uju-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(420px, 2fr) minmax(240px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 4rem);
}

.uju-footer-map>div {
  height: clamp(285px, 22vw, 335px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.uju-footer-contact,
.uju-footer-hours {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uju-footer-bottom {
  position: relative;
}

@media (max-width: 1023px) {
  .uju-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 2.5rem;
  }

  .uju-footer-map {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .uju-footer-map>div {
    height: 300px;
  }
}

@media (max-width: 639px) {
  .uju-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .uju-footer-map {
    grid-column: auto;
    grid-row: auto;
  }

  .uju-footer-map>div {
    height: 250px;
  }

  footer img,
  .site-footer img {
    max-height: 85px !important;
  }
}

.uju-site-footer iframe {
  display: block;
  filter: none !important;
}

/* Header & Dual-Mode Navbar System */
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

body.admin-bar #masthead {
  top: 32px;
}

@media screen and (max-width: 1023px) {

  body.admin-bar #masthead,
  body.admin-bar #masthead.is-sticky {
    top: 32px !important;
  }
}

@media screen and (max-width: 782px) {

  body.admin-bar #masthead,
  body.admin-bar #masthead.is-sticky {
    top: 46px !important;
  }
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
    top: 0 !important;
  }
}

#uj-main-navbar {
  transition: margin-top 0.35s ease, padding 0.35s ease;
}

.uju-navbar-row {
  min-height: 64px;
}

@media (min-width: 768px) {
  .uju-navbar-row {
    min-height: 72px;
  }
}

@media (min-width: 1024px) {
  .uju-navbar-row {
    min-height: 80px;
  }
}

.uju-navbar-primary-cluster {
  gap: clamp(3rem, 8vw, 7rem);
}

.uju-navbar-action-cluster {
  gap: 1.75rem;
}

.uju-navbar-primary-cluster,
.uju-navbar-action-cluster {
  transition: padding 0.35s ease, gap 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

.uju-navbar-action-cluster .btn-neon-red {
  border-radius: 9999px !important;
}

@media (min-width: 1024px) {
  #masthead {
    pointer-events: none;
  }

  #masthead .uju-navbar-row {
    height: 88px;
    min-height: 88px;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #masthead.is-sticky .uju-navbar-row {
    transform: translateY(-8px);
  }

  #masthead .uju-navbar-primary-cluster,
  #masthead .uju-navbar-action-cluster {
    position: relative;
    isolation: isolate;
    height: 56px;
    border-radius: 9999px;
    pointer-events: auto;
  }

  #masthead .uju-navbar-primary-cluster::before,
  #masthead .uju-navbar-action-cluster::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    background: rgba(30, 33, 40, 0.94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
  }

  #masthead.is-sticky .uju-navbar-primary-cluster::before,
  #masthead.is-sticky .uju-navbar-action-cluster::before {
    opacity: 1;
    transform: scale(1);
  }

  #masthead .uju-navbar-primary-cluster {
    padding: 0 var(--uju-header-cluster-inset);
    gap: clamp(24px, 3vw, 48px);
  }

  #masthead .uju-navbar-primary-cluster img {
    height: 36px;
    max-height: 36px;
    width: auto;
  }

  #masthead .uju-navbar-primary-cluster {
    gap: clamp(24px, 4vw, 56px);
  }

  #masthead #site-navigation ul {
    gap: clamp(24px, 2.5vw, 44px);
  }

  #masthead #site-navigation a {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
    white-space: nowrap;
  }

  #masthead .uju-navbar-action-cluster {
    padding: 0 7px 0 20px;
    gap: clamp(12px, 1.5vw, 24px);
  }

  #masthead .uju-navbar-action-cluster a:not(.btn-neon-red) {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  #masthead .uju-navbar-action-cluster .btn-neon-red {
    height: 42px;
    padding: 0 24px;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {

  #masthead,
  #masthead .uju-navbar-row,
  #masthead .uju-navbar-primary-cluster::before,
  #masthead .uju-navbar-action-cluster::before {
    transition: none;
  }
}

.uju-rooms-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(18, 22, 30, 0.92);
  border: 1px solid rgba(206, 95, 231, 0.4);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 999px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 639px) {
  .uju-rooms-nav-btn {
    display: none !important;
  }
}

.uju-rooms-nav-btn svg {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.uju-rooms-nav-btn span {
  display: inline-flex;
  align-items: center;
  transform: translateY(1px);
}

.uju-rooms-nav-btn:hover {
  background: #ce5fe7;
  border-color: #ce5fe7;
  color: #ffffff;
}

@media (min-width: 640px) and (max-width: 1023px) {
  #uju-rooms-prev {
    left: 12px;
  }

  #uju-rooms-next {
    right: 12px;
  }
}

@media (min-width: 1024px) {
  #uju-rooms-prev {
    left: 12px;
  }

  #uju-rooms-next {
    right: 12px;
  }
}

/* Main Navigation Menu */
#site-navigation ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-navigation>ul>li,
#site-navigation .menu-item-has-children {
  position: relative;
}

#site-navigation .menu-item-has-children>a {
  padding-right: 1.1rem;
}

#site-navigation .menu-item-has-children>a::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

/* Desktop dropdown: removed from the header flex flow until opened. */
#site-navigation ul.sub-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  z-index: 120;
  display: block;
  min-width: 220px;
  padding: 0.55rem;
  margin: 0;
  border: 1px solid rgba(206, 95, 231, 0.35);
  border-radius: var(--radius-md);
  background: rgba(13, 15, 18, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

#site-navigation ul.sub-menu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 0.7rem;
}

#site-navigation>ul>li>ul.sub-menu {
  top: calc(100% + 1.85rem);
}

#site-navigation>ul>li>ul.sub-menu::before {
  height: 1.9rem;
}

#site-navigation ul.sub-menu li {
  display: block;
  width: 100%;
}

#site-navigation ul.sub-menu a {
  display: block;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: nowrap;
}

#site-navigation ul.sub-menu a:hover,
#site-navigation ul.sub-menu a:focus-visible {
  color: #ffffff;
  background: rgba(206, 95, 231, 0.16);
  outline: none;
}

#site-navigation li:hover>ul.sub-menu,
#site-navigation li:focus-within>ul.sub-menu,
#site-navigation li.is-submenu-open>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#site-navigation li:hover>a::before,
#site-navigation li:focus-within>a::before,
#site-navigation li.is-submenu-open>a::before {
  transform: translateY(-35%) rotate(225deg);
}

#site-navigation ul.sub-menu ul.sub-menu {
  top: -0.55rem;
  left: calc(100% + 0.65rem);
  transform: translate(8px, 0);
}

#site-navigation ul.sub-menu li:hover>ul.sub-menu,
#site-navigation ul.sub-menu li:focus-within>ul.sub-menu,
#site-navigation ul.sub-menu li.is-submenu-open>ul.sub-menu {
  transform: translate(0, 0);
}

/* The active brush belongs to the top-level item, not each dropdown row. */
#site-navigation ul.sub-menu a::after {
  display: none !important;
}

body.mobile-menu-open,
html.mobile-menu-open {
  overflow: hidden !important;
  touch-action: none;
}

#mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 70;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: none;
}

#mobile-menu-drawer.hidden {
  display: none !important;
}

#mobile-menu-drawer {
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  background: rgba(11, 13, 18, 0.98);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  border-radius: 0 !important;
}

#mobile-menu-drawer .uju-mobile-menu,
#mobile-menu-drawer .uju-mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mobile-menu-drawer .uju-mobile-menu li {
  position: relative;
}

#mobile-menu-drawer .uju-mobile-menu>li>a {
  display: block;
  padding: 0.7rem 2.75rem 0.7rem 0;
  color: #e2e8f0;
  text-decoration: none;
}

#mobile-menu-drawer .uju-mobile-menu>li>a.active {
  padding-left: 0.8rem;
  border-left: 2px solid #ce5fe7;
  color: #ffffff;
}

#mobile-menu-drawer .uju-mobile-menu .sub-menu {
  display: none;
  margin: 0.15rem 0 0.5rem;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 1px solid rgba(206, 95, 231, 0.45);
}

#mobile-menu-drawer .uju-mobile-menu .sub-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: #94a3b8;
  font-size: 0.8rem;
  text-decoration: none;
}

#mobile-menu-drawer .uju-mobile-menu .is-mobile-submenu-open>.sub-menu {
  display: block;
}

.uju-mobile-submenu-toggle {
  position: absolute;
  top: 0.38rem;
  right: 0;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(20, 24, 32, 0.8);
  color: #ce5fe7;
  cursor: pointer;
}

.uju-mobile-submenu-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s ease;
}

.is-mobile-submenu-open>.uju-mobile-submenu-toggle svg {
  transform: rotate(180deg);
}

#site-navigation a {
  position: relative;
  color: #e2e8f0;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}

#site-navigation a:hover,
.uju-mobile-menu a:hover {
  color: var(--color-neon-purple, #ce5fe7) !important;
}

/* Purple-Pink Brush Slash Active Link Effect */
.nav-active-brush,
#site-navigation li.current-menu-item>a,
#site-navigation li.current_page_item>a,
#site-navigation li.current-menu-ancestor>a,
#site-navigation a.active {
  color: #ffffff !important;
}

.nav-active-brush::after,
#site-navigation li.current-menu-item>a::after,
#site-navigation li.current_page_item>a::after,
#site-navigation li.current-menu-ancestor>a::after,
#site-navigation a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 105%;
  height: 4px;
  background: #ce5fe7;
  border-radius: 0 !important;
  clip-path: polygon(0% 30%, 12% 0%, 88% 20%, 100% 0%, 96% 85%, 82% 100%, 14% 85%, 0% 60%);
  box-shadow: 0 0 8px rgba(206, 95, 231, 0.4);
}


/* Soft Rounded Buttons (Purple-Pink Neon Brand Palette) */
.btn-neon-red,
.btn-neon-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ce5fe7;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-neon-red:hover,
.btn-neon-purple:hover {
  background: #ffffff !important;
  color: #ce5fe7 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}


.btn-neon-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00f0ff;
  color: #0d0f12;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-neon-cyan:hover {
  background: #ffffff !important;
  color: #00f0ff !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px);
}

/* Shared secondary CTA: purple outline only, without translucent fill or glow. */
.uju-outline-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border: 1px solid #ce5fe7;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.uju-outline-cta:hover,
.uju-outline-cta:focus-visible {
  border-color: #ce5fe7;
  background: transparent !important;
  box-shadow: none !important;
  color: #ce5fe7;
  outline: none;
}

@media (max-width: 639px) {
  .uju-outline-cta {
    min-height: 38px;
    padding: 0.5rem 1.1rem;
    font-size: 0.68rem;
    gap: 0.4rem;
  }
}

.uju-demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.6rem;
  background: #ce5fe7;
  color: #ffffff;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.uju-demo-cta:hover {
  background: #b845d4;
  color: #ffffff;
  transform: translateY(-2px);
}

.uj-section-title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.uj-section-title-row .uj-section-title {
  margin: 0;
  line-height: 1;
  transform: translateY(0.18em);
}


/* FAQs Accordion */
.faq-item {
  border-bottom: 1px solid var(--color-dark-border);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   SIMPLE, LIGHTWEIGHT & HIGH-PERFORMANCE VISUAL EFFECTS
   ========================================================================== */

/* 1. Ultra-Lightweight Scroll Reveal Animations */
.uj-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.uj-reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger Delays */
.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}

/* 2. Simple & Crisp Card Hover Effect (No 3D Tilt, No Heavy Shadows) */
.glass-neon-card,
.uj-tilt-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.glass-neon-card:hover,
.uj-tilt-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(206, 95, 231, 0.7) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;
}

/* 3. Subtle Floating Animation */
@keyframes ujFloatSimple {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }
}

.animate-uj-float {
  animation: ujFloatSimple 3.5s ease-in-out infinite;
}



/* 5. Image Lightbox Modal */
#uj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#uj-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

#uj-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(206, 95, 231, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

#uj-lightbox.is-open img {
  transform: scale(1);
}

#uj-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

#uj-lightbox-close:hover {
  color: #00f0ff;
}

/* ==========================================================================
   6. Ujuescape Newsletter & Offer Popup Modal (Dark & Neon Rounded 2-Column)
   ========================================================================== */
.uj-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.uj-popup-overlay.uj-popup-active {
  visibility: visible;
  opacity: 1;
}

.uj-popup-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.uj-popup-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 820px;
  background-color: #141820;
  border: 1px solid rgba(206, 95, 231, 0.35);
  border-radius: var(--radius-xl) !important;
  max-height: calc(100dvh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.uju-popup-open {
  overflow: hidden;
}

.uj-popup-overlay.uj-popup-active .uj-popup-card {
  transform: scale(1) translateY(0);
}

.uj-popup-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full) !important;
  background-color: rgba(20, 24, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  backdrop-filter: blur(4px);
}

.uj-popup-close-btn:hover {
  background-color: #ce5fe7;
  border-color: #ce5fe7;
  color: #ffffff;
  transform: rotate(90deg);
  box-shadow: none;
}

.uj-popup-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .uj-popup-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (max-width: 767px) {
  .uj-popup-overlay {
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    overflow: hidden;
  }

  .uj-popup-card {
    max-height: min(90dvh, 580px);
    border-radius: 16px !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .uj-popup-close-btn {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 100001;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    background-color: #181f2c;
    border: 1px solid rgba(206, 95, 231, 0.5);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  }

  .uj-popup-overlay .uj-popup-content-col {
    padding: 2.25rem 1.25rem 1.5rem;
  }
}

.uj-popup-dismiss-text {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  outline: none;
}

.uj-popup-content-col {
  padding: 2.25rem 1.75rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .uj-popup-content-col {
    padding: 2.75rem 2rem 2.75rem 2.5rem;
  }
}

.uj-popup-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 40%, #ce5fe7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .uj-popup-title {
    font-size: 1.75rem;
  }
}

.uj-popup-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.uj-popup-form-area {
  width: 100%;
}

.uj-popup-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .uj-popup-input-group {
    flex-direction: row;
    gap: 0;
  }
}

.uj-popup-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: #0d0f12;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--radius-md) !important;
  outline: none;
  transition: all 0.25s ease;
}

@media (min-width: 480px) {
  .uj-popup-input {
    border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
    border-right: none;
  }
}

.uj-popup-input:focus {
  border-color: #ce5fe7;
  box-shadow: none;
}

.uj-popup-submit-btn {
  padding: 0.85rem 1.4rem;
  background: #ce5fe7;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .uj-popup-submit-btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
  }
}

.uj-popup-submit-btn:hover {
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.uj-popup-form-msg {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm) !important;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.uj-popup-form-msg.success {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.uj-popup-media-col {
  position: relative;
  min-height: 220px;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

@media (min-width: 768px) {
  .uj-popup-media-col {
    min-height: 100%;
    padding: 1.25rem 1.25rem 1.25rem 0;
  }
}

.uj-popup-media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.uj-popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) !important;
  display: block;
}

.uj-popup-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 32, 0.5), transparent);
  pointer-events: none;
}

/* Fluent Form Styling Overrides inside Popup Modal */
.uj-popup-card .fluentform {
  margin: 0 !important;
}

.uj-popup-card .ff-el-form-control {
  background-color: #0d0f12 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
}

.uj-popup-card .ff-el-form-control:focus {
  border-color: #ce5fe7 !important;
  box-shadow: none !important;
}

.uj-popup-card .ff-btn-submit {
  background: #ce5fe7 !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-body) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.95rem !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.uj-popup-card .ff-btn-submit:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* ========================================================================== 
   Shared room catalogue cards and pagination
   ========================================================================== */
.uju-room-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.uju-room-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #252b38;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #171a23 0%, #11141c 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.uju-room-card:hover {
  transform: translateY(-5px);
  border-color: rgba(206, 95, 231, 0.72);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.65);
}

.uju-room-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b0d12;
  color: #ffffff;
  text-decoration: none;
}

.uju-room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.uju-room-card:hover .uju-room-card-media img {
  transform: scale(1.055);
}

.uju-room-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 17, 0.7) 100%);
  pointer-events: none;
}

.uju-room-card-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 30%, rgba(206, 95, 231, 0.2), transparent 52%), #0b0d12;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.uju-room-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border: 1px solid #ce5fe7;
  border-radius: 999px;
  background: rgba(206, 95, 231, 0.16);
  color: #ffffff;
  font-family: var(--font-body, inherit);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(206, 95, 231, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.uju-room-card-media .uju-room-status--media {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.uju-room-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.uju-room-card h3 {
  min-height: 3.25rem;
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.uju-room-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.uju-room-card:hover h3 a {
  color: #ce5fe7;
}

.uju-room-card-excerpt {
  display: -webkit-box;
  min-height: 2.75rem;
  margin: 0 0 1rem;
  overflow: hidden;
  color: #98a0b2;
  font-size: 0.8rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
}

.uju-room-card-ratings {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0;
}

.uju-room-card-ratings>div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #8e96a7;
  font-size: 0.72rem;
}

.uju-room-card-ratings .ujuescape-rating-stars {
  flex-shrink: 0;
}

.uju-room-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0 1rem;
  color: #98a0b2;
  font-size: 0.72rem;
}

.uju-room-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.uju-room-card-action {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: #ce5fe7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uju-room-card-action:hover {
  background: #ce5fe7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.uju-room-card-action.is-disabled {
  border: 1px solid rgba(206, 95, 231, 0.65);
  background: rgba(206, 95, 231, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  cursor: default;
}

.uju-room-card-action.is-disabled:hover {
  background: rgba(206, 95, 231, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transform: none;
}

.uju-pagination {
  display: flex;
  justify-content: center;
  margin: 3.5rem 0 1rem;
}

.uju-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uju-pagination a.page-numbers,
.uju-pagination span.page-numbers {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  border: 1px solid #2a303d;
  border-radius: var(--radius-md);
  background: #151923;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.uju-pagination a.page-numbers:hover,
.uju-pagination span.page-numbers.current {
  border-color: #ce5fe7;
  background: #ce5fe7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.uju-pagination span.page-numbers.dots {
  min-width: 24px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 1023px) {
  .uju-room-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 639px) {
  .uju-room-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .uju-pagination a.page-numbers,
  .uju-pagination span.page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 0.7rem;
  }

  .uju-pagination .prev span:last-child,
  .uju-pagination .next span:first-child {
    display: none;
  }
}

/* ========================================================================== 
   Responsive pricing matrix
   ========================================================================== */
.uju-pricing-section,
#bang-gia {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0;
  background-color: #000000 !important;
  background-image: none !important;
}

.uju-pricing-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 240, 255, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(6, 9, 12, 0.8) 0%, rgba(6, 9, 12, 0.9) 55%, rgba(6, 9, 12, 0.96) 100%);
}

.uju-pricing-inner {
  position: relative;
  z-index: 1;
}

.uju-pricing-header {
  max-width: 680px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.uju-pricing-eyebrow {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.uju-pricing-header p {
  margin: 0.45rem 0 0;
  color: #a1a9b8;
  font-size: 0.85rem;
}

.uju-pricing-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto 1.15rem;
}

.uju-pricing-mode {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(12, 15, 21, 0.82);
  backdrop-filter: blur(10px);
}

.uju-pricing-mode.is-horror {
  border-color: rgba(206, 95, 231, 0.62);
  box-shadow: none;
}

.uju-pricing-mode-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #394252;
  border-radius: 50%;
  color: #8d96a8;
}

.uju-pricing-mode.is-horror .uju-pricing-mode-icon {
  border-color: #ce5fe7;
  color: #ce5fe7;
}

.uju-pricing-mode h3 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uju-pricing-mode.is-horror h3 {
  color: #ce5fe7;
}

.uju-pricing-mode ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: #a8b0bf;
  font-size: 0.74rem;
  list-style: none;
}

.uju-pricing-mode li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.uju-pricing-checkbox {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #586275;
  border-radius: 2px;
  background: rgba(39, 46, 59, 0.62);
  color: transparent;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.uju-pricing-checkbox.is-checked {
  border-color: #ce5fe7;
  background: rgba(206, 95, 231, 0.16);
  box-shadow: none;
  color: #ce5fe7;
}

.uju-pricing-desktop {
  max-width: 980px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(206, 95, 231, 0.62);
  border-radius: var(--radius-lg);
  background: rgba(8, 10, 14, 0.82);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

.uju-pricing-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
}

.uju-pricing-table th,
.uju-pricing-table td {
  padding: 0.85rem 0.75rem;
  border-right: 1px solid #2a303c;
  border-bottom: 1px solid #2a303c;
  color: #ffffff;
  text-align: center;
}

.uju-pricing-table tr> :last-child {
  border-right: 0;
}

.uju-pricing-table tbody tr:last-child>* {
  border-bottom: 0;
}

.uju-pricing-table thead th {
  background: rgba(17, 20, 27, 0.68);
}

.uju-pricing-table th strong,
.uju-pricing-table th small {
  display: block;
}

.uju-pricing-table thead strong {
  min-height: auto;
  font-size: 0.8rem;
  line-height: 1.35;
}

.uju-pricing-table th small {
  margin-top: 0.2rem;
  color: #8f98a9;
  font-size: 0.65rem;
  font-weight: 500;
}

.uju-pricing-table thead th:nth-child(2) small {
  color: #ce5fe7;
}

.uju-pricing-logo-cell img {
  width: auto;
  max-width: 105px;
  height: 32px;
  margin: auto;
  object-fit: contain;
}

.uju-pricing-table tbody th {
  background: rgba(13, 16, 22, 0.72);
  text-align: left;
}

.uju-pricing-table tbody th strong {
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uju-pricing-table tbody td {
  white-space: nowrap;
  vertical-align: middle;
}

.uju-pricing-table tbody td strong {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1;
  vertical-align: baseline;
}

.uju-pricing-table tbody td small {
  display: inline-block;
  margin-top: 0;
  margin-left: 0.25rem;
  color: #929bad;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  vertical-align: baseline;
}

.uju-pricing-table tbody tr:first-child td:nth-child(2) strong {
  color: #ce5fe7;
}

.uju-pricing-table tbody tr:first-child td:last-child strong,
.uju-pricing-table tbody tr:first-child td:nth-child(5) strong {
  color: #ffffff;
}

.uju-pricing-table td.is-unavailable strong,
.uju-pricing-table td.is-unavailable small,
.uju-pricing-table .uju-pricing-na {
  display: inline-block;
  color: #596273;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.uju-pricing-mobile {
  display: none;
}

.uju-pricing-footer {
  display: flex;
  max-width: 980px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1.15rem auto 0;
}

.uju-pricing-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  color: #a8b0bf;
  font-size: 0.72rem;
}

.uju-pricing-notes p {
  margin: 0;
}

.uju-pricing-notes p>span {
  margin-right: 0.35rem;
  color: #ce5fe7;
}

.uju-pricing-notes strong {
  color: #ffffff;
}

.uju-pricing-cta {
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .uju-pricing-section {
    padding: 3.5rem 0;
    background-position: 58% center;
  }

  .uju-pricing-header h2 {
    font-size: clamp(2.2rem, 8vw, 3rem) !important;
  }

  .uju-pricing-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .uju-pricing-modes {
    grid-template-columns: minmax(0, 1fr);
  }

  .uju-pricing-desktop {
    display: none;
  }

  .uju-pricing-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .uju-price-day-card {
    overflow: hidden;
    border: 1px solid #303746;
    border-radius: var(--radius-lg);
    background: rgba(9, 12, 17, 0.9);
    backdrop-filter: blur(10px);
  }

  .uju-price-day-card header {
    min-height: 52px;
    padding: 0.55rem 0.55rem;
    border-bottom: 1px solid #303746;
    background: rgba(24, 28, 37, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .uju-price-day-card h3 {
    margin: 0 0 0.15rem;
    color: #ffffff;
    font-size: clamp(0.66rem, 2.6vw, 0.78rem);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .uju-price-day-card header span {
    color: #ce5fe7;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .uju-price-day-card>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.55rem 0.55rem;
    min-height: 44px;
    border-bottom: 1px solid #252b36;
    color: #9fa8b8;
    font-size: clamp(0.62rem, 2.2vw, 0.68rem);
  }

  .uju-price-day-card>div:last-child {
    border-bottom: 0;
  }

  .uju-price-day-card .uju-price-duration,
  .uju-price-day-card>div>span:first-child {
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
  }

  .uju-price-day-card>div strong {
    color: #ffffff;
    font-size: clamp(0.82rem, 2.6vw, 0.92rem);
    font-weight: 800;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
  }

  .uju-price-day-card:first-child>div:first-of-type strong {
    color: #ce5fe7;
  }

  .uju-price-day-card:last-child>div:first-of-type strong {
    color: #ffffff;
  }

  .uju-price-day-card>div strong.is-unavailable {
    color: #687284;
    font-size: clamp(0.56rem, 1.9vw, 0.64rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .uju-price-day-card small {
    display: inline;
    margin-left: 1px;
    color: #9fa8b8;
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .uju-pricing-footer {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .uju-pricing-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .uju-pricing-notes p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: rgba(24, 28, 37, 0.75);
    border: 1px solid rgba(206, 95, 231, 0.25);
    border-radius: var(--radius-md);
    font-size: 0.72rem;
    color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
  }

  .uju-pricing-notes p>span,
  .uju-pricing-notes strong {
    white-space: nowrap;
  }

  .uju-pricing-notes strong {
    color: #ce5fe7;
  }

  .uju-pricing-cta {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 9999px;
  }
}

@media (max-width: 540px) {
  .uju-pricing-notes {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .uju-pricing-notes p {
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
  }
}

/* ========================================================================== 
   Booking journey stepper shared by modal, checkout and confirmation
   ========================================================================== */
.uju-booking-steps {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #293140;
  border-radius: var(--radius-lg);
  background: rgba(18, 22, 30, 0.92);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.26);
}

.uju-booking-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.uju-booking-step {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.25rem 1.4rem;
  color: #788294;
}

.uju-booking-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.1rem;
  width: 2.2rem;
  height: 1px;
  background: #3a4352;
}

.uju-booking-step-number {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a4556;
  border-radius: 50%;
  background: #1d2430;
  color: #9ba5b5;
  font-size: 0.78rem;
  font-weight: 800;
}

.uju-booking-step-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.uju-booking-step-copy strong {
  color: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.uju-booking-step-copy small {
  color: #667184;
  font-size: 0.62rem;
  line-height: 1.35;
}

.uju-booking-step.is-current {
  color: #ffffff;
}

.uju-booking-step.is-current .uju-booking-step-number {
  border-color: #ce5fe7;
  background: #ce5fe7;
  box-shadow: none;
  color: #ffffff;
}

.uju-booking-step.is-complete {
  color: #cbd5e1;
}

.uju-booking-step.is-complete .uju-booking-step-number {
  border-color: rgba(0, 240, 255, 0.55);
  background: rgba(0, 240, 255, 0.12);
  color: #00f0ff;
}

.uju-booking-step.is-complete::after {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.7), rgba(206, 95, 231, 0.65));
}

@media (max-width: 639px) {
  .uju-booking-steps {
    margin-bottom: 1.25rem;
    padding: 0.85rem 0.45rem;
  }

  .uju-booking-step {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.15rem 0.25rem;
    text-align: center;
  }

  .uju-booking-step:not(:last-child)::after {
    top: 1.25rem;
    right: -0.75rem;
    width: 1.5rem;
  }

  .uju-booking-step-number {
    width: 2rem;
    height: 2rem;
  }

  .uju-booking-step-copy strong {
    font-size: 0.65rem;
  }

  .uju-booking-step-copy small {
    display: none;
  }
}

/* Desktop room cards reveal details on hover/focus; touch devices retain the
   always-visible layout so booking information never becomes inaccessible. */
.uju-room-card {
  position: relative;
  display: flex;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #252b38;
  border-radius: var(--radius-lg);
  background: #0b0d12;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.uju-rooms-swiper .uju-room-card {
  aspect-ratio: 3 / 4;
  width: 100%;
}

.uju-room-card:hover {
  transform: translateY(-5px);
  border-color: rgba(206, 95, 231, 0.72);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.65);
}

.uju-room-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.uju-room-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.uju-room-card:hover .uju-room-card-media img {
  transform: scale(1.055);
}

.uju-room-card-media::after {
  display: none;
}

.uju-room-card-shade {
  display: none;
}

.uju-room-card-preview {
  display: none !important;
}

.uju-room-card-preview-copy {
  min-width: 0;
  flex: 1;
}

.uju-room-card-preview-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: #ce5fe7;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.uju-room-card-preview h3 {
  min-height: 0;
  margin: 0;
}

.uju-room-card-preview h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
}

.uju-room-card-hover-hint {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(206, 95, 231, 0.72);
  border-radius: 50%;
  background: rgba(9, 11, 16, 0.72);
  color: #ce5fe7;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.uju-room-card-media .uju-room-status--media {
  display: none;
}

.uju-room-card-preview .uju-room-status {
  flex-shrink: 0;
  margin-bottom: 0.1rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.58rem;
}

.uju-room-card-body {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.65rem;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.18) 0%, rgba(8, 10, 15, 0.74) 34%, rgba(8, 10, 15, 0.98) 72%, #080a0f 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(2px) saturate(0.82);
  -webkit-backdrop-filter: blur(2px) saturate(0.82);
}

.uju-room-card:hover .uju-room-card-body,
.uju-room-card:focus-within .uju-room-card-body,
.uju-room-card.is-active .uju-room-card-body {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
}

.uju-room-card-body h3 a,
.uju-room-card-action {
  pointer-events: auto;
}

.uju-room-card:hover .uju-room-card-preview,
.uju-room-card:focus-within .uju-room-card-preview,
.uju-room-card.is-active .uju-room-card-preview {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.uju-room-card:hover .uju-room-card-media::after,
.uju-room-card:focus-within .uju-room-card-media::after,
.uju-room-card.is-active .uju-room-card-media::after {
  opacity: 0;
}

.uju-room-card-body h3 {
  min-height: 0;
  margin-bottom: 0.65rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #2a303c;
}

.uju-room-card-body h3 a {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.uju-room-card-detail-kicker {
  display: block;
  margin-bottom: 0.4rem;
  color: #00f0ff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.uju-room-card-excerpt {
  min-height: 2.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #98a0b2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.uju-room-card-ratings {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0;
  font-size: 0.8rem;
}

.uju-room-card-ratings>div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #8e96a7;
}

.uju-room-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0 0.85rem;
  color: #98a0b2;
  font-size: 0.8rem;
}

.uju-room-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.uju-room-card-action {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: #ce5fe7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uju-room-card-action:hover,
.uju-room-card-action:active {
  background: #df7ef2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.uju-room-card-action.is-disabled {
  border: 1px solid rgba(206, 95, 231, 0.65);
  background: rgba(206, 95, 231, 0.16);
  color: #d8b4fe;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}

.uju-room-card-action.is-disabled:hover {
  background: rgba(206, 95, 231, 0.3);
  color: #ffffff;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .uju-room-card {
    aspect-ratio: 3 / 4;
  }

  .uju-room-card-preview {
    padding: 1rem 1.15rem;
    gap: 0.6rem;
  }

  .uju-room-card-preview-kicker {
    font-size: 0.58rem;
    margin-bottom: 0.25rem;
  }

  .uju-room-card-preview h3 a {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .uju-room-card-hover-hint {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    font-size: 0.8rem;
  }

  .uju-room-card-preview .uju-room-status {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
  }

  .uju-room-card-body {
    padding: 1rem 1.15rem;
  }

  .uju-room-card-body h3 {
    margin-bottom: 0.45rem;
    padding-bottom: 0.5rem;
  }

  .uju-room-card-body h3 a {
    font-size: 1.05rem;
  }

  .uju-room-card-excerpt {
    min-height: 0;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .uju-room-card-ratings {
    display: none;
  }

  .uju-room-card-meta {
    padding: 0.4rem 0 0.55rem;
    font-size: 0.75rem;
  }

  .uju-room-card-action {
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .uju-room-card {
    aspect-ratio: 3 / 4;
  }

  .uju-room-card-preview {
    padding: 1.5rem 1.65rem;
    gap: 1rem;
  }

  .uju-room-card-preview-kicker {
    font-size: 0.65rem;
    margin-bottom: 0.45rem;
  }

  .uju-room-card-preview h3 a {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  .uju-room-card-hover-hint {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    font-size: 1rem;
  }

  .uju-room-card-preview .uju-room-status {
    font-size: 0.75rem;
    padding: 0.45rem 0.95rem;
  }

  .uju-room-card-body {
    padding: 1.5rem 1.65rem;
  }
}

@media (max-width: 639px) {
  .uju-room-card {
    aspect-ratio: 3 / 4.2;
    border-radius: 12px;
  }

  .uju-room-card-preview {
    padding: 0.55rem 0.6rem;
    gap: 0.3rem;
  }

  .uju-room-card-preview-kicker {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }

  .uju-room-card-preview h3 a {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .uju-room-card-hover-hint {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    font-size: 0.62rem;
  }

  .uju-room-card-preview .uju-room-status,
  .uju-room-card-media .uju-room-status--media {
    font-size: 0.52rem;
    padding: 0.2rem 0.4rem;
  }

  .uju-room-card-body {
    padding: 0.6rem 0.65rem;
  }

  .uju-room-card-body h3 {
    min-height: 0;
    margin-bottom: 0.25rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .uju-room-card-body h3 a {
    font-size: 0.78rem;
    line-height: 1.22;
  }

  .uju-room-card-detail-kicker {
    font-size: 0.5rem;
    margin-bottom: 0.2rem;
  }

  .uju-room-card-excerpt {
    display: none;
  }

  .uju-room-card-ratings {
    display: none;
  }

  .uju-room-card-meta {
    padding: 0.25rem 0 0.45rem;
    font-size: 0.65rem;
    gap: 0.25rem;
    flex-wrap: nowrap;
  }

  .uju-room-card-meta span {
    gap: 0.2rem;
    white-space: nowrap;
  }

  .uju-room-card-meta span svg {
    width: 12px;
    height: 12px;
  }

  .uju-room-card-action {
    min-height: 32px;
    padding: 0.4rem 0.5rem;
    font-size: 0.68rem;
    gap: 0.35rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
  }
}

/* ==========================================================================
   Code-native homepage hero (managed in WordPress Admin > Banner)
   ========================================================================== */
.uju-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #05070a;
  color: #fff;
  isolation: isolate;
}

.uju-hero,
.uju-hero *,
.uju-hero *::before,
.uju-hero *::after {
  box-sizing: border-box;
}

.uju-hero .swiper-wrapper,
.uju-hero .swiper-slide {
  height: 100%;
}

.uju-hero-slide {
  position: relative;
  display: flex !important;
  align-items: stretch;
  overflow: hidden;
  background: #05070a;
}

/* Atmospheric Background Layers */
.uju-hero-backdrop-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.uju-hero-backdrop-blur {
  position: absolute;
  inset: 0;
  background-image: var(--uju-hero-image);
  background-position: center;
  background-size: cover;
  filter: brightness(0.7) contrast(1.05);
  opacity: 0.96;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.uju-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  background-image: repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 4px);
  mix-blend-mode: soft-light;
}

.uju-hero-webgl {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

.uju-hero-webgl canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Foreground Container & Grid */
.uju-hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: clamp(100px, 12vh, 125px);
  padding-bottom: clamp(50px, 8vh, 85px);
}

.uju-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: clamp(28px, 4.5vw, 75px);
  width: 100%;
}

.uju-hero-slide.is-brand-slide .uju-hero-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 54vh;
  padding-bottom: 0;
  height: 100%;
}

.uju-hero-slide.is-brand-slide .uju-hero-backdrop-blur {
  filter: none;
  opacity: 1;
}

.uju-hero-slide.is-brand-slide .uju-hero-grid {
  grid-template-columns: 1fr;
}

.uju-hero-slide.is-brand-slide .uju-hero-col-info {
  max-width: 920px;
}

.uju-hero-slide.is-brand-slide .uju-hero-title {
  max-width: none;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  letter-spacing: 0.035em;
  line-height: 0.92 !important;
}

.uju-hero-slide.is-brand-slide .uju-hero-title::after {
  display: none;
}

.uju-hero-brand-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: 1000px;
  width: 100%;
}

.uju-hero-brand-eyebrow {
  display: inline-block;
  margin: 0 0 0.1em;
  color: #c74ddb;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.875vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0.6em;
  line-height: 1.1;
  text-transform: uppercase;
  will-change: transform, opacity;
}

.uju-hero-brand-eyebrow span {
  display: inline-block;
}

/* main.js splits the eyebrow into one span per letter (.uju-hero-eyebrow-letter) so
   each one can be kerned by hand; letter-spacing:normal cancels the inherited 0.6em
   above (inheritance always loses to an explicit rule on the element itself) and the
   margin reproduces the same 0.6em rhythm as a default — desktop is unchanged, only
   the max-width:767px block further down retunes it for mobile. */
.uju-hero-brand-eyebrow .uju-hero-eyebrow-letter {
  display: inline-block;
  letter-spacing: normal;
  margin-right: .6em;
}

.uju-hero-brand-eyebrow .uju-hero-eyebrow-letter:last-child {
  margin-right: 0;
}

.uju-hero-brand-title {
  margin: 0 0 0.4em;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 3.875vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0.6em;
  line-height: 1.08 !important;
  text-transform: uppercase;
  white-space: normal;
  overflow: visible;
  will-change: transform, opacity;
}

.uju-hero-brand-title>span {
  display: inline-block;
}

.uju-hero-brand-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: none;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  line-height: 1.5;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
  will-change: transform, opacity;
  gap: 0;
}

.uju-hero-sub-wing {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.uju-hero-sub-wing.is-left {
  justify-content: flex-start;
  gap: clamp(8px, 1.2vw, 14px);
}

.uju-hero-sub-wing.is-right {
  justify-content: flex-start;
  gap: clamp(8px, 1.2vw, 14px);
}

.uju-hero-sub-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 clamp(8px, 1.2vw, 14px);
}

.uju-hero-brand-dot {
  color: #ce5fe7;
  font-size: 1.85em;
  line-height: 1;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: translateY(-0.06em);
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  flex-shrink: 0;
}

.uju-hero-sub-text {
  display: inline-block;
  letter-spacing: inherit;
  text-indent: 0 !important;
  white-space: nowrap;
}

.uju-hero-brand-subtitle .uju-hero-sub-wing.is-right .uju-hero-sub-text,
.uju-hero-brand-subtitle>.uju-hero-sub-text:last-child {
  margin-right: -0.5em;
}

.uju-hero-brand-actions {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  will-change: transform, opacity;
}

.uju-hero-brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 14px);
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.uju-hero-brand-btn>.uju-btn-label {
  letter-spacing: inherit;
  margin-right: -0.5em;
}

.uju-hero-brand-btn:hover {
  color: #ce5fe7;
}

.uju-hero-brand-btn:hover .uju-hero-brand-dot {
  transform: translateY(-0.06em) scale(1.25);
}

.uju-hero-letter {
  display: inline-block;
  will-change: transform, opacity;
}

.uju-hero-space {
  display: inline-block;
  width: 0.35em;
}

@keyframes uju-hero-brand-slide-out {
  0% {
    opacity: 0;
    transform: translateX(-70px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.uju-hero:not(.has-gsap) .swiper-slide-active .uju-hero-brand-eyebrow {
  animation: uju-hero-brand-slide-out 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.uju-hero:not(.has-gsap) .swiper-slide-active .uju-hero-brand-title {
  animation: uju-hero-brand-slide-out 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.uju-hero:not(.has-gsap) .swiper-slide-active .uju-hero-brand-subtitle,
.uju-hero:not(.has-gsap) .swiper-slide-active .uju-hero-brand-actions {
  animation: uju-hero-brand-slide-out 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Left Column: Information & Game HUD */
.uju-hero-col-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}

.uju-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: #00f0ff;
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.uju-hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--uju-hero-accent, #ce5fe7);
}

.uju-hero-title {
  margin: 0 0 0.85rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.2 !important;
  text-transform: uppercase;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.85);
  clip-path: inset(-0.15em -0.08em -0.12em -0.08em);
}

.uju-hero-title>span {
  display: block;
}

.uju-hero-title::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin-top: 0.35em;
  background: var(--uju-hero-accent, #ce5fe7);
  opacity: 0.9;
}

.uju-hero-slide.swiper-slide-active .uju-hero-title::after {
  animation: uju-hero-title-line 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.uju-hero-description {
  max-width: 540px;
  margin: 0 0 1.25rem;
  color: #c9d3e0;
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (min-width: 1024px) {
  .uju-story-toggle-btn {
    display: none !important;
  }

  .uju-hero-single-room .uju-hero-description.is-clamped {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
}

.uju-hero-game-hud {
  --uju-hud-font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.35rem;
}

.uju-hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  min-height: 36px;
  padding: 0 0.85rem;
  box-sizing: border-box;
  background: rgba(14, 18, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.uju-hud-chip>span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.uju-hud-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.uju-hud-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 36px;
  min-height: 36px;
  padding: 0 0.85rem;
  box-sizing: border-box;
  background: rgba(14, 18, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  line-height: 1;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.uju-meter-label {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ujuescape-rating-stars,
.ujuescape-fear-level {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.ujuescape-rating-stars>span,
.ujuescape-fear-level>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ujuescape-rating-stars svg,
.ujuescape-fear-level svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.ujuescape-rating-val {
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.uju-hud-fear-icon {
  color: #ff2a5f;
}

.uju-meter-bars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.uju-meter-bar {
  display: block;
  width: 5px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: all 0.3s ease;
}

.uju-meter-bar.is-active {
  background: #00f0ff;
  box-shadow: none;
}

.uju-meter-bar.is-fear.is-active {
  background: #ff2a5f;
  box-shadow: none;
}

.uju-meter-val {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  margin-left: 0.15rem;
}

.uju-hud-badge-coming-soon {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid #ffaa00;
  border-radius: 6px;
  color: #ffaa00;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: uju-hud-pulse 2s infinite;
}

/* Dual Actions */
.uju-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.uju-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.uju-btn-cta-primary {
  color: #fff;
  background: var(--uju-hero-accent, #ce5fe7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.uju-btn-cta-primary svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.uju-btn-cta-primary:hover,
.uju-btn-cta-primary:focus-visible {
  color: #fff;
  background: #ce5fe7;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  outline: none;
  transform: translateY(-2px);
}

.uju-btn-cta-primary:hover svg,
.uju-btn-cta-primary:focus-visible svg {
  transform: translateX(4px);
}

.uju-btn-cta-secondary {
  color: #d1d9e6;
  background: rgba(14, 18, 27, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.uju-btn-cta-secondary:hover,
.uju-btn-cta-secondary:focus-visible {
  color: #fff;
  background: rgba(22, 28, 42, 0.85);
  border-color: var(--uju-hero-accent, #ce5fe7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  outline: none;
  transform: translateY(-2px);
}

/* Right Column: 3D Floating Poster Showcase */
.uju-hero-col-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1200px;
}

.uju-hero-poster-showcase {
  position: relative;
  width: 100%;
  max-width: 310px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uju-hero-poster-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #080b10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.35s ease;
}

.uju-hero-poster-frame:hover {
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.95);
}

.uju-hero-poster-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 170, 0, 0.2);
  border: 1px solid #ffaa00;
  border-radius: 6px;
  color: #ffaa00;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  animation: uju-hud-pulse 2s infinite;
  pointer-events: none;
}

.uju-hero-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1);
  transition: transform 0.6s ease;
}

.uju-hero-poster-frame:hover .uju-hero-poster-img {
  transform: scale(1.03);
}

/* Slider Navigation & Pagination */
.uju-hero-nav-bar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.uju-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(15, 18, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}

.uju-hero-prev {
  left: 24px;
}

.uju-hero-next {
  right: 24px;
}

.uju-hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
}

.uju-hero-arrow:hover {
  background: rgba(206, 95, 231, 0.22);
  color: #ffffff;
  border-color: #ce5fe7;
  transform: translateY(-50%) scale(1.08);
}

.uju-hero-prev:hover svg {
  transform: translateX(-2px);
}

.uju-hero-next:hover svg {
  transform: translateX(2px);
}

.uju-hero-pagination {
  display: none !important;
}

.uju-hero-pagination .swiper-pagination-bullet-active {
  width: 44px;
  background: var(--uju-hero-accent, #ce5fe7);
}

/* Keyframes */
@keyframes uju-hud-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

@keyframes uju-hero-title-line {
  to {
    width: 80px;
  }
}

/* Responsive Media Queries */
@media (max-width: 1199px) {
  .uju-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
  }

  .uju-hero-title {
    font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  }

  .uju-hero-poster-showcase {
    max-width: 320px;
  }
}

@media (max-width: 1023px) {
  .uju-hero {
    min-height: clamp(420px, 65vh, 600px);
    height: clamp(420px, 65vh, 600px);
    max-height: 620px;
    padding-bottom: 0;
  }

  .uju-hero .swiper-wrapper,
  .uju-hero .swiper-slide {
    height: 100% !important;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 5vw 24px;
    height: 100%;
    text-align: center;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .uju-hero-container {
    padding-top: 80px;
    padding-bottom: 24px;
  }

  .uju-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .uju-hero-col-info {
    max-width: 100%;
    order: 2;
  }

  .uju-hero-col-visual {
    order: 1;
  }

  .uju-hero-poster-showcase {
    max-width: 280px;
  }

  .uju-hero-nav-bar {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 15;
  }
}

@media (max-width: 767px) {
  .uju-hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: none;
  }

  .uju-hero-webgl {
    display: none;
  }

  .uju-hero-container {
    padding-top: 72px;
    padding-bottom: 28px;
    padding-left: clamp(44px, 12vw, 54px);
    padding-right: clamp(44px, 12vw, 54px);
    height: 100%;
    display: flex;
    align-items: center;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-container {
    padding-top: 48vh;
    padding-bottom: 36px;
    padding-left: clamp(44px, 12vw, 54px);
    padding-right: clamp(44px, 12vw, 54px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    text-align: center;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .uju-hero-brand-eyebrow,
  .uju-hero-brand-title {
    font-size: clamp(1.35rem, 6.2vw, 2.1rem);
    letter-spacing: clamp(0.18em, 3.2vw, 0.28em);
    text-indent: clamp(0.18em, 3.2vw, 0.28em);
    margin: 0 0 0.35rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    line-height: 1.15 !important;
    text-wrap: balance;
  }

  .uju-hero-brand-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .uju-hero-brand-subtitle,
  .uju-hero-brand-btn {
    letter-spacing: 0.35em;
    text-indent: 0;
    gap: 0.4rem;
    margin: 0 auto;
    padding: 0;
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 340px;
  }

  .uju-hero-sub-wing {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
  }

  .uju-hero-sub-wing.is-left {
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .uju-hero-sub-wing.is-right {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .uju-hero-sub-center {
    flex: 0 0 auto;
    margin: 0 0.4rem;
  }

  .uju-hero-brand-subtitle .uju-hero-sub-wing.is-right .uju-hero-sub-text,
  .uju-hero-brand-subtitle>.uju-hero-sub-text:last-child,
  .uju-hero-brand-btn>.uju-btn-label {
    margin-right: -0.35em;
  }

  .uju-hero-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  .uju-hero-game-hud {
    --uju-hud-font-size: 0.74rem;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
  }

  .uju-hud-chip,
  .uju-hud-meter {
    height: 34px;
    min-height: 34px;
    padding: 0 0.65rem;
    font-size: 0.74rem;
  }

  .uju-hero-poster-showcase {
    max-width: 220px;
  }

  .uju-hero-poster-frame {
    border-radius: 14px;
  }

  .uju-hero-title {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
    margin-bottom: 0.8rem;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-title {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
    line-height: 1 !important;
  }

  .uju-btn-cta {
    min-height: 46px;
    padding: 0.75rem 1.25rem;
    font-size: 0.74rem;
    width: 100%;
  }

  .uju-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .uju-hero-nav-bar {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 25;
  }

  .uju-hero-arrow {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(12, 16, 23, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    z-index: 25;
    pointer-events: auto;
  }

  .uju-hero-arrow svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
  }

  .uju-hero-prev {
    left: 8px;
  }

  .uju-hero-next {
    right: 8px;
  }

  .uju-hero-arrow:active {
    border-color: #ce5fe7;
    color: #ce5fe7;
    background: rgba(20, 25, 36, 0.88);
    transform: translateY(-50%) scale(0.92);
  }
}

#tinh-nang h3 {
  text-wrap: balance;
}

@media (max-width: 767px) {
  #tinh-nang {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #tinh-nang .mb-16 {
    margin-bottom: 2rem !important;
  }

  #tinh-nang h2 {
    font-size: clamp(2rem, 8vw, 2.8rem) !important;
  }

  #tinh-nang .grid {
    gap: 0.75rem !important;
  }

  #tinh-nang .grid>div {
    padding: 1rem 1.15rem !important;
  }

  #tinh-nang .grid>div .w-10 {
    width: 2rem !important;
    height: 2rem !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }

  #tinh-nang .grid>div h3 {
    font-size: 0.82rem !important;
    margin-bottom: 0.15rem !important;
  }

  #tinh-nang .grid>div p {
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uju-hero-title::after {
    width: 80px;
  }

  .uju-hero-poster-frame {
    transform: none !important;
    transition: none;
  }
}


.uju-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.uju-floating-contact-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.uju-floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: #ce5fe7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  pointer-events: auto;
}

.uju-floating-btn svg {
  width: 24px;
  height: 24px;
}

.uju-floating-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
  background-color: #df7ef2;
}

.uju-floating-btn:active {
  transform: scale(0.95);
}

#uj-back-to-top {
  position: relative;
  width: 48px;
  height: 0;
  max-height: 0;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 15, 18, 0.94);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.65);
  pointer-events: none;
  margin-bottom: -12px;
  padding: 0;
  overflow: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

#uj-back-to-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  height: 48px;
  max-height: 48px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

#uj-back-to-top:hover {
  background: rgba(20, 24, 32, 0.98);
  transform: scale(1.08);
}

#uj-back-to-top svg.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

#uj-back-to-top circle.progress-circle {
  stroke: #ce5fe7;
  stroke-width: 3;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 0.1s linear;
}

@media (max-width: 767px) {
  .uju-floating-actions {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    right: max(14px, env(safe-area-inset-right, 14px));
    gap: 8px;
  }

  .uju-floating-contact-group {
    gap: 8px;
  }

  .uju-floating-btn {
    width: 42px;
    height: 42px;
  }

  .uju-floating-btn svg {
    width: 20px;
    height: 20px;
  }

  #uj-back-to-top {
    width: 42px;
    margin-bottom: -8px;
  }

  #uj-back-to-top.is-active {
    height: 42px;
    max-height: 42px;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {

  #phong-choi>.uj-container>.mb-12,
  #cac-phong-choi-khac>.uj-container>.mb-12,
  #gioi-thieu>.uj-container>.mb-14,
  #tinh-nang>.uj-container>.mb-16,
  #faqs>.uj-container>.mb-14 {
    margin-bottom: 1.5rem !important;
  }

  #danh-gia>.uj-container>.mb-10,
  #tin-tuc-home>.uj-container>.mb-10 {
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
  }

  #phong-choi .mt-12,
  #cac-phong-choi-khac .mt-12 {
    margin-top: 1.5rem !important;
  }

  #tinh-nang .grid>div {
    padding: 1.15rem !important;
  }

  #danh-gia .grid>div {
    padding: 1.15rem !important;
  }

  .uju-news-card-full,
  .uju-news-card {
    min-height: auto !important;
  }

  #faqs .faq-item {
    padding: 1rem 1.25rem !important;
  }
}

.uju-news-card,
.uju-news-card-full {
  background: rgba(12, 16, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.uju-news-card:hover,
.uju-news-card-full:hover {
  transform: translateY(-6px);
  background: rgba(16, 22, 32, 0.88);
  border-color: rgba(206, 95, 231, 0.7);
}

.uju-hero-single-room {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 14vh, 150px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

.uju-hero-single-room .uju-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: clamp(24px, 3.5vw, 50px);
  width: 100%;
}

.uju-single-room-poster-showcase {
  position: relative;
  max-width: 350px;
  margin: 0 auto;
}

.uju-poster-ambient-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 42, 95, 0.52), rgba(206, 95, 231, 0.28) 45%, transparent 72%);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.uju-room-full-story {
  max-width: 660px;
}

.uju-room-full-story p {
  color: #cbd5e1;
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  line-height: 1.72;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.uju-room-full-story p:last-child {
  margin-bottom: 0;
}

.uju-room-full-story em,
.uju-room-full-story i {
  color: #fca5a5;
  font-style: italic;
}

@media (max-width: 1023px) {
  .uju-hero-single-room {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .uju-hero-single-room .uju-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .uju-hero-single-room .uju-hero-col-info {
    order: 2;
  }

  .uju-hero-single-room .uju-hero-col-visual {
    order: 1;
  }

  .uju-hero-single-room .uju-single-room-poster-showcase {
    max-width: 360px;
    margin: 0 auto;
  }

  .uju-hero-single-room .uju-hero-title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    text-align: center;
  }

  .uju-hero-single-room .uju-room-story-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .uju-hero-single-room .uju-hero-description {
    text-align: center;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  .uju-hero-single-room .uju-hero-description.is-clamped {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.15) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.15) 100%);
    margin-bottom: 0.5rem !important;
  }

  .uju-hero-single-room .uju-hero-description.is-expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    margin-bottom: 0.75rem !important;
  }

  .uju-story-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 9999px;
    color: #00f0ff;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0 auto;
  }

  .uju-story-toggle-btn:hover {
    background: rgba(0, 240, 255, 0.18);
    border-color: #00f0ff;
    color: #ffffff;
  }

  .uju-story-toggle-btn[aria-expanded="true"] .uju-story-toggle-icon {
    transform: rotate(180deg);
  }

  .uju-hero-single-room .uju-hero-game-hud {
    justify-content: center;
    flex-wrap: wrap;
  }

  .uju-hero-single-room .uju-hero-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .uju-hero-single-room {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .uju-hero-single-room .uju-hero-grid {
    gap: 40px;
  }

  .uju-hero-single-room .uju-single-room-poster-showcase {
    max-width: 320px;
  }

  .uju-hero-single-room .uju-poster-ambient-glow {
    inset: -15px;
    filter: blur(35px);
  }

  .uju-hero-single-room .uju-hero-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    line-height: 1px;
  }

  .uju-hero-single-room .uju-hero-description {
    font-size: 0.85rem;
  }

  .uju-hero-single-room .uju-room-full-story p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .uju-hero-single-room .uju-hero-game-hud {
    gap: 0.4rem;
  }

  .uju-hero-single-room .uju-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .uju-hero-single-room .uju-btn-cta {
    width: 100%;
    justify-content: center;
  }
}

.uju-review-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.uju-review-result {
  color: var(--color-brand);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
  text-wrap: balance;
}

.uju-footer-contact-divider {
  height: 1px;
  margin: 24px 0 0;
  border-color: color-mix(in oklab, var(--color-gray-700) 70%, transparent);
}

.uju-hero-single-room .uju-hud-chip>span,
.uju-hero-single-room .uju-meter-label,
.uju-hero-single-room .ujuescape-rating-val {
  font-family: var(--font-body);
  font-size: var(--uju-hud-font-size);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.uju-hero-single-room .uju-hud-meter {
  gap: 6px;
}

.uju-hero-single-room .ujuescape-rating-stars,
.uju-hero-single-room .ujuescape-fear-level {
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  line-height: 1;
}

.uju-hero-single-room .uju-hud-icon,
.uju-hero-single-room .uju-hud-meter svg {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transform: translateY(-1px);
}

.uju-hero-single-room .ujuescape-rating-val {
  margin-left: 0;
}

@media (min-width: 1024px) {
  .uju-hero-single-room .uju-hero-game-hud {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(0.35rem, 0.6vw, 0.5rem);
    max-width: 100%;
  }

  .uju-hero-single-room .uju-hud-chip,
  .uju-hero-single-room .uju-hud-meter {
    padding: 0 clamp(0.45rem, 0.65vw, 0.65rem);
    gap: clamp(0.25rem, 0.45vw, 0.45rem);
    flex-shrink: 0;
  }
}

.ujuescape-rating-stars svg,
.ujuescape-fear-level svg {
  fill: none;
}

.uju-hero-single-room .ujuescape-rating-val.text-neon-cyan,
.ujuescape-rating-stars .text-neon-cyan,
.ujuescape-rating-stars .ujuescape-rating-val {
  color: #65e6f5;
}

.uju-hero-single-room .ujuescape-rating-val.text-neon-purple,
.ujuescape-fear-level .text-neon-purple {
  color: #ce5fe7;
}

#tinh-nang h3 {
  font-size: 14px;
  letter-spacing: 0;
}

@media (min-width: 1024px) {
  .uju-hero-slide.is-brand-slide .uju-hero-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    margin-left: var(--uju-header-cluster-inset);
    margin-right: auto;
    align-items: flex-start;
    text-align: left;
    width: fit-content;
    max-width: none;
  }

  .uju-hero-brand-eyebrow,
  .uju-hero-brand-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }

  .uju-hero-brand-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .uju-hero-sub-wing {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
  }

  .uju-hero-sub-wing.is-left {
    justify-content: flex-start;
    gap: clamp(8px, 1.2vw, 14px);
  }

  .uju-hero-sub-center {
    flex: 0 0 auto;
    margin: 0 clamp(8px, 1.2vw, 14px);
  }

  .uju-hero-sub-wing.is-right {
    justify-content: flex-start;
    gap: clamp(8px, 1.2vw, 14px);
  }

  .uju-hero-brand-actions {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    margin: 0;
  }

  .uju-hero-brand-btn {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    width: auto;
  }

  #masthead .uju-navbar-primary-cluster {
    gap: clamp(52px, 4vw, 64px);
  }

  #masthead .uju-navbar-primary-cluster img {
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #masthead:not(.is-sticky) .uju-navbar-primary-cluster img {
    transform: scale(1.2);
  }

  #masthead .uju-navbar-action-cluster a {
    font-family: var(--font-body);
    font-size: 0.95rem !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {

  .uju-hero-slide.is-brand-slide .uju-hero-container {
    padding-top: 70px;
    padding-bottom: 24px;
    align-items: center;
    justify-content: center;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .uju-hero-brand-eyebrow,
  .uju-hero-brand-title {
    font-size: clamp(1.8rem, 4.4vw, 2.8rem);
    letter-spacing: clamp(0.22em, 2vw, 0.38em);
    text-indent: clamp(0.22em, 2vw, 0.38em);
    text-align: center;
    width: 100%;
    max-width: 100%;
    line-height: 1.15 !important;
    text-wrap: balance;
  }

  .uju-hero-brand-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .uju-hero-brand-subtitle,
  .uju-hero-brand-btn {
    font-size: clamp(0.68rem, 1.5vw, 0.85rem);
    letter-spacing: 0.38em;
    text-indent: 0;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0;
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
  }

  .uju-hero-sub-wing {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
  }

  .uju-hero-sub-wing.is-left {
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .uju-hero-sub-wing.is-right {
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .uju-hero-sub-center {
    flex: 0 0 auto;
    margin: 0 0.5rem;
  }

  .uju-hero-brand-subtitle .uju-hero-sub-wing.is-right .uju-hero-sub-text,
  .uju-hero-brand-subtitle>.uju-hero-sub-text:last-child,
  .uju-hero-brand-btn>.uju-btn-label {
    margin-right: -0.38em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #masthead .uju-navbar-primary-cluster img {
    transition: none;
  }
}

body.home .uj-container {
  max-width: 1234px !important;
}

/* Large external / iMac displays (>=1920px): the MacBook layout is kept below this.
   Widen the container and scale rem-based type/spacing so content isn't marooned
   in the centre. The 1234px rule above is !important, hence the !important here. */
@media (min-width: 1920px) {
  html {
    font-size: 18px;
  }

  body.home .uj-container {
    max-width: 1500px !important;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 22px;
  }

  body.home .uj-container {
    max-width: 1850px !important;
  }
}

body.home #main>section:not(.uju-hero) {
  border: 0;
  box-shadow: none;
}

body.home #gioi-thieu .max-w-6xl,
body.home #tinh-nang .max-w-6xl,
body.home #tin-tuc-home .max-w-6xl {
  max-width: none;
}

.uju-pricing-wrapper {
  container-type: inline-size;
}

.uju-pricing-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 48px;
  overflow: hidden;
  margin: auto;
}

.uju-pricing-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uju-pricing-symbol img {
  display: block;
  width: 72px;
  height: auto;
  max-height: none;
}

.uju-pricing-mode-row {
  display: grid;
  grid-template-columns: max(120px, calc(.174 * (100cqw - 3.5rem))) auto;
  align-items: center;
  gap: 0;
}

.uju-pricing-mode-features {
  display: grid;
  grid-template-columns: max(130px, calc(.169 * (100cqw - 3.5rem))) auto;
  gap: 0;
}

.uju-pricing-mode-features > span {
  white-space: nowrap;
}

#bang-gia .uju-pricing-modes-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 20px 32px;
}

@media (min-width: 768px) {
  /* Left edge of the labels lines up with the "1 TIẾNG / COMBO" text of the table's first column. */
  #bang-gia .uju-pricing-modes-box {
    align-items: flex-start;
    padding-left: calc(7% + 1.25rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #bang-gia .uju-pricing-modes-box {
    padding-left: 24px;
    padding-right: 16px;
  }

  #bang-gia .uju-pricing-cta-box {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 0 16px;
  }

  #bang-gia .uju-pricing-cta-box .whitespace-nowrap {
    white-space: normal;
  }
}

#bang-gia .uju-pricing-modes-box > * {
  margin: 0;
}

.uju-pricing-cta-box {
  align-items: center;
}

@media (min-width: 640px) {
  .uju-pricing-cta-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

#faqs .faq-question {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

#faqs .faq-question:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 8px;
}

#faqs .faq-item.active .faq-icon {
  transform: none;
}

#masthead #site-navigation a:hover,
#masthead #site-navigation a:focus-visible {
  color: var(--color-brand) !important;
}

@media (min-width: 1024px) {
  #masthead .uju-navbar-primary-cluster {
    gap: clamp(70px, 6vw, 88px);
  }

  #masthead #site-navigation ul {
    gap: clamp(24px, 2.5vw, 36px);
  }
}

@media (max-width: 767px) {
  .uju-pricing-mode-row {
    grid-template-columns: 96px 1fr;
    gap: 10px;
    width: 100%;
  }

  .uju-pricing-mode-features {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #bang-gia .uju-pricing-modes-box {
    padding: 16px 14px;
    margin-top: 14px;
  }

  #bang-gia .uju-pricing-modes-box .uju-pricing-mode-row strong,
  #bang-gia .uju-pricing-mode-features > span {
    font-size: 10px;
    gap: 5px;
  }

  #bang-gia .uju-pricing-cta-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  #bang-gia .uju-pricing-cta-box .space-y-2 {
    display: inline-block;
  }

  /* --- Pricing table: fit all 4 day columns on mobile (no horizontal scroll) ---
     The table shipped with min-width:580px, so phones only saw 2 of 4 columns
     behind a scroll. Compact it to the viewport instead. */
  #bang-gia .overflow-x-auto {
    overflow: visible;
  }

  #bang-gia .uju-pricing-table-box {
    padding: 14px 12px;
  }

  #bang-gia table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  #bang-gia .uju-pricing-symbol,
  #bang-gia .uju-pricing-symbol img {
    width: 34px;
  }

  #bang-gia .uju-pricing-symbol {
    height: 24px;
    margin: 0 auto;
  }

  #bang-gia table th,
  #bang-gia table td {
    padding: 10px 2px;
  }

  #bang-gia thead th {
    font-size: 10px;
    line-height: 1.2;
  }

  #bang-gia thead th div:last-child {
    margin-top: 1px;
  }

  #bang-gia tbody th {
    font-size: 10px;
    letter-spacing: .02em;
  }

  #bang-gia td .font-headline {
    font-size: 22px;
  }

  /* Stack the "K/Ng" unit under the number so each price cell stays narrow. */
  #bang-gia td .font-sans.ml-1 {
    display: block;
    margin: 1px 0 0;
    font-size: 8px;
    color: #9aa4b2;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-container {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    position: relative;
    top: 0;
    transform: none;
    gap: 12px;
  }

  .uju-hero-brand-btn {
    font-size: clamp(8px, 2.2vw, 11px);
  }

  /* Nav arrows: a minimal neon ring rather than a heavy grey disc, so they
     frame the title without crowding it. */
  .uju-hero-arrow {
    width: 34px;
    height: 34px;
    background: rgba(10, 12, 18, 0.28);
    border: 1px solid rgba(206, 95, 231, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .uju-hero-arrow svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
  }

  .uju-hero-prev {
    left: 6px;
  }

  .uju-hero-next {
    right: 6px;
  }
}
/* Rooms heading: keep the title clear of the absolutely-positioned Trước/Tiếp buttons
   (shown from 640px) so it wraps instead of running underneath them. */
@media (min-width: 640px) {
  .uju-rooms-head {
    padding-left: 7rem;
    padding-right: 7rem;
  }

  .uju-rooms-head h2 {
    text-wrap: balance;
  }
}

/* Feedback #58: p/headings already balance/pretty (above), but text in div/span/li/a
   (FAQ answers, cards, labels) still left one-word last lines. text-wrap inherits, so
   set it once on body; headings keep `balance`. Unsupported browsers ignore it. */
body {
  text-wrap: pretty;
}

/* Feedback #51: room detail (Desktop) — restore the background image behind the room
   and keep it dark (reference: sheet "Trang tính7"). --uju-hero-image is the room
   poster (set on the article): lightly blurred so the big "ROOM 13" lettering still
   shows, dimmed, darker on the text side and fading to black at the bottom. */
@media (min-width: 1024px) {
  .uju-hero-single-room .uju-hero-backdrop-blur {
    background-position: center 54%;
    filter: brightness(0.68) contrast(1.08);
    transform: none;
    opacity: 1;
  }

  .uju-hero-single-room .uju-hero-vignette {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, #05070a 0%, #05070a 28%, rgba(5, 7, 10, 0.82) 40%, rgba(5, 7, 10, 0.25) 58%, transparent 75%, rgba(5, 7, 10, 0.45) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.65) 0%, transparent 20%, transparent 72%, #05070a 100%);
  }
}

@media (max-width: 767px) {
  /* Pricing (demo, measured against the client's 440px iPhone screenshot):
     labels 12px, features 12.6px with 16px icons, rows 36px apart, and the row
     content inset 18px on both sides (label 39% | feature 1 | feature 2). */
  #bang-gia .uju-pricing-modes-box {
    padding: 20px 18px;
    margin-top: 12px;
    gap: 20px;
  }

  #bang-gia .uju-pricing-mode-row {
    width: 100%;
    grid-template-columns: 39% 1fr;
    gap: 0;
  }

  /* Sizes scale with the viewport (12.6px at the demo's 440px, smaller below) so the
     two feature columns never touch on narrower phones. */
  #bang-gia .uju-pricing-modes-box .uju-pricing-mode-row strong {
    font-size: min(2.727vw, 12px);
  }

  #bang-gia .uju-pricing-mode-features {
    grid-template-columns: 1.75fr 1fr;
    gap: 0;
  }

  #bang-gia .uju-pricing-mode-features > span {
    font-size: min(2.864vw, 12.6px);
    gap: min(1.818vw, 8px);
  }

  #bang-gia .uju-pricing-mode-features > span:first-child {
    padding-right: min(2.27vw, 10px);
  }

  #bang-gia .uju-pricing-mode-features > span > span {
    width: min(3.636vw, 16px);
    height: min(3.636vw, 16px);
  }

  #bang-gia .uju-pricing-mode-features > span > span svg {
    width: min(3.182vw, 14px);
    height: min(3.182vw, 14px);
  }

  /* Pricing CTA: 12.6px notes and a 197x34 button, as in the demo. */
  #bang-gia .uju-pricing-cta-box {
    gap: 37px;
    padding-top: 16px;
  }

  #bang-gia .uju-pricing-cta-box .space-y-2 {
    font-size: 12.6px;
  }

  #bang-gia .uju-pricing-cta-box a {
    min-width: 197px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

/* Pricing: fixed-width icon column so both note lines start at the same x. */
#bang-gia .uju-pricing-cta-box .space-y-2 > div > span:first-child {
  display: inline-block;
  width: 10px;
  font-size: 13px;
  text-align: center;
}

/* Pricing CTA: rounded rectangle (the global --radius-xl of 24px made it a pill). */
#bang-gia .uju-pricing-cta-box a {
  border-radius: 10px;
}

/* Pricing CTA: the ⚡ emoji's own glyph has more empty padding on its left than the ☾
   glyph, so centering both in the same fixed-width column still leaves the bolt's
   visible ink sitting right of the moon's — nudge it back to line up. */
#bang-gia .uju-pricing-cta-box .text-amber-400 {
  position: relative;
  left: -0.27em;
}

/* Pricing table header: "Đồng giá" / "đến Thứ Năm" etc. match "Thứ Hai" — bold white,
   same weight/color as the price digits below (template's own text-white font-bold
   already does this; no override needed here). */

/* Pricing table: the line between the header row and the price row rendered visibly
   thicker than every other row line. Cause: border-collapse reliably merges two cells'
   borders into one crisp line WITHIN a row group, but Chromium doesn't merge as cleanly
   ACROSS the <thead>/<tbody> boundary — both the header's bottom border and the first
   price row's top border were being drawn, doubling that one seam. Dropping the header's
   side leaves only the tbody row's border, same as every other internal line. */
#bang-gia thead th {
  border-bottom-width: 0;
}


/* Pricing (demo, desktop 1452px): feature text 15.5px, rows sit right under the table,
   the CTA block is inset 36px/28px and the button is 143px wide. Desktop only: the
   768-1023px layout keeps its own tighter spacing. */
@media (min-width: 1024px) {
  #bang-gia .uju-pricing-modes-box {
    justify-content: flex-start;
    padding-top: 7px;
    padding-bottom: 30px;
    padding-left: calc(7% + 1.25rem + 5px);
    gap: 21px;
  }

  #bang-gia .uju-pricing-mode-features > span {
    font-size: 15.5px;
  }

  #bang-gia .uju-pricing-cta-box {
    padding: 12px 28px 0 36px;
  }

  #bang-gia .uju-pricing-cta-box a {
    padding: 11px 29px;
  }
}

/* Room detail (mobile/tablet): same blurred, dimmed backdrop as desktop so the big
   "ROOM 13" lettering of the poster doesn't show through sharply. The vignette is
   vertical here because the text sits below the poster instead of beside it. */
@media (max-width: 1023px) {
  .uju-hero-single-room .uju-hero-backdrop-blur {
    background-position: center 30%;
    filter: blur(6px) brightness(0.42) saturate(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  .uju-hero-single-room .uju-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.35) 70%, #000 100%);
  }
}

/* Pricing (tablet 768-1023px): wider label column so "CHẾ ĐỘ THƯỜNG" stays on one line
   and never touches the first icon. */
@media (min-width: 768px) and (max-width: 1023px) {
  #bang-gia .uju-pricing-mode-row {
    grid-template-columns: 150px auto;
  }

  #bang-gia .uju-pricing-mode-features {
    grid-template-columns: auto auto;
    gap: 14px;
  }
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
  --uju-brand-size: clamp(2.2rem, 3.875vw, 4.65rem);
  --uju-brand-tracking: .42em;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-eyebrow,
.uju-hero-slide.is-brand-slide .uju-hero-brand-title {
  width: auto;
  margin: 0;
  font-size: var(--uju-brand-size);
  letter-spacing: var(--uju-brand-tracking);
  text-indent: 0;
  white-space: nowrap;
  line-height: 1.12 !important;
  font-weight: 800;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-title {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.45);
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-eyebrow .uju-hero-eyebrow-letter {
  margin: 0;
  letter-spacing: inherit;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-eyebrow .uju-hero-eyebrow-letter:last-child,
.uju-hero-slide.is-brand-slide .uju-hero-brand-title .uju-hero-letter:last-child {
  letter-spacing: 0;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle .uju-hero-sub-text {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle .uju-hero-sub-body {
  letter-spacing: inherit;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle .uju-hero-sub-tail,
.uju-hero-slide.is-brand-slide .uju-hero-brand-btn .uju-hero-sub-tail {
  letter-spacing: 0 !important;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle .uju-hero-brand-dot,
.uju-hero-slide.is-brand-slide .uju-hero-brand-btn .uju-hero-brand-dot {
  color: #ce5fe7;
  font-size: 1.35em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  transform: none;
  flex-shrink: 0;
}

.uju-hero-slide.is-brand-slide .uju-hero-brand-btn .uju-btn-label {
  display: inline-flex;
  align-items: center;
  letter-spacing: inherit;
  margin: 0;
  padding: 0;
}

@media (max-width: 1023px) {
  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    width: fit-content;
    max-width: 100%;
    gap: clamp(7px, 1.2vw, 12px);
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle {
    width: 0;
    min-width: 100%;
    max-width: none;
    margin: 5px 0 0;
    font-size: clamp(7px, calc(var(--uju-brand-size) * .36), 1rem);
    letter-spacing: .35em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-actions {
    margin: 5px 0 0;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(7px, calc(var(--uju-brand-size) * .36), 1rem);
    letter-spacing: .35em;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    width: fit-content;
    max-width: none;
    margin-left: var(--uju-header-cluster-inset);
    margin-right: auto;
    align-items: flex-start;
    text-align: left;
    gap: clamp(12px, 1.8vw, 20px);
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-subtitle {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: clamp(7px, calc(var(--uju-brand-size) * .36), 1rem);
    letter-spacing: .35em;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 1.2vw, 18px);
    padding: 0;
    text-align: left;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-actions {
    margin: 0;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
  }

  .uju-hero-slide.is-brand-slide .uju-hero-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 1.2vw, 18px);
    width: auto;
    margin: 0;
    padding: 0;
    font-size: clamp(7px, calc(var(--uju-brand-size) * .36), 1rem);
    letter-spacing: .35em;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    --uju-brand-size: clamp(20px, 6vw, 30px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .uju-hero-slide.is-brand-slide .uju-hero-brand-wrap {
    --uju-brand-size: clamp(1.8rem, 4.4vw, 2.8rem);
  }

  #bang-gia .uju-pricing-cta-box {
    padding: 16px 16px 0;
  }
}

@media (min-width: 1024px) {
  #bang-gia .uju-pricing-modes-box {
    width: calc(100% - max(40%, 420px));
  }

  #bang-gia .uju-pricing-cta-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: max(40%, 420px);
    padding: 12px 28px 0 0;
    gap: 0;
  }

  #bang-gia .uju-pricing-cta-box .space-y-2 {
    justify-self: center;
  }
}
