/* Cobblemon Hispano · estilos compartidos entre la portada y la página de privacidad */

:root {
  --cielo-1: #0b1530;
  --cielo-2: #16264d;
  --cielo-3: #23396b;
  --tinta: #eef3ff;
  --tinta-suave: #b7c3e0;
  --tinta-tenue: #8391b3;
  --hierba: #62c441;
  --hierba-oscura: #3e8c2a;
  --tierra: #8a5a33;
  --tierra-oscura: #5f3c22;
  --piedra: #2a3557;
  --panel: #1a2a52;
  --panel-borde: #34497f;
  --oro: #ffd84d;
  --oro-suave: #ffeaa0;
  --cian: #74e4ff;
  --rojo: #ff6b6b;
  --ancho: 1120px;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cielo-1);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cian); }
a:hover { color: var(--oro); }

.contenedor { width: min(var(--ancho), 100% - 32px); margin-inline: auto; }

.pixel { font-family: var(--pixel); letter-spacing: 0.02em; }

/* ---------- Cabecera ---------- */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 21, 48, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(116, 228, 255, 0.12);
}

.cabecera .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tinta);
  text-decoration: none;
  font-family: var(--pixel);
  font-size: 1.2rem;
  font-weight: 600;
}

.marca:hover { color: var(--tinta); }
.marca svg { width: 30px; height: 30px; }
.marca span b { color: var(--oro); font-weight: 600; }

.menu { display: flex; gap: 22px; }

.menu a {
  color: var(--tinta-suave);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu a:hover { color: var(--oro); }

@media (max-width: 720px) {
  .menu { display: none; }
}

/* ---------- Botones ---------- */

.boton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--pixel);
  font-size: 1.05rem;
  color: #10220a;
  background: var(--hierba);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset -4px -4px 0 var(--hierba-oscura),
    inset 4px 4px 0 #8fe06a,
    0 6px 0 #1d3f14;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.boton:hover { color: #10220a; transform: translateY(-2px); }
.boton:active { transform: translateY(3px); box-shadow: inset -4px -4px 0 var(--hierba-oscura), inset 4px 4px 0 #8fe06a, 0 2px 0 #1d3f14; }

.boton.secundario {
  color: var(--tinta);
  background: var(--piedra);
  box-shadow:
    inset -4px -4px 0 #1b2440,
    inset 4px 4px 0 #43507c,
    0 6px 0 #0c1226;
}

.boton.secundario:hover { color: var(--tinta); }

.boton[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.boton[aria-disabled="true"]:hover { transform: none; }

/* ---------- Pie ---------- */

.pie {
  background: #070d1f;
  border-top: 2px solid rgba(116, 228, 255, 0.12);
  padding: 48px 0 40px;
  color: var(--tinta-tenue);
  font-size: 0.92rem;
}

.pie .columnas {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

@media (max-width: 720px) {
  .pie .columnas { grid-template-columns: 1fr; }
}

.pie h3 { font-family: var(--pixel); color: var(--tinta); font-weight: 500; margin: 0 0 10px; font-size: 1.05rem; }
.pie p { margin: 0 0 10px; }
.pie a { color: var(--tinta-suave); }

.aviso-oficial {
  margin-top: 32px;
  padding: 16px 18px;
  border: 2px dashed #3a4a78;
  color: var(--tinta-suave);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
