html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    cursor: none;
    color: #fff;
}

/* Contenedor del reproductor */
#player-container {
    position: fixed;
    inset: 0;
    z-index: 1;
}

/* Overlay inicial */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}
#overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    margin: 0;
    text-align: center;
}
#overlay p {
    color: #fff;
    font-size: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

/* Controles flotantes */
#controls-custom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}
.control-btn {
    padding: 12px 18px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.control-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* QR panel encima */
#qr-panel {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 280px;
    height: 280px;
    background: linear-gradient(90deg, #ff8c00, #ff4500, #e63946, #ff8c00);
    background-size: 300% 100%;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 0 10px 2px rgba(255,140,0,0.5);
    z-index: 50;
}

/* Chat panel encima */
#chat-panel {
    position: fixed;
    top: 5rem;
    right: 2rem;
    width: 300px;
    height: 500px;
    background: rgba(0,0,0,0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    overflow-y: auto;
    z-index: 50;
}
.chat-item {
    background: rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

/* Ticker de mensajes encima */
#message-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 60;
}
#message-ticker-content {
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-scroll 15s linear infinite;
    font-size: 1.2rem;
    color: #fff;
}

@keyframes ticker-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    #chat-panel, #qr-panel { display: none; }
    #message-ticker { height: 40px; font-size: 1rem; }
}
