/* 平板适配 */
@media (max-width: 1024px) {
    :root {
        --spacing-2xl: 4rem;
    }

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

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

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

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

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

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

    .footer-top {
        grid-template-columns: 1fr;
    }

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

/* 移动适配 */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3rem;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 1.5rem;
        gap: var(--spacing-sm);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-item {
        width: 100%;
    }

    .navbar-link {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .navbar-cta {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }

    .navbar-cta .btn {
        width: 100%;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-logo img {
        height: 80px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-news {
        bottom: 80px;
    }

    .news-label {
        padding: 0.75rem 0.75rem;
        font-size: 0.7rem;
    }

    .features-grid,
    .modes-grid,
    .weapons-track,
    .maps-grid,
    .characters-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(1)::after,
    .stat-item:nth-child(3)::after {
        right: 0;
    }

    .stat-item:nth-child(2)::after,
    .stat-item:nth-child(4)::after {
        display: none;
    }

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

    .community-links {
        flex-direction: column;
    }

    .community-link {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* 小屏移动设备 */
@media (max-width: 480px) {
    .hero-logo img {
        height: 60px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }
}
