:root {
  --wp-admin-bar-height: 0px;
}
body.admin-bar {
  --wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-height: 46px;
  }
}

/* Reset html and body for fullwidth / standalone tour pages */
html:has(.park-360-tour),
html[class*="page-template-360-fullwidth"],
body:has(.park-360-tour),
body[class*="page-template-360-fullwidth"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Body overrides when landing page, 360 tour, or fullwidth template is present */
body:has(.park-360-landing-page),
body:has(.park-360-tour),
body[class*="page-template-360-fullwidth"] {
  background: #0a0b10 !important;
  color: #f7f7fb !important;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide default theme header / footer / site title */
body:has(.park-360-landing-page) header.wp-block-template-part,
body:has(.park-360-landing-page) footer.wp-block-template-part,
body:has(.park-360-landing-page) .wp-block-template-part,
body:has(.park-360-landing-page) .entry-header,
body:has(.park-360-landing-page) .entry-title,
body:has(.park-360-landing-page) .post-title,
body:has(.park-360-landing-page) .site-header,
body:has(.park-360-landing-page) .site-footer,
body[class*="page-template-360-fullwidth"] header.wp-block-template-part,
body[class*="page-template-360-fullwidth"] footer.wp-block-template-part,
body[class*="page-template-360-fullwidth"] .wp-block-template-part,
body[class*="page-template-360-fullwidth"] .entry-header,
body[class*="page-template-360-fullwidth"] .entry-title,
body[class*="page-template-360-fullwidth"] .post-title,
body[class*="page-template-360-fullwidth"] .site-header,
body[class*="page-template-360-fullwidth"] .site-footer {
  display: none !important;
}

/* Remove WP block editor default padding & separator lines */
body:has(.park-360-landing-page) .wp-site-blocks,
body:has(.park-360-landing-page) .entry-content,
body:has(.park-360-landing-page) .wp-block-post-content,
body:has(.park-360-tour) .wp-site-blocks,
body:has(.park-360-tour) main,
body:has(.park-360-tour) .entry-content,
body:has(.park-360-tour) .wp-block-post-content,
body[class*="page-template-360-fullwidth"] .wp-site-blocks,
body[class*="page-template-360-fullwidth"] main,
body[class*="page-template-360-fullwidth"] .entry-content,
body[class*="page-template-360-fullwidth"] .wp-block-post-content {
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  border: none !important;
}

body:not(:has(.park-360-landing-page)) .wp-block-separator,
body[class*="page-template-360-fullwidth"] .wp-block-separator {
  display: none !important;
}

/* ----------------------------------------------------------------
   Root wrapper
   ---------------------------------------------------------------- */
.park-360-landing-page {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 154, 0.22), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(65, 177, 255, 0.20), transparent 30rem),
    linear-gradient(180deg, #0a0b10 0%, #121520 48%, #08090d 100%);
  min-height: 100vh;
  overflow-x: hidden;  /* horizontal only - never clip vertical scroll */
  padding-bottom: 2rem;
}

/* Ambient glow orbs */
.park-360-landing-page::before {
  content: '';
  position: fixed;
  top: 8%;
  left: 4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.park-360-landing-page::after {
  content: '';
  position: fixed;
  top: 45%;
  right: 4%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.09) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* ----------------------------------------------------------------
   Container
   ---------------------------------------------------------------- */
.park-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.park-hero {
  display: grid;
  min-height: 80vh;
  align-items: center;
  padding: 80px 2rem 48px;
  animation: fadeInUp 0.9s ease-out both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.park-kicker {
  margin: 0 0 16px;
  color: #9ee8d9;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(158, 232, 217, 0.25);
  border-radius: 999px;
  background: rgba(158, 232, 217, 0.06);
}

.park-hero h1 {
  max-width: 860px;
  margin: 0;
  background: linear-gradient(100deg, #ffffff 20%, #ff78b4 58%, #78c7ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.park-hero > div > p {
  max-width: 680px;
  margin: 28px 0 0;
  color: #c2c8d8;
  font-size: 1.12rem;
  line-height: 1.8;
}

.park-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.park-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 28px;
  background: linear-gradient(135deg, #ff4f9a, #6078ff);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 50px rgba(255, 79, 154, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.park-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(255, 79, 154, 0.42);
  color: #fff;
  text-decoration: none;
}

.park-button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #dce2f0;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.park-button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #fff;
}

/* ----------------------------------------------------------------
   Overview strip
   ---------------------------------------------------------------- */
.park-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 16px 2rem 72px;
}

.park-panel,
.tour-shell,
.highlight-card,
.guide-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.park-panel {
  border-radius: 12px;
  padding: 32px;
}

.park-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.1;
}

.park-panel > p {
  color: #c0c8da;
  line-height: 1.75;
  margin: 0;
}

.park-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-content: center;
}

