/* === Tablet (max-width: 768px) === */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 1.8rem; margin-bottom: 40px; }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero-name-en { font-size: 3.5rem; }
  .hero-name-cn { font-size: 3.5rem; }
  .hero-roles { font-size: 1rem; }
  .hero-figure { height: 75vh; }
  .hero-bottom { bottom: 60px; }
  .hero-text-back { left: 3%; }
  .hero-text-front { right: 3%; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo { justify-self: center; }

  .photo-frame {
    width: 200px;
    height: 200px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-number { font-size: 1.8rem; }

  /* Projects */
  .tabs { gap: 6px; }
  .tab-btn { padding: 8px 16px; font-size: 0.82rem; }
  .project-card { padding: 24px 20px; }
  .project-header { flex-direction: column; }

  /* Music */
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .audio-player {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .player-cover { width: 44px; height: 44px; }

  /* Visual */
  .video-grid { grid-template-columns: 1fr; }

  /* Contact */
  .links-grid { gap: 14px; }
  .link-card { padding: 18px 20px; min-width: 90px; }
  .contact-info { gap: 20px; flex-direction: column; align-items: center; }
}

/* === Mobile (max-width: 480px) === */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.5rem; margin-bottom: 32px; }

  .hero-name-en { font-size: 2.5rem; }
  .hero-name-cn { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; letter-spacing: 0.15em; }
  .hero-figure { height: 60vh; }
  .hero-bottom { bottom: 50px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 20px 10px; }
  .stat-number { font-size: 1.5rem; }

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

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

  .links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .lightbox-prev { left: 4px; font-size: 1.5rem; }
  .lightbox-next { right: 4px; font-size: 1.5rem; }
}
