/* Modern CSS Reset & Ambient Background */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.14), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.10), transparent 30%);
  background-attachment: fixed;
  color: var(--color-text);
  overflow-x: hidden;
}

/* Minimal Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0D1020;
}
::-webkit-scrollbar-thumb {
  background: #3A315B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7C3AED;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
