body {
    margin: 0;
    padding: 20px;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.ngradio-widget {
    display: flex;
    align-items: center;
    max-width: 600px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: auto;
    padding: 12px;
    transition: all 0.3s ease;
}

.ngradio-widget:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.album-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin-right: 14px;
    flex-shrink: 0;
}

.album-art {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-wrapper:hover .album-art {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.play-btn:hover {
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    text-shadow: 0 3px 8px rgba(0,0,0,0.9);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.8));
}

.play-btn.playing {
    color: white;
}

.play-btn.playing:hover {
    color: white;
}

.track-info {
    flex-grow: 1;
    overflow: hidden;
    text-align: left;
    min-width: 0;
}

.track-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 2px;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 2px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal;
}

.track-subtitle {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    margin-top: 6px;
}

.live {
    color: #dc3545;
    font-size: 12px;
    margin-left: 8px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.footer-section {
    display: flex;
    align-items: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.ng-logo-link {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px;
}

.ng-logo-link:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.ng-logo {
    width: 80px;
    height: auto;
    display: block;
}

/* Versión móvil mejorada */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .ngradio-widget {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px 12px 20px;
        border-radius: 20px;
    }

    .album-wrapper {
        width: 140px;
        height: 140px;
        margin: 0 0 16px 0;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .track-info {
        text-align: center;
        margin-bottom: 8px;
        width: 100%;
    }

    .track-title {
        font-size: 18px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 2px;
        width: 100%;
    }

    .track-artist {
        font-weight: 400;
        font-size: 18px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 2px;
        width: 100%;
        color: #666;
        font-style: normal;
    }

    .track-subtitle {
        font-size: 15px;
        justify-content: center;
        margin-top: 6px;
    }

    .footer-section {
        margin: 0;
        padding-top: 2px;
        padding-bottom: 0;
        border-top: 1px solid #eee;
        width: 100%;
        justify-content: center;
    }

    .ng-logo {
        width: 90px;
        margin: 0;
    }
}

@media (max-width: 360px) {
    .ngradio-widget {
        padding: 16px;
        margin: 0 5px;
    }

    .album-wrapper {
        width: 120px;
        height: 120px;
    }

    .track-title {
        font-size: 16px;
    }

    .ng-logo {
        width: 75px;
    }
}