/* TIMESTONE SMART WATCHES - LUXURY & PERFORMANCE STYLING */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89728;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* Glassmorphism & Luxury effects */
.glass-nav {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-badge {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff;
}

/* Smooth Product Card Animation */
.product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide-over Cart Drawer */
#cart-drawer-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  z-index: 100 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.cart-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  background-color: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
  pointer-events: none;
}

.cart-drawer-content {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 440px !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3) !important;
  pointer-events: auto;
  z-index: 102 !important;
}

@media (max-width: 480px) {
  .cart-drawer-content {
    max-width: 100% !important;
    width: 100% !important;
  }
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

body.drawer-open #cart-drawer-container {
  pointer-events: auto !important;
}

body.drawer-open .cart-drawer-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.drawer-open .cart-drawer-content {
  transform: translateX(0) !important;
}

/* Toast Notifications */
.toast {
  animation: slideInUp 0.3s ease forwards;
  pointer-events: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Badge pulse for trending items */
.badge-pulse {
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Hero Ambient Gold Glow */
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.05) 45%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
}

/* Pull to Refresh Round Symbol */
#pull-refresh-indicator {
  will-change: transform, opacity;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.25), 0 0 15px rgba(212, 175, 55, 0.3);
}

.spinner-rotate {
  animation: roundSpin 0.75s linear infinite;
}

@keyframes roundSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Chrono the AI Panda Mascot Animations */
.panda-float {
  animation: pandaFloat 3s ease-in-out infinite;
}

#chrono-panda-container:hover .panda-float {
  animation-play-state: paused;
}

@keyframes pandaFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.panda-wave {
  animation: pandaWave 2.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes pandaWave {
  0%, 100% {
    transform: rotate(0deg);
  }
  20%, 60% {
    transform: rotate(14deg);
  }
  40%, 80% {
    transform: rotate(-10deg);
  }
}

.panda-blink {
  animation: pandaBlink 4s infinite;
}

@keyframes pandaBlink {
  0%, 95%, 100% {
    transform: scaleY(1);
  }
  97% {
    transform: scaleY(0.1);
  }
}

.bubble-pop {
  animation: bubblePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bubblePop {
  0% {
    transform: scale(0.6) translateY(10px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.chat-slide-up {
  animation: chatSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chatSlide {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* 🐼 Chrono Corner Attached Box Styles */
.chrono-corner-container {
  transition: left 1.1s cubic-bezier(0.25, 1, 0.5, 1), 
              top 1.1s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.4s ease;
}

@keyframes cornerSnap {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
  }
  60% {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  }
}

.corner-snap-active {
  animation: cornerSnap 0.5s ease-out;
}

/* Corner Attachment docking styling */
.corner-dock-bl {
  border-bottom-left-radius: 4px !important;
}

.corner-dock-tl {
  border-top-left-radius: 4px !important;
}

.corner-dock-tr {
  border-top-right-radius: 4px !important;
}

.corner-dock-br {
  border-bottom-right-radius: 4px !important;
}

/* 🐼 Chrono Drag and Drop Styling */
.chrono-dragging {
  cursor: grabbing !important;
  transition: none !important;
  transform: scale(1.12) rotate(-3deg) !important;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.7));
  z-index: 60 !important;
}

@keyframes pandaDropBounce {
  0% {
    transform: scale(1.15);
  }
  45% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.panda-drop-bounce {
  animation: pandaDropBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 🐼 Smooth Glide to Corner when Suggestion is Closed */
.chrono-corner-glide {
  transition: left 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
              top 0.75s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 🐼 Minimized Corner Mode: Panda reduces to small compact badge in corner */
#chrono-avatar-btn, #chrono-panda-svg {
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s ease, 
              border-width 0.3s ease !important;
}

#chrono-panda-container.panda-minimized #chrono-avatar-btn {
  width: 46px !important;
  height: 46px !important;
  border-width: 1.5px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 15px rgba(245, 158, 11, 0.35) !important;
}

#chrono-panda-container.panda-minimized #chrono-panda-svg {
  width: 34px !important;
  height: 34px !important;
}

#chrono-panda-container.panda-minimized #chrono-stop-btn {
  display: none !important;
}

#chrono-panda-container.panda-minimized .panda-float {
  animation: none !important;
}

/* Mobile Bottom Nav clearance for Chrono Panda & Reopen Pill */
#chrono-reopen-pill {
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 768px) {
  #chrono-panda-container[style*="bottom: 24px"],
  #chrono-panda-container[style*="bottom: 20px"],
  #chrono-reopen-pill,
  #chrono-reopen-group,
  #chrono-reopen-walk-btn {
    bottom: 76px !important;
  }
}

