/* Downloads Page Styling */
.downloads-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.download-category {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1) 0%, rgba(150, 50, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.download-category h2 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.download-category h2 i {
    color: rgba(0, 200, 255, 1);
    font-size: 16px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(0, 200, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.file-icon {
    color: rgba(0, 200, 255, 1);
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.file-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.download-btn {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.3) 0%, rgba(150, 50, 255, 0.2) 100%);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 6px;
    padding: 6px 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.5) 0%, rgba(150, 50, 255, 0.3) 100%);
    border-color: rgba(0, 200, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 100, 255, 0.4);
}

.download-btn i {
    font-size: 14px;
}

.download-note {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1) 0%, rgba(150, 50, 255, 0.05) 100%);
    border-left: 3px solid rgba(0, 200, 255, 0.5);
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 16px;
}

.download-note p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-note i {
    color: rgba(0, 200, 255, 1);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-category {
        padding: 12px;
    }
    
    .file-item {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .file-name {
        font-size: 13px;
    }
    
    .file-size {
        font-size: 11px;
    }
    
    .download-btn {
        min-width: 28px;
        height: 28px;
        padding: 4px 6px;
    }
    
    .download-btn i {
        font-size: 12px;
    }
    
    .download-category h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}
/* Loading and Empty States */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.loading-message i {
    font-size: 32px;
    color: rgba(0, 200, 255, 1);
    margin-bottom: 16px;
    display: block;
}

.loading-message p {
    font-size: 18px;
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1) 0%, rgba(150, 50, 255, 0.05) 100%);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.empty-state i {
    font-size: 48px;
    color: rgba(0, 200, 255, 0.6);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .loading-message {
        padding: 40px 20px;
    }
    
    .loading-message i {
        font-size: 28px;
    }
    
    .loading-message p {
        font-size: 16px;
    }
    
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-state i {
        font-size: 40px;
    }
    
    .empty-state h3 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}
/* Music Player Styling */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 20, 40, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 200, 255, 0.3);
    padding: 16px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.music-player.active {
    transform: translateY(0);
}

.music-player .player-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.player-icon {
    color: rgba(0, 200, 255, 1);
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-status {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.control-btn {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.3) 0%, rgba(150, 50, 255, 0.2) 100%);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.5) 0%, rgba(150, 50, 255, 0.3) 100%);
    border-color: rgba(0, 200, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 100, 255, 0.4);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.volume-control i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

#volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: rgba(0, 200, 255, 1);
    border-radius: 50%;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: rgba(0, 200, 255, 1);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 200, 255, 1) 0%, rgba(150, 50, 255, 1) 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
}

/* File Actions (Play + Download buttons) */
.file-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-btn {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.3) 0%, rgba(150, 50, 255, 0.2) 100%);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 6px;
    padding: 6px 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.play-btn:hover {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.5) 0%, rgba(150, 50, 255, 0.3) 100%);
    border-color: rgba(0, 200, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.play-btn i {
    font-size: 14px;
}

/* Responsive Design for Music Player */
@media (max-width: 768px) {
    .music-player {
        padding: 12px 16px;
    }
    
    .player-controls {
        gap: 8px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
    }
    
    .volume-control {
        display: none; /* Hide volume control on mobile */
    }
    
    .track-name {
        font-size: 13px;
    }
    
    .track-status {
        font-size: 11px;
    }
    
    .play-btn {
        min-width: 28px;
        height: 28px;
        padding: 4px 6px;
    }
    
    .play-btn i {
        font-size: 12px;
    }
}

/* Add bottom padding to downloads content to account for player */
.downloads-content {
    padding-bottom: 120px;
}