/* ===== Previews con onda (estilo XLNT) + efectos ===== */
.player.pv-main { display: block !important; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; margin: 18px 0 !important; }

.pv-item { position: relative; padding: 16px 16px 12px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(183,0,255,.16);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.pv-item:hover { transform: translateY(-4px); border-color: rgba(183,0,255,.55); background: rgba(183,0,255,.06); box-shadow: 0 10px 30px rgba(183,0,255,.18); }
.pv-item.playing { border-color: #b700ff; background: rgba(183,0,255,.09); animation: pvGlow 2s ease-in-out infinite; }
@keyframes pvGlow { 0%,100% { box-shadow: 0 0 14px rgba(183,0,255,.3); } 50% { box-shadow: 0 0 30px rgba(183,0,255,.65); } }

.pv-row { display: flex; align-items: center; gap: 12px; }
.pv-play { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(183,0,255,.6); background: rgba(183,0,255,.14);
    color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; transition: transform .2s, background .2s, box-shadow .2s; }
.pv-play:hover { background: #b700ff; box-shadow: 0 0 16px rgba(183,0,255,.9); transform: scale(1.08); }
.pv-play:active { transform: scale(.94); }
.pv-item.playing .pv-play { background: linear-gradient(135deg, #b700ff, #ff3df0); box-shadow: 0 0 16px rgba(183,0,255,.9); }
.pv-item.playing .pv-play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid #d66bff; animation: pvRipple 1.4s ease-out infinite; }
@keyframes pvRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

.pv-wave { flex: 1; min-width: 0; width: 100%; height: 48px; display: block; cursor: pointer; touch-action: none; }
.pv-big .pv-wave { height: 64px; }
.pv-big .pv-play { width: 46px; height: 46px; }

.pv-meta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; font-family: 'Montserrat', sans-serif; }
.pv-name { font-size: .82rem; font-weight: 600; color: #ddd; transition: color .3s; }
.pv-item.playing .pv-name { color: #e29bff; }
.pv-time { font-size: .72rem; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.pv-eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.pv-item.playing .pv-eq { display: inline-flex; }
.pv-eq i { width: 3px; background: #d66bff; border-radius: 1px; animation: pvEq .8s ease-in-out infinite; }
.pv-eq i:nth-child(1) { height: 40%; animation-delay: 0s; } .pv-eq i:nth-child(2) { height: 100%; animation-delay: .2s; } .pv-eq i:nth-child(3) { height: 60%; animation-delay: .4s; }
@keyframes pvEq { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.pv-eq i { transform-origin: bottom; }

/* volumen */
.pv-volrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-family: 'Montserrat', sans-serif; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: #aaa; }
.pv-vol { -webkit-appearance: none; appearance: none; width: 150px; height: 4px; border-radius: 4px; outline: none; cursor: pointer;
    background: linear-gradient(90deg, #b700ff var(--v, 60%), #333 var(--v, 60%)); }
.pv-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #b700ff; border: 0; }
.pv-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #b700ff; border: 0; }

/* sección */
.previews { max-width: 1100px; margin: 0 auto; padding: 40px 5% 70px; text-align: center; }
.previews-title { font-family: 'Montserrat', sans-serif; font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 0 0 14px; color: #fff;
    background: linear-gradient(90deg, #fff 0%, #e29bff 35%, #fff 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 14px rgba(183,0,255,.7)); animation: pvShine 6s linear infinite; }
@keyframes pvShine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.previews-lead { max-width: 680px; margin: 0 auto 22px; color: #bfbfbf; font-family: 'Montserrat', sans-serif; line-height: 1.8; font-size: clamp(.92rem, 2.2vw, 1.05rem); }
.pv-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.pv-stats span { font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #e29bff;
    padding: 7px 14px; border-radius: 30px; border: 1px solid rgba(183,0,255,.4); background: rgba(183,0,255,.08); }
.pv-toolbar { margin-bottom: 6px; }
.previews-group h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; font-size: clamp(1.1rem, 3vw, 1.5rem); color: #fff; margin: 34px 0 22px; }
.previews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }

/* aparición escalonada */
.previews-grid .pv-item { opacity: 0; transform: translateY(26px); transition: opacity .6s ease calc(var(--i, 0) * 90ms), transform .6s ease calc(var(--i, 0) * 90ms), border-color .3s, box-shadow .3s, background .3s; }
.previews-grid .pv-item.pv-in { opacity: 1; transform: none; }
.previews-grid .pv-item.pv-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* tarjetas de texto */
.pv-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; text-align: left; }
.pv-info-card { padding: 24px 22px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(183,0,255,.16); transition: transform .3s, border-color .3s, box-shadow .3s; }
.pv-info-card:hover { transform: translateY(-5px); border-color: rgba(183,0,255,.55); box-shadow: 0 12px 34px rgba(183,0,255,.18); }
.pv-info-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #b700ff, #ff3df0); box-shadow: 0 0 16px rgba(183,0,255,.6); }
.pv-info-card h4 { margin: 0 0 8px; font-family: 'Montserrat', sans-serif; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.pv-info-card p { margin: 0; font-family: 'Montserrat', sans-serif; font-size: .88rem; line-height: 1.7; color: #b5b5b5; }

.pv-cta { margin-top: 56px; }
.pv-cta p { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: #ddd; margin-bottom: 18px; }
.pv-cta-btn { display: inline-block; min-width: 220px; }
#buy-button.pv-flash { animation: pvFlash 1.2s ease 2; }
@keyframes pvFlash { 0%,100% { box-shadow: 0 0 0 rgba(255,61,240,0); transform: scale(1); } 50% { box-shadow: 0 0 34px rgba(255,61,240,.95); transform: scale(1.03); } }

@media (max-width: 900px) { .previews-grid, .pv-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .previews-grid, .pv-info { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .previews-title, .pv-item.playing, .pv-eq i, .pv-item.playing .pv-play::after, #buy-button.pv-flash { animation: none !important; }
    .previews-grid .pv-item { opacity: 1; transform: none; transition: none; }
}
