:root {
  /* === Nueva identidad gamer === */
  --bg-deep: #060a14;
  --bg-elev: #0b1120;
  --bg-elev-2: #111a2e;

  --primary: #1f93ff;
  --primary-light: #56b0ff;
  --primary-dark: #0a6fd6;
  --primary-dim: rgba(31, 147, 255, 0.15);
  --primary-glow: rgba(31, 147, 255, 0.3);

  --accent: #ff8c1a;
  --accent-light: #ffa84d;
  --accent-dim: rgba(255, 140, 26, 0.15);
  --accent-glow: rgba(255, 140, 26, 0.3);

  --grad-brand: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(31, 147, 255, 0.18), rgba(255, 140, 26, 0.18));

  --text: #e9eef6;
  --text-secondary: rgba(233, 238, 246, 0.72);
  --text-muted: rgba(233, 238, 246, 0.5);

  --surface: rgba(13, 20, 36, 0.6);
  --surface-solid: rgba(11, 17, 32, 0.92);
  --surface-hover: rgba(20, 30, 52, 0.8);
  --border: rgba(31, 147, 255, 0.14);
  --border-hover: rgba(31, 147, 255, 0.4);

  /* === Alias de compatibilidad (CSS heredado usa estos nombres) === */
  --gold: var(--primary);
  --gold-light: var(--primary-light);
  --gold-dim: var(--primary-dim);
  --gold-glow: var(--primary-glow);
  --gold-glow-strong: var(--accent-glow);
  --cream: var(--text);

  --font-display: 'Rajdhani', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
  --font-accent: 'Orbitron', var(--font-display);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-reveal: 800ms;

  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(31, 147, 255, 0.18);
  --shadow-glow-lg: 0 8px 60px rgba(31, 147, 255, 0.22);
  --shadow-accent: 0 8px 40px rgba(255, 140, 26, 0.25);

  --container: 1240px;
  --nav-height: 76px;
  --z-nav: 100;
  --z-dropdown: 200;
  --z-overlay: 900;
  --z-drawer: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 14.5px;
}

@media (max-width: 600px) {
  html { font-size: 15.5px; }
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

em {
  font-style: normal;
  color: var(--accent);
}

::selection {
  background: var(--primary);
  color: #fff;
}

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