:root {
  --sidebar-w: 200px;
  --gap: 1rem;

  /* Theme */
  --color-primary: #00bcd4;
  --color-secondary: #8a2be2;
  --color-bg-neutral: #121212;
  --background-dark: #121212;

  --color-header-footer-start: #0d0d0d;
  --color-header-footer-end: #1c1c1c;
  --color-header-footer-text: #f0f0f0;

  --section-bg: #1e1e1e;
  --section-shadow: rgba(0, 0, 0, 0.6);

  /* Neon palette */
  --color-electric-magenta: #ff00ff;
  --color-neon-blue: #00ffff;
  --color-text-black: #000000;
  --color-text-white: #f9f9f9;

  --color-neon-lime: #a6ff00;
  --color-neon-lime-glow: rgba(166, 255, 0, 0.8);

  --color-neon-pink: #ff2d95;
  --color-neon-pink-glow: rgba(255, 45, 149, 0.8);

  --color-electric-lime: #a6ff00;
  --color-hot-pink: #ff00bb;

  --color-neon-cyan: #00ffe7;
  --color-neon-cyan-glow: rgba(0, 255, 231, 0.8);

  --color-neon-tangerine: #ff8c00;
  --color-neon-tangerine-glow: rgba(255, 140, 0, 0.8);

  --color-neon-violet: #9d00ff;
  --color-neon-violet-glow: rgba(157, 0, 255, 0.8);

  --color-neon-acid-yellow: #dfff00;
  --color-neon-acid-yellow-glow: rgba(223, 255, 0, 0.8);

  /* Typography */
  --font-heading: "Univers", "Inter", sans-serif;
  --font-body: "Futura", "Inter", sans-serif;

  --font-size-body: 20px;
  --font-size-h1: 3.2rem;
  --font-size-h2: 2.2rem;
  --font-size-header: 0.8rem;
  --font-size-emoji: 1.35rem;
  --font-size-toggle-icon: 1.1rem;

  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 800;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Spacing */
  --space-2xs: 0.15rem;
  --space-xs: 0.35rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;

  --module-padding-y: 1.5rem;
  --module-padding-x: 2rem;
  --module-header-gap: 0.75rem;
  --module-body-gap: 1rem;

  /* Motion */
  --motion-fast: 0.2s;
  --motion-base: 0.3s;
  --motion-slow: 0.35s;
  --motion-ease: ease;
  --motion-ease-emphasis: ease-in-out;
}

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

html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: var(--color-secondary);
  background: var(--color-bg-neutral);
  text-rendering: optimizeLegibility;
}

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

audio {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  border: 0;
  background: none;
}

input,
button,
textarea,
select {
  min-width: 0;
}

:focus-visible {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 3px;
}

/* Motion-safe inline targets for emojis and future draggable items */
[data-emoji],
.module__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  transform-origin: center;
  will-change: transform;
}

[data-motion="draggable"] {
  touch-action: none;
}

[aria-hidden="true"] {
  pointer-events: auto;
}

@keyframes colorPulse {
  0%,
  100% {
    color: var(--color-header-footer-text);
  }
  50% {
    color: var(--color-electric-magenta);
  }
}
