/* ============ MOBILE — Demon Hunters ============ */
/* Cubre teléfonos iPhone/Android y tablets */

/* --- Tablets (≤1100px) --- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr !important; min-height: auto !important; padding: 26px 22px !important; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .hero-side > * { flex: 1 1 200px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .nav-inner { gap: 10px !important; padding: 10px 14px !important; }
  .nav-logo span { display: none !important; }
  .wrap { padding: 0 14px !important; }
}

/* --- Celulares grandes (≤820px) --- */
@media (max-width: 820px) {
  body { padding-top: 68px !important; }
  .hero-title { font-size: clamp(1.9rem, 8.5vw, 2.6rem) !important; line-height: 1.05 !important; }
  .hero-text { font-size: .95rem !important; }
  .hero-stats { gap: 14px !important; flex-wrap: wrap !important; }
  .hero-stats div b { font-size: 1.5rem !important; }

  .hero-side { flex-direction: column; }
  .hero-side > * { flex: 1 1 auto; }

  .game-card { min-height: 0 !important; }
  .game-info { padding: 14px 16px !important; }
  .game-info h3 { font-size: 1.05rem !important; }

  .quick-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .qcard { padding: 14px 12px !important; }
  .qcard span { font-size: 1.4rem !important; }

  .section-top h2, .section-top h2, .quick h2 { font-size: 1.4rem !important; }
  .community-grid, .staff-grid, .two-col { grid-template-columns: 1fr !important; }

  .ranking { padding: 8px 12px 12px !important; }
  .r-row { font-size: .8rem !important; }
  .ev { padding: 10px 0 !important; }

  .footer-inner { grid-template-columns: 1fr !important; gap: 22px !important; padding: 32px 18px 20px !important; }

  /* Comunidad */
  .com-card { min-height: 200px !important; }
  .com-grid { gap: 10px !important; }
  .timeline { padding-left: 18px !important; }

  /* Staff */
  .stf-grid, .stf-grid-2, .stf-grid-1 { grid-template-columns: 1fr !important; }
  .stf-card { padding: 18px 16px !important; }
  .chain-item { font-size: .68rem !important; padding: 6px 10px !important; }

  /* Among Us / MC / Plato pages */
  .au-stats, .mc-stats, .plato-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .au-about-copy { grid-template-columns: 1fr !important; }
}

/* --- Celulares chicos (≤560px) --- */
@media (max-width: 560px) {
  body { padding-top: 64px !important; }
  .nav-inner { padding: 8px 10px !important; }
  .nav-logo img { height: 34px !important; }
  .icon-btn, .nav-ico { width: 36px !important; height: 36px !important; }
  .nav-login { font-size: .68rem !important; padding: 8px 12px !important; }

  .hero { padding: 22px 16px !important; }
  .hero-title { font-size: clamp(1.6rem, 9vw, 2.1rem) !important; }
  .pill { font-size: .62rem !important; padding: 6px 12px !important; }
  .hero-buttons { gap: 8px !important; }
  .btn, .btn-primary, .btn-ghost { font-size: .72rem !important; padding: 11px 16px !important; }

  .games-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .game-info h3 { font-size: .98rem !important; }

  .quick-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .qcard small { font-size: .68rem !important; }

  .stf-chain { flex-direction: column !important; align-items: stretch !important; }
}

/* --- Landscapes en teléfonos --- */
@media (max-height: 500px) and (orientation: landscape) {
  body { padding-top: 52px !important; }
  .hero { min-height: auto !important; padding: 14px 18px !important; }
  .hero-title { font-size: 1.6rem !important; }
}

/* --- Tactil: botones mas grandes --- */
@media (pointer: coarse) {
  a, button { min-height: 40px; }
  .nav-ico, .icon-btn { min-width: 40px; min-height: 40px; }
}

/* --- Print/ox: sin fuego por no ser necesario --- */
@media print {
  .fire-container, .starfield, .sidebar, .nav, .help, #scrollTopBtn, .theme-video-layer { display: none !important; }
  body { background: #fff !important; color: #000 !important; padding-top: 0 !important; }
  a { color: #000 !important; }
}