#chrono-chat-window.hidden {
  display: none !important;
}

/* Hide Chrono Panda on Sign-In & Authentication screens */
body.auth-screen #chrono-panda-container,
body.auth-screen #chrono-reopen-group,
body.auth-screen #chrono-chat-window {
  display: none !important;
}

/* ========================================================= */
/* 🛒 PINNED FLOATING CART ICON (TOP-RIGHT ON SCROLL)        */
/* ========================================================= */

#pinned-cart-btn {
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              opacity 0.25s ease,
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.5), 0 0 18px rgba(245, 158, 11, 0.25);
  touch-action: manipulation;
}

#pinned-cart-btn:hover {
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.65), 0 0 26px rgba(245, 158, 11, 0.45);
}

#pinned-cart-btn.pinned-visible {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#pinned-cart-btn.pinned-hidden {
  transform: translateY(-80px) scale(0.75) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ========================================================= */
/* ⌚ NAVBAR WATCHES & COLLECTIONS DROPDOWN MENU             */
/* ========================================================= */

#watches-dropdown-container:hover #watches-dropdown-menu,
#watches-dropdown-container:focus-within #watches-dropdown-menu,
#watches-dropdown-menu.dropdown-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

#watches-dropdown-container:hover #watches-dropdown-chevron,
#watches-dropdown-container:focus-within #watches-dropdown-chevron,
#watches-dropdown-container.dropdown-active #watches-dropdown-chevron {
  transform: rotate(180deg);
  color: #fbbf24;
}

#watches-dropdown-menu {
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.22s ease;
}

/* Luxury Multi-layer Background & Shadow for Dropdown Panel */
.dropdown-luxury-bg {
  background: linear-gradient(168deg, #131d31 0%, #0f172a 45%, #080d1a 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.95), 
              0 0 35px rgba(245, 158, 11, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
}

/* Individual Category Item Card Background */
.dropdown-item-card {
  background-color: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(51, 65, 85, 0.7);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item-card:hover {
  background-color: rgba(30, 41, 59, 0.95);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 14px rgba(245, 158, 11, 0.14);
  transform: translateY(-1px);
}

/* ========================================================= */
/* 🛡️ NAVBAR ADMIN PORTAL DROPDOWN MENU                     */
/* ========================================================= */

#admin-dropdown-container:hover #admin-dropdown-menu,
#admin-dropdown-container:focus-within #admin-dropdown-menu,
#admin-dropdown-menu.dropdown-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

#admin-dropdown-container:hover #admin-dropdown-chevron,
#admin-dropdown-container:focus-within #admin-dropdown-chevron,
#admin-dropdown-container.dropdown-active #admin-dropdown-chevron {
  transform: rotate(180deg);
  color: #fbbf24;
}

#admin-dropdown-menu {
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.2s ease;
}

/* ========================================================= */
/* ✨ AI WRIST MATCHER QUIZ STYLES                           */
/* ========================================================= */

.quiz-option-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #ffffff;
}

.quiz-option-card:hover {
  border-color: rgba(245, 158, 11, 0.6) !important;
  background-color: #fffdf5;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.12);
}

.quiz-option-card.selected {
  border-color: #f59e0b !important;
  background-color: #fffbeb !important;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.22) !important;
  transform: translateY(-2px);
}

.quiz-option-card.selected .option-check-circle {
  border-color: #f59e0b !important;
  background-color: #f59e0b !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.quiz-step-pane {
  animation: fadeInStep 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================= */
/* 📍 LIVE VISITOR SOCIAL PROOF TOAST (LEFT / RIGHT END)     */
/* ========================================================= */

#live-visitor-toast {
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.35s ease,
              right 0.35s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

#live-visitor-toast.toast-left {
  left: 1rem;
  right: auto;
  transform: translateX(-120%);
}

