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

body {
    font-family: 'Inter', 'SolaimanLipi', sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
}

.radio-player {
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
}

#temporaryMessage {
    display: none;
    text-align: center;
    margin-bottom: 8px;
    font-size: 0.9em;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #3a3a3a;
    color: #fff;
    font-weight: 500;
    transition: opacity 0.3s ease-out;
}

.metadata {
    text-align: center;
    margin-bottom: 15px;
    padding: 5px;
    background-color: #080808;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border: 1px solid #34fc02;
    box-shadow: 0px 0px 15px #34fc02;
}

.infoMeta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

#metaStationLogo {
    width: 110px;
    height: 110px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #649173;
    background-color: #969595;
}

.stationMeta {
    font-family: 'Lexend', 'SolaimanLipi', sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    color: #34fc02;
}
.locationMeta {
    font-size: 1.2em;
    color: #c6c7c6;
    margin-left: -5px;
    margin-top: 3px;
    font-family: 'SolaimanLipi','Lexend', sans-serif;
}

#audioVisualizer {
    display: none;
    width: 100%;
    height: 100px;
    background-color: #222;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.stations-list {
    margin-bottom: 10px;
    max-height: 334px;
    overflow-y: auto;
    padding-right: 10px;
    padding-left: 10px;
}

.station {
    display: flex;
    align-items: center;
    padding: 0;
    background-color: #011105;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    border: 1px solid #366d29;
}

.station:hover {
    background-color: #080808;
    border-radius: 8px;
}

.station-logo {
    width: 54px;
    height: 54px;
    border-radius: 6px 0 0 6px;
    margin-right: 10px;
    object-fit: cover;
    background-color: #2c2c2c;
}

.station-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stationName {
    margin-top: 4px;
    font-size: 1.2em;
    font-weight: bold;
    color: #f0f0f0;
}

.stationLocation {
    font-family: 'Lexend','SolaimanLipi', sans-serif;
    font-size: 1em;
    color: #4CAF50;
    margin-left: -5px;
    margin-bottom: 3px;
}

.station .control-btn {
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: 5px;
    font-size: 1.2em;
    padding: 6px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #080808;
    padding: 10px;
    border: 1px solid #34fc02;
    border-radius: 8px;
    box-shadow: 0px 0px 10px #34fc02;
}

.control-btn,
.volume-mute-btn {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.6em;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.control-btn:hover,
.volume-mute-btn:hover {
    background-color: #555;
    color: #fff;
}

.control-btn .fa-stop,
.station .fa-stop {
    display: none;
}

.volume-controls {
    display: flex;
    align-items: center;
    width: 60%;
}
button i.fa-stop{
color: #34fc02;
}

#volumeSlider {
    flex-grow: 1;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    margin: 0 15px;
}

#volumeFill {
    height: 100%;
    background-color: #34fc02;
    border-radius: 5px;
    width: 30%;
}

.fa-volume-mute {
    display: none;
}

.stations-list::-webkit-scrollbar {
    width: 8px;
}

.stations-list::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 4px;
}

.stations-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.stations-list::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.radioFooter {
    font-size: 18px;
    display: flex;
    text-align: center;
    margin-top: 10px;
    color: #aaa;
    font-size: 0.8em;
}

.radioFooter p {
    font-size: 12px;
}

.radioFooter a {
    font-size: 12px;
    font-weight: 700;
    color: #4CAF50;
    text-decoration: none;
    margin-right: 5px;
}

@media screen and (max-width: 480px) {
    .radio-player {
        width: 100%;
        padding: 5px;
    }

    .stations-list {
        margin-bottom: 5px;
        max-height: 460px;
        padding-right: 8px;
    }

    .station-logo {
        width: 46px;
        height: 46px;
    }

    .stationName {
        font-size: 1em;
    }

    .stationMeta {
        font-size: 1.4em;
        margin-top: 5px;
    }

    .locationMeta {
        font-size: 1em;
        margin-bottom: 5px;
    }

    .stationLocation {
        font-size: 0.8em;
    }

    #metaStationLogo {
        width: 100px;
        height: 100px;
    }

    .metadata {
        flex-direction: row;
    box-shadow: 0px 0px 5px #34fc02;
    }

    .control-btn,
    .volume-mute-btn {
        width: 42px;
        height: 42px;
        padding: 4px;
        border-radius: 50%;
    }
    .control-btn:hover,
.volume-mute-btn:hover {
    background-color: #0a0a0a;
    color: #fff;
}

    .volume-controls {
        width: 50%;
        justify-content: center;
    }

    .controls {
    box-shadow: 0px 0px 5px #34fc02;
}

}