* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.player-container {
    background: #0a0a0a;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    max-width: 400px;
    width: 100%;
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
}

/* Logo Radio */
.radio-logo {
    margin-bottom: 20px;
}

.radio-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Info Radio */
.radio-info {
    margin-bottom: 25px;
}

.radio-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.radio-motto {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

/* Controlli Player */
.player-controls {
    margin-bottom: 20px;
}

.controls-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
    border: 2px solid #444;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.control-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
    border-color: #666;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn svg {
    width: 28px;
    height: 28px;
    color: white;
}

.play-btn {
    width: 70px;
    height: 70px;
}

.play-btn svg {
    width: 32px;
    height: 32px;
}

.mute-btn {
    width: 50px;
    height: 50px;
}

.mute-btn svg {
    width: 24px;
    height: 24px;
}

/* Volume Control */
.volume-control {
    padding: 0 20px;
}

.volume-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #2a2a2a 0%, #4a4a4a 100%);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 2px solid #777;
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #555;
    cursor: pointer;
    border: 2px solid #777;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Status Bar */
.status-bar {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    color: #999;
    border: 1px solid #333;
}

.status-bar.playing {
    background: #1a2e1a;
    color: #66bb6a;
    border-color: #2e4a2e;
}

.status-bar.loading {
    background: #2e2a1a;
    color: #ffa726;
    border-color: #4a3e2e;
}

.status-bar.error {
    background: #2e1a1a;
    color: #ef5350;
    border-color: #4a2e2e;
}

/* Responsive */
@media (max-width: 480px) {
    .player-container {
        padding: 20px;
    }
    
    .radio-logo img {
        max-width: 150px;
    }
    
    .radio-name {
        font-size: 20px;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .mute-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }
    
    .player-container {
        padding: 15px;
    }
    
    .radio-logo img {
        max-width: 120px;
    }
}

