:root {
  color-scheme: dark;

  --bg: #090d19;
  --bg-soft: #0e1425;
  --surface: #121a2d;
  --surface-raised: #172239;
  --surface-hover: #1c2943;

  --text: #f4f6ff;
  --text-soft: #aab4cc;
  --muted: #74819d;

  --primary: #8b8cff;
  --primary-bright: #a5a6ff;
  --secondary: #b18aff;
  --cyan: #61d9f5;
  --green: #64dfb0;
  --orange: #ffbd78;

  --border: rgba(174, 185, 255, 0.12);
  --border-strong: rgba(174, 185, 255, 0.22);

  --gradient-primary: linear-gradient(115deg, #7c7dff, #b47cff);
  --gradient-cyan: linear-gradient(115deg, #4bc7ed, #8b8cff);
  --gradient-card: linear-gradient(145deg, rgba(139,140,255,.12), rgba(177,138,255,.035));

  --shadow-card: 0 14px 40px rgba(0, 0, 0, .22);
  --shadow-glow: 0 0 42px rgba(124, 125, 255, .16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --container: 1240px;
  --font: Inter, "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;

  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(86, 86, 190, .13), transparent 35%),
    radial-gradient(ellipse at 90% 20%, rgba(81, 55, 148, .10), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: rgba(139, 140, 255, .45);
}

img,
svg {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
