@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

    .dashboard-grid,
    .player-profile-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: clamp(2.3rem, 5vw, 3rem);
    }

    .chart-container {
        height: 360px;
    }

    .match-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

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

    .profile-main-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section {
        min-height: 420px;
        height: auto;
        padding: 4rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cards,
    .match-preview-grid,
    .player-grid,
    .logo-grid {
        grid-template-columns: 1fr;
    }

    .profiles,
    .teams,
    .match-main,
    .profile-hero,
    .detail-row,
    .auth-options {
        flex-direction: column;
        align-items: center;
    }

    .profiles {
        text-align: center;
    }

    .team {
        width: 100%;
    }

    .ticker-wrapper {
        animation-duration: 18s;
    }

    .table-container {
        padding: 1rem;
    }

    table th,
    table td,
    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .article-details {
        padding: 1.5rem;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-body p {
        font-size: 1rem;
    }

    .chart-container,
    .dashboard-banner,
    .auth-card {
        padding: 1.5rem;
    }

    .media-tabs {
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .tab-btn {
        white-space: nowrap;
    }

    .video-thumbnail {
        height: 220px;
    }

    .profile-main-img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        min-height: 360px;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .mini-match-card {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        text-align: center;
        font-size: 0.85rem;
    }

    .mini-match-card img {
        width: 28px;
        height: 28px;
    }

    .auth-page {
        align-items: flex-start;
        padding: 1rem;
        padding-top: 5rem;
    }

    .back-home-link {
        top: 1rem;
        left: 1rem;
    }

    .auth-card {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
        border-radius: 14px;
    }

    .card-header h1 {
        font-size: 1.25rem;
    }

    .form-group {
        gap: 0.75rem;
    }

    .field input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .btn-auth-submit,
    .btn,
    .btn-outline,
    .btn-primary {
        width: 100%;
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .auth-options {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .dashboard-banner {
        padding: 1.75rem 1.25rem;
    }

    .dashboard-banner h3 {
        font-size: 1.15rem;
    }

    .chart-container {
        height: 320px;
        padding: 1.25rem;
    }

    .video-thumbnail {
        height: 190px;
    }

    .player-img {
        height: 300px;
    }

    .profile-main-img {
        height: 300px;
    }

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

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

    .match-card {
        padding: 1rem;
    }

    .score h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

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

    .logo {
        font-size: 1.3rem;
    }

    .team img,
    .profile-thumb img {
        width: 50px;
        height: 50px;
    }

    .video-thumbnail {
        height: 170px;
    }

    .player-info h3 {
        font-size: 1.15rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }
}