.park-stat {
  text-align: center;
  padding: 24px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.park-stat:first-child { border-left: none; }

.park-stat strong {
  display: block;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff78b4, #78c7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.park-stat span {
  color: #8f98b0;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------------
   Tour section
   ---------------------------------------------------------------- */
.tour-section {
  padding: 8px 2rem 80px;
}

.tour-shell {
  border-radius: 16px;
  padding: 24px;
}

.tour-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.tour-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.tour-head p {
  max-width: 460px;
  margin: 0;
  color: #9aa3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: right;
}

/* Standalone full-screen 360 viewer (or template 360-fullwidth / pages without landing page wrapper) */
body:not(:has(.park-360-landing-page)) .park-360-tour,
body[class*="page-template-360-fullwidth"] .park-360-tour {
  position: absolute !important;
  top: var(--wp-admin-bar-height, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: calc(100vh - var(--wp-admin-bar-height, 0px)) !important;
  min-height: calc(100vh - var(--wp-admin-bar-height, 0px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* 360 viewer container inside landing page */
.park-360-landing-page .park-360-tour {
  position: relative !important;
  width: 100%;
  height: 640px;
  min-height: 640px;
  border-radius: 10px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.park-360-tour iframe,
.park-360-tour canvas,
.park-360-tour div {
  max-width: 100%;
}

/* Scene quick-jump */
.scene-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.scene-btn {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.035);
  color: #e0e4f0;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.scene-btn img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-btn:hover {
  border-color: rgba(255, 120, 180, 0.6);
  background: rgba(255, 120, 180, 0.10);
  transform: translateY(-2px);
  color: #fff;
}

.scene-btn.active {
  border-color: rgba(255, 120, 180, 0.85);
  background: rgba(255, 120, 180, 0.15);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 79, 154, 0.22);
}

/* ----------------------------------------------------------------
   Highlights grid
   ---------------------------------------------------------------- */
.highlights,
.guide {
  padding: 0 2rem 80px;
}

.highlights h2,
.guide h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, #fff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-card {
  border-radius: 12px;
  padding: 0 0 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4f9a, #6078ff);
  opacity: 0;
  transition: opacity 0.22s;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 199, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.highlight-card:hover::before { opacity: 1; }

.highlight-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.highlight-card h3 {
  margin: 18px 18px 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.highlight-card p {
  margin: 0 18px;
  color: #aab2c5;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------------
   Usage guide
   ---------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-card {
  border-radius: 12px;
  padding: 26px 24px;
  transition: border-color 0.2s;
}

.guide-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.guide-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.guide-card p {
  margin: 0;
  color: #9aa3b8;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.park-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 2rem 48px;
  color: #6b7485;
  font-size: 0.9rem;
  text-align: center;
}

.park-footer p {
  margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .park-overview {
    grid-template-columns: 1fr;
  }

  .scene-jump {
    grid-template-columns: repeat(2, 1fr);
  }

  .park-360-tour {
    height: 520px;
    min-height: 520px;
  }

  .highlight-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .park-container,
  .park-overview,
  .tour-section,
  .highlights,
  .guide {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tour-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tour-head p {
    text-align: left;
  }

  .park-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .park-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .park-stats {
    grid-template-columns: 1fr;
  }

  .park-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .scene-jump {
    grid-template-columns: 1fr;
  }

  .park-360-tour {
    height: 380px;
    min-height: 380px;
  }

  .highlight-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   iPanorama Custom Marker & Left Main Scenes Menu Styles
   ================================================================ */

/* Custom main marker (Cảnh Tổng quan) */
.main-marker .ipnrm-pos,
.main-marker .ipnrm-zoom,
.main-marker .ipnrm-offset,
.main-marker .ipnrm-body {
  overflow: visible !important;
}

.main-marker .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.main-marker .ipnrm-body img {
  width: 100px !important;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s ease;
  transform-origin: 50% 50%;
  pointer-events: auto;
}

.main-marker .ipnrm-body:hover img {
  transform: scale(1.5);
}

/* Custom statue marker (Marker Tượng / Linh vật) */
.marker-statue .ipnrm-pos,
.marker-statue .ipnrm-zoom,
.marker-statue .ipnrm-offset,
.marker-statue .ipnrm-body {
  overflow: visible !important;
}

.marker-statue .ipnrm-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.marker-statue .ipnrm-body img {
  width: 60px !important;
  height: 80px !important;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s ease;
  transform-origin: 50% 50%;
  pointer-events: auto;
}

.marker-statue .ipnrm-body:hover img {
  transform: scale(1.5);
}

.ipnrm-body .marker-title {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transition: all 0.5s ease;
  margin-top: 0px;
  text-align: center;
  width: auto;
  margin-bottom: 0px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  padding: 5px 14px;
  background: rgba(30, 30, 30, 0.7);
  color: #ffffff;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  min-width: 100px;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.7);
}

.ipnrm-offset:has(.ipnrm-body:hover) .ipnrm-body .marker-title {
  transform: translateY(36px);
  background: rgba(30, 30, 30, 0.9);
  box-shadow: 0 0 30px 10px #ff4444;
}

/* Custom detail marker (Vòng Tròn 3D Nằm Rạp Mặt Đất) */
@keyframes sceneHotspotPulse {
  0%, 100% {
    transform: rotateX(-0.2turn) scale(0.95);
  }
  50% {
    transform: rotateX(-0.2turn) scale(1.15);
  }
}

@keyframes sceneRingStretch {
  0% {
    transform: scale(0.85);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.custom-ring-marker .ipnrm-pos,
.custom-ring-marker .ipnrm-zoom,
.custom-ring-marker .ipnrm-offset,
.custom-ring-marker .ipnrm-body {
  width: 60px !important;
  height: 60px !important;
  overflow: visible !important;
}

.custom-ring-marker .ipnrm-body {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform-origin: 50% 50% !important;
  transform: rotateX(-0.2turn) !important;
  animation: sceneHotspotPulse 3s ease-in-out infinite !important;
  pointer-events: auto !important;
}

.custom-ring-marker .ipnrm-body img {
  width: 80px !important;
  height: 80px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  animation: sceneRingStretch 1.2s ease-out alternate infinite !important;
  filter: brightness(0) invert(1) 
          drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)) 
          drop-shadow(0 0 14px rgba(255, 255, 255, 0.6)) 
          drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)) !important;
  transition: filter 300ms ease, transform 300ms ease !important;
}

.custom-ring-marker .ipnrm-body:hover {
  animation-play-state: paused !important;
}

.custom-ring-marker .ipnrm-body:hover img {
  transform: scale(1.35) !important;
  filter: brightness(0) invert(1) 
          drop-shadow(0 0 10px rgba(255, 255, 255, 1)) 
          drop-shadow(0 0 22px rgba(255, 255, 255, 0.8)) 
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.85)) !important;
}

/* Nút & Modal Danh sách Cảnh chính bên mép trái */
.ipnrm-custom-btn-list-scenes {
  position: fixed !important;
  top: 140px !important;
  left: 0px !important;
  width: 46px !important;
  height: 44px !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-left: none !important;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(59, 130, 246, 0.4) !important;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-custom-btn-list-scenes:hover {
  background: #3b82f6 !important;
  border-color: #60a5fa !important;
  transform: translateX(5px) scale(1.05) !important;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.8) !important;
}

.ipnrm-custom-btn-list-scenes svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
  display: block !important;
  pointer-events: none !important;
}

.ipnrm-scenes-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 12, 22, 0.82) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 350ms ease !important;
}

.ipnrm-scenes-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.ipnrm-scenes-card {
  width: 92% !important;
  max-width: 660px !important;
  max-height: 85vh !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(59, 130, 246, 0.25) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.9) translateY(20px) !important;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ipnrm-scenes-backdrop.open .ipnrm-scenes-card {
  transform: scale(1) translateY(0) !important;
}

.ipnrm-scenes-header {
  padding: 20px 24px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.ipnrm-scenes-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.ipnrm-scenes-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.ipnrm-scenes-title-icon {
  width: 28px !important;
  height: 28px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-scenes-title-icon svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ffffff !important;
}

.ipnrm-scenes-title {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.ipnrm-scenes-subtitle {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.82rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.ipnrm-scenes-close {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  transition: all 200ms ease !important;
}

.ipnrm-scenes-close:hover {
  background: rgba(239, 68, 68, 0.85) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.ipnrm-scenes-body {
  padding: 22px 24px !important;
  overflow-y: auto !important;
  flex: 1 !important;
}

.ipnrm-scene-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 18px !important;
}

.ipnrm-scene-item {
  position: relative !important;
  height: 160px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #0f172a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-scene-item:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(59, 130, 246, 0.4) !important;
}

.ipnrm-scene-thumb {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-thumb {
  transform: scale(1.12) !important;
}

.ipnrm-scene-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.95) 100%) !important;
  transition: background 300ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 40%, rgba(30, 58, 138, 0.92) 100%) !important;
}

.ipnrm-scene-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 2 !important;
}

.ipnrm-scene-name {
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.ipnrm-scene-arrow svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #ffffff !important;
}

.ipnrm-scene-arrow {
  opacity: 0.7 !important;
  transition: transform 300ms ease, opacity 300ms ease !important;
}

.ipnrm-scene-item:hover .ipnrm-scene-arrow {
  opacity: 1 !important;
  transform: translateX(4px) !important;
}

/* ================================================================
   Boot loading overlay — covers screen until tour background image ready
   ================================================================ */
.park360-boot-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0a0b10 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1;
  transition: opacity 350ms ease !important;
}

.park360-boot-overlay-hide {
  opacity: 0 !important;
  pointer-events: none !important;
}

.park360-boot-spinner {
  width: 44px !important;
  height: 44px !important;
  border: 3px solid rgba(255, 255, 255, 0.15) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: park360BootSpin 0.8s linear infinite !important;
}

@keyframes park360BootSpin {
  to { transform: rotate(360deg); }
}
