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

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #111 url('/assets/img/background.jpg') no-repeat center center / cover fixed;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55));
    z-index: 0;
}

.player {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 20px 140px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
    margin-bottom: 16px;
}

.logo {
    width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
}

.title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    margin: 8px 0 4px;
}

.tagline {
    font-size: .95rem;
    opacity: .9;
    margin-bottom: 16px;
}

.live-badge {
    background: #c0392b;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.live-badge .dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s infinite;
}

@keyframes pulse { 50% { opacity: .4; } }

.waves {
    height: 36px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 24px;
}

.waves span {
    width: 4px;
    background: rgba(255,255,255,.75);
    border-radius: 2px;
    animation: wave 1.1s ease-in-out infinite;
}
.waves span:nth-child(odd)  { height: 18px; }
.waves span:nth-child(even) { height: 28px; }
.waves.playing span { animation-play-state: running; }
.waves:not(.playing) span { animation-play-state: paused; transform: scaleY(.35); }

@keyframes wave {
    0%, 100% { transform: scaleY(.4); }
    50%      { transform: scaleY(1); }
}

.play-btn {
    width: 110px;
    height: 110px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #f39c12, #e67e22);
    color: #fff;
    font-size: 2.8rem;
    box-shadow: 0 10px 30px rgba(230,126,34,.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform .15s;
}

.play-btn:active { transform: scale(.95); }

.status {
    font-size: 1rem;
    opacity: .95;
    margin-bottom: 20px;
    min-height: 1.3em;
    font-weight: 500;
}

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 260px;
    margin-bottom: 24px;
}

.volume-wrap input {
    flex: 1;
    accent-color: #e67e22;
}

.bottom-text {
    font-size: .85rem;
    opacity: .75;
}

.whatsapp {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37,211,102,.5);
    z-index: 100;
    text-decoration: none;
}

.install-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 28px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.conn-status {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: .85rem;
    display: none;
    z-index: 200;
}
.conn-status.show { display: block; }
.conn-status.error { background: #c0392b; }

@media (max-width: 480px) {
    .title { font-size: 1.75rem; }
    .logo { width: 145px; }
    .play-btn { width: 100px; height: 100px; font-size: 2.5rem; }
    .install-btn { font-size: .85rem; padding: 11px 18px; }
}
