:root {
    --primary-color: #121212;
    --secondary-color: #222;
    --accent-color: #ffffff;
    --background-color: #000000;
    --text-color: #ffffff;
    --border-color: #333;
    --button-hover: #333;
    --volume-track: #444;
    --volume-thumb: #fff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('background.png');

}

.container {
    width: 100%;
    max-width: 800px;
    min-width: 320px;
    padding: 20px;
}

.player {
    background: var(--primary-color);
    opacity: 0.9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
}

.logo {
    margin-bottom: 10px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-circle span {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.player-header h1 {
    font-size: 1.5em;
    color: var(--accent-color);
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

.now-playing {
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.song-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--accent-color);
    font-size: 1.1em;
    overflow: hidden;
    white-space: nowrap;
}

.song-info i {
    font-size: 1.2em;
    flex-shrink: 0;
}

.song-info span {
    text-overflow: ellipsis;
    overflow: hidden;
}

.album-art-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
}

.album-art-container img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default until image loads */
}

.album-art-container img[src]:not([src=""]) {
    display: block; /* Show when src is set */
}

.next-song-container {
    text-align: center;
    padding: 10px 15px;
    margin-top: 10px;
}

.next-song-container span {
    display: inline-block;
    color: var(--accent-color);
    font-size: 1.1em;
    opacity: 0.7;
    font-style: italic;
    text-align: center;
    width: 100%;
}

.next-song-container span:before {
    content: "Next: ";
    font-weight: bold;
    opacity: 1;
}

.track-info-container {
    text-align: center;
    padding: 10px 15px;
}

.track-details {
    color: var(--accent-color);
    font-size: 0.85em;
    opacity: 0.6;
    line-height: 1.5;
}

.music-links-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    flex-wrap: wrap;
}

.music-links-container a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-links-container a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.music-links-container a i {
    font-size: 1.1em;
}

.visualizer-container {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#visualizer {
    width: 100%;
    height: 100%;
}

.volume-slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
}

.mute-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 1.2em;
    cursor: pointer;
    padding: 0 10px;
}

#volumeSlider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    background: var(--volume-track);
    border-radius: 2px;
    outline: none;
    margin: 0 15px;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--volume-thumb);
    border-radius: 50%;
    cursor: pointer;
}

.volume-percentage {
    font-size: 0.8em;
    min-width: 40px;
    text-align: right;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.control-btn-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.control-btn-overlay:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.equalizer-btn, .live-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.live-btn span {
    font-size: 0.7em;
    font-weight: bold;
}

.stream-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.stream-btn {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.stream-btn:hover {
    background-color: var(--button-hover);
}

.stream-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.status {
    text-align: center;
    color: var(--accent-color);
    font-size: 0.9em;
    opacity: 0.8;
}

.contact-info {
    background: var(--primary-color);
    opacity: 0.9;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.contact-info p {
    font-size: 1.1em;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1em;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.social-link:hover {
    transform: scale(1.15);
    opacity: 1;
}

.social-link.facebook {
    background-color: #1877f2;
    color: #fff;
}

.social-link.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
        min-width: 280px;
    }
    
    .player {
        padding: 15px;
        border-radius: 8px;
    }
    
    .control-btn-group {
        gap: 20px;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .player-header h1 {
        font-size: 1.3em;
    }
    
    .volume-slider-container {
        margin: 10px 0;
    }
    
    .visualizer-container {
        height: 120px;
    }
    
    .now-playing {
        padding: 8px 10px;
    }
    
    .song-info {
        font-size: 0.9em;
    }
    
    .album-art-container img {
        max-width: 200px;
    }
} 