/* ==========================================================================
   ANIMERIA — RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
  .watch-grid {
    grid-template-columns: 1fr;
  }

  .episodes-sidebar {
    height: 400px;
  }

  .hero-content {
    max-width: 540px;
  }

  .details-head-grid {
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-backdrop {
    width: 100%;
    opacity: 0.45;
  }

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

  .hero-synopsis {
    font-size: 0.88rem;
    -webkit-line-clamp: 2;
  }

  .details-head-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .details-poster-wrap {
    width: 180px;
    margin: 0 auto;
  }

  .details-actions-row {
    justify-content: center;
  }

  .details-tags {
    justify-content: center;
  }

  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }

  .shelf-rail {
    grid-auto-columns: minmax(140px, 160px);
    gap: 0.85rem;
  }

  .card-title {
    font-size: 0.85rem;
  }

  .drawer {
    width: 100%;
  }

  .search-modal {
    margin-top: 1rem;
    border-radius: var(--radius-md);
  }

  .player-top-bar {
    padding: 0.75rem 1rem;
  }

  .player-bottom-bar {
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
  }

  .volume-control-wrap {
    display: none;
  }
}
