/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 40px 0 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .featured-player .section-title {
        font-size: 1.4rem;
    }
    
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .cover-info {
        padding: 12px;
    }
    
    .cover-title {
        font-size: 0.95rem;
    }
    
    .cover-artist {
        font-size: 0.85rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
    
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seo-card {
        padding: 20px;
    }
    
    .song-title {
        font-size: 1.5rem;
    }
    
    .player-actions {
        justify-content: center;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-buttons .btn {
        width: 100%;
        min-width: unset;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .meta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Print styles */
@media print {
    .main-header,
    .main-footer,
    .player-actions,
    .nav-buttons,
    .filters,
    .load-more {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    a {
        color: black !important;
        text-decoration: none !important;
    }
    
    .cover-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}