/* Core Restraints & Base Styling */
:root {
  --index: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 
  Hardware Accelerated Cascade Reveals
  Replaces standard React Framer Motion stagger for Vanilla deployments.
*/
.cascade-reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--index) * 150ms);
}

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

/* 
  Bento Box Premium Refraction (Anti-Slop Glass)
  Simulates a physical edge refraction without relying heavily on generic shadow-dom.
*/
.bento-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Active Touch Feedback */
.magnetic-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove default scrollbar for a cleaner look (optional but recommended for high-end feel) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090b; 
}
::-webkit-scrollbar-thumb {
  background: #27272a; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa; 
}