/* Venus NowPlaying – Horizontal card */
.vnw-wrap {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.vnw-wrap .vnw-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--vnw-radius, 16px);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: all 0.3s ease;
}

.vnw-wrap .vnw-theme-dark .vnw-card {
    background: #0e0f12;
    color: #fff;
    border-color: rgba(255,255,255,.08);
}

.vnw-wrap .vnw-theme-light .vnw-card {
    background: #ffffff;
    color: #111;
}

.vnw-wrap .vnw-cover {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
    background: #222 center/cover no-repeat;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    transition: all 0.3s ease;
}

.vnw-wrap .vnw-theme-light .vnw-cover {
    background: #f2f2f2;
}

.vnw-wrap .vnw-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 4px;
}

.vnw-wrap .vnw-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.vnw-wrap .vnw-artist {
    opacity: .85;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.vnw-wrap .vnw-cta {
    flex: 0 0 auto;
}

/* ====================== */
/* BOTÓN PLAY/PAUSE MEJORADO */
/* ====================== */
.vnw-wrap .vnw-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid var(--vnw-accent, #ff2d7a);
    color: #fff;
    background: var(--vnw-accent, #ff2d7a);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    min-width: 60px;
    box-shadow: 0 4px 12px rgba(255, 45, 122, 0.3);
    position: relative;
    overflow: hidden;
}

.vnw-wrap .vnw-theme-light .vnw-play-btn {
    color: #fff;
}

.vnw-wrap .vnw-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 122, 0.4);
    background: var(--vnw-accent, #ff2d7a);
}

.vnw-wrap .vnw-play-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 45, 122, 0.3);
}

.vnw-wrap .vnw-play-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Estado de reproducción */
.vnw-wrap .vnw-play-btn[data-playing="true"] {
    background: #00b894;
    border-color: #00b894;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.vnw-wrap .vnw-play-btn[data-playing="true"]:hover {
    background: #00a085;
    border-color: #00a085;
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

/* Efecto de ripple */
.vnw-wrap .vnw-play-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.vnw-wrap .vnw-play-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Skeleton shimmer while carga */
.vnw-line {
    position: relative;
}

.vnw-wrap .vnw-line:empty::before,
.vnw-wrap .vnw-title:contains('—')::before {
    content: '';
}

.vnw-wrap .vnw-title.skel,
.vnw-wrap .vnw-artist.skel {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.15), rgba(255,255,255,.05));
    background-size: 200% 100%;
    animation: vnwShimmer 1.2s infinite;
}

@keyframes vnwShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Estados de carga */
.vnw-wrap .vnw-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Notificación de error */
.vnw-error {
    background: #ff7675 !important;
    border-color: #ff5252 !important;
}

@media (max-width: 560px) {
    .vnw-card {
        padding: 10px;
        gap: 12px;
    }
    
    .vnw-wrap .vnw-cover {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }
    
    .vnw-wrap .vnw-play-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 50px;
    }
    
    .vnw-wrap .vnw-title {
        font-size: 14px;
    }
    
    .vnw-wrap .vnw-artist {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .vnw-card {
        padding: 8px;
        gap: 10px;
    }
    
    .vnw-wrap .vnw-cover {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
    
    .vnw-wrap .vnw-play-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 45px;
    }
}