@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    overflow: hidden; /* Sem rolagem na página */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Camada escura sobre a foto de fundo para legibilidade */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Container Principal de Vidro */
.glass-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: flex;
    overflow: hidden;
}

/* --- LADO ESQUERDO (PLAYER) --- */
.left-side {
    flex: 1;
    background: rgba(0,0,0,0.3);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.logo-wrapper img {
    max-width: 250px;
    max-height: 180px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    margin-bottom: 30px;
}

/* Indicador Ao Vivo */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4757;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dot {
    width: 10px; height: 10px;
    background: #ff4757;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4757;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Visualizer (Barrinhas) */
.visualizer { display: flex; gap: 3px; height: 20px; align-items: flex-end; opacity: 0.2; transition: 0.5s; }
.visualizer span {
    width: 4px; background: #ff4757;
    animation: bounce 1s infinite;
}
.visualizer span:nth-child(1) { height: 10px; animation-duration: 0.6s; }
.visualizer span:nth-child(2) { height: 20px; animation-duration: 0.8s; }
.visualizer span:nth-child(3) { height: 15px; animation-duration: 0.5s; }
.visualizer span:nth-child(4) { height: 20px; animation-duration: 0.9s; }
.visualizer span:nth-child(5) { height: 10px; animation-duration: 0.7s; }

@keyframes bounce {
    0%, 100% { height: 5px; }
    50% { height: 100%; }
}

/* Player Button */
#playBtn {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.4);
    transition: 0.3s;
    display: flex; /* Centralizar icone */
    align-items: center;
    justify-content: center;
    margin: 20px auto 10px;
}
#playBtn:hover { transform: scale(1.1); }
#playBtn.playing { animation: rotateBtn 5s linear infinite; box-shadow: 0 0 30px rgba(255, 71, 87, 0.8); }

.status-text { font-size: 0.8rem; opacity: 0.7; }

/* Marquee Music Name */
.music-info {
    background: rgba(0,0,0,0.4);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.marquee { overflow: hidden; white-space: nowrap; width: 100%; }
.marquee p { display: inline-block; animation: scroll-left 12s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* --- LADO DIREITO (CONTEÚDO) --- */
.right-side {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff4757;
    display: inline-block;
    padding-bottom: 5px;
}

.scroll-text {
    height: 300px; /* Altura fixa para o texto */
    overflow-y: auto; /* Rolagem interna */
    padding-right: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Scrollbar Bonita */
.scroll-text::-webkit-scrollbar { width: 6px; }
.scroll-text::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
.scroll-text::-webkit-scrollbar-thumb { background: #ff4757; border-radius: 10px; }

.social-area { margin-top: 30px; }
.social-area h3 { font-size: 1.2rem; margin-bottom: 15px; opacity: 0.8; }

.icons { display: flex; gap: 15px; }
.soc-btn {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    color: white; font-size: 1.5rem; text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.soc-btn:hover { transform: translateY(-5px); background: white; }
.soc-btn.fb:hover { color: #1877f2; }
.soc-btn.insta:hover { color: #c32aa3; }
.soc-btn.whats:hover { color: #25d366; }

/* RESPONSIVIDADE (Mobile) */
@media (max-width: 768px) {
    body { height: auto; overflow-y: auto; padding: 20px 0; }
    .glass-container { flex-direction: column; height: auto; width: 95%; }
    .left-side { padding: 30px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .right-side { padding: 30px; }
    .scroll-text { height: 200px; }
}