/* Diversión Multicolor · tokens de marca
   Paleta: negro espacio 55 % · violeta eléctrico 30 % · lima neón 15 % */
:root {
  --space: #07060f;        /* negro espacio: fondos */
  --space-2: #110d22;
  --space-3: #1b1535;
  --violet: #8b2cff;       /* violeta eléctrico: tarjetas, botones */
  --violet-deep: #4a10a8;
  --violet-soft: #b98cff;
  --lime: #c6ff00;         /* lima neón: acentos, alertas */
  --lime-soft: #e6ff7a;
  --ink: #ffffff;
  --ink-2: #c9c2e6;
  --ink-3: #8d84b3;
  --danger: #ff4d6d;

  --f-display: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --f-name: 'Lilita One', 'Baloo 2', system-ui, sans-serif;
  --f-text: 'Nunito', system-ui, -apple-system, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--space);
  color: var(--ink);
  font-family: var(--f-text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cielo nocturno: estrellas + resplandores violeta/lima */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% -10%, #8b2cff55, transparent 70%),
    radial-gradient(45% 40% at -5% 105%, #8b2cff40, transparent 70%),
    radial-gradient(30% 25% at 100% 100%, #c6ff0018, transparent 70%),
    var(--space);
}
.sky::before, .sky::after { content: ''; position: absolute; inset: -50%;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff9, transparent),
    radial-gradient(1px 1px at 90px 120px, #fff7, transparent),
    radial-gradient(1.5px 1.5px at 160px 60px, #c6ff00aa, transparent),
    radial-gradient(1px 1px at 230px 180px, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 300px 90px, #b98cffaa, transparent);
  background-size: 340px 220px;
  animation: drift 120s linear infinite;
}
.sky::after { background-size: 520px 380px; opacity: .6; animation-duration: 200s; }
@keyframes drift { to { transform: translate3d(340px, 220px, 0); } }

.fluva { display: inline-flex; align-items: center; gap: .5em; color: var(--ink-3); text-decoration: none; font-size: .8rem; }
.fluva img { height: 1.4em; width: auto; }

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