/* Responsive design and media queries */

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .turntable {
        width: 280px;
        height: 280px;
    }
    
    .turntable-vinyl {
        width: 220px;
        height: 220px;
    }
    
    .tonearm {
        width: 150px;
        right: 40px;
    }
    
    .turntable-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .track-list-container {
        width: 100%;
        max-width: 400px;
        height: auto;
        max-height: 350px;
    }
    
    .vinyl-collection {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
        max-height: 500px;
    }
    
    .vinyl-record {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
    
    .album-cover {
        width: 180px;
        height: 180px;
    }
    
    .vinyl-disc {
        width: 180px;
        height: 180px;
    }
    
    .vinyl-label {
        width: 70px;
        height: 70px;
        font-size: 0.6rem;
    }
    
    .album-info {
        min-width: 200px;
        padding: 12px 16px;
        bottom: -110px;
    }
    
    .vinyl-record:hover .album-info {
        bottom: -90px;
    }
    
    .control-buttons {
        flex-wrap: wrap;
    }
    
    .bookshelf {
        margin: 20px auto;
        padding: 20px 15px 15px 15px;
    }
    
    .pagination {
        gap: 10px;
    }
    
    .pagination-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .filter-controls {
        gap: 10px;
    }
    
    .genre-filter {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .clear-filter {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .turntable {
        width: 240px;
        height: 240px;
    }
    
    .turntable-vinyl {
        width: 190px;
        height: 190px;
    }
    
    .tonearm {
        width: 120px;
        right: 30px;
    }
    
    .track-list-container {
        width: 100%;
        max-width: 300px;
        height: auto;
        max-height: 300px;
    }
    
    .track-item {
        padding: 10px 15px;
        margin: 1px 8px;
    }
    
    .track-name {
        font-size: 0.9rem;
    }
    
    .vinyl-collection {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        max-height: 400px;
    }
    
    .vinyl-record {
        width: 150px;
        height: 150px;
    }
    
    .album-cover {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-disc {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-label {
        width: 60px;
        height: 60px;
        font-size: 0.55rem;
    }
    
    .album-info {
        min-width: 180px;
        padding: 10px 14px;
        bottom: -100px;
    }
    
    .vinyl-record:hover .album-info {
        bottom: -80px;
    }
    
    .album-title {
        font-size: 1rem;
    }
    
    .album-artist {
        font-size: 0.8rem;
    }
    
    .genre-tag {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
    
    .bookshelf {
        margin: 15px auto;
        padding: 15px 10px 10px 10px;
    }
    
    .pagination {
        gap: 8px;
        margin: 20px 0;
    }
    
    .pagination-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .genre-filter {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .clear-filter {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .auth-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .collection-info {
        font-size: 1rem;
    }
    
    /* Crate View Responsive */
    .crate-view {
        padding: 20px 15px;
        margin: 20px auto;
    }
    
    .crate-records-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .crate-record-info {
        padding: 12px;
    }
    
    .crate-record-title {
        font-size: 13px;
    }
    
    .crate-record-artist {
        font-size: 12px;
    }
    
    .crate-play-button {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .crate-overlay-play-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .crate-overlay-title {
        font-size: 14px;
    }
    
    .crate-overlay-artist {
        font-size: 12px;
    }
    
    .view-type-section {
        margin: 10px 0;
    }
    
    .view-type-section label {
        font-size: 14px;
    }
    
    .view-type-select {
        font-size: 13px;
        padding: 6px 12px;
    }
}