@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  * {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
  }
  html {
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: none; /* Hide default cursor on desktop */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
  }

  /* Disable Custom Cursor on Touch / Mobile devices */
  @media (hover: none) or (pointer: coarse) {
    body {
      cursor: auto !important;
    }
    .cursor {
      display: none !important;
    }
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  @media (max-width: 767px) {
    input, select, textarea {
      font-size: 16px !important;
    }
  }
}

@layer utilities {
  /* Lenis Recommended CSS */
  html.lenis { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: hidden; }
  .lenis.lenis-scrolling iframe { pointer-events: none; }

  /* ==========================================
     PRO LUXURY CUSTOM CURSOR (ALWAYS ON TOP & ROBUST)
     ========================================== */
  .osda-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffb800;
    box-shadow: 0 0 14px rgba(255, 184, 0, 0.9), 0 0 4px #ffffff;
    pointer-events: none !important;
    z-index: 2147483647 !important;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
    will-change: transform, width, height, opacity;
  }

  .osda-cursor.visible {
    opacity: 1;
  }

  .osda-cursor.hovered {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 184, 0, 0.2) !important;
    border: 2px solid #ffb800 !important;
    box-shadow: 0 0 25px rgba(255, 184, 0, 0.7) !important;
    backdrop-filter: blur(1px);
  }

  .osda-cursor.active {
    transform: translate(-50%, -50%) scale(0.85);
  }

  @media (max-width: 768px) {
    .osda-cursor {
      display: none !important;
    }
  }

  /* No Scrollbar Utility */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Mobile Horizontal Scroll Fade Mask */
  .scroll-fade-mask {
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  }

  /* Safe Area Inset Support */
  .safe-bottom {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .safe-top {
    padding-top: env(safe-area-inset-top);
  }

  /* Mobile Active Touch Tap Feel */
  @media (hover: none) {
    .touch-feedback:active,
    .mobile-nav-item-pro:active,
    .floating-action-btn:active {
      transform: scale(0.96);
      transition: transform 0.12s ease;
    }
  }
  
  /* Text Masks */
  .line-mask {
    overflow: hidden;
    line-height: 1.2;
  }
  
  /* Clip Path Masks */
  .img-mask {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
  }

  /* Hero Navigation Buttons (360 Rotate Hover Effect) */
  .hero-nav-btn {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background: transparent;
  }
  @media (min-width: 768px) {
    .hero-nav-btn {
      width: 3.5rem;
      height: 3.5rem;
    }
  }

  /* Inner Solid Circle */
  .hero-nav-btn::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background-color: #fbb03b;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
    z-index: 1;
  }

  /* Define angle property for conic-gradient animation */
  @property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }

  /* Spinning Border */
  .hero-nav-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 1px; /* Border thickness */
    background: conic-gradient(#fbb03b var(--angle), transparent 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    --angle: 0deg;
    transition: --angle 0.8s ease-in-out, opacity 0.3s;
  }

  /* Hover States */
  .hero-nav-btn:hover {
    border-color: transparent;
    color: #ffffff;
  }
  .hero-nav-btn:hover::before {
    transform: scale(1);
  }
  .hero-nav-btn:hover::after {
    opacity: 1;
    --angle: 360deg;
  }
  .hero-nav-btn i,
  .hero-nav-btn svg {
    position: relative;
    z-index: 2;
  }
  /* Navigation Link Hover & Active Effect */
  .nav-link {
    position: relative;
    display: inline-block;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fbb03b;
    transition: width 0.3s ease-in-out;
  }
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  /* Override Hover.css Sweep To Right Color & fix border */
  .hvr-sweep-to-right {
    overflow: hidden !important;
    z-index: 1;
  }
  .hvr-sweep-to-right::before {
    background: var(--sweep-color, #e09b2e);
    border-radius: inherit;
  }

  /* Marquee Animation for Partners */
  @keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
  }
  .animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
  }
  .animate-marquee:hover {
    animation-play-state: paused;
  }

  /* Certificate Gold Badge Glow */
  .gold-badge-glow {
    box-shadow: 0 0 25px rgba(251, 176, 59, 0.25);
  }
  .gold-badge-glow:hover {
    box-shadow: 0 0 35px rgba(251, 176, 59, 0.45);
  }

  /* Odometer Font & Alignment Overrides */
  .odometer {
    font-family: inherit !important;
    display: inline-block;
    vertical-align: middle;
  }
  .odometer .odometer-digit {
    font-family: inherit !important;
  }
}

/* ==========================================================================
   SPLIDE GALLERY PRO NAVIGATION (Ultra-Luxury Glassmorphism & Gold Glow)
   ========================================================================== */
#main-slider .splide__arrows {
  pointer-events: auto !important;
}

#main-slider .splide__arrow {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  opacity: 0.95 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 30 !important;
}

#main-slider .splide__arrow * {
  pointer-events: none !important;
}

#main-slider .splide__arrow--prev {
  left: 1.25rem !important;
}

#main-slider .splide__arrow--next {
  right: 1.25rem !important;
}

#main-slider .splide__arrow svg,
#main-slider .splide__arrow--prev svg,
#main-slider .splide__arrow--next svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2.5px !important;
  transform: none !important;
  pointer-events: none !important;
  transition: stroke 0.3s ease, transform 0.3s ease !important;
}

#main-slider .splide__arrow:hover:not(:disabled) {
  background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #0F172A !important;
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.85), 0 10px 20px -5px rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-50%) scale(1.14) !important;
  opacity: 1 !important;
}

#main-slider .splide__arrow:hover:not(:disabled) svg {
  stroke: #0F172A !important;
}

#main-slider .splide__arrow--prev:hover:not(:disabled) svg {
  transform: translateX(-3px) !important;
}

#main-slider .splide__arrow--next:hover:not(:disabled) svg {
  transform: translateX(3px) !important;
}

#main-slider .splide__arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94) !important;
}

#main-slider .splide__arrow:disabled {
  opacity: 0.2 !important;
  cursor: not-allowed !important;
}

/* Thumbnail Slides PRO Styling */
#thumbnail-slider .splide__slide {
  border-radius: 1rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 2.5px solid transparent !important;
  opacity: 0.5 !important;
  transform: scale(0.97) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#thumbnail-slider .splide__slide img {
  border-radius: 0.75rem !important;
  transition: transform 0.5s ease !important;
}

#thumbnail-slider .splide__slide:hover {
  opacity: 0.9 !important;
  transform: scale(1) !important;
}

#thumbnail-slider .splide__slide:hover img {
  transform: scale(1.05) !important;
}

#thumbnail-slider .splide__slide.is-active {
  border-color: #FFB800 !important;
  opacity: 1 !important;
  transform: scale(1.02) !important;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

#thumbnail-slider .splide__slide.is-active img {
  transform: scale(1) !important;
}

/* ==========================================================================
   FANCYBOX POPUP PRO LUXURY STYLING
   ========================================================================== */
.fancybox-bg {
  background: rgba(10, 15, 24, 0.94) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}

.fancybox-toolbar {
  background: transparent !important;
  padding: 12px 16px !important;
}

.fancybox-button {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 4px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.fancybox-button svg {
  color: #ffffff !important;
}

.fancybox-button:hover:not([disabled]) {
  background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #0F172A !important;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.7) !important;
  transform: scale(1.1) !important;
}

.fancybox-button:hover:not([disabled]) svg {
  color: #0F172A !important;
}

.fancybox-navigation .fancybox-button {
  width: 52px !important;
  height: 52px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
}

.fancybox-caption {
  background: linear-gradient(to top, rgba(10, 15, 24, 0.95), transparent) !important;
  border: none !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  padding: 24px !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
}

.fancybox-caption__body {
  max-width: 800px !important;
  margin: 0 auto !important;
}

.fancybox-thumbs {
  background: rgba(10, 15, 24, 0.95) !important;
}

.fancybox-thumbs__list a::before {
  border-color: #FFB800 !important;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.6) !important;
}

/* ==========================================================================
   VIDEO PAGE PRO CINEMATIC STYLING & ANIMATIONS
   ========================================================================== */
@keyframes play-pulse-wave {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(255, 184, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
  }
}

@keyframes sonar-wave-outer {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

@keyframes sonar-wave-inner {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

.play-pulse {
  animation: play-pulse-wave 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.sonar-ring-1 {
  animation: sonar-wave-outer 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sonar-ring-2 {
  animation: sonar-wave-inner 2.4s infinite cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}

.video-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 184, 0, 0.35);
}

.cinema-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinema-card:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3), 0 0 0 1.5px rgba(255, 184, 0, 0.4);
}

.playlist-card-pro {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.playlist-card-pro:hover {
  transform: translateX(4px);
  border-color: rgba(255, 184, 0, 0.4) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 0 15px rgba(255, 184, 0, 0.15) !important;
}

.badge-4k-glow {
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.4);
}

.video-filter-pill {
  transition: all 0.25s ease;
}

.video-filter-pill.active {
  background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  border-color: #F59E0B !important;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.35) !important;
}

.video-card-pro {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1.5px rgba(255, 184, 0, 0.4);
}

.video-play-btn-pro {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card-pro:hover .video-play-btn-pro {
  transform: scale(1.15);
  background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
  color: #0F172A !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.75) !important;
}

.video-card-pro:hover .video-play-btn-pro svg {
  fill: #0F172A !important;
}

/* ==========================================================================
   YOUTUBE VIP CREATOR HUB PRO STYLING
   ========================================================================== */
@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(14deg); }
  20%, 40%, 60%, 80% { transform: rotate(-14deg); }
}

.bell-shake {
  animation: bell-ring 3s infinite ease-in-out;
  transform-origin: top center;
}

@keyframes red-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.35), 0 0 50px rgba(255, 184, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 45px rgba(239, 68, 68, 0.65), 0 0 70px rgba(255, 184, 0, 0.3);
  }
}

.youtube-glow {
  animation: red-glow-pulse 3s infinite ease-in-out;
}

.youtube-stat-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.youtube-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 184, 0, 0.5) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 184, 0, 0.2) !important;
}

/* ==========================================================================
   NEWS (TIN TỨC) PAGE STYLING & ANIMATIONS
   ========================================================================== */
.news-card-pro {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(255, 184, 0, 0.3);
}

.news-filter-pill {
  transition: all 0.25s ease;
}

