:root {
  --color-bg: #000000;
  --color-bg-light: #0a0a0a;
  --color-gray: #cccccc;
  --color-gray-dark: #858584;
  --color-accent: #a259ff;
  --color-accent-blue: #3586ff;
  --color-text: #ffffff;
  --color-text-muted: #ba9595;
  --color-text-dim: #888888;
  --font-primary: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", monospace;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis-active {
  scroll-behavior: auto;
}

html.lenis-active,
html.lenis-active body {
  height: auto;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  padding-env: safe-area-inset-top safe-area-inset-right safe-area-inset-bottom safe-area-inset-left;
}

::selection {
  background: rgba(168, 85, 247, 0.3);
  color: #fafafa;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 60px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 80px; }
}

@media (min-width: 1440px) {
  .container { padding: 0 20px; }
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7 0%, #3b82f6 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.custom-header {
  text-align: center;
  padding: 50px 0;
  color: var(--color-text);
}

.custom-header h1 {
  font-size: 3em;
  font-weight: 600;
  margin: 0;
  border-bottom: 2px solid #cf4141;
  margin-bottom: 8px;
  display: inline-block;
}

@media (max-width: 768px) {
  .custom-header h1 {
    font-size: 2.5em;
  }
}
