/* =========================
   DESKTOP / BASE
========================= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#010105;
    color:white;
    font-family:Arial, sans-serif;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:100vh;
    padding:5px;
}

h1{
    color:#9DFF00;
    margin:0;
    text-align:center;
}

.logo{
    width:100%;
    max-width:600px;
    height:auto;
    font-size:10px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
}

.logotopo{
    display:block;
    width:600px;
    height:230px;
    border-radius:3px;
    margin-bottom:-15px;
}

.location{
    font-size:22px;
    color:#e2e2e2;
    margin-top:0;
    margin-bottom:0;
    letter-spacing:0.6px;
    font-weight:500;
    text-align:center;
}

.flag-img{
    width:24px;
    border-radius:3px;
    margin-left:8px;
}

#coverArt{
    width:380px;
    height:380px;
    object-fit:cover;
    border-radius:16px;
    display:block;
    margin-top:0;
    margin-bottom:30px;
    margin-left:auto;
    margin-right:auto;
}

#coverArt.default-cover{
    object-fit:contain;
    padding:0;
    background:#111;
    margin-left:auto;
    margin-right:auto;
}

#music{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:1px;
    flex-wrap:nowrap;
    font-size:21px;
    color:#ffd400;
    max-width:95%;
    min-height:10px;
    font-weight:700;
    line-height:1.4;
    transition:opacity 0.3s;
    margin-top:22px;
    margin-bottom:15px;
}

.music-icon{
    font-size:43px;
    line-height:1;
    flex:0 0 auto;
}

.music-text{
    display:inline-block;
    align-items:center;
    min-width:0;
    overflow-wrap:anywhere;
}

.player{
    background:
        linear-gradient(
            180deg,
            #171717,
            #101010
        );
    width:100%;
    max-width:440px;
    padding:15px;
    border-radius:25px;
    border:1px solid rgba(0,255,153,0.08);
    box-shadow:
        0 0 18px rgba(0,255,153,0.10),
        0 0 40px rgba(0,255,153,0.06);
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    margin-top:15px;
}

.stream-label{
    color:#cfcfcf;
    font-size:10px;
    font-weight:600;
    letter-spacing:2.8px;
    margin-top:1px;
    margin-bottom:16px;
    text-transform:uppercase;
    opacity:0.88;
    text-align:center;
}

.stream-buttons{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    width:100%;
    flex-wrap:wrap;
}

.stream-btn{
    flex:1;
    border:none;
    outline:none;
    border-radius:14px;
    background:
        linear-gradient(
            180deg,
            #2f2f2f,
            #1d1d1d
        );
    color:white;
    padding:15px 8px;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:
        transform 0.22s,
        box-shadow 0.22s,
        background 0.22s;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.04),
        0 2px 8px rgba(0,0,0,0.35);
    white-space:nowrap;
}

.stream-btn:hover{
    transform:translateY(-1px);
    background:
        linear-gradient(
            180deg,
            #3b3b3b,
            #242424
        );
}

.stream-btn.active{
    background:
        linear-gradient(
            180deg,
            #9DFF00,
            #00d37f
        );
    color:black;
    transform:scale(1.03);
    box-shadow:
        0 0 12px rgba(0,255,153,0.75),
        0 0 28px rgba(0,255,153,0.28);
}

audio{
    width:100%;
    margin-top:4px;
    margin-bottom:8px;
    height:44px;
}

.volume-container{
    margin-top:0;
    margin-bottom:10px;
    padding:14px 16px;
    border-radius:16px;
    background:
        linear-gradient(
            180deg,
            #1b1b1b,
            #121212
        );
    border:1px solid rgba(0,255,153,0.08);
    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.03),
        0 0 12px rgba(0,255,153,0.05);
}

.volume-label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    font-size:15px;
    font-weight:600;
    color:#d9d9d9;
}

#volumeValue{
    color:#00ff99;
    font-size:20px;
    font-weight:600;
}

.volume-slider,
#volumeSlider{
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    border-radius:6px;
    outline:none;
    cursor:pointer;
}

.volume-slider{
    height:6px;
    background:
        linear-gradient(
            90deg,
            #9DFF00,
            #9DFF00
        );
}

#volumeSlider{
    height:1.5px;
    background:linear-gradient(to right, #9DFF00 100%, #333 100%);
}

.volume-slider::-webkit-slider-thumb,
#volumeSlider::-webkit-slider-thumb{
    -webkit-appearance:none;
    cursor:pointer;
}

.volume-slider::-webkit-slider-thumb{
    width:23px;
    height:23px;
    border-radius:50%;
    background:#ffffff;
    border:2px solid #9DFF00;
    box-shadow:0 0 10px rgba(0,255,153,0.6);
    transition:transform 0.2s;
}

#volumeSlider::-webkit-slider-thumb{
    width:14px;
    height:22px;
    border-radius:20%;
    background:#9DFF00;
}

.volume-slider::-webkit-slider-thumb:hover{
    transform:scale(1.0);
}

.volume-slider::-moz-range-thumb{
    width:18px;
    height:18px;
    border:none;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 0 10px rgba(0,17,17,17.6);
    cursor:pointer;
}

.share-btn{
    width:100%;
    margin-top:18px;
    padding:17px;
    border:none;
    border-radius:16px;
    background:
        linear-gradient(
            180deg,
            #9DFF00,
            #00dd84
        );
    color:black;
    font-size:18px;
    font-weight:800;
    cursor:pointer;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    box-shadow:0 0 18px rgba(0,255,153,0.35);
}

.share-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 0 22px rgba(0,255,153,0.55);
}

.listeners{
    margin-top:10px;
    color:#00ff99;
    font-size:14px;
    font-weight:bold;
}

.status{
    margin-top:14px;
    font-size:13px;
    color:#8d8d8d;
}

.data-section{
    width:100%;
    max-width:440px;
    margin-top:28px;
    background:
        linear-gradient(
            180deg,
            #151515,
            #0d0d0d
        );
    border-radius:22px;
    padding:22px;
    box-shadow:0 0 18px rgba(0,255,153,0.08);
    border:1px solid rgba(0,255,153,0.05);
    margin-left:auto;
    margin-right:auto;
}

.data-section h2{
    color:#00ff99;
    font-size:28px;
    margin:0 0 16px 0;
    text-align:center;
}

table{
    width:100%;
    border-collapse:collapse;
    font-size:15px;
}

th,
td{
    padding:12px 8px;
    text-align:center;
    border-bottom:1px solid #222;
}

th{
    color:#00ff99;
    font-weight:bold;
    font-size:13px;
}

td{
    color:#f0f0f0;
}

/* =========================
   MOBILE
========================= */

@media (max-width:480px){
    body{
        padding:14px;
    }

    h1{
        font-size:35px;
    }

    .logo{
        width:100%;
        max-width:400px;
        height:auto;
        border-radius:3px;
        margin:0 auto;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .logotopo{
        display:block;
        width:400px;
        height:180px;
        border-radius:3px;
        margin:0 auto;
    }

    .location{
        font-size:18px;
    }

    #coverArt{
        width:280px;
        height:280px;
        margin-left:auto;
        margin-right:auto;
        margin-top:0;
        margin-bottom:25px;
    }

    #music{
        font-size:19px;
        font-weight:550;
        line-height:2.7;
        margin-top:0;
        gap:1px;
    }

    .music-icon{
        font-size:43px;
    }

    .player{
        padding:8px;
    }

    .stream-label{
        margin-top:3px;
        margin-bottom:15px;
    }

    .stream-buttons{
        gap:7px;
    }

    .stream-btn{
        font-size:14px;
        padding:14px 6px;
        border-radius:12px;
    }

    table{
        font-size:19px;
    }
}