.news-filter-pill.active {
  background: linear-gradient(135deg, #FFB800 0%, #F59E0B 100%) !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  border-color: #F59E0B !important;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.35) !important;
}

.sidebar-widget {
  transition: all 0.3s ease;
}

.tag-pill {
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background-color: #FFB800 !important;
  color: #0F172A !important;
  border-color: #FFB800 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.25);
}

/* Header CTA Button Sweep Hover */
.hvr-sweep-to-right {
  overflow: hidden !important;
  border-radius: 9999px !important;
  position: relative !important;
}

.hvr-sweep-to-right:before {
  background: #0F172A !important;
  border-radius: 9999px !important;
}

.hvr-sweep-to-right:hover {
  color: #FFFFFF !important;
}

.hvr-sweep-to-right:hover i {
  color: #FFB800 !important;
}

/* Scrollbar-none utility */
.scrollbar-none::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.scrollbar-none {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Pro News Filter Tab */
.news-filter-tab-pro {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-filter-tab-pro.active {
  background: linear-gradient(135deg, #F59E0B 0%, #FFB800 50%, #FBBF24 100%) !important;
  color: #0B1320 !important;
  font-weight: 800 !important;
  border-color: rgba(251, 191, 36, 0.8) !important;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-1px);
}

.news-filter-tab-pro.active .tab-count-badge {
  background: #0B1320 !important;
  color: #FFB800 !important;
}

.news-filter-tab-pro:not(.active):hover {
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #D97706 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   PRO LUXURY NEWS CARDS STYLING
   ========================================================================== */
.news-card-pro-vip {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 640px) {
  .news-card-pro-vip {
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 195px !important;
    max-height: 225px !important;
  }
}

.news-card-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  background: #0f172a !important;
}

@media (min-width: 640px) {
  .news-card-thumb-wrap {
    width: 260px !important;
    height: auto !important;
  }
}

@media (min-width: 1024px) {
  .news-card-thumb-wrap {
    width: 280px !important;
  }
}

.news-card-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
}

.news-card-pro-vip:hover .news-card-thumb-wrap img {
  transform: scale(1.08) !important;
}

.news-card-body {
  padding: 20px 24px !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  background: #ffffff !important;
}

.news-card-pro-vip:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 0 20px rgba(255, 184, 0, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
}

.news-calendar-badge-pro {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
}

.news-card-pro-vip:hover .news-calendar-badge-pro {
  transform: scale(1.05) !important;
  border-color: rgba(255, 184, 0, 0.9) !important;
}

/* Pro Related Article Card */
.related-card-pro-vip {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card-pro-vip:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -12px rgba(15, 23, 42, 0.12), 0 0 20px rgba(255, 184, 0, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
}

/* Pro Contact Hub Card */
.contact-card-pro-vip {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-pro-vip:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.14), 0 0 25px rgba(255, 184, 0, 0.2) !important;
}

.contact-card-pro-vip:hover .card-icon-squircle {
  transform: scale(1.1) rotate(3deg);
}

/* Pro Process Timeline Step Card */
.process-step-pro-vip {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step-pro-vip:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 25px rgba(255, 184, 0, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
}

.process-step-pro-vip:hover .process-node-squircle {
  transform: scale(1.1) rotate(4deg);
  border-color: #FFB800 !important;
  box-shadow: 0 15px 35px rgba(255, 184, 0, 0.35) !important;
}

/* Pro Network Hub Card */
.network-hub-card-pro {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.network-hub-card-pro:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 184, 0, 0.25) !important;
}

.network-hub-card-pro:hover .hub-icon-squircle {
  transform: scale(1.1) rotate(4deg);
}

/* Pro Product Showcase Stage & Golden Spec Cards */
.product-stage-pro-vip {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card-pro-vip {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card-pro-vip:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(245, 158, 11, 0.25) !important;
  border-color: #F59E0B !important;
}

.thumb-btn-vip {
  transition: all 0.3s ease;
}

.thumb-btn-vip.active {
  border-color: #F59E0B !important;
  background-color: #FFFBEB !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

/* Pro Technical Tabs & Datasheet */
.segmented-tab-pro {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.segmented-tab-pro.active {
  background: linear-gradient(135deg, #F59E0B, #FFB800) !important;
  color: #0F172A !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-2px);
}

.datasheet-row-pro {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.datasheet-row-pro:hover {
  background-color: #FFFBEB !important;
}

/* Pro Solar Capacity Calculator Simulator */
.calc-stage-pro {
  transition: all 0.4s ease;
}

.calc-stat-card-pro {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-stat-card-pro:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2) !important;
}

.quick-bill-btn {
  transition: all 0.25s ease;
}

.quick-bill-btn.active, .quick-bill-btn:hover {
  background: linear-gradient(135deg, #F59E0B, #FFB800) !important;
  color: #0B1320 !important;
  border-color: #F59E0B !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

/* Pro Ecosystem Cards */
.ecosystem-card-pro-vip {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecosystem-card-pro-vip:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 25px rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.ecosystem-card-pro-vip:hover .eco-img-frame img {
  transform: scale(1.08);
}

/* Pro Luxury Mobile Slide-Over Drawer */
.mobile-drawer-backdrop {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.mobile-drawer-content {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(100%);
}

.mobile-drawer-container.active .mobile-drawer-backdrop {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-drawer-container.active .mobile-drawer-content {
  transform: translateX(0) !important;
}

.mobile-nav-item-pro {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item-pro:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  transform: translateX(4px);
}

.mobile-nav-item-pro.active {
  background: linear-gradient(135deg, #F59E0B, #FFB800) !important;
  color: #0B1320 !important;
  border-color: #F59E0B !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35) !important;
}

.mobile-nav-item-pro.active .mobile-icon-box {
  background-color: #0B1320 !important;
  color: #FFB800 !important;
}

.mobile-nav-item-pro.active .mobile-chevron {
  color: #0B1320 !important;
  transform: translateX(3px);
}

/* ==========================================
   PRO LUXURY FLOATING ACTION & CONTACT HUB
   ========================================== */
.floating-contact-hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

@media (max-width: 767px) {
  .floating-contact-hub {
    bottom: 20px;
    right: 16px;
    gap: 8px;
  }
}

.floating-action-btn {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 767px) {
  .floating-action-btn {
    width: 44px;
    height: 44px;
  }
}

.floating-action-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

/* Master Toggle Button on Mobile */
.floating-master-btn {
  display: none !important;
  background: linear-gradient(135deg, #F59E0B, #FFB800, #FBBF24);
  color: #0B1320;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45);
}

@media (max-width: 767px) {
  .floating-master-btn {
    display: flex !important;
  }
}

.floating-master-btn::before,
.floating-master-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.7;
  z-index: -1;
  animation: pulse-radar 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.floating-master-btn::after {
  animation-delay: 1.2s;
}

.floating-contact-hub.active .floating-master-btn .master-open-icon {
  display: none;
}

.floating-contact-hub.active .floating-master-btn .master-close-icon {
  display: block;
}

.floating-contact-hub.active .floating-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Expandable Speed-Dial */
@media (max-width: 767px) {
  .floating-contact-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.85);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    align-items: flex-end;
  }

  .floating-contact-hub.active .floating-contact-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  /* Mobile pill style with text */
  .floating-contact-menu .floating-action-btn {
    width: auto;
    height: 40px;
    border-radius: 9999px;
    padding: 0 14px 0 10px;
    gap: 8px;
  }

  .floating-mobile-label {
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .floating-hotline-btn .floating-mobile-label {
    color: #0B1320;
  }

  .floating-zalo-btn .floating-mobile-label,
  .floating-messenger-btn .floating-mobile-label {
    color: #ffffff;
  }
}

/* Desktop Contact Menu */
@media (min-width: 768px) {
  .floating-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* 1. Hotline Button */
.floating-hotline-btn {
  background: linear-gradient(135deg, #F59E0B, #FFB800, #FBBF24);
  color: #0B1320;
}

@media (min-width: 768px) {
  .floating-hotline-btn::before,
  .floating-hotline-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.7;
    z-index: -1;
    animation: pulse-radar 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  }

  .floating-hotline-btn::after {
    animation-delay: 1.2s;
  }
}

.floating-hotline-btn:hover .phone-icon-anim {
  animation: phone-wobble 0.8s ease infinite;
}

@keyframes pulse-radar {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

@keyframes phone-wobble {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-14deg); }
  30% { transform: rotate(14deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  75% { transform: rotate(-4deg); }
}

/* 2. Zalo Button */
.floating-zalo-btn {
  background: linear-gradient(135deg, #0068FF, #0084FF, #29B6F6);
  color: #ffffff;
}

.floating-zalo-btn:hover {
  box-shadow: 0 10px 25px rgba(0, 104, 255, 0.45);
}

/* 3. Messenger Button */
.floating-messenger-btn {
  background: linear-gradient(135deg, #00B2FE, #006AFF, #9B51E0, #FF52D9);
  color: #ffffff;
}

.floating-messenger-btn:hover {
  box-shadow: 0 10px 25px rgba(155, 81, 224, 0.45);
}

/* 4. Back To Top Button */
.floating-backtop-btn {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  color: #FFB800;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-backtop-btn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-backtop-btn:hover {
  background: #FFB800;
  border-color: #FFB800;
  color: #0B1320;
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.4);
}

/* Floating Tooltips */
.floating-tooltip-vip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-tooltip-vip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.95);
}

@media (min-width: 768px) {
  .floating-action-btn:hover .floating-tooltip-vip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Page with Sticky Bottom Bar on Mobile */
@media (max-width: 767px) {
  body.has-bottom-bar .floating-contact-hub {
    bottom: 74px !important;
  }
}

/* ==========================================
   PRO LUXURY TOAST NOTIFICATION
   ========================================== */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 640px) {
  #toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
  }
}

.toast-vip {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2);
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-vip.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-vip.hide {
  transform: translateY(-20px) scale(0.9);
  opacity: 0;
}

/* ==========================================
   INFINITE MARQUEE ANIMATION
   ========================================== */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   PRO FAQ LUXURY ACCORDION
   ========================================== */
.faq-card-vip {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card-vip.active {
  border-color: rgba(245, 158, 11, 0.7) !important;
  box-shadow: 0 16px 36px -10px rgba(245, 158, 11, 0.18), 0 0 20px rgba(251, 191, 36, 0.12) !important;
  background: #ffffff !important;
}

.faq-card-vip.active .faq-chevron-box {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
  color: #0b1320 !important;
  transform: rotate(180deg);
}

.faq-card-vip.active .faq-question-title {
  color: #d97706 !important;
}

/* ==========================================
   FOOTER & FLOATING CTA BANNER SPACING
   ========================================== */
.footer {
  padding-top: 170px !important;
}

@media (min-width: 1024px) {
  .footer {
    padding-top: 155px !important;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 200px !important;
  }
}
/* ==========================================
   PROJECT DETAIL GALLERY THUMBNAILS
   ========================================== */
.project-gallery-thumbs {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.project-gallery-thumbs .project-thumb-btn {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  height: 75px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background-color: #0f172a !important;
  padding: 0 !important;
}

@media (min-width: 640px) {
  .project-gallery-thumbs .project-thumb-btn {
    height: 85px !important;
  }
}

@media (min-width: 1024px) {
  .project-gallery-thumbs .project-thumb-btn {
    height: 95px !important;
  }
}

/* ==========================================
   PAGINATION ICONS & BORDERLESS BUTTONS
   ========================================== */
.osda-pagination a,
.osda-pagination span,
.osda-pagination .page-numbers {
  border: none !important;
  outline: none !important;
}

.osda-pagination a svg,
.osda-pagination span svg,
.osda-pagination svg {
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* ==========================================
   HIGH-TECH PRODUCT IMAGE LIGHTBOX POPUP
   ========================================== */
#product-img-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  background: rgba(4, 8, 18, 0.94) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

#product-img-lightbox.active {
  display: flex !important;
}

.lightbox-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  z-index: 1 !important;
}

.lightbox-modal-card {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 860px !important;
  max-height: 92vh !important;
  background: linear-gradient(180deg, #0f172a 0%, #070d19 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.55) !important;
  border-radius: 32px !important;
  padding: 20px 24px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(245, 158, 11, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  animation: lightboxScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes lightboxScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lightbox-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.lightbox-img-wrap {
  width: 100% !important;
  height: 460px !important;
  max-height: 54vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  position: relative !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%) !important;
  border-radius: 20px !important;
  margin: 12px 0 8px 0 !important;
}

.lightbox-img-wrap img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95)) !important;
  transition: transform 0.25s ease-out !important;
  user-select: none !important;
}

.lightbox-floating-tools {
  margin-bottom: 12px;
}

.lightbox-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-tool-btn:hover {
  background: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
  transform: scale(1.08);
}

.lightbox-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
}

/* ==========================================
   HOMEPAGE NEWS SIDE HORIZONTAL CARDS
   ========================================== */
.home-news-side-item {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.home-news-side-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px) !important;
}

.home-news-thumb-box {
  position: relative !important;
  width: 140px !important;
  height: 94px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #0f172a !important;
}

@media (min-width: 640px) {
  .home-news-thumb-box {
    width: 160px !important;
    height: 102px !important;
  }
}

.home-news-thumb-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}

.home-news-side-item:hover .home-news-thumb-box img {
  transform: scale(1.08) !important;
}

.home-news-thumb-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  opacity: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.3s ease !important;
}

.home-news-side-item:hover .home-news-thumb-overlay {
  opacity: 1 !important;
}

.home-news-readmore-pill {
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  transform: scale(0.85) !important;
  transition: transform 0.3s ease, background-color 0.2s ease !important;
  white-space: nowrap !important;
}

.home-news-side-item:hover .home-news-readmore-pill {
  transform: scale(1) !important;
}

/* ==========================================================================
   PRO LUXURY NAVIGATION & MEGA-MENU SYSTEM
   ========================================================================== */

/* Top Level Nav Link */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after,
.osda-nav-item-dropdown:hover > .nav-link::after,
.osda-nav-item-dropdown.is-open > .nav-link::after {
  width: 80%;
}

.osda-nav-item-dropdown:hover > .nav-link,
.osda-nav-item-dropdown.is-open > .nav-link {
  color: #d97706;
}

.nav-chevron {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.osda-nav-item-dropdown:hover .nav-chevron,
.osda-nav-item-dropdown:focus-within .nav-chevron,
.osda-nav-item-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  color: #d97706;
}

/* ===================================================
   PRO LUXURY MEGA MENU (PRODUCT CATALOG)
   =================================================== */
.osda-mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 920px;
  max-width: calc(100vw - 32px);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.18),
              0 0 35px rgba(245, 158, 11, 0.08),
              0 0 0 1px rgba(245, 158, 11, 0.05);
  padding: 20px 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
  will-change: opacity, transform, visibility;
  z-index: 100;
}

/* Hover safe bridge */
.osda-mega-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
}

/* Mega Menu Active / Hover State */
.osda-nav-item-dropdown:hover > .osda-mega-menu,
.osda-nav-item-dropdown:focus-within > .osda-mega-menu,
.osda-nav-item-dropdown.is-open > .osda-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Mega Menu Grid Layout */
.osda-mega-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: stretch;
}

/* Left Column: Categories List */
.osda-mega-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.osda-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(241, 245, 249, 1);
}

.osda-mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.osda-mega-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.osda-mega-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #fffbeb;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 10px;
  border-radius: 9999px;
}

.osda-mega-cat-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Mega Category Card */
.mega-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
  will-change: transform, box-shadow, background-color, border-color;
}

.mega-cat-item:hover {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.55) 0%, #ffffff 100%) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 8px 18px -4px rgba(245, 158, 11, 0.16), 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.mega-cat-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mega-cat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-cat-item:hover .mega-cat-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

/* Icon Color Themes */
.mega-cat-icon-wrap.theme-amber {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.mega-cat-icon-wrap.theme-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.25);
}
.mega-cat-icon-wrap.theme-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.mega-cat-icon-wrap.theme-purple {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.25);
}
.mega-cat-icon-wrap.theme-orange {
  background: rgba(234, 88, 12, 0.13);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.28);
}
.mega-cat-icon-wrap.theme-slate {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

.mega-cat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.mega-cat-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
}