@media (min-width: 640px) {
  #live-visitor-toast.toast-left {
    left: 1.5rem;
  }
}

#live-visitor-toast.toast-right {
  left: auto !important;
  right: 1rem !important;
  transform: translateX(120%) !important;
}

@media (min-width: 640px) {
  #live-visitor-toast.toast-right {
    right: 1.5rem !important;
  }
}

#live-visitor-toast.toast-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
  pointer-events: auto !important;
}

#live-visitor-toast:hover {
  transform: translateY(-2px) !important;
}

#live-visitor-toast .group:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.18) !important;
}

/* ==========================================================================
   ✨ 3D FOOTER MODERN DESIGN SYSTEM & HOLOGRAPHIC EFFECTS
   ========================================================================== */

/* 3D Perspective Context */
.footer-3d-perspective {
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* 3D Horizon Ambient Pulse */
@keyframes horizonPulse {
  0%, 100% {
    opacity: 0.6;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.9));
  }
}

.footer-horizon-laser {
  animation: horizonPulse 4s ease-in-out infinite;
}

/* 3D Interactive Tilt Cards */
.footer-3d-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.68) 100%);
  border: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.footer-3d-card:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 
    0 24px 45px -12px rgba(245, 158, 11, 0.28),
    0 0 25px rgba(245, 158, 11, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.footer-3d-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 65%);
}

.footer-3d-card:hover .footer-3d-glare,
.vip-3d-banner:hover .footer-3d-glare,
.footer-3d-box:hover .footer-3d-glare {
  opacity: 1;
}

.footer-3d-card .icon-3d {
  transform: translateZ(30px);
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.footer-3d-card:hover .icon-3d {
  transform: translateZ(48px) scale(1.12);
}

.footer-3d-card .content-3d {
  transform: translateZ(18px);
  transform-style: preserve-3d;
}

/* 3D Glassmorphic Footer Box Container (Links & Support) */
.footer-3d-box {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.78) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(245, 158, 11, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.footer-3d-box:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 
    0 25px 50px -15px rgba(245, 158, 11, 0.22),
    0 0 35px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 3D Glassmorphic VIP Banner */
.vip-3d-banner {
  transform-style: preserve-3d;
  position: relative;
  background: 
    radial-gradient(circle at 10% 50%, rgba(245, 158, 11, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 
    0 25px 50px -15px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(245, 158, 11, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.vip-3d-banner:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

/* 3D Floating Smartwatch Holographic Widget */
@keyframes dialFloat3D {
  0%, 100% {
    transform: translateY(0px) rotateX(12deg) rotateY(-8deg);
  }
  50% {
    transform: translateY(-8px) rotateX(4deg) rotateY(12deg);
  }
}

@keyframes dialOrbitClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dialOrbitCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hologram-dial-sphere {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: dialFloat3D 6s ease-in-out infinite;
  background: radial-gradient(circle at 35% 35%, rgba(245, 158, 11, 0.22) 0%, rgba(15, 23, 42, 0.96) 70%);
  box-shadow: 
    0 15px 35px -5px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(245, 158, 11, 0.25),
    inset 0 0 20px rgba(245, 158, 11, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.45);
  cursor: grab;
}

.hologram-dial-sphere:active {
  cursor: grabbing;
}

.hologram-dial-ring-outer {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.45);
  animation: dialOrbitClockwise 25s linear infinite;
  pointer-events: none;
}

.hologram-dial-ring-middle {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-top-color: #fbbf24;
  border-bottom-color: #f59e0b;
  animation: dialOrbitCounter 18s linear infinite;
  pointer-events: none;
}

.hologram-dial-glare {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, transparent 60%);
  pointer-events: none;
}

/* 3D Tactile Buttons & Pills */
.btn-3d-amber {
  position: relative;
  box-shadow: 0 4px 0 #b45309, 0 8px 18px rgba(245, 158, 11, 0.3);
  transition: all 0.15s ease-out;
}

.btn-3d-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #b45309, 0 12px 22px rgba(245, 158, 11, 0.4);
}

.btn-3d-amber:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #b45309, 0 3px 6px rgba(245, 158, 11, 0.2);
}

.pill-3d {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.8);
  box-shadow: 0 3px 0 #1e293b, 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pill-3d:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 5px 0 #b45309, 0 10px 18px rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.pill-3d:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b45309, 0 2px 4px rgba(245, 158, 11, 0.15);
}

/* ========================================================
   🔮 SITE-WIDE 3D SPATIAL MODE STYLING & DEPTH SYSTEM
   ======================================================== */
body.spatial-3d-active {
  background-color: #0b0f19;
  transition: background-color 0.4s ease;
}

body.spatial-3d-active #page-wrapper {
  background-color: #0b0f19;
  color: #f1f5f9;
}

