/* ============================================
   乐鱼体育 - 响应式样式表
   lj-responsive.css
   ============================================ */

/* --- xl: >= 1280px (default) --- */

/* --- lg: 1024px - 1279px --- */
@media (max-width: 1279px) {
  .lj-hero h1 {
    font-size: 3rem;
  }
  .lj-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .lj-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- md: 768px - 1023px --- */
@media (max-width: 1023px) {
  .lj-hero h1 {
    font-size: 2.5rem;
  }
  .lj-countdown-num {
    font-size: 2rem;
  }
  .lj-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lj-grid-2 {
    grid-template-columns: 1fr;
  }
  .lj-article-featured {
    grid-template-columns: 1fr;
  }
  .lj-article-card.lj-article-main img {
    height: 250px;
    min-height: auto;
  }
  .lj-tab-content.lj-tab-visible {
    grid-template-columns: 1fr;
  }
  .lj-app-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lj-app-mockup {
    order: -1;
  }
  .lj-content-sidebar {
    grid-template-columns: 1fr;
  }
  .lj-sidebar {
    position: static;
  }
  .lj-page-header h1 {
    font-size: 2rem;
  }
  .lj-lane-stats {
    display: none;
  }
  .lj-lane-name {
    width: 80px;
    font-size: 0.8rem;
  }
}

/* --- sm: 640px - 767px --- */
@media (max-width: 767px) {
  .lj-nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(240, 248, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .lj-nav-links.lj-nav-open {
    display: flex;
  }
  .lj-hamburger {
    display: flex;
  }
  .lj-hero h1 {
    font-size: 2rem;
  }
  .lj-hero-subtitle {
    font-size: 1rem;
  }
  .lj-countdown {
    display: none;
  }
  .lj-section {
    padding: 50px 0;
  }
  .lj-section-title h2 {
    font-size: 1.6rem;
  }
  .lj-grid-4,
  .lj-grid-3,
  .lj-grid-2 {
    grid-template-columns: 1fr;
  }
  .lj-flip-card {
    height: 350px;
  }
  .lj-footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lj-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .lj-partner-grid {
    gap: 15px;
  }
  .lj-partner-item {
    min-width: 140px;
    padding: 15px 20px;
  }
  .lj-scroll-h {
    gap: 15px;
  }
  .lj-record-card {
    flex: 0 0 220px;
  }
  .lj-app-buttons {
    flex-direction: column;
  }
  .lj-pool-view {
    padding: 10px;
    overflow-x: auto;
  }
  .lj-lane {
    min-width: 500px;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .lj-page-header {
    padding: 100px 0 40px;
  }
  .lj-page-header h1 {
    font-size: 1.6rem;
  }
}

/* --- xs: < 640px --- */
@media (max-width: 639px) {
  .lj-hero {
    min-height: 500px;
  }
  .lj-hero h1 {
    font-size: 1.6rem;
  }
  .lj-hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .lj-btn-primary,
  .lj-btn-outline {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .lj-container {
    padding: 0 15px;
  }
  .lj-comment {
    flex-direction: column;
    align-items: flex-start;
  }
  .lj-tabs {
    gap: 6px;
  }
  .lj-tab-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .lj-trust-badges {
    flex-direction: column;
    align-items: center;
  }
}
