/**
 * FIMONLINE - Responsive Stylesheet
 * Optimized for Mobile, Tablet, and Desktop screens
 */

@media (max-width: 1200px) {
  .movie-card {
    flex: 0 0 calc((100% - (4 * 12px)) / 5);
    min-width: 180px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .movie-card {
    flex: 0 0 calc((100% - (3 * 10px)) / 4);
    min-width: 160px;
  }

  .main-nav {
    display: none; /* Can be opened with mobile drawer */
  }

  .main-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.98);
    padding: 20px;
    border-bottom: 1px solid #333;
    z-index: 999;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .hero-billboard {
    height: 70vh;
    min-height: 480px;
  }

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

  .watch-content-layout {
    grid-template-columns: 1fr;
  }

  .modal-grid-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .movie-card {
    flex: 0 0 calc((100% - (2 * 10px)) / 3);
    min-width: 140px;
  }

  .hero-billboard {
    height: 60vh;
    min-height: 420px;
  }

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

  .hero-overview {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  .btn-play, .btn-more-info {
    padding: 9px 18px;
    font-size: 0.9rem;
  }

  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-select {
    width: 100%;
  }

  .player-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .movie-card {
    flex: 0 0 calc((100% - 10px) / 2);
    min-width: 130px;
  }

  .hero-billboard {
    height: 55vh;
  }

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

  .hero-actions {
    gap: 8px;
  }

  .btn-play, .btn-more-info {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .btn-admin-nav span {
    display: none;
  }
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
