* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.audio-list {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.audio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.audio-item:last-child {
    border-bottom: none;
}

.audio-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
}

.audio-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.audio-details h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 4px;
}

.audio-details p {
    font-size: 0.85rem;
    color: #666;
}

.audio-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.play-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(17, 153, 142, 0.4);
}

.play-btn:active {
    transform: translateY(0);
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.audio-player-container {
    padding: 0 20px 20px 20px;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-top: -10px;
}

.audio-player {
    width: 100%;
    height: 45px;
    border-radius: 20px;
    outline: none;
}

.audio-player::-webkit-media-controls-panel {
    background-color: #f8f9fa;
}

.audio-player::-webkit-media-controls-current-time-display,
.audio-player::-webkit-media-controls-time-remaining-display {
    color: #333;
}

.audio-player::-webkit-media-controls-timeline {
    height: 6px;
    border-radius: 3px;
}

.audio-player::-webkit-media-controls-timeline:hover {
    height: 8px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

.powered-by {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.powered-by a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.powered-by a:hover {
    opacity: 0.8;
}

.powered-by svg {
    vertical-align: middle;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .audio-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .audio-info {
        flex-direction: column;
    }
    
    .audio-actions {
        width: 100%;
        justify-content: center;
    }
}
