/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* ---- TABLET (1024px and below) ---- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

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

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

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

  .sponsorship__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .tier-card--featured {
    transform: none;
    order: -1;
  }
  .tier-card--featured:hover { transform: translateY(-4px); }

  .viral__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .net-divider__court {
    max-width: 70%;
  }

  .events__carousel-wrapper {
    overflow: hidden;
  }
  .events__carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transform: none !important;
  }
  .events__carousel::-webkit-scrollbar {
    display: none;
  }
  .events__slide {
    min-width: 0;
    width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .iphone-frame {
    width: 300px;
  }

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

  .venue__gallery {
    grid-template-columns: 1fr;
  }
  .venue__gallery-main img {
    max-height: 350px;
  }
  .venue__gallery-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .venue__gallery-side img {
    max-height: 200px;
  }
}

/* ---- CREATOR MODAL TABLET ---- */
@media (max-width: 1024px) {
  .creator-modal__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .creator-modal__audience {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- MOBILE (768px and below) ---- */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 3rem;
  }
  .hero__title-line {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .hero__title-line--accent {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }
  .net-divider__court {
    max-width: 90%;
    height: 90px;
  }
  .net-divider__ball svg {
    width: 14px;
    height: 14px;
  }
  .net-divider__paddle--left {
    top: -18px;
    left: 3%;
  }
  .net-divider__paddle--left svg {
    width: 24px;
    height: 48px;
  }
  .net-divider__paddle--right {
    bottom: -12px;
    right: 3%;
  }
  .net-divider__paddle--right svg {
    width: 20px;
    height: 42px;
  }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero__scroll { display: none; }

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

  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stats__callout-text {
    flex-direction: column;
    text-align: center;
  }
  .stats__callout-label {
    text-align: center;
  }

  .format__timeline {
    padding-left: 40px;
  }
  .format__line {
    left: 15px;
  }
  .format__dot {
    left: -33px;
    width: 12px;
    height: 12px;
  }
  .format__item {
    padding-left: 1.5rem;
    padding-bottom: 2rem;
  }

  .events__slide {
    min-width: 0;
    width: 100%;
    flex: 0 0 100%;
  }
  .events__carousel {
    gap: 1rem;
  }
  .events__carousel-controls {
    display: none;
  }

  .iphone-frame {
    width: 270px;
    border-radius: 40px;
    padding: 12px;
  }
  .iphone-frame__screen {
    border-radius: 28px;
  }
  .iphone-frame__notch {
    top: 12px;
    width: 80px;
    height: 22px;
  }

  .creators__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .sponsorship__grid {
    max-width: 100%;
  }

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

  .next-event__hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .next-event__detail {
    justify-content: center;
  }
  .next-event__perks {
    grid-template-columns: 1fr;
  }

  .venue__gallery-side {
    grid-template-columns: 1fr;
  }
  .venue__details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-menu__link {
    font-size: 2rem;
  }

  /* Creator Modal Mobile */
  .creator-modal__container {
    width: 100%;
    max-height: 100vh;
    height: 100%;
    border: none;
  }
  .creator-modal__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .creator-modal__photo {
    width: 140px;
  }
  .creator-modal__headline {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .creator-modal__tags {
    justify-content: center;
  }
  .creator-modal__platforms {
    justify-content: center;
  }
  .creator-modal__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .section__title {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

/* ---- SMALL MOBILE (480px and below) ---- */
@media (max-width: 480px) {
  .hero__title-line {
    font-size: clamp(2.5rem, 14vw, 3.5rem);
  }
  .hero__title-line--accent {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .events__slide-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tier-card__amount {
    font-size: 3rem;
  }

  .btn--large {
    padding: 0.9em 2em;
    font-size: 1rem;
  }

  .section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .next-event__date-block {
    padding: 1.25rem 2rem;
  }
  .next-event__number {
    font-size: 4rem;
  }
}

/* ---- LARGE SCREENS (1440px+) ---- */
@media (min-width: 1440px) {
  .container {
    max-width: 1300px;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__court-lines {
    animation: none;
  }
  .custom-cursor, .cursor-trail {
    display: none !important;
  }
}
