
:root {
  --bg: #edf1f7;
  --primary: #1260b0;
  --primary-dark: #0b4976;
  --accent: #ffb347;
  --text-main: #1d3557;
  --text-soft: #5b677f;
  --card-bg: #ffffff;
  --card-radius: 24px;
  --shadow-soft: 0 10px 30px rgba(15, 46, 94, 0.12);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

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

button {
  font: inherit;
}

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

/* Contenedores base de juego */

.page,
.screen-root {
  min-height: 100vh;
}

.card-base {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(18, 96, 176, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.primary-btn:hover {
  background: #1f6ec7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(18, 96, 176, 0.35);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18,96,176,0.35);
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
}

.secondary-btn:hover {
  background: #f3f6ff;
}

/* inputs base */

input[type="text"],
select,
textarea {
  font: inherit;
}
