/* base.css – tokens & global */

:root {
  --plism-bg-top: #000000;
  --plism-bg-bottom: #04215c;

  --plism-orange-soft: #ffb84d;
  --plism-orange-strong: #ff7b32;
  --plism-blue: #14b8ff;
  --plism-blue-soft: #38bdf8;
  --plism-red: #ff4b5c;
  --plism-red-deep: #b91c1c;
  --plism-gold: #fbbf24;
  --plism-cyan: #22d3ee;

  --plism-text-main: #f5f7fa;
  --plism-text-soft: #c3c8d8;
  --plism-text-muted: #9ca3af;

  --plism-surface-glass: rgba(8, 12, 20, 0.65);
  --plism-surface-deep: rgba(4, 6, 11, 0.9);
  --plism-surface-chip: rgba(7, 10, 17, 0.85);

  --radius-frame: 28px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-strong: 0 40px 90px rgba(0, 0, 0, 0.98);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.8);
  --shadow-chip: 0 16px 32px rgba(0, 0, 0, 0.9);

  --blur-soft: 16px;
  --blur-strong: 24px;

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --page-max-width: 1240px;
  --gutter:30px;

  --transition-fast: 0.16s ease-out;
  --transition-med: 0.26s ease-out;
}

/* reset */

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

html,
body {
  margin: 10;
  padding: 10;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--plism-text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.12), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(to bottom, var(--plism-bg-top), var(--plism-bg-bottom));
}

/* theme modifier */

body[data-theme="neon"] {
  background:
    radial-gradient(circle at 0 0, rgba(255, 184, 77, 0.24), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(20, 184, 255, 0.28), transparent 60%),
    linear-gradient(to bottom, #020617, #02091a);
}

/* particles layer */

#tsparticles {
  position: fixed;
  inset: 0;
  z-index: -3;
}

/* noise overlay */

body::before {
  content: "";
  position: fixed;
  inset: -40px;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.16) 0, transparent 55%),
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.08) 0, transparent 55%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 4px
    );
  z-index: -2;
}

/* typography */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* visually hidden */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