.mega-cat-item:hover .mega-cat-title {
  color: #d97706;
}

.mega-cat-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-amber { background: #fef3c7; color: #92400e; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-blue { background: #dbeafe; color: #1e40af; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-emerald { background: #d1fae5; color: #065f46; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-purple { background: #f3e8ff; color: #6b21a8; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-orange { background: #ffedd5; color: #9a3412; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-slate { background: #f1f5f9; color: #475569; border: 1px solid rgba(148, 163, 184, 0.3); }

.mega-cat-desc {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.25;
  font-weight: 500;
}

.mega-cat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-cat-count {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background: #ffffff;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.mega-cat-item:hover .mega-cat-count {
  border-color: #f59e0b;
  color: #d97706;
}

.mega-cat-arrow {
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.2s ease;
}

.mega-cat-item:hover .mega-cat-arrow {
  color: #d97706;
  transform: translateX(3px);
}

/* Staggered entrance animation for Category items */
.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item,
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item {
  animation: megaItemSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item:nth-child(1),
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item:nth-child(1) { animation-delay: 0.03s; }

.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item:nth-child(2),
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item:nth-child(2) { animation-delay: 0.06s; }

.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item:nth-child(3),
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item:nth-child(3) { animation-delay: 0.09s; }

.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item:nth-child(4),
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item:nth-child(4) { animation-delay: 0.12s; }

.osda-nav-item-dropdown:hover .osda-mega-cat-list .mega-cat-item:nth-child(5),
.osda-nav-item-dropdown.is-open .osda-mega-cat-list .mega-cat-item:nth-child(5) { animation-delay: 0.15s; }

@keyframes megaItemSlideIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Bottom Trust Bar */
.osda-mega-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  font-weight: 600;
}

.osda-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Right Column: Featured Showcase Card */
.osda-mega-col-right {
  display: flex;
}

.osda-mega-featured-card {
  background: linear-gradient(145deg, #090e17 0%, #0f172a 60%, #1e293b 100%);
  border-radius: 20px;
  padding: 16px 18px;
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.osda-featured-glow-spot {
  position: absolute;
  right: -25px;
  top: -25px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 70%);
  border-radius: 9999px;
  pointer-events: none;
}

.osda-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.osda-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #020617;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.osda-featured-brand {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.08em;
  font-family: monospace;
}

.osda-featured-img-wrap {
  padding: 6px 0;
  text-align: center;
}

.osda-featured-img {
  height: 110px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.85));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.osda-mega-featured-card:hover .osda-featured-img {
  transform: scale(1.06) translateY(-3px);
}

