/* Base común: fuentes, colores, botones y mensajes centrados. CSS básico (ver CLAUDE.md). */
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-Regular.woff2') format('woff2'), url('../fonts/Baloo2-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-SemiBold.woff2') format('woff2'), url('../fonts/Baloo2-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-Bold.woff2') format('woff2'), url('../fonts/Baloo2-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Baloo2';
  src: url('../fonts/Baloo2-ExtraBold.woff2') format('woff2'), url('../fonts/Baloo2-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #020618;
}

body {
  font-family: 'Baloo2', sans-serif;
  color: #fff;
  overflow: hidden;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

body.hide-cursor,
body.hide-cursor * {
  cursor: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Botón principal y de contorno */
.btn {
  display: inline-block;
  border: none;
  border-radius: 0.75em;
  padding: 0.45em 1.1em;
  background: #216EEE;
  background: linear-gradient(180deg, #3B8CFF, #1B58C8);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
}
/* Respuesta al toque: se oscurece y se achica un poco */
.btn:active, .banner-btn:active, .btn-back:active {
  background: #123C8F;
  -webkit-transform: scale(0.94);
  transform: scale(0.94);
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.btn-outline {
  background: #0F172B;
  border: 1px solid #216EEE;
}
.btn-off {
  background: #1D293D;
  color: #94A3B8;
}

/* Mensaje centrado (tabla de una celda: centra en vertical sin flex) */
.msg-table {
  display: table;
  width: 100%;
  height: 100%;
}
.msg-cell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0 1em;
}
.msg-title {
  font-size: 1.7em;
  font-weight: 800;
  line-height: 1.15;
}
.msg-desc {
  margin-top: 0.4em;
  font-size: 1em;
  color: #CBD5E1;
}
.tone-error {
  color: #FDA4AF;
}
