:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --accent: #D6B46A;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base selection color */
::selection {
  background: var(--accent);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #222;
}

/* Smooth scrolling via CSS */
html {
  scroll-behavior: smooth;
}

/* Magnetic Button Utility */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  /* Touch target minimum size */
  min-height: 48px; 
}
.magnetic-btn-inner {
  pointer-events: none;
}

/* Touch Friendly Mobile Links */
a {
  min-height: 44px;
  min-width: 44px;
}

/* Utilities */
.text-stroke {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

/* Mesh Gradients for Article Cards */
.mesh-gradient-1 {
  background: radial-gradient(circle at 0% 0%, var(--surface) 0%, transparent 60%),
              radial-gradient(circle at 100% 100%, rgba(214, 180, 106, 0.05) 0%, transparent 50%);
}
.mesh-gradient-2 {
  background: radial-gradient(circle at 100% 0%, var(--surface) 0%, transparent 60%),
              radial-gradient(circle at 0% 100%, rgba(214, 180, 106, 0.05) 0%, transparent 50%);
}
.mesh-gradient-3 {
  background: radial-gradient(circle at 50% 50%, var(--surface) 0%, transparent 60%),
              radial-gradient(circle at 0% 0%, rgba(214, 180, 106, 0.05) 0%, transparent 50%);
}

/* Fluid Typography Utilities */
.fluid-text-9xl { font-size: clamp(3rem, 8vw, 8rem); }
.fluid-text-8xl { font-size: clamp(2.5rem, 6vw, 6rem); }
.fluid-text-7xl { font-size: clamp(2rem, 5vw, 4.5rem); }
.fluid-text-6xl { font-size: clamp(1.875rem, 4vw, 3.75rem); }

/* GSAP mobile performance optimization via GPU acceleration */
.gsap-reveal {
  will-change: transform, opacity;
}
