/* ==========================================================================
   ECLIPSE SPACE - HERO SECTION & NAVBAR
   Exact match to https://www.eclipse.space/
   ========================================================================== */

/* --- 1. FONTS --- */
@font-face {
  font-family: 'Gt Mechanik Poly';
  src: url('./assets/fonts/GT-Mechanik-Poly-Bold.woff2') format('woff2'),
    url('https://cdn.prod.website-files.com/6a4526c0f9942cb399aed7d3/6a7610d5200aca8836a2a9cb_GT-Mechanik-Poly-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gt Mechanik Poly';
  src: url('./assets/fonts/GT-Mechanik-Poly-Medium.woff2') format('woff2'),
    url('https://cdn.prod.website-files.com/6a4526c0f9942cb399aed7d3/6a7610d5d695f8dac90604d1_GT-Mechanik-Poly-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eclipsespace Display';
  src: url('./assets/fonts/EclipseSpace-Display.woff2') format('woff2'),
    url('https://cdn.prod.website-files.com/6a4526c0f9942cb399aed7d3/6a75a6e6eec09a3f5891029c_EclipseSpace-Display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gortonperfectedvf';
  src: url('./assets/fonts/GortonPerfectedVF.woff2') format('woff2'),
    url('https://cdn.prod.website-files.com/6a4526c0f9942cb399aed7d3/6a462f2b7312eae0001f0d15_GortonPerfectedVF.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. CSS VARIABLES & RESET --- */
:root {
  --color-space-black: #000000;
  --color-space-white: #fdfdfd;
  --font-main: "Gt Mechanik Poly", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Eclipsespace Display", "Gt Mechanik Poly", sans-serif;
  --font-tech: "Gortonperfectedvf", monospace, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-shadow: none !important;
  text-shadow: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

html,
body {
  width: 100%;
  background-color: var(--color-space-black);
  color: var(--color-space-white);
  font-family: var(--font-main);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrapper {
  position: relative;
  width: 100%;
  background-color: var(--color-space-black);
}

.padding-global {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  width: 100%;
}

@media (max-width: 991px) {
  .padding-global {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.container-large {
  width: 100%;
  max-width: 102.625rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- 3. TOP NAVIGATION & PROGRESS WRAPPER --- */
.navbar_wrapper-fixed {
  position: absolute;
  inset: 0 0 auto;
  z-index: 99990;
  width: 100%;
  pointer-events: none;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.navbar_wrapper-fixed.is_home {
  padding-top: 10px;
}

.navbar_wrapper-fixed>* {
  pointer-events: auto;
}

.hero_process-block {
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.home-hero_progress-bar {
  display: flex;
  flex-flow: row nowrap;
  grid-column-gap: 0.5625rem;
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  color: #ffffff;
  transition: color 0.3s ease;
}

.home-hero_progress-line {
  flex: none;
  width: 0.5px;
  height: 100%;
  background-color: currentColor;
  opacity: 0.3;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.home-hero_progress-line.is-active {
  opacity: 1;
}

/* --- 4. NAVIGATION BAR --- */
.navbar {
  position: relative;
  inset: 0 0 auto;
  z-index: 999;
  width: 100%;
  padding-top: 1.1125rem;
  padding-bottom: 1.1125rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  background-color: transparent;
  transition: all 0.3s ease;
}

.navbar.is-scrolled {
  color: #000000;
}

.navbar.is-scrolled .navbar_link,
.navbar.is-scrolled .navbar1_dropdown-toggle {
  color: #000000;
}

.navbar.is-scrolled .menu-icon1_line-top,
.navbar.is-scrolled .menu-icon1_line-bottom {
  background-color: #000000;
}

.navbar.is-scrolled .home-hero_progress-bar {
  color: #000000;
}

.navbar_wrapper-fixed.is-scrolled {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.navbar_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar_logo-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 13.1875rem;
  height: 1.9375rem;
  padding-left: 0;
  color: inherit;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.navbar_logo-link:hover {
  opacity: 0.85;
}

.navbar_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.navbar_logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.navbar_logo path {
  opacity: 1;
}

.navbar_menu {
  display: flex;
  align-items: center;
  position: static;
  opacity: 0;
}

.navbar_menu-links {
  display: flex;
  align-items: center;
  grid-column-gap: 0.375rem;
  margin-right: 1rem;
}

.navbar_link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0.625rem;
  border-radius: 0.3125rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.navbar_link:hover {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(180, 180, 180, 0.1);
}

/* Products Dropdown */
.navbar1_menu-dropdown {
  position: relative;
  display: inline-block;
}

.navbar1_dropdown-toggle {
  display: flex;
  align-items: center;
  grid-column-gap: 0.5rem;
  padding: 0.75rem 0.625rem;
  border-radius: 0.3125rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.navbar1_dropdown-toggle:hover {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(180, 180, 180, 0.1);
}

.dropdown-chevron {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.navbar1_menu-dropdown:hover .dropdown-chevron,
.navbar1_menu-dropdown.is-active .dropdown-chevron {
  transform: rotate(180deg);
}

.navbar1_dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 16.5rem;
  padding: 0.65rem;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.625rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar1_menu-dropdown:hover .navbar1_dropdown-list,
.navbar1_menu-dropdown.is-active .navbar1_dropdown-list {
  display: flex;
}

.navbar_dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.4rem;
  color: var(--color-space-white);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.navbar_dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.dropdown-link_icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--color-space-white);
}

.dropdown-link_icon svg {
  width: 100%;
  height: 100%;
}

.dropdown-link_content-title {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.2;
}

.dropdown-link_content-text {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

/* Contact Button */
.button_wrapper.nav_cta {
  display: flex;
  align-items: center;
}

.button {
  background-color: #0c0c0c;
  color: #fdfdfd;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.01);
  border-radius: 0.3125rem;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button.is-nav {
  background-color: #ffffff;
  color: #0c0c0c;
}

.button.is-nav:hover {
  background-color: #4d80e6;
  color: #ffffff;
}

/* Light Scrolled State */
.navbar.is-scrolled {
  color: #0c0c0c;
}

.navbar_wrapper-fixed.is-scrolled .home-hero_progress-bar {
  color: #0c0c0c;
}

.navbar.is-scrolled .button.is-nav {
  background-color: #0c0c0c;
  color: #ffffff;
}

.navbar.is-scrolled .button.is-nav:hover {
  background-color: #4d80e6;
  color: #ffffff;
}

.navbar.is-scrolled .navbar_link:hover,
.navbar.is-scrolled .navbar1_dropdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

/* Mobile Hamburger Menu */
.navbar_menu-button {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.5rem;
  opacity: 0;
}

.menu-icon1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: 2rem;
  height: 2rem;
}

.menu-icon1_line-top,
.menu-icon1_line-bottom {
  width: 1.5rem;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar_menu-links-tablet {
  display: none;
}

/* --- 5. HERO SECTION & SCROLL TRACK --- */
.section_home-hero-track {
  position: relative;
  width: 100%;
  min-height: 300vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-space-black);
}

.home-hero_sticky-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #000000;
  transition: background-color 0.4s ease;
}

/* 3D Satellite Video Stage & Lens Vignette */
.bg_image-wrapper {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: var(--color-space-black);
  will-change: clip-path, transform;
}

.hero-bg_gradient {
  position: absolute;
  inset: 0%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 5, 0.7) 85%, #000000 100%),
    radial-gradient(ellipse at 50% 100%, rgba(10, 30, 60, 0.25) 0%, transparent 60%);
}

/* Initial Black Splash Screen Curtain (Smooth fade out on load) */
.hero-splash-curtain {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: #000000;
  pointer-events: none;
  opacity: 1;
  will-change: opacity;
}

.bg-video {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.js-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Hero Content Layout */
.hero-content-container {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-hero_content-layout {
  height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

/* Center Logo & Tagline */
.hero-logo_wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

.home_hero-logo-slot {
  width: 100%;
  max-width: 67rem;
  aspect-ratio: 1079 / 159;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.home_hero-logo-slot svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-tagline-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 67rem;
  padding-top: 1.25rem;
  color: rgba(253, 253, 253, 0.85);
  font-family: var(--font-main);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0;
  will-change: opacity, transform;
}

.hero_eyebrow {
  display: inline-block;
  line-height: 1;
}

/* Bottom HUD (Local Time + Lombok Emblem) */
.hero-bottom-content {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.3s ease;
}

.hero_location-block {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-family: var(--font-main);
  letter-spacing: 0.08em;
}

.home-hero_white-dot {
  width: 0.5625rem;
  height: 0.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

.hero_location-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.local-time {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.hero_bottom-image {
  width: 7.2rem;
  height: auto;
  opacity: 0.95;
}

.hero_hud-right {
  font-family: var(--font-main);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
}

/* Scroll reveal text on the left beside centered video card */
.home-hero_text_wrapper {
  position: absolute;
  inset: 0%;
  z-index: 6;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.home-hero_text {
  max-width: 25rem;
  font-family: var(--font-main);
  font-size: clamp(4.6rem, 2.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.02em;
  opacity: 1;
  transform: none;
  will-change: opacity;
  text-align: left;
}

.home-hero_lines_wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero_anim_line {
  display: block;
  opacity: 0;
  color: #ffffff;
  line-height: 1.15;
  will-change: opacity, color;
  transition: color 0.35s ease;
}

.home-hero_text_sticky {
  margin: 0;
  text-align: left;
}

/* Navbar Scrolled Light-Theme State */
.navbar_logo-link,
.navbar_link,
.navbar1_dropdown-toggle,
.button.is-nav,
.menu-icon1_line-top,
.menu-icon1_line-bottom,
.home-hero_progress-bar,
.home-hero_progress-line {
  transition: color 0.35s ease, background-color 0.35s ease, opacity 0.35s ease;
}

.navbar.is-scrolled .navbar_logo-link,
.navbar_wrapper-fixed.is-scrolled .navbar_logo-link {
  color: #0c0c0c;
}

.navbar.is-scrolled .navbar_link,
.navbar_wrapper-fixed.is-scrolled .navbar_link {
  color: #0c0c0c;
}

.navbar.is-scrolled .navbar_link:hover,
.navbar_wrapper-fixed.is-scrolled .navbar_link:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.navbar.is-scrolled .navbar1_dropdown-toggle,
.navbar_wrapper-fixed.is-scrolled .navbar1_dropdown-toggle {
  color: #0c0c0c;
}

.navbar.is-scrolled .navbar1_dropdown-toggle:hover,
.navbar_wrapper-fixed.is-scrolled .navbar1_dropdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.navbar.is-scrolled .button.is-nav,
.navbar_wrapper-fixed.is-scrolled .button.is-nav {
  background-color: #0c0c0c;
  color: #ffffff;
}

.navbar.is-scrolled .button.is-nav:hover,
.navbar_wrapper-fixed.is-scrolled .button.is-nav:hover {
  background-color: #26262a;
}

.navbar.is-scrolled .menu-icon1_line-top,
.navbar.is-scrolled .menu-icon1_line-bottom,
.navbar_wrapper-fixed.is-scrolled .menu-icon1_line-top,
.navbar_wrapper-fixed.is-scrolled .menu-icon1_line-bottom {
  background-color: #0c0c0c;
}

.navbar_wrapper-fixed.is-scrolled .home-hero_progress-bar,
.hero_process-block.is-scrolled .home-hero_progress-bar {
  color: #0c0c0c;
}

.navbar_wrapper-fixed.is-scrolled .home-hero_progress-line,
.hero_process-block.is-scrolled .home-hero_progress-line {
  background-color: #0c0c0c;
  opacity: 0.15;
}

.navbar_wrapper-fixed.is-scrolled .home-hero_progress-line.is-active,
.hero_process-block.is-scrolled .home-hero_progress-line.is-active {
  background-color: #0c0c0c;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 991px) {

  .navbar_menu-links,
  .button_wrapper.nav_cta {
    display: none;
  }

  .navbar_menu-button {
    display: block;
    z-index: 10001;
  }

  .navbar_menu.is-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050508;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
  }

  .navbar_menu.is-open .navbar_menu-links-tablet {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }

  .navbar_tablet-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .links_title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
  }

  .navbar_link-tablet {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
  }

  .home_hero-logo-slot {
    max-width: 92vw;
  }

  .hero-tagline-content {
    font-size: 0.65rem;
  }

  .home-hero_content-layout {
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }

  .hero_bottom-image {
    width: 5.5rem;
  }
}

/* Mobile specific hero text adjustments (phones < 768px) */
@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }

  .home-hero_text_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--mobile-hero-text-top, calc(50vh + 25.3vw + 1.25rem));
    bottom: auto;
    display: flex;
    align-items: flex-start;
    padding-bottom: 0;
    z-index: 6;
    pointer-events: none;
  }

  .home-hero_text_wrapper .padding-global {
    padding-left: 6vw;
    padding-right: 6vw;
    width: 100%;
  }

  .home-hero_text {
    width: 100%;
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(4.85rem, 6.2vw, 2.25rem);
    line-height: 1.24;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    color: #ffffff;
    overflow-wrap: break-word;
  }

  .home-hero_text_sticky {
    text-align: center;
    margin: 0;
  }

  .home-hero_lines_wrap {
    align-items: center;
    text-align: center;
  }

  .hero_anim_line {
    text-align: center;
  }
}

/* Tablet specific hero text adjustments (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .home-hero_text_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--mobile-hero-text-top, calc(50vh + 18vw));
    bottom: auto;
    display: flex;
    align-items: flex-start;
    padding-bottom: 0;
    z-index: 6;
    pointer-events: none;
  }

  .home-hero_text_wrapper .padding-global {
    padding-left: 8vw;
    padding-right: 8vw;
    width: 100%;
  }

  .home-hero_text {
    width: 100%;
    max-width: 82vw;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.2rem, 4.2vw, 2.85rem);
    line-height: 1.22;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    color: #ffffff;
    overflow-wrap: break-word;
  }

  .home-hero_text_sticky {
    text-align: center;
    margin: 0;
  }

  .home-hero_lines_wrap {
    align-items: center;
    text-align: center;
  }

  .hero_anim_line {
    text-align: center;
  }
}

/* ==========================================================================
   NUMA SECTION - DESIGNED FOR ACTIVE LIFE (NUMBERS)
   Exact match to https://numa.uprock.pro/
   ========================================================================== */

.section--u-irgvydhcu.numbers {
  position: relative;
  width: 100%;
  height: 350vh;
  margin-top: 0;
  display: block;
  background-color: #000000;
  z-index: 10;
  font-family: 'Figtree', var(--font-main), sans-serif;
  color: #000000;
}

.numbers__container {
  height: 100vh;
  width: 100%;
  max-width: none;
  display: flex;
  position: sticky;
  top: 0px;
  overflow: hidden;
  align-items: center;
  background-color: #000000;
  will-change: background-color;
}

.numbers__wrapper {
  width: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  will-change: transform;
}

.numbers__device {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  flex-shrink: 0;
}

.numbers__device-image {
  width: 27.78vw;
  height: 15.63vw;
  aspect-ratio: 16 / 9;
  display: inline-flex;
  position: relative;
  overflow: visible;
  justify-content: center;
  align-items: center;
  opacity: 0;
  will-change: transform, opacity;
}

.numbers__device-image .image__img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.numbers__video-card {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.numbers__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
  pointer-events: none;
}

.numbers__content {
  width: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-right: 9.07vw;
  flex-shrink: 0;
  white-space: nowrap;
}

.numbers .h2,
.numbers-stage-content .h2,
.numbers__title {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 15.63vw;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #000000;
  margin: 0;
  display: inline-flex;
}

.mobile-break {
  display: none;
}

.numbers__cards-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-left: clamp(1.5rem, 2.5vw, 3rem);
  padding-right: clamp(1.5rem, 2.5vw, 3rem);
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.numbers__cards-grid {
  height: 39.62vw;
  width: max-content;
  display: grid;
  grid-template-columns: repeat(6, clamp(280px, 29.8vw, 440px));
  grid-template-rows: 1fr auto;
  column-gap: 1.25vw;
  margin: 0;
}

.numbers__card {
  position: relative;
  width: auto;
  height: 100%;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  padding: 2vw;
  border-radius: 5px;
  background-image: 
    url("./assets/images/advantages.webp"),
    linear-gradient(to bottom, #000000 0%, #000000 45%, #ffffff 65%, #ffffff 100%);
  background-position: center top 0%, center center;
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-color: transparent;
  background-clip: border-box;
  border: none;
  outline: none;
  box-shadow: none;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.numbers__card-value,
.numbers__card-description,
.numbers__dots-wrapper {
  position: relative;
  z-index: 1;
}

.numbers__dots-wrapper {
  width: 1.81vw;
  height: 1.81vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.81vw;
  background-color: rgba(255, 255, 255, 0.22);
  margin-left: auto;
}

.numbers__dot-center {
  width: 0.91vw;
  height: 0.91vw;
  border-radius: 1.01vw;
  background-color: #ffffff;
}

.numbers__card-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  row-gap: 0.4vw;
  color: #ffffff;
  font-family: 'Figtree', var(--font-main), sans-serif;
  margin: 0;
}

.numbers-big-text {
  font-size: 7.26vw;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.numbers__card-value .text-2 {
  text-align: center;
}

.numbers .text-2 {
  font-size: 1.71vw;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.numbers__card-description {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  row-gap: 1.01vw;
  color: #000000;
  font-family: 'Figtree', var(--font-main), sans-serif;
  min-height: 8.5vw;
}

.numbers__card-description h4.text-2 {
  font-size: 1.71vw;
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}

.numbers__card-description p.text-1 {
  font-size: 1.25vw;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.65);
  margin: 0;
}

.numbers .text--blue,
.numbers-stage-content .text--blue,
.numbers .text--dark-blue,
.numbers-stage-content .text--dark-blue,
.numbers .text--black,
.numbers-stage-content .text--black {
  color: #000000;
}

.numbers .text--white,
.numbers-stage-content .text--white {
  color: #fffefc;
}

.numbers .opacity--60,
.numbers-stage-content .opacity--60 {
  opacity: 0.6;
}

.numbers .text-block-wrap-div,
.numbers-stage-content .text-block-wrap-div {
  flex-grow: 1;
  max-width: 100%;
  display: inline-block;
}

/* Responsive Large Screens (>= 1440px & 1920px) */
@media (min-width: 1440px) {
  .numbers__cards-grid {
    height: 39.58vw;
    column-gap: 1.25vw;
  }
  .numbers__card {
    padding: 2vw;
  }
}

@media (min-width: 1920px) {
  .numbers__card {
    padding: 1.56vw;
    margin-top: 55px;
  }
}

/* Tablet & Mobile (<= 991px): UNIFIED NUMBERS SECTION */
@media (max-width: 991px) {
  .mobile-break {
    display: inline;
  }

  .unified-scroll-track {
    min-height: 720svh;
    height: 720svh;
    position: relative;
    background-color: #000000;
  }

  .unified-sticky-stage {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 100svh !important;
    overflow: hidden !important;
  }

  .morph-video-container {
    position: absolute;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    will-change: clip-path, transform;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .hero-stage-content {
    position: absolute;
    inset: 0;
    z-index: 7;
    opacity: 1;
    pointer-events: auto;
  }

  /* --- NUMBERS ADAPTIVE SECTION (Unified into .numbers-stage-content) --- */
  .numbers-stage-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 6 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background-color: transparent !important;
    color: #000000 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    opacity: 0;
    pointer-events: none;
  }

  .numbers__wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100svh !important;
    padding-top: max(env(safe-area-inset-top, 0px), 48px) !important;
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 14px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    row-gap: clamp(6px, 1.4svh, 14px) !important;
    box-sizing: border-box !important;
    will-change: transform !important;
    pointer-events: auto !important;
  }

  .numbers__content {
    order: 1 !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  .numbers__title,
  .numbers-stage-content .h2 {
    font-family: 'Figtree', var(--font-main), sans-serif !important;
    font-size: clamp(1.35rem, 5.2vw, 1.85rem) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.03em !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #000000 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    will-change: transform, opacity !important;
  }

  .numbers__device-placeholder {
    order: 2 !important;
    min-height: auto !important;
    width: clamp(150px, 44vw, 210px) !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: none !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    margin: 0 auto !important;
  }

  .numbers__cards-wrapper {
    order: 3 !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    overflow: visible !important;
    pointer-events: auto !important;
    will-change: transform, opacity !important;
  }

  .numbers__cards-grid {
    height: auto !important;
    width: max-content !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    margin: 0 !important;
    padding-left: calc((100vw - min(calc(100vw - 44px), 340px)) / 2) !important;
    padding-right: calc((100vw - min(calc(100vw - 44px), 340px)) / 2) !important;
    box-sizing: border-box !important;
    will-change: transform !important;
  }

  /* Exact Numa card aspect & styling on mobile (matches aesthetic & fits without cutoff) */
  .numbers__card {
    width: min(calc(100vw - 44px), 340px) !important;
    height: clamp(265px, 46svh, 340px) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: clamp(14px, 3.5vw, 20px) clamp(16px, 4vw, 22px) !important;
    border-radius: clamp(18px, 4.5vw, 24px) !important;
    background-image: 
      url("./assets/images/advantages.webp"),
      linear-gradient(to bottom, #000000 0%, #000000 45%, #ffffff 62%, #ffffff 100%) !important;
    background-position: center top 0%, center center !important;
    background-size: 100% 100%, 100% 100% !important;
    background-repeat: no-repeat, no-repeat !important;
    background-color: transparent !important;
    background-clip: border-box !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .numbers__card-value {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    row-gap: 2px !important;
    color: #ffffff !important;
    font-family: 'Figtree', var(--font-main), sans-serif !important;
    margin-top: clamp(4px, 1.5svh, 12px) !important;
    margin-bottom: 0 !important;
  }

  .numbers__card .numbers-big-text {
    font-size: clamp(2.5rem, 12vw, 3.6rem) !important;
    font-weight: 800 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .numbers__card .text-2 {
    font-size: clamp(0.82rem, 3.2vw, 0.98rem) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    padding-top: 2px !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .numbers__card-value .text-2 {
    padding-top: 0 !important;
    text-align: center !important;
  }

  .numbers__card-description {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    row-gap: clamp(4px, 1.2vw, 8px) !important;
    font-family: 'Figtree', var(--font-main), sans-serif !important;
    color: #000000 !important;
    margin-top: auto !important;
    min-height: auto !important;
    padding-bottom: clamp(2px, 1vw, 6px) !important;
  }

  .numbers__card-description h4.text-2 {
    font-size: clamp(0.92rem, 3.8vw, 1.08rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    margin: 0 !important;
    padding-top: 0 !important;
  }

  .numbers__card-description p.text-1 {
    font-size: clamp(0.75rem, 2.8vw, 0.85rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.35 !important;
    color: rgba(0, 0, 0, 0.72) !important;
    margin: 0 !important;
  }
}

@media (max-width: 767px) and (max-height: 680px) {
  .numbers__wrapper {
    padding-top: max(env(safe-area-inset-top, 0px), 38px) !important;
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 8px) !important;
    row-gap: 6px !important;
  }
  .numbers__title,
  .numbers-stage-content .h2 {
    font-size: clamp(1.2rem, 4.8vw, 1.5rem) !important;
  }
  .numbers__device-placeholder {
    width: clamp(130px, 36vw, 170px) !important;
    border-radius: 10px !important;
  }
  .numbers__card {
    height: clamp(235px, 44svh, 280px) !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }
  .numbers__card .numbers-big-text {
    font-size: clamp(2.2rem, 10vw, 2.9rem) !important;
  }
  .numbers__card .text-2 {
    font-size: 0.8rem !important;
  }
  .numbers__card-description h4.text-2 {
    font-size: 0.88rem !important;
  }
  .numbers__card-description p.text-1 {
    font-size: 0.72rem !important;
    line-height: 1.28 !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .numbers__wrapper {
    padding-left: 16vw !important;
    padding-right: 16vw !important;
  }
  .numbers__device-placeholder {
    width: min(44vw, 420px) !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    border-radius: 18px !important;
  }
  .numbers__card {
    width: calc(100vw - 32vw) !important;
    max-width: 480px !important;
    height: 65vw !important;
    max-height: calc(100svh - 350px) !important;
    flex-shrink: 0 !important;
    padding: 3vw !important;
    border-radius: 3.5vw !important;
  }
  .numbers__card .numbers-big-text {
    font-size: 12vw !important;
  }
  .numbers__card .text-2 {
    font-size: 2.4vw !important;
    padding-top: 1vw !important;
  }
  .numbers__card-description h4.text-2 {
    font-size: 3vw !important;
  }
  .numbers__card-description p.text-1 {
    font-size: 2vw !important;
  }
  .numbers__card-description {
    min-height: 16vw !important;
  }
}

/* ==================== INTERACTIVE MORPH SWITCHER BAR ==================== */
.morph-switcher-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  font-family: 'Figtree', var(--font-main), sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.switcher-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.switcher-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 8px 0 6px;
}

.switcher-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: transparent;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.switcher-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.switcher-link.is-active {
  color: #ffffff;
  background: #000000;
  border-color: rgba(255, 255, 255, 0.4);
}

.switcher-link .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.8;
}

/* ==================== OPTION 2: RADIAL BLOOM STYLES ==================== */
.hero-radial-bloom {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140vw;
  height: 140vw;
  max-width: 2500px;
  max-height: 2500px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 45%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  opacity: 0;
}

/* Glowing halo for Option 2 card */
.is-blooming-card {
  box-shadow: none !important;
}

/* ==================== OPTION 3: 3D PERSPECTIVE STYLES ==================== */
.has-3d-stage {
  perspective: 1200px;
  perspective-origin: 50% 50%;
}

.has-3d-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ==================== TRUE 1-VIDEO MORPHING ARCHITECTURE ==================== */
.unified-scroll-track {
  position: relative;
  width: 100%;
  min-height: 480vh;
  background-color: #000000;
  will-change: background-color;
}

.unified-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000000;
  will-change: background-color;
  display: flex;
  flex-direction: column;
}

/* The ONE and ONLY video container */
.morph-video-container {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  background-color: transparent;
  will-change: clip-path, transform;
  border-radius: 0;
}

.morph-video-inner {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.morph-video-inner .js-single-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Hero Foreground Content */
.hero-stage-content {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-stage-content a,
.hero-stage-content button {
  pointer-events: auto;
}

/* Numbers Stage Content */
.numbers-stage-content {
  position: absolute;
  inset: 0%;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  opacity: 0;
  will-change: opacity;
}

.numbers-stage-content .numbers__wrapper {
  pointer-events: auto;
}

@media (min-width: 992px) {
  .numbers__device-placeholder {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    max-width: 100%;
    flex-shrink: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

/* ==========================================================================
   FAVORITE / HIDDEN SPOTS SHOWCASE SECTION (WHITE BG & BLACK TEXT THEME)
   ========================================================================== */

.section_spots {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  padding-top: 0;
  padding-bottom: clamp(4rem, 8vh, 6rem);
  box-sizing: border-box;
  overflow: visible;
  z-index: 10;
}

.spots_layout {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  column-gap: clamp(2.5rem, 4.5vw, 5rem);
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* --- Left Column: Sticky Sidebar --- */
.spots_sidebar-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: block !important;
}

.spots_sticky-content {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 0;
}

.spots_heading {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #000000;
  margin: 0;
}

.spots_heading-highlight {
  color: #f06182;
  display: inline-block;
}

.spots_subtext {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.65);
  margin: 0;
}

/* ==========================================================================
   ULTRA-SMOOTH MORPHING PILL DOCK (APPLE / LINEAR QUALITY - GAMBAR 2)
   - Inactive: Exact 44x44px rounded square with stroke icon
   - Active: Silky 60fps/120fps expansion into elongated horizontal pill
   - Native hardware-accelerated transforms & zero width-snapping
   ========================================================================== */
.spots_sticky-nav-bar {
  display: none;
}

.spots_steps-nav {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: #f1f4f8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 5px;
  margin-top: 1.5rem;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .spots_sticky-nav-bar {
    display: none !important;
  }
  .spots_steps-nav {
    display: none !important;
  }
}

.spots_steps-nav::-webkit-scrollbar {
  display: none;
}

/* Individual Dock Button */
.spots_step-item {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none !important;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  will-change: transform, border-color, background-color;
  transition: background-color 0.25s ease, 
              border-color 0.25s ease, 
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.spots_step-item:hover {
  background: #fafafa;
  border-color: rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.spots_step-item:active {
  transform: scale(0.97);
}

/* Fixed 44x44px Icon Container (Never shifts or distorts) */
.spots_step-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #475569;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spots_step-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  display: block;
}

/* Label: Expands and contracts with silky cubic-bezier easing */
.spots_step-label {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  opacity: 0;
  max-width: 0;
  padding-right: 0;
  transform: translateX(-8px);
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  pointer-events: none;
  will-change: max-width, opacity, transform, padding-right;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.26s ease, 
              padding-right 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ACTIVE STATE (Gambar 2): Icon lights up, text glides open */
.spots_step-item.is-active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: none !important;
}

.spots_step-item.is-active .spots_step-icon {
  color: #0f172a;
  transform: scale(1.04);
}

.spots_step-item.is-active .spots_step-label {
  opacity: 1;
  max-width: 240px;
  padding-right: 16px;
  transform: translateX(0);
}

/* ==========================================================================
   LOMBOK ISLAND INTERACTIVE ROUTE MAP (FLAT UI)
   - Real-time sync with active spot / card
   - High precision vector regencies (Kabupaten) & trails
   - 100% Flat UI without box-shadow or text-shadow
   ========================================================================== */
.lombok-map-wrapper {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0 !important;
  box-sizing: border-box;
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
}

/* Map Stage: Transparent, blends into background */
.lombok-map-stage {
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none !important;
  overflow: visible;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.lombok-island-svg {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  max-height: min(58vh, 560px);
  overflow: visible;
  user-select: none;
}

@media (min-width: 1440px) {
  .lombok-island-svg {
    max-width: 940px;
    max-height: min(62vh, 640px);
  }
}

@media (min-width: 1920px) {
  .lombok-island-svg {
    max-width: 1080px;
    max-height: min(65vh, 720px);
  }
}

/* Regency Boundaries (Authentic SVG Paths) */
.regency-boundary {
  fill: #f8fafc;
  stroke: #cbd5e1;
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  cursor: pointer;
  transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}

.lombok-regency-seg:hover .regency-boundary {
  fill: #f1f5f9;
  stroke: #94a3b8;
  stroke-width: 1.2;
}

/* Regency Active Spot Tinting (Warna garis sesuai tema kabupaten, ukuran garis tetap 1.2px tidak tebal) */
.lombok-map-wrapper[data-active-spot="1"] #seg-lotim .regency-boundary,
.lombok-map-wrapper[data-active-spot="1"] #seg-lotim:hover .regency-boundary {
  fill: #ffe4e6;
  stroke: #e11d48;
  stroke-width: 1.2;
}

.lombok-map-wrapper[data-active-spot="2"] #seg-loteng .regency-boundary,
.lombok-map-wrapper[data-active-spot="2"] #seg-loteng:hover .regency-boundary {
  fill: #fef3c7;
  stroke: #d97706;
  stroke-width: 1.2;
}

.lombok-map-wrapper[data-active-spot="3"] #seg-lobar .regency-boundary,
.lombok-map-wrapper[data-active-spot="3"] #seg-lobar:hover .regency-boundary {
  fill: #e0f2fe;
  stroke: #0284c7;
  stroke-width: 1.2;
}

.lombok-map-wrapper[data-active-spot="4"] #seg-lotara .regency-boundary,
.lombok-map-wrapper[data-active-spot="4"] #seg-lotara:hover .regency-boundary {
  fill: #ffedd5;
  stroke: #ea580c;
  stroke-width: 1.2;
}

.lombok-map-wrapper[data-active-spot="5"] #seg-loteng .regency-boundary,
.lombok-map-wrapper[data-active-spot="5"] #seg-loteng:hover .regency-boundary {
  fill: #d1fae5;
  stroke: #059669;
  stroke-width: 1.2;
}

.lombok-map-wrapper[data-active-spot="6"] #seg-mataram .regency-boundary,
.lombok-map-wrapper[data-active-spot="6"] #seg-mataram:hover .regency-boundary {
  fill: #ede9fe;
  stroke: #7c3aed;
  stroke-width: 1.2;
}

/* Route Layers */
.map-route-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-route-layer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Animated Dashed Route Lines */
.map-route-trail {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 5;
  animation: mapRouteDash 20s linear infinite;
  pointer-events: none; /* Cegah garis animasi bergerak memicu kedipan mouseenter/leave */
}

@keyframes mapRouteDash {
  to {
    stroke-dashoffset: -110;
  }
}

.trail-pink { stroke: #e11d48; }
.trail-amber { stroke: #d97706; }
.trail-blue { stroke: #0284c7; }
.trail-orange { stroke: #ea580c; }
.trail-green { stroke: #059669; }
.trail-purple { stroke: #7c3aed; }

/* Pinpoints */
.map-pin {
  cursor: pointer;
  pointer-events: auto;
}

.pin-hit {
  fill: transparent;
  stroke: none;
  cursor: pointer;
}

.pin-halo {
  fill: none;
  stroke-width: 1.5;
  animation: pinPulse 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none; /* Cegah gelombang denyut halo memicu hover berulang */
}

@keyframes pinPulse {
  0% {
    r: 4;
    opacity: 0.9;
  }
  100% {
    r: 10;
    opacity: 0;
  }
}

.pin-core {
  stroke: #ffffff;
  stroke-width: 1.5;
  transform-origin: 0 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.2s ease, filter 0.2s ease;
}

.map-pin:hover .pin-core {
  transform: scale(1.45);
  stroke-width: 2;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.pin-pink .pin-core { fill: #e11d48; }
.pin-pink .pin-halo { stroke: #e11d48; }

.pin-amber .pin-core { fill: #d97706; }
.pin-amber .pin-halo { stroke: #d97706; }

.pin-blue .pin-core { fill: #0284c7; }
.pin-blue .pin-halo { stroke: #0284c7; }

.pin-orange .pin-core { fill: #ea580c; }
.pin-orange .pin-halo { stroke: #ea580c; }

.pin-green .pin-core { fill: #059669; }
.pin-green .pin-halo { stroke: #059669; }

.pin-purple .pin-core { fill: #7c3aed; }
.pin-purple .pin-halo { stroke: #7c3aed; }

/* Floating Tooltip */
.map-pin-tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  background: #0f172a;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: none !important;
}

.map-pin-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -140%);
}

.tooltip-num {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
}

/* Urutan Rute Eksplorasi (Sisi Kanan Masing-Masing Card) */
.card_route-trail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}

.route_step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.route_step:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.route_step-num {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 0.64rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tag-pink-bg { background-color: #e11d48; }
.tag-yellow-bg { background-color: #d97706; }
.tag-cyan-bg { background-color: #0284c7; }
.tag-orange-bg { background-color: #ea580c; }
.tag-green-bg { background-color: #059669; }
.tag-purple-bg { background-color: #7c3aed; }

.route_step-sep {
  color: #94a3b8;
  font-size: 0.72rem;
  user-select: none;
}

/* --- Right Column: Destination Cards Stream (1 Card per Viewport) --- */
.spots_cards-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 0;
}

.spots_card {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: clamp(2rem, 5vh, 4rem) 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  scroll-margin-top: 0;
  pointer-events: auto;
}

.spots_card.is-active {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  transform: none !important;
  z-index: 2;
}

.spots_card.is-prev {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.spots_card:hover {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.spots_card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.spots_card-tag {
  font-family: var(--font-tech), monospace, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding-top: 0.2rem;
}

.spots_card-tag.tag-pink { color: #e11d48; }
.spots_card-tag.tag-yellow { color: #d97706; }
.spots_card-tag.tag-cyan { color: #0284c7; }
.spots_card-tag.tag-orange { color: #ea580c; }
.spots_card-tag.tag-green { color: #059669; }
.spots_card-tag.tag-purple { color: #7c3aed; }

.spots_card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.spots_card:hover .spots_card-icon {
  transform: rotate(6deg) scale(1.08);
}

.spots_card-body {
  display: flex;
  flex-direction: column;
}

.spots_card-title {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #000000;
  margin: 0.2rem 0 1.25rem 0;
}

.spots_card-desc {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.7);
  margin: 0 0 1.15rem 0;
  max-width: 660px;
}

/* Pills list on each card: Clean 2-column grid matching Gambar 1 */
.spots_card-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0;
  max-width: 580px;
  width: 100%;
}

/* Single pill layout when card has only 1 video (e.g. Favorite 01) */
.spots_card-pills:has(.spots_pill:only-child) {
  display: flex;
}

.spots_card-pills:has(.spots_pill:only-child) .spots_pill {
  max-width: 320px;
  width: fit-content;
}

/* Micro-Specs Footer inside Card */
.spots_card-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.spots_spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spots_spec-label {
  font-family: var(--font-tech), monospace, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
}

.spots_spec-val {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

/* Story Video Thumbnail Pills (Matches User Mockup - Flat UI) */
.spots_pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 9999px;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none !important;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  user-select: none;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
}

.spots_pill:hover {
  background-color: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: none !important;
  transform: translateY(-1px);
}

.spots_pill:active {
  background-color: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: none !important;
  transform: none;
}

/* Story Ring Avatar inside Pill */
.spots_pill-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #f59e0b, #ef4444 55%, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.spots_pill:hover .spots_pill-avatar {
  transform: scale(1.06);
}

.spots_pill-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ffffff;
  background: #0f172a;
  display: block;
}

/* Text Container inside Pill */
.spots_pill-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}

.spots_pill-title {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.spots_pill-sub {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Active Pill State on Desktop (Currently selected/playing video) */
.spots_pill.is-active-tab {
  background-color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-1px);
}

.spots_pill.is-active-tab .spots_pill-title {
  color: #000000 !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   FACEBOOK STORIES TRAY (DESKTOP VIEW & MOBILE RESPONSIVE)
   - Desktop: Horizontal tray of vertical Facebook Story cards.
     Clicking a card expands it to 16:9 and plays video inline (NO POPUP).
   - Mobile: Touch-scrollable story cards tray.
     Tapping a card opens the Instagram Story style lightbox modal.
   ========================================================================== */

.fb_story-tray {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin-top: 0.5rem;
  margin-bottom: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px 2px;
  box-sizing: border-box;
}

.fb_story-tray::-webkit-scrollbar {
  display: none;
}

/* Individual FB Story Card (Standard 9:16 Vertical Story Aspect Ratio) */
.fb_story-card {
  position: relative;
  height: 284px;
  aspect-ratio: 9 / 16;
  width: auto;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.fb_story-card:hover:not(.is-playing) {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px rgba(0, 0, 0, 0.18), 0 2px 6px -1px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Background Poster Image */
.fb_story-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 1;
}

.fb_story-card:hover:not(.is-playing) .fb_story-poster {
  transform: scale(1.06);
}

/* Gradient Overlay (Soft cinematic gradient without solid black space) */
.fb_story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.18) 0%,
    transparent 25%,
    transparent 62%,
    rgba(15, 23, 42, 0.65) 100%
  );
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Top-Left: Avatar hidden per user request */
.fb_story-avatar-wrap {
  display: none !important;
}

.fb_story-avatar-ring {
  display: none !important;
}

.fb_story-avatar-img {
  display: none !important;
}

/* Center Play Button Overlay */
.fb_story-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.fb_play-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.fb_play-btn-circle svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
}

.fb_story-card:hover:not(.is-playing) .fb_play-btn-circle {
  transform: scale(1.12);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.25);
}

/* Top-Right: Close Button (Visible during playback) */
.fb_story-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
}

.fb_story-close-btn svg {
  width: 14px;
  height: 14px;
}

.fb_story-close-btn:hover {
  background: rgba(225, 29, 72, 0.9);
  transform: scale(1.08);
}

/* Top-Right: Sound Toggle Button (Visible during playback) */
.fb_story-sound-btn {
  position: absolute;
  top: 10px;
  right: 48px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fb_story-sound-btn svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.fb_story-sound-btn:hover {
  background: rgba(16, 185, 129, 0.9);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.08);
}

.fb_story-sound-btn.is-muted {
  background: rgba(15, 23, 42, 0.9);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.45);
}

.fb_story-sound-btn.is-muted:hover {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
}

/* Floating Audio Toast Feedback */
.fb_story-sound-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.fb_story-sound-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Bottom: Story Footer with Typography */
.fb_story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fb_story-badge {
  font-family: var(--font-tech), monospace, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.fb_story-title {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb_story-sub {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* In-Card Media Container */
.fb_story-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 5;
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.fb_story-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  object-fit: cover;
}

/* 9:16 Vertical Video Frame seamlessly fitted to card (Zero Black Bars & Zero YouTube UI) */
.fb_story-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.40);
  border: none;
  background: transparent;
  pointer-events: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: opacity, transform;
}

.fb_story-card.is-video-ready .fb_story-iframe {
  opacity: 1;
}

/* Elegant Reels/Story Loading Spinner */
.fb_story-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: fbStorySpin 0.75s linear infinite;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

@keyframes fbStorySpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.fb_story-card.is-playing:not(.is-video-ready) .fb_story-loader {
  opacity: 1;
}

/* ==========================================================================
   DESKTOP ACTIVE PLAYING STATE (SEAMLESS STORY CARD - ZERO BLACK BG)
   ========================================================================== */
@media (min-width: 992px) {
  .fb_story-card.is-playing {
    height: 284px;
    aspect-ratio: 9 / 16;
    flex: 0 0 auto !important;
    width: auto !important;
    cursor: default;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.28);
    transform: none !important;
  }

  .fb_story-card.is-playing .fb_story-media {
    display: flex;
  }

  .fb_story-card.is-playing .fb_story-overlay,
  .fb_story-card.is-playing .fb_story-play-btn,
  .fb_story-card.is-playing .fb_story-avatar-wrap,
  .fb_story-card.is-playing .fb_story-footer {
    opacity: 0;
    pointer-events: none;
  }

  /* Keep the poster crisp while video initializes, then gently fade out */
  .fb_story-card.is-playing .fb_story-poster {
    opacity: 1;
    filter: brightness(0.88);
    transform: none;
    transition: opacity 0.4s ease, filter 0.4s ease;
    pointer-events: none;
    display: block !important;
    z-index: 4;
  }

  .fb_story-card.is-playing.is-video-ready .fb_story-poster {
    opacity: 0;
  }

  .fb_story-card.is-playing .fb_story-close-btn,
  .fb_story-card.is-playing .fb_story-sound-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE MODE (<= 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .fb_story-tray {
    max-width: 100%;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .fb_story-card {
    height: 220px;
    aspect-ratio: 9 / 16;
    flex: 0 0 auto !important;
    width: auto !important;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .fb_story-play-btn {
    display: flex;
  }

  .fb_play-btn-circle {
    width: 36px;
    height: 36px;
  }

  .fb_play-btn-circle svg {
    width: 15px;
    height: 15px;
  }

  .fb_story-footer {
    padding: 8px 8px;
  }

  .fb_story-title {
    font-size: 0.78rem;
  }

  .fb_story-sub {
    font-size: 0.64rem;
  }

  .fb_story-close-btn {
    display: none !important;
  }

  html {
    scroll-padding-top: 70px;
  }

  .section_spots {
    padding-top: 4.5rem;
    padding-bottom: 6rem;
  }

  .spots_layout {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    position: relative;
  }

  .spots_sidebar-wrap {
    position: static;
    width: 100%;
    display: block !important;
  }

  .spots_sticky-content {
    position: static;
    top: auto;
    row-gap: 0;
    padding: 0;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: auto !important;
  }

  .spots_heading {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin-bottom: 0.25rem;
  }

  .spots_subtext {
    font-size: 1rem;
    max-width: 100%;
  }

  /* Pinned / Sticky Scroll Navigation Dock for Mobile View (Full Width & Pure White BG) */
  .spots_sticky-nav-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    top: env(safe-area-inset-top, 0px);
    z-index: 1000;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding: 10px 0;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Full-width edge-to-edge scrollable dock with white section-matching background */
  .spots_steps-nav {
    display: inline-flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 1.25rem !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: none !important;
    touch-action: pan-x !important;
  }

  .spots_steps-nav::-webkit-scrollbar {
    display: none !important;
  }

  /* Hide Lombok Map on Mobile View (Desktop remains visible) */
  .lombok-map-wrapper {
    display: none !important;
  }

  .spots_card-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .card_route-trail {
    font-size: 0.72rem;
    gap: 4px;
  }

  .spots_step-item {
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
  }

  .spots_step-item:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.2);
  }

  .spots_step-item.is-active {
    background: #ffffff;
    border-color: #0f172a;
    border-width: 1.5px;
  }

  .spots_step-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .spots_cards-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
  }

  .spots_card {
    min-height: auto;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    scroll-margin-top: 80px;
  }

  .spots_card-title {
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
  }

  .spots_card-desc {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .spots_pill {
    padding: 5px 12px 5px 5px;
    gap: 8px;
  }

  .spots_pill-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .spots_pill-title {
    font-size: 0.8rem;
  }

  .spots_pill-sub {
    font-size: 0.68rem;
  }

  .spots_card-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 100%;
  }

  .spots_card-footer {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 540px) {
  .spots_card-pills {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INSTAGRAM STORY HIGHLIGHT TRIGGER & LIGHTBOX REEL MODAL (OPSI 1)
   ========================================================================== */

/* Story Avatar Trigger inside Card */
.story-trigger-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  width: fit-content;
}

.story-trigger-card:hover {
  transform: none;
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, 0.25);
}

/* Animated Story Ring */
.story-ring-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  background: #000;
}

.story-trigger-text {
  display: flex;
  flex-direction: column;
}

.story-trigger-title {
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 5px;
}

.story-trigger-sub {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.55);
}

/* --- LIGHTBOX MODAL --- */
.reels-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 12, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  box-sizing: border-box;
}

.reels-modal-backdrop:not(.is-open) * {
  pointer-events: none !important;
}

.reels-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Wrapper with Floating Navigation Buttons */
.reels-modal-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 100vw;
}

/* Floating Navigation Buttons (Prev & Next) */
.reels-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  box-shadow: none !important;
  z-index: 30;
  flex-shrink: 0;
  outline: none;
}

.reels-nav-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.reels-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.reels-nav-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.reels-nav-btn:disabled,
.reels-nav-btn.is-disabled {
  opacity: 0.18;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.reels-modal-container {
  position: relative;
  height: min(92vh, 840px);
  width: auto;
  max-width: 90vw;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none !important;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-modal-backdrop.is-open .reels-modal-container {
  transform: scale(1) translateY(0);
}

/* Story Media Stage & Dual-Slide Track */
.reels-media-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
}

.reels-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  will-change: transform, opacity;
  pointer-events: auto;
}

.reels-slide-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.reels-slide-poster.is-hidden {
  opacity: 0;
}

.reels-slide .reels-modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.reels-slide .reels-modal-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(1.40);
  border: none;
  background: transparent;
  display: block;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: opacity, transform;
}

.reels-slide.is-video-ready .reels-modal-iframe {
  opacity: 1;
}

/* Top Story Progress Bar Segments */
.reels-progress-bars {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 25;
  pointer-events: none;
}

.reels-progress-seg {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.25s ease;
}

.reels-progress-seg.is-completed,
.reels-progress-seg.is-active {
  background: #ffffff;
}

/* Top Meta Bar */
.reels-modal-top {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.reels-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reels-modal-card-label {
  font-family: var(--font-tech), monospace, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.reels-modal-title {
  color: #ffffff;
  font-family: 'Figtree', var(--font-main), sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-shadow: none !important;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reels-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 25;
}

.reels-modal-sound {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: none !important;
  z-index: 25;
}

.reels-modal-sound svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
}

.reels-modal-sound:hover {
  transform: scale(1.1);
  background: rgba(16, 185, 129, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.reels-modal-sound.is-muted {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.45);
}

.reels-modal-sound.is-muted:hover {
  background: rgba(239, 68, 68, 0.7);
  color: #ffffff;
}

.reels-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: none !important;
  z-index: 25;
}

.reels-modal-close:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

/* Tap Navigation Zones (Left 35% = Prev, Right 65% = Next) */
.reels-tap-zone {
  position: absolute;
  top: 65px;
  bottom: 110px;
  z-index: 10;
  cursor: pointer;
}

.reels-tap-prev {
  left: 0;
  width: 35%;
}

.reels-tap-next {
  right: 0;
  width: 65%;
}

/* Bottom Caption Bar */
.reels-modal-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 1.25rem 1.35rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 65%, transparent 100%);
  color: #ffffff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  row-gap: 0.35rem;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: opacity, transform;
}

.reels-modal-bottom.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.reels-modal-bottom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.reels-status-badge {
  font-size: 0.72rem;
  color: #ef4444;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-family: 'Figtree', sans-serif;
}

.reels-lock-badge {
  font-family: 'Figtree', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.reels-heading {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
  font-family: 'Figtree', sans-serif;
  line-height: 1.25;
}

.reels-sub {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.8;
  color: #fff;
  font-family: 'Figtree', sans-serif;
}

/* ==========================================================================
   MOBILE FULL-SCREEN STORY MODE (INSTAGRAM / TIKTOK REELS VIBE)
   - 100vw x 100dvh edge-to-edge full screen
   - Zero padding, zero border-radius, zero letterboxing
   - Notch / Dynamic Island & Home indicator safe-area padding
   - Natural story tap & swipe navigation
   ========================================================================== */
@media (max-width: 768px) {
  .reels-modal-backdrop {
    padding: 0 !important;
    background: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
  }

  .reels-modal-wrapper {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed !important;
    inset: 0 !important;
  }

  .reels-modal-container {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    border: none !important;
    position: absolute !important;
    inset: 0 !important;
    transform: translateY(100%);
    transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
    will-change: transform;
  }

  .reels-modal-backdrop.is-open .reels-modal-container {
    transform: translateY(0) !important;
  }

  .reels-slide,
  .reels-slide-poster,
  .reels-slide .reels-modal-video {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    object-fit: cover !important;
    border: none !important;
  }

  .reels-slide .reels-modal-iframe {
    position: absolute !important;
    top: -95px !important;
    left: -12% !important;
    width: 124vw !important;
    height: calc(100dvh + 190px) !important;
    border: none !important;
  }

  /* Hide floating navigation arrow circles on mobile for true story immersion */
  .reels-nav-btn {
    display: none !important;
  }

  /* Safe Area for iPhone Notch / Dynamic Island */
  .reels-progress-bars {
    top: calc(max(10px, env(safe-area-inset-top, 10px)) + 2px) !important;
    left: 10px !important;
    right: 10px !important;
    gap: 4px !important;
  }

  .reels-progress-seg {
    height: 2.5px !important;
  }

  .reels-modal-top {
    top: calc(max(10px, env(safe-area-inset-top, 10px)) + 14px) !important;
    left: 12px !important;
    right: 12px !important;
  }

  .reels-modal-title {
    font-size: 0.95rem !important;
    max-width: 240px !important;
  }

  .reels-modal-close,
  .reels-modal-sound {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  .reels-modal-close {
    font-size: 1.15rem !important;
  }

  /* Tap Navigation Zones (Left 35% = Prev, Right 65% = Next) */
  .reels-tap-zone {
    top: calc(max(10px, env(safe-area-inset-top, 10px)) + 55px) !important;
    bottom: calc(max(16px, env(safe-area-inset-bottom, 16px)) + 120px) !important;
  }

  /* Bottom Story Caption Overlay with Safe Area */
  .reels-modal-bottom {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-bottom: calc(max(18px, env(safe-area-inset-bottom, 18px)) + 0.75rem) !important;
    padding-top: 5rem !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%) !important;
  }

  .reels-heading {
    font-size: 1.25rem !important;
  }

  .reels-sub {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .story-trigger-card {
    padding: 4px 10px 4px 4px;
    gap: 8px;
  }
  .story-ring-avatar {
    width: 38px;
    height: 38px;
  }
  .story-trigger-title {
    font-size: 0.75rem;
  }
  .story-trigger-sub {
    font-size: 0.65rem;
  }
}

/* Hide Native Browser Picture-in-Picture Control */
video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  overflow: hidden;
}
