* { box-sizing: border-box; }

body {
    margin: 0;
    background: linear-gradient(
        -45deg,
        #120000,
        #1a0000,
        #111,
        #160000
    );
    background-size: 400% 400%;
    animation: bgFlow 10s ease infinite;
    font-family: system-ui, sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
}

@keyframes bgFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.app {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 15px;
}
header h1 {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff4d4d, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
header::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #ff4d4d;
    margin: 8px auto 0;
    border-radius: 2px;
    opacity: .7;
}

.status {
    font-size: 12px;
    color: #ff4d4d;
}

.cover img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.6);
}

.song-info {
    margin-top: 12px;
    text-align: center;
}

#song {
    font-size: 16px;
    font-weight: 600;
}

#dj {
    font-size: 13px;
    opacity: .8;
}

.controls {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.controls button {
    background: #000000;
    border: none;
    color: #fff;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.volume {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.volume input {
    width: 100%;
    cursor: pointer;
}

.stats {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.6;
}

.history ul li {
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 13px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    animation: songIn .4s ease;
    transition: transform .2s ease, background .2s ease;
}

.history ul li:hover {
    transform: translateX(6px);
    background: rgba(255,255,255,0.08);
}

@keyframes songIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.info {
    margin-top: 20px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    text-align: center;
    font-size: 13px;
}

.info a {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 500;
}

.info a:hover {
    text-decoration: underline;
}





/* ===================== */
/* CANLI CHAT */
/* ===================== */

.live-chat {
    width: 100%;
    padding: 12px;
}

.live-chat iframe {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    border: none;
    border-radius: 18px;
}

/* ===================== */
/* DESKTOP */
/* ===================== */

@media (min-width: 768px) {
    .live-chat {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 360px;
        padding: 0;
        z-index: 9999;
    }

    .live-chat iframe {
        height: 480px;
        box-shadow: 0 25px 70px rgba(0,0,0,.6);
    }
}













