/* ==========================================================================
   NeuroKids (Estilo Mattel / Fisher-Price) - Paleta Primaria y Volumen 3D
   ========================================================================== */

:root {
  /* Colores Primarios Alegres estilo Mattel / Fisher-Price */
  --toy-red: #ef4444;
  --toy-red-bevel: #b91c1c;
  --toy-red-soft: #fee2e2;

  --toy-blue: #0284c7;
  --toy-blue-bright: #38bdf8;
  --toy-blue-bevel: #0369a1;
  --toy-blue-soft: #e0f2fe;

  --toy-yellow: #facc15;
  --toy-yellow-bright: #fef08a;
  --toy-yellow-bevel: #ca8a04;
  --toy-yellow-soft: #fef9c3;

  --toy-green: #22c55e;
  --toy-green-bevel: #15803d;
  --toy-green-soft: #dcfce7;

  --toy-orange: #f97316;
  --toy-orange-bevel: #c2410c;

  --toy-purple: #8b5cf6;
  --toy-purple-bevel: #6d28d9;
  --toy-purple-soft: #ede9fe;

  /* Mapeo Semántico */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-bevel: #1e40af;
  --primary-light: #dbeafe;

  /* Hemisferio Izquierdo: Azul Juguete */
  --left-brain: #0284c7;
  --left-bright: #38bdf8;
  --left-bevel: #0369a1;
  --left-soft: #e0f2fe;
  --left-dark: #0369a1;

  /* Hemisferio Derecho: Rosa / Coral Creativo */
  --right-brain: #ec4899;
  --right-bright: #f472b6;
  --right-bevel: #be185d;
  --right-soft: #fce7f3;
  --right-dark: #be185d;

  /* Conexión Bilateral: Morado Mágico */
  --both-brain: #8b5cf6;
  --both-bright: #a78bfa;
  --both-bevel: #6d28d9;
  --both-soft: #ede9fe;
  --both-dark: #6d28d9;

  /* Estados */
  --star-yellow: #facc15;
  --star-bevel: #ca8a04;
  --mint-green: #22c55e;
  --mint-bevel: #15803d;
  --coral-red: #ef4444;
  --coral-bevel: #b91c1c;
  --warning-soft: #fef9c3;
  --danger: #ef4444;
  --danger-soft: #fee2e2;

  /* Fondo Cielo Alegre y Superficies de Juguete */
  --bg: #e0f2fe;
  --bg-sky: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 26%, #e0f2fe 58%, #fef9c3 86%, #dcfce7 100%);
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;

  /* Sombras de Plástico Moldeado 3D */
  --shadow-sm: 0 3px 6px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 6px 0 rgba(14, 116, 144, 0.14), 0 10px 20px rgba(15, 23, 42, 0.08);
  --shadow-app: 0 25px 60px -12px rgba(15, 23, 42, 0.6);

  /* Safe areas móviles */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Tipografía Redondeada y Radios Generosos */
  --font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

input, button, select, textarea {
  font-family: var(--font-family);
}

input {
  user-select: text;
}

html, body {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
  font-family: var(--font-family);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
}
