/* =========================================
   TWISTED BLACK — Responsive Breakpoints
   ========================================= */

/* Tablet */
@media (max-width: 768px) {
  section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .disco-grid {
    grid-template-columns: 1fr;
  }

  .fp-art-container {
    width: min(280px, 65vw);
    height: min(280px, 65vw);
  }
}

/* Mobile */
@media (max-width: 480px) {
  body {
    padding-top: var(--nav-height);
  }

  section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  section {
    padding: 24px 0;
  }

  .section-title {
    margin-bottom: 12px;
  }

  .hero-name {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .popular-row {
    padding: 10px 12px;
    gap: 10px;
  }

  .popular-thumb {
    width: 40px;
    height: 40px;
  }

  .popular-streams {
    display: none;
  }

  .disco-cover {
    width: 48px;
    height: 48px;
  }

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

  .fp-art-container {
    width: min(300px, 82vw);
    height: min(300px, 82vw);
    margin-bottom: 28px;
  }

  .fp-controls {
    gap: 12px;
  }

  .fp-play-btn {
    width: 64px;
    height: 64px;
  }

  .fp-play-btn svg {
    width: 28px;
    height: 28px;
  }

  .booking-links {
    flex-direction: column;
    align-items: center;
  }

  .booking-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-streaming {
    gap: 8px;
  }

  .mini-player-inner {
    padding: 0 12px;
    gap: 10px;
  }

  .mini-cover {
    width: 38px;
    height: 38px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .hero-name {
    font-size: 1.6rem;
  }

  .popular-thumb {
    width: 36px;
    height: 36px;
  }

  .mini-cover {
    width: 36px;
    height: 36px;
  }

  .mini-title {
    font-size: 0.8rem;
  }
}

/* Safe areas for notched devices — desktop only (mobile handled by tabbar.css) */
@supports (padding: env(safe-area-inset-top)) {
  @media (min-width: 601px) {
    .top-nav {
      padding-top: env(safe-area-inset-top);
      height: calc(var(--nav-height) + env(safe-area-inset-top));
    }

    body {
      padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
    }

    .mini-player {
      padding-bottom: env(safe-area-inset-bottom);
      height: calc(var(--mini-player-height) + env(safe-area-inset-bottom));
    }

    body {
      padding-bottom: calc(var(--mini-player-height) + env(safe-area-inset-bottom));
    }
  }
}
