/* ==========================================================================
   SROMsNSP Theme - Mobile Responsiveness Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Laptops and Small Desktops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root {
    --snsp-container-width: 100%;
  }

  .sromsnsp-hero-title {
    font-size: 3rem;
  }

  .sromsnsp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Tablets (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Navigation */
  .sromsnsp-main-navigation {
    display: none;
  }

  .sromsnsp-mobile-toggle {
    display: flex;
  }

  .sromsnsp-btn-header-cta {
    display: none;
  }

  /* Layout */
  .sromsnsp-layout-with-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sromsnsp-layout-sidebar {
    order: 2;
  }

  /* Single Game Hero */
  .sromsnsp-game-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sromsnsp-game-cover-column {
    max-width: 260px;
    margin: 0 auto;
  }

  .sromsnsp-game-genre-list {
    justify-content: center;
  }

  .sromsnsp-game-meta-row {
    justify-content: center;
  }

  .sromsnsp-game-actions {
    justify-content: center;
  }

  /* Spotlight Banner */
  .sromsnsp-spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }

  .sromsnsp-spotlight-badge {
    margin: 0 auto 12px;
  }

  .sromsnsp-spotlight-tags {
    justify-content: center;
  }

  .sromsnsp-chip-diagram {
    max-width: 300px;
    margin: 0 auto;
  }

  /* 3-Col Games Grid fallback on Tablet */
  .sromsnsp-games-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Mobile Landscape & Phablets (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .sromsnsp-section {
    padding: 40px 0;
  }

  .sromsnsp-hero-section {
    padding: 50px 0 60px;
  }

  .sromsnsp-hero-title {
    font-size: 2.2rem;
  }

  .sromsnsp-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .sromsnsp-hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .sromsnsp-hero-actions .sromsnsp-btn {
    width: 100%;
  }

  .sromsnsp-hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sromsnsp-stat-card {
    padding: 12px 16px;
  }

  .sromsnsp-section-title {
    font-size: 1.8rem;
  }

  .sromsnsp-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sromsnsp-games-grid {
    grid-template-columns: 1fr;
  }

  .sromsnsp-articles-grid,
  .sromsnsp-articles-grid--2col,
  .sromsnsp-games-grid--3col {
    grid-template-columns: 1fr;
  }

  .sromsnsp-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sromsnsp-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .sromsnsp-footer-menu-list {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Single Article */
  .sromsnsp-article-title {
    font-size: 2rem;
  }

  .sromsnsp-game-hero-title {
    font-size: 2rem;
  }

  .sromsnsp-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sromsnsp-comment-list .comment-body {
    grid-template-columns: 1fr;
  }

  .sromsnsp-specs-table th {
    width: 45%;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .sromsnsp-brand-text {
    font-size: 1.5rem;
  }

  .sromsnsp-tagline-badge {
    display: none;
  }

  .sromsnsp-hero-badge {
    padding: 4px 12px;
  }

  .sromsnsp-badge-text {
    font-size: 0.8rem;
  }

  .sromsnsp-hero-title {
    font-size: 1.85rem;
  }

  .sromsnsp-search-submit {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .sromsnsp-card {
    padding: 20px 16px;
  }

  .sromsnsp-404-card {
    padding: 30px 16px;
  }

  .sromsnsp-404-code {
    font-size: 5rem;
  }

  .sromsnsp-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .sromsnsp-404-actions .sromsnsp-btn {
    width: 100%;
  }

  .sromsnsp-disclaimer-card {
    flex-direction: column;
  }

  .sromsnsp-back-to-top {
    bottom: 16px;
    right: 16px;
  }
}
