@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&display=swap");
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: #fff;
}

.radio-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.radio-card {
    width: 100%;
    max-width: 520px;
    padding: 45px 30px;
    text-align: center;
    background: #1c1c1c;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.radio-header {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 0;
}

.radio-logo {
    font-family: "Josefin Sans", sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.1;
    padding-top: 8px;
}

.player-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 4px;
}

.radio-subtitle {
    margin: 10px 0 25px;
    color: #aaa;
    font-size: 16px;
}

.location-time {
    margin-bottom: 6px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
}

.clock {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.now-playing {
    margin-bottom: 30px;
    padding: 18px 20px;
    background: #252525;
    border-radius: 14px;
}

.now-playing-label {
    margin-bottom: 8px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.song-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
}

.player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-button {
    width: 90px;
    height: 90px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 36px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-button:hover {
    transform: scale(1.06);
}

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

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 22px;
}

.mute-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.mute-button:hover {
    opacity: 0.75;
}

.mute-button:active {
    opacity: 0.55;
}

.volume-control input[type="range"] {
    flex: 1;
    cursor: pointer;
}

#volumeValue {
    width: 45px;
    text-align: right;
    color: #aaa;
    font-size: 14px;
}

.status {
    margin-top: 20px;
    color: #aaa;
    font-size: 14px;
}

@media (max-width: 600px) {
    .radio-card {
        padding: 35px 20px;
    }

    .radio-header {
        gap: 14px;
    }

    .radio-logo {
        font-size: 30px;
        letter-spacing: 2px;
        line-height: 1.1;
        padding-top: 5px;
    }

    .player-logo {
        width: 200px;
        height: 200px;
    }

    .location-time {
        font-size: 15px;
    }

    .clock {
        font-size: 24px;
    }

    .now-playing-label,
    .song-title {
        font-size: 17px;
    }

    .play-button {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}
