/*
==========================================
Radio Surya Streaming V2
Responsive Style
==========================================
*/

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

body{

    background:
        radial-gradient(circle at top,#183d8d 0%,#101010 45%,#000000 100%);

    font-family:Arial,sans-serif;

    color:#fff;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

}

.container{

    width:100%;

    max-width:420px;

    text-align:center;

}

/* ==========================
   Logo
========================== */

.logo{

    width:180px;
    height:180px;

    object-fit:cover;

    border-radius:50%;

    display:block;
    margin:0 auto 20px;

     box-shadow:
        0 0 15px rgba(0,140,255,.45),
        0 0 35px rgba(0,140,255,.25),
        0 8px 25px rgba(0,0,0,.6);

}

.logo:hover{

    transform:scale(1.03);

}

/* ==========================
   Judul
========================== */

h1{

    font-family:'Cinzel Decorative',serif;

    font-size:36px;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:6px;

    background:linear-gradient(
        180deg,
        #fff7c8 0%,
        #ffd95a 20%,
        #f4b400 45%,
        #d58a00 70%,
        #fff0a0 100%
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:
        0 1px 0 rgba(255,255,255,.35),
        0 0 8px rgba(255,215,0,.25),
        0 0 18px rgba(255,170,0,.18);

}

h1::after{

    content:"";

    display:block;

    width:180px;

    height:2px;

    margin:8px auto 0;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,215,0,.8),
        transparent
    );

}

.subtitle{

    font-family:'Great Vibes',cursive;

    font-size:24px;

    color:#dfefff;

    margin-top:2px;

}


/* ==========================
   Status
========================== */

#status{
	margin-top:10px;

    font-size:15px;

    font-weight:400;

    color:#e8e8e8;

    margin-bottom:2px;

}

.checking{

    color:#ffd000;

    animation:blink 1s infinite;

}

.online{

    color:#00ff55;

    animation:blink 1s infinite;

}

.connecting{

    color:#ffd000;

    animation:blink 1s infinite;

}

.buffering{

    color:#ff9800;

    animation:blink .8s infinite;

}

.stopped{

    color:#ff4040;

}

.offline{

    color:#ff4040;

}

@keyframes blink{

    50%{

        opacity:.35;

    }

}

/* ==========================
   Tombol
========================== */

button{

    display:block;

    width:120px;

    height:50px;

    margin:0 auto;

    border:none;

    border-radius:12px;

    font-size:20px;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

.btn-play{

    background:#16b000;

    color:#fff;

    box-shadow:0 5px 15px rgba(22,176,0,.45);

}

.btn-stop{

    background:#d90000;

    border-radius:18px;

    box-shadow:
        0 0 12px rgba(255,0,0,.35);

}

/* ==========================
   WhatsApp
========================== */

.wa{

    display:block;

    width:200px;

    margin:18px auto 0;

    padding:10px 15px;

    text-align:center;

    text-decoration:none;

    color:#ffffff;

    font-size:15px;

    font-weight:400;

    line-height:1.5;

    border:1px solid rgba(255,255,255,.35);

    border-radius:14px;

    background:rgba(255,255,255,.08);

    transition:.3s;

}

.wa:hover{

    background:rgba(255,255,255,.18);

}

.wa span{

    color:#9dff9d;

    font-size:16px;

}

/* ==========================
   Footer
========================== */

footer{

    color:#bdbdbd;
	
	margin-top:15px;

    font-size:13px;

    opacity:.8;

}

/* ===========================================
   Tablet
=========================================== */

@media (max-width:768px){

.logo{

    width:160px;

}

h1{

    font-size:24px;

}

.subtitle{

    font-size:17px;

}

}

/* ===========================================
   Handphone
=========================================== */

@media (max-width:480px){

body{

    align-items:flex-start;

    padding-top:15px;

}

.container{

    max-width:100%;

}

.logo{

    width:130px;
    height:130px;

    object-fit:cover;

    border-radius:50%;

    display:block;

    margin:0 auto 15px;

}

h1{

    font-size:22px;

    font-weight:800;

    letter-spacing:2px;

}

.subtitle{

    font-size:25px;

    margin-bottom:15px;

}

#status{

    font-size:16px;

    margin-bottom:4px;

}

button{

    width:120px;

    height:45px;

    font-size:18px;

}

.wa{

    display:block;

    width:180px;

    margin:18px auto 0;

    padding:10px 15px;

    text-align:center;

    text-decoration:none;

    color:#ffffff;

    font-size:15px;

    font-weight:400;

    line-height:1.0;

    border:1px solid rgba(255,255,255,.35);

    border-radius:14px;

    background:rgba(255,255,255,.08);

    transition:.3s;

}

.wa:hover{

    background:rgba(255,255,255,.18);

}

.wa span{

    color:#9dff9d;

    font-size:16px;

}

footer{

    margin-top:18px;

    font-size:11px;

}

}

/* ===========================================
   Pengatur Volume
=========================================== */

.volume-control{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-top:15px;

    margin-bottom:2px;

}

.vol-btn{

    width:28px;

    height:28px;

    padding:0;

    border:none;

    border-radius:50%;

    background:#979090;

    color:#000;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

}

#volValue{

    min-width:22px;

    text-align:center;

    font-size:22px;

    font-weight:bold;

    color:#fff;

}

.volume-title{

    font-size:15px;

    color:rgba(255,255,255,.75);

    letter-spacing:1px;

    text-align:center;

    margin-top:0;

    margin-bottom:18px;

    line-height:1;

    user-select:none;

}