body.spatial-3d-active .bg-white {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #1e293b !important;
}

body.spatial-3d-active .text-slate-900,
body.spatial-3d-active .text-slate-950 {
  color: #f8fafc !important;
}

body.spatial-3d-active .text-slate-800 {
  color: #e2e8f0 !important;
}

body.spatial-3d-active .text-slate-600 {
  color: #94a3b8 !important;
}

/* 3D Depth on Product Cards & Highlights */
body.spatial-3d-active .product-card,
body.spatial-3d-active .watch-card,
body.spatial-3d-active [data-product-card] {
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  background-color: #111827 !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

body.spatial-3d-active .product-card:hover,
body.spatial-3d-active .watch-card:hover,
body.spatial-3d-active [data-product-card]:hover {
  transform: perspective(1200px) rotateX(4deg) rotateY(-4deg) translateZ(14px) scale3d(1.025, 1.025, 1.025);
  box-shadow: 0 25px 45px -12px rgba(6, 182, 212, 0.25), 0 0 30px rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

body.spatial-3d-active .product-card img,
body.spatial-3d-active .watch-card img,
body.spatial-3d-active [data-product-card] img {
  transform: translateZ(28px);
  filter: drop-shadow(0 15px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

/* Ambient 3D Depth Particle Field */
body.spatial-3d-active::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 45%);
  z-index: 1;
}

/* Floating 3D Mode Active Status Badge */
#floating-3d-badge {
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ========================================================
   ✨ 3D HERO SHOWCASE DESIGN SYSTEM & PARALLAX ENGINE
   ======================================================== */
.hero-3d-perspective-stage {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  will-change: transform;
}

.hero-3d-card.is-idle {
  animation: heroCardFloat3D 6s ease-in-out infinite;
}

@keyframes heroCardFloat3D {
  0%, 100% {
    transform: perspective(1200px) rotateX(2deg) rotateY(-3deg) translateY(0px);
  }
  50% {
    transform: perspective(1200px) rotateX(-2deg) rotateY(3deg) translateY(-8px);
  }
}

.hero-3d-layer-base {
  transform: translateZ(10px);
  transform-style: preserve-3d;
}

.hero-3d-layer-mid {
  transform: translateZ(26px);
  transform-style: preserve-3d;
}

.hero-3d-layer-high {
  transform: translateZ(42px);
  transform-style: preserve-3d;
}

.hero-3d-layer-pop {
  transform: translateZ(62px);
  transform-style: preserve-3d;
}

.hero-3d-watch-img {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.2));
}

.hero-3d-card:hover .hero-3d-watch-img {
  transform: translateZ(52px) scale(1.05);
  filter: drop-shadow(0 26px 32px rgba(245, 158, 11, 0.28));
}

.hero-3d-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 1.5rem;
  background: radial-gradient(circle 380px at 50% 50%, rgba(255, 255, 255, 0.45), rgba(245, 158, 11, 0.15) 35%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 25;
  mix-blend-mode: overlay;
}

.hero-3d-card:hover .hero-3d-glare {
  opacity: 1;
}

.hero-3d-ambient-shadow {
  position: absolute;
  inset: -14px;
  border-radius: 2.5rem;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.28), rgba(251, 191, 36, 0.12) 45%, transparent 70%);
  filter: blur(25px);
  transform: translateZ(-20px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}









