/* ============================================
   皇冠体育 - HJ Sports Responsive Stylesheet
   ============================================ */

/* --- XL: Desktop (>= 1280px) --- */
@media (min-width: 1280px) {
    .hj-hero h1 { font-size: 5rem; }
}

/* --- LG: Small Laptop (1024px - 1279px) --- */
@media (max-width: 1279px) {
    .hj-hero h1 { font-size: 4rem; }
    .hj-article-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hj-gallery-item:nth-child(1) img,
    .hj-gallery-item:nth-child(4) img { height: 400px; }
}

/* --- MD: Tablet (768px - 1023px) --- */
@media (max-width: 1023px) {
    .hj-hero h1 { font-size: 3.2rem; }
    .hj-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hj-events-grid { grid-template-columns: 1fr; }
    .hj-event-card-featured { grid-row: span 1; }
    .hj-event-card-featured .hj-event-card-img { min-height: 250px; }
    .hj-video-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-ranking-layout { grid-template-columns: 1fr; }
    .hj-podium { margin-bottom: 30px; }
    .hj-article-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-rookie-layout { grid-template-columns: 1fr; }
    .hj-interview-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-gallery-item:nth-child(1),
    .hj-gallery-item:nth-child(4) { grid-row: span 1; }
    .hj-gallery-item:nth-child(1) img,
    .hj-gallery-item:nth-child(4) img,
    .hj-gallery-item img { height: 200px; }
    .hj-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-app-layout { grid-template-columns: 1fr; text-align: center; }
    .hj-app-mockup img { margin: 0 auto 30px; }
    .hj-download-btns { justify-content: center; }
    .hj-match-cards { grid-template-columns: 1fr; }
    .hj-page-hero h1 { font-size: 2.5rem; }
    .hj-section { padding: 60px 0; }
}

/* --- SM: Mobile Landscape (640px - 767px) --- */
@media (max-width: 767px) {
    .hj-nav-links { display: none; }
    .hj-hamburger { display: flex; }
    .hj-nav-links.hj-mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        padding: 20px;
        border-bottom: 2px solid var(--hj-primary);
        gap: 5px;
    }
    .hj-nav-links.hj-mobile-open li a {
        display: block;
        padding: 12px 15px;
    }
    .hj-hero h1 { font-size: 2.5rem; }
    .hj-hero-desc { font-size: 0.95rem; }
    .hj-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .hj-stat-num { font-size: 2rem; }
    .hj-video-grid { grid-template-columns: 1fr; }
    .hj-article-grid { grid-template-columns: 1fr; }
    .hj-vs-layout { grid-template-columns: 1fr; gap: 20px; }
    .hj-interview-grid { grid-template-columns: 1fr; }
    .hj-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hj-footer-grid { grid-template-columns: 1fr; }
    .hj-section-title { font-size: 2rem; }
    .hj-page-hero h1 { font-size: 2rem; }
    .hj-content-body h2 { font-size: 1.5rem; }
    .hj-inner-links ul { grid-template-columns: 1fr; }
    .hj-prediction-btns { flex-direction: column; align-items: center; }
    .hj-section { padding: 50px 0; }
}

/* --- XS: Mobile Portrait (< 640px) --- */
@media (max-width: 639px) {
    .hj-hero h1 { font-size: 2rem; }
    .hj-hero-content { padding: 100px 15px 40px; }
    .hj-hero-btns { flex-direction: column; align-items: center; }
    .hj-btn-primary, .hj-btn-outline { width: 100%; text-align: center; }
    .hj-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hj-stat-num { font-size: 1.8rem; }
    .hj-events-grid { grid-template-columns: 1fr; }
    .hj-gallery-grid { grid-template-columns: 1fr; }
    .hj-gallery-item img,
    .hj-gallery-item:nth-child(1) img,
    .hj-gallery-item:nth-child(4) img { height: 200px; }
    .hj-partners-logos { gap: 25px; }
    .hj-partner-logo { font-size: 1.1rem; }
    .hj-honors { flex-direction: column; align-items: center; }
    .hj-download-btns { flex-direction: column; }
    .hj-download-btn { width: 100%; justify-content: center; }
    .hj-section { padding: 40px 0; }
    .hj-container { padding: 0 15px; }
}
