/* ============================================
   RESPONSIVE STYLES — Streamer Prom
   ============================================ */

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

  .hero__disco {
    top: 4%;
    right: 4%;
    opacity: 0.7;
  }

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

  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats__big-number {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gallery__intro {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery__intro-text {
    padding-left: 0;
    text-align: center;
  }
  .gallery__intro-text .section__eyebrow {
    justify-content: center;
  }
  .gallery__intro-text .section__eyebrow::before { display: inline-block; }
  .gallery__intro-text h2 { text-align: center; }

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

  .amp__big {
    grid-template-columns: repeat(3, 1fr);
  }
  .amp__bars {
    height: 240px;
    gap: 0.5rem;
  }

  .host__photo {
    aspect-ratio: 16 / 10;
  }
  .host__platforms {
    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--court {
    transform: none;
    order: -1;
  }
  .tier-card--court:hover { transform: translateY(-6px); }

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

  .iphone-frame { width: 300px; }
}

/* ---- MOBILE (768px and below) ---- */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  .hero__title-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__title-line {
    font-size: clamp(3.5rem, 15vw, 5.5rem);
  }
  .hero__title-prom {
    font-size: clamp(4rem, 18vw, 7rem);
  }
  .hero__year { font-size: 1.4rem; }
  .hero__script { font-size: 1.6rem; }
  .hero__eyebrow { letter-spacing: 0.3em; }
  .hero__eyebrow-line { width: 20px; }
  .hero__badges {
    gap: 0.5rem;
  }
  .hero__badge {
    font-size: 0.6rem;
    padding: 0.4em 0.9em;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero__metrics {
    gap: 1.5rem;
  }
  .hero__metric-num { font-size: 1.6rem; }
  .hero__scroll { display: none; }
  .hero__disco {
    width: 70px;
    height: 70px;
    top: 5%;
    right: 5%;
    opacity: 0.5;
  }

  .marquee__item {
    font-size: 1.1rem;
    gap: 1rem;
  }

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

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card { padding: 1.25rem; }
  .stat-card__number { font-size: 1.75rem; }

  .gallery__collage {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
    gap: 2rem;
  }
  .polaroid:nth-child(1),
  .polaroid:nth-child(2),
  .polaroid:nth-child(3),
  .polaroid:nth-child(4),
  .polaroid:nth-child(5) {
    margin-top: 0;
  }

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

  /* Livestream window — compact mobile layout */
  .livestream__topbar,
  .livestream__bottombar {
    padding: 0.55rem 0.7rem;
    font-size: 0.65rem;
    gap: 0.5rem;
  }
  .livestream__channel .livestream__title { display: none; }
  .livestream__channel .livestream__sep { display: none; }
  .livestream__channel { font-size: 0.7rem; gap: 0.4rem; justify-content: flex-start; }
  .livestream__live {
    font-size: 0.6rem;
    padding: 0.25em 0.55em;
    letter-spacing: 0.15em;
  }
  .livestream__live-dot { width: 6px; height: 6px; }
  .livestream__viewers { font-size: 0.7rem; gap: 0.3rem; }
  .livestream__corner-tag {
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.6rem;
    padding: 0.3em 0.55em;
  }
  .livestream__play-btn .play-circle {
    width: 60px;
    height: 60px;
  }

  .amp__big {
    grid-template-columns: repeat(2, 1fr);
  }
  .amp__bars {
    grid-template-columns: repeat(5, 1fr);
    height: 260px;
    gap: 0.4rem;
  }
  .amp-bar:nth-child(n+6) { display: none; }
  .amp-bar__label { font-size: 0.55rem; letter-spacing: 0.03em; }
  .amp-bar__date  { font-size: 0.55rem; }
  .amp__chart { padding: 1.5rem 1.25rem; }
  .amp__chart-header { flex-direction: column; align-items: flex-start; }

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

  .sponsorship__grid {
    max-width: 100%;
  }

  .social__grid {
    max-width: 100%;
  }
  .social-card__icon { width: 48px; height: 48px; }

  .bigday__details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .bigday__detail-text { text-align: center; }

  .cta__contact {
    flex-direction: column;
    gap: 1rem;
  }

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

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

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

  .host__body { padding: 1.75rem; }
  .host__platforms { grid-template-columns: 1fr; }
}

/* ---- SMALL MOBILE (480px and below) ---- */
@media (max-width: 480px) {
  .hero__title-line {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }
  .hero__title-prom {
    font-size: clamp(3.5rem, 17vw, 5.5rem);
  }
  .hero__year { font-size: 1.1rem; }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .amp__big {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
  .bigday__date {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }
}

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

/* ---- 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__grid,
  .hero__beam--left,
  .hero__beam--right,
  .hero__disco svg,
  .hero__disco,
  .marquee__track,
  .text--holo {
    animation: none !important;
  }
  .custom-cursor, .cursor-trail {
    display: none !important;
  }
}
