/* base.css — Reset, CSS custom properties, typography, body/background */

/* SEO-only content */
.seo-only {
  position: fixed;
  top: -9999px; left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}

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

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  background: var(--bg-deep);
  color: var(--text-primary);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* ── CSS Custom Properties (Theme) ── */
:root {
  /* Core palette */
  --bg-deep: #0a0a1a;
  --bg-surface: rgba(255,255,255,0.04);
  --bg-surface-hover: rgba(255,255,255,0.08);
  --bg-overlay: rgba(0,0,0,0.78);

  /* Neon accents */
  --cyan: #00f5ff;
  --cyan-rgb: 0,245,255;
  --pink: #ff2d78;
  --pink-rgb: 255,45,120;
  --gold: #ffe600;
  --gold-rgb: 255,230,0;
  --green: #39ff14;
  --green-rgb: 57,255,20;
  --purple: #b44dff;
  --purple-rgb: 180,77,255;
  --orange: #ff9500;
  --orange-rgb: 255,149,0;
  --red: #ff3b5c;
  --red-rgb: 255,59,92;

  /* Text */
  --text-primary: #e8e8ff;
  --text-secondary: rgba(255,255,255,0.55);
  --text-muted: rgba(255,255,255,0.3);

  /* Borders */
  --border-subtle: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.15);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --glass-blur: 20px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;

  /* Shadows */
  --glow-cyan: 0 0 20px rgba(var(--cyan-rgb), 0.3);
  --glow-pink: 0 0 20px rgba(var(--pink-rgb), 0.3);
  --glow-gold: 0 0 20px rgba(var(--gold-rgb), 0.3);
  --glow-green: 0 0 20px rgba(var(--green-rgb), 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Animated background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(var(--cyan-rgb), 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(var(--pink-rgb), 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(var(--green-rgb), 0.04) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a1a 0%, #160a2e 30%, #0a0a1a 50%, #0a1a2e 70%, #0a0a1a 100%);
  background-size: 400% 400%;
  animation: bgShift 25s ease infinite;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

/* ── Utility ── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--pink) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s ease infinite;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