.osda-featured-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.osda-featured-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.osda-featured-title a:hover {
  color: #fbbf24;
}

.osda-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.osda-tech-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.osda-tech-tag.tag-gold { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.osda-tech-tag.tag-blue { background: rgba(59, 130, 246, 0.18); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.35); }
.osda-tech-tag.tag-green { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35); }

.osda-featured-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.osda-view-all-link {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.osda-view-all-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.osda-hotline-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5.5px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #020617;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.osda-hotline-btn:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* ===================================================
   STANDARD LUXURY DROPDOWN (OTHER MENU ITEMS)
   =================================================== */
.osda-standard-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16),
              0 0 20px rgba(245, 158, 11, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s ease;
  will-change: opacity, transform, visibility;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.osda-standard-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
}

.osda-nav-item-dropdown:hover > .osda-standard-dropdown,
.osda-nav-item-dropdown:focus-within > .osda-standard-dropdown,
.osda-nav-item-dropdown.is-open > .osda-standard-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.osda-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.osda-dropdown-dot {
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #cbd5e1;
  transition: all 0.2s ease;
}

.osda-dropdown-link:hover {
  background: #fef3c7;
  color: #d97706;
  transform: translateX(3px);
}

.osda-dropdown-link:hover .osda-dropdown-dot {
  background: #d97706;
  transform: scale(1.5);
}

.osda-dropdown-link.active-dropdown-item {
  background: #fef3c7;
  color: #d97706;
  font-weight: 700;
}

/* ===================================================
   MOBILE MENU ACCORDIONS
   =================================================== */
.mobile-accordion-group {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-accordion-group.is-open {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

#mobile-products-sublist.open {
  display: block !important;
  animation: mobileSublistSlide 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileSublistSlide {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   MOBILE UI/UX PRO ENHANCEMENTS
   =================================================== */

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
  -webkit-overflow-scrolling: touch;
}

/* Horizontal swipeable chip bar on mobile */
.mobile-swipe-filter {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.mobile-swipe-filter > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Prevent iOS Safari 16px auto-zoom on input focus */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Mobile Sticky Product Action Conversion Bar */
.mobile-sticky-product-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-product-bar.is-visible {
  transform: translateY(0);
}

/* Reading Progress Bar for Single Posts */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #f59e0b, #eab308, #fbbf24);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}
