/* ============================================
   IT RISING STARS — Responsive Styles
   ============================================ */

/* --- Large Desktops --- */
@media screen and (max-width: 1200px) {
  :root {
    --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  }

  .about-grid {
    gap: 2rem;
  }

  .leadership-grid {
    gap: 1.5rem;
  }
}

/* --- Tablets and Small Laptops --- */
@media screen and (max-width: 992px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(6, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1rem;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    display: flex;
    animation: slideInDown 0.3s ease forwards;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

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

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid .leadership-card:first-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* --- Mobile Devices --- */
@media screen and (max-width: 768px) {
  :root {
    --fs-hero: clamp(2rem, 8vw, 3rem);
    --section-padding: 4rem 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .leadership-grid .leadership-card:first-child {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .fame-grid .fame-card:first-child {
    grid-column: auto;
  }
}

/* --- Small Mobile --- */
@media screen and (max-width: 480px) {
  .news-grid,
  .squad-grid,
  .achievements-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 2rem 1.5rem;
  }

  .player-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .player-detail-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
