/* ============================================================
   FULLSCREEN BOOST — Dulce Fiesta (capa aditiva, no invasiva)
   Hace que el juego llene TODA la pantalla manteniendo 16:9
   ============================================================ */

html, body {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #1a0520 !important;
}

/* Quitar el tope de 1400px y centrar llenando el viewport */
.slot-frame-container {
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
}

/* Pantallas más anchas que 16:9 → altura completa */
@media (min-aspect-ratio: 16/9) {
  .slot-frame-container {
    height: 100vh !important;
    height: 100dvh !important;
    width: calc(100vh * 16 / 9) !important;
    width: calc(100dvh * 16 / 9) !important;
  }
}

/* Pantallas más altas que 16:9 → ancho completo, centrado vertical */
@media (max-aspect-ratio: 16/9) {
  .slot-frame-container {
    width: 100vw !important;
    height: 56.25vw !important;
    position: relative !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}

/* Botones flotantes (fullscreen + ayuda) */
.dfb-float-btn {
  position: fixed;
  z-index: 99990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 4, 26, 0.72);
  color: #ffd9f2;
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, background 0.15s ease;
  user-select: none;
}
.dfb-float-btn:hover {
  transform: scale(1.1);
  background: rgba(70, 10, 80, 0.85);
}
#dfb-fullscreen-btn { top: 12px; right: 12px; }
#dfb-paytable-btn { top: 12px; right: 66px; font-weight: 700; }

/* Modal de paytable */
#dfb-paytable-modal {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: none;
  background: rgba(5, 0, 8, 0.86);
  backdrop-filter: blur(4px);
}
#dfb-paytable-modal.open { display: block; }
#dfb-paytable-modal iframe {
  position: absolute;
  inset: 3%;
  width: 94%;
  height: 94%;
  border: 1px solid rgba(255, 170, 220, 0.35);
  border-radius: 14px;
  background: #1a0520;
}
#dfb-paytable-close {
  position: absolute;
  top: max(8px, calc(3% - 14px));
  right: max(8px, calc(3% - 14px));
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ff3d8d;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255, 61, 141, 0.55);
}
