/* =========================================================
   DESKTOP  —  16:9 horizontal, imagen completa sin recorte
   Activo cuando el viewport es ≥ 600 px de ancho.
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* ── El marco: ocupa toda la pantalla en 16:9 ──────────── */
#game-frame {
  position: absolute;
  left: 50%;
  top: 50%;

  /* Base 16:9 — el JS lo escala igual que antes */
  width:  1280px;
  height: 720px;

  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;

  /* contain: muestra la imagen completa sin recortar       */
  background-image: url('fondoCompu.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

  overflow: hidden;
  z-index: 10;
}

/* ── Estructura interna ─────────────────────────────────── */
.page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 6.2%;
  gap: 24px;
}

/* ── Fila de botones ───────────────────────────────────── */
.buttons-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 155px 0 0;
}

/* ── Botones de calendario ─────────────────────────────── */
.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  padding: 11px 20px;
  background: #374151;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.cal-btn:hover {
  background: #1f2937;
}