@charset "UTF-8";

/* ========================================================
   RESPONSIVIDADE: TELAS HORIZONTAIS E TOTAIS VERTICAIS (9:16)
   ZERO SCROLL GARANTIDO
   ======================================================== */

.cards-grid {
  grid-template-columns: repeat(var(--grid-cols, 4), minmax(0, 1fr));
  grid-template-rows: repeat(var(--grid-rows, 3), minmax(0, 1fr));
}

/* Telas Verticais (Totens de Eventos 9:16 ou Orientação Retrato) */
@media (orientation: portrait), (max-aspect-ratio: 1/1) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }

  .config-card {
    padding: 20px 22px;
    gap: 18px;
  }

  .stepper-btn {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .stepper-value {
    font-size: 2.2rem;
  }

  .btn-primary-action {
    padding: 16px 20px;
    font-size: 1.18rem;
  }

  .logo-video {
    height: 52px;
  }

  .header-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .header-nav-btn.btn-back {
    left: 14px;
  }

  .header-nav-btn.btn-portal {
    left: 14px;
    padding: 0 10px;
    height: 44px;
    min-width: 44px;
  }

  .header-nav-btn.btn-portal .btn-portal-label {
    display: none;
  }

  .header-nav-btn.btn-reload {
    right: 14px;
  }

  .game-status-bar {
    padding: 8px 14px;
    margin-bottom: 8px;
  }

  .status-value {
    font-size: 1.3rem;
  }

  .chance-dot {
    width: 16px;
    height: 16px;
  }

  .showcase-card {
    padding: 20px 18px;
  }

  .showcase-img-container {
    height: 180px;
  }

  .showcase-code {
    font-size: 1.8rem;
  }

  .showcase-desc {
    font-size: 0.9rem;
  }
}

/* Telas muito pequenas ou compactas */
@media (max-height: 700px) {
  .app-header {
    padding: 6px 16px;
  }

  .logo-video {
    height: 44px;
  }

  .brand-badge {
    display: none;
  }

  .game-status-bar {
    margin-bottom: 4px;
    padding: 6px 12px;
  }

  .cards-grid {
    gap: 8px;
  }

  .card-code-badge {
    font-size: 0.95rem;
    padding: 2px 8px;
  }
}
