/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.player-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Player card styles */
.player-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.player-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Logo styles */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    margin-bottom: 10px;
}

/* Now playing section */
.now-playing {
    text-align: center;
}

.now-playing-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.stream-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a2b4a;
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: #1a9cb0;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(26, 156, 176, 0.3);
    transition: all 0.2s ease;
}

.play-button:hover {
    background-color: #158a9a;
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(0.98);
}

/* Volume control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-icon {
    color: #666;
    font-size: 20px;
}

.volume-slider-container {
    flex-grow: 1;
    position: relative;
    height: 20px;
}

.volume-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    outline: none;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #1a9cb0;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.volume-progress {
    position: absolute;
    height: 4px;
    background-color: #1a9cb0;
    border-radius: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    z-index: 1;
}

/* Ad section */
.ad-section {
    background: linear-gradient(135deg, #1a2b4a 0%, #1a9cb0 100%);
    padding: 25px;
    color: white;
    text-align: center;
}

/* Divider */
.divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0;
}

.ad-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ad-content h2 {
    font-size: 24px;
    font-weight: 600;
}

.ad-content p {
    font-size: 14px;
    opacity: 0.9;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: #1a2b4a;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.contact-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .player-container {
        padding: 15px;
    }
    
    .player-section {
        padding: 20px;
    }
    
    .ad-section {
        padding: 20px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .fm {
        font-size: 16px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* Animations for play/pause */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(26, 156, 176, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(26, 156, 176, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(26, 156, 176, 0.5);
    }
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.playing .play-button {
    animation: pulse 2s infinite, glow 3s infinite;
    position: relative;
}

.play-button.animated {
    animation: pulse 2s infinite, glow 3s infinite;
    position: relative;
}

.playing .play-button::before,
.playing .play-button::after,
.play-button.animated::before,
.play-button.animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: rgba(26, 156, 176, 0.3);
    z-index: -1;
}

.playing .play-button::before,
.play-button.animated::before {
    animation: wave 2s infinite;
}

.playing .play-button::after,
.play-button.animated::after {
    animation: wave 2s infinite 0.6s;
}

.fa-pause {
    font-size: 20px;
}
