/* ==========================================================
   EFE MÜSICK — página CONNECT (redes, promos y audios)
   Todo lo animado se apaga con "reducir movimiento".
========================================================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.cn { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 120px 22px 70px; font-family: 'Montserrat', sans-serif; }

/* ---------- Título ---------- */
.cn-hero { text-align: center; padding: 20px 0 34px; }
.cn-kicker { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: 6px; color: #c084fc; text-transform: uppercase; }
.cn-title { position: relative; display: inline-block; margin: 0; font-family: 'SanguineFrost', 'VampireWars', sans-serif; font-weight: normal; font-size: clamp(3.6rem, 14vw, 8.5rem); line-height: 1.05; letter-spacing: 2px; color: #fff;
    text-shadow: 0 0 30px rgba(168,85,247,.75), 0 0 70px rgba(225,29,155,.35); animation: none; }
.cn-title::before, .cn-title::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.cn-title::before { color: #00e5ff; mix-blend-mode: screen; }
.cn-title::after  { color: #ff3df0; mix-blend-mode: screen; }
.cn-title::before { animation: cnGlA 5s infinite steps(1); }
.cn-title::after  { animation: cnGlB 5s infinite steps(1); }
@keyframes cnGlA { 0%,90%,100% { opacity: 0; transform: none; } 91% { opacity: .9; transform: translate(-6px,1px); clip-path: inset(10% 0 55% 0); } 93% { opacity: .9; transform: translate(5px,-2px); clip-path: inset(60% 0 8% 0); } 95% { opacity: 0; } }
@keyframes cnGlB { 0%,90%,100% { opacity: 0; transform: none; } 92% { opacity: .9; transform: translate(6px,-1px); clip-path: inset(45% 0 25% 0); } 94% { opacity: .9; transform: translate(-5px,2px); clip-path: inset(5% 0 70% 0); } 96% { opacity: 0; } }
.cn-title:hover::before { opacity: .85; transform: translate(-5px,0); animation: none; }
.cn-title:hover::after  { opacity: .85; transform: translate(5px,0); animation: none; }

/* ecualizador decorativo */
.cn-eq { display: flex; justify-content: center; align-items: center; gap: 4px; height: 46px; margin: 14px auto 16px; max-width: 420px; }
.cn-eq i { display: block; width: 4px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, #e11d9b, #a855f7); transform-origin: 50% 50%; transform: scaleY(.15); opacity: .9;
    animation: cnEq var(--t, 1s) ease-in-out var(--d, 0s) infinite alternate; box-shadow: 0 0 10px rgba(168,85,247,.55); }
@keyframes cnEq { to { transform: scaleY(var(--h, 1)); } }
.cn-sub { margin: 0; color: var(--muted); font-size: .95rem; letter-spacing: .5px; }

/* ---------- Promociones ---------- */
.cn-promos { display: grid; gap: 18px; margin: 10px 0 46px; }
.cn-promos[hidden] { display: none; }
.promo { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; padding: 26px 30px; border-radius: 20px; overflow: hidden; isolation: isolate;
    border: 2px solid transparent;
    background: linear-gradient(#100c1a, #100c1a) padding-box, conic-gradient(from var(--ang), #a855f7, #e11d9b, #00e5ff, #a855f7) border-box;
    animation: cnSpin 6s linear infinite; box-shadow: 0 0 50px rgba(168,85,247,.22); }
@keyframes cnSpin { to { --ang: 360deg; } }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(225,29,155,.22), transparent 60%); }
.promo:hover::before { opacity: 1; }
.promo::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; z-index: -1; pointer-events: none; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: cnSheen 5s ease-in-out infinite; }
@keyframes cnSheen { 0%,55% { left: -40%; } 100% { left: 140%; } }
.promo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 30px; font-size: .68rem; font-weight: 800; letter-spacing: 3px; color: #fff; background: var(--grad); }
.promo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: cnBlink 1.1s ease-in-out infinite; }
@keyframes cnBlink { 50% { opacity: .2; transform: scale(.7); } }
.promo h3 { margin: 12px 0 6px; font-size: clamp(1.15rem, 3.2vw, 1.7rem); font-weight: 900; letter-spacing: 1px; color: #fff; }
.promo p { margin: 0; color: #b8b3c9; font-size: .92rem; line-height: 1.5; }
.promo-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; align-items: center; }
.promo-code { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; border: 1px dashed rgba(192,132,252,.7); background: rgba(168,85,247,.08); color: #fff; font: 800 .85rem 'Montserrat', sans-serif; letter-spacing: 3px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.promo-code small { font-size: .62rem; letter-spacing: 2px; color: #c084fc; font-weight: 700; }
.promo-code:hover { background: rgba(168,85,247,.22); box-shadow: 0 0 18px rgba(168,85,247,.5); }
.promo-time { display: flex; gap: 8px; }
.promo-time span { min-width: 52px; padding: 7px 6px 5px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font: 900 1.15rem/1 'Montserrat', sans-serif; color: #fff; }
.promo-time span small { display: block; margin-top: 4px; font-size: .52rem; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.promo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 14px; background: var(--grad); color: #fff; text-decoration: none; font: 800 .85rem 'Montserrat', sans-serif; letter-spacing: 2.5px; white-space: nowrap;
    box-shadow: 0 10px 30px rgba(225,29,155,.35); transition: transform .25s var(--ease), box-shadow .25s; }
.promo-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(225,29,155,.55); }
.promo-btn b { transition: transform .25s var(--ease); }
.promo-btn:hover b { transform: translateX(5px); }

/* ---------- Redes ---------- */
.cn-sec { margin-top: 46px; }
.cn-h { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font: 800 .8rem 'Montserrat', sans-serif; letter-spacing: 6px; color: #c084fc; }
.cn-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(168,85,247,.7), transparent); transform-origin: 0 50%; animation: cnLine 1.2s var(--ease) both; }
@keyframes cnLine { from { transform: scaleX(0); } }
.cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.lk { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; transform-style: preserve-3d; will-change: transform;
    opacity: 0; transform: translateY(26px) scale(.97); }
.lk.in { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(var(--i, 0) * 70ms), transform .6s var(--ease) calc(var(--i, 0) * 70ms), border-color .3s, box-shadow .3s; }
.lk.in.done { transition: transform .25s ease-out, border-color .3s, box-shadow .3s; }
.lk::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 32%, transparent), transparent 65%); }
.lk:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 34px color-mix(in srgb, var(--c) 28%, transparent), 0 18px 40px rgba(0,0,0,.45); }
.lk:hover::before { opacity: 1; }
.lk-main { display: flex; align-items: center; gap: 16px; padding: 20px 56px 20px 20px; color: #fff; text-decoration: none; }
.lk-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: transform .4s var(--ease), background .3s, color .3s; }
.lk-ico svg { width: 26px; height: 26px; }
.lk:hover .lk-ico { transform: rotate(-8deg) scale(1.12); background: var(--c); color: #0b0b12; }
.lk-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lk-txt b { font-size: 1.02rem; font-weight: 800; letter-spacing: .5px; }
.lk-txt em { font-style: normal; font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-go { position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.2rem; color: var(--c); transition: transform .3s var(--ease); pointer-events: none; }
.lk:hover .lk-go { transform: translate(4px, -4px); }
.lk-copy { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .2s, color .2s, background .2s; }
.lk-copy svg { width: 15px; height: 15px; }
.lk:hover .lk-copy, .lk:focus-within .lk-copy { opacity: 1; }
.lk-copy:hover { color: #fff; background: color-mix(in srgb, var(--c) 40%, transparent); }
@media (hover: none) { .lk-copy { opacity: .7; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) { .cn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
    .cn { padding: 30px 16px 50px; }
    .cn-grid { grid-template-columns: 1fr; }
    .promo { grid-template-columns: 1fr; padding: 22px 20px; }
    .promo-btn { justify-content: center; }
    .promo-time span { min-width: 46px; }
    .cn-eq { height: 38px; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    .cn-title::before, .cn-title::after, .cn-eq i, .promo, .promo::after, .promo-tag::before, .cn-h::after { animation: none !important; }
    .lk, .rel { opacity: 1 !important; transform: none !important; transition: none !important; }
    .cn-eq i { transform: scaleY(.5); }
}

/* ---------- Ajustes de espaciado (letras altas de la fuente) ---------- */
.cn-kicker { margin-bottom: 26px; }
.cn-title { line-height: 1.3; margin: 0 0 4px; }
.cn-eq { margin-top: 20px; }
.cn-grid .lk:last-child:nth-child(3n+2) { grid-column: span 2; }
@media (max-width: 900px) { .cn-grid .lk:last-child:nth-child(3n+2) { grid-column: auto; } .cn-grid .lk:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 700px) { .cn-grid .lk:last-child:nth-child(odd) { grid-column: auto; } .cn-kicker { margin-bottom: 14px; } }

/* ---------- Últimos lanzamientos ---------- */
.cn-rels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rel { position: relative; display: block; border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff; background: var(--surface); border: 1px solid var(--line); isolation: isolate;
    opacity: 0; transform: translateY(26px); transition: border-color .3s, box-shadow .3s; }
.rel.in { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(var(--i, 0) * 120ms), transform .7s var(--ease) calc(var(--i, 0) * 120ms), border-color .3s, box-shadow .3s; }
.rel:hover { border-color: color-mix(in srgb, var(--c) 75%, transparent); box-shadow: 0 0 44px color-mix(in srgb, var(--c) 30%, transparent), 0 20px 44px rgba(0,0,0,.5); }
.rel-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center;
    background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 55%, #000) 0%, transparent 65%), linear-gradient(135deg, #150d22, #07060b); }
.rel-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .8s var(--ease), opacity .4s; }
.rel:hover .rel-art img { transform: scale(1.07); opacity: .75; }
.rel-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,6,11,0) 35%, rgba(7,6,11,.92)); }
.rel-label { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 30px; font: 800 .64rem 'Montserrat', sans-serif; letter-spacing: 3px; color: #0b0b12; background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.rel-big { position: relative; z-index: 1; font-family: 'SanguineFrost', 'VampireWars', sans-serif; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.35; text-align: center; padding: 0 16px; text-shadow: 0 0 30px color-mix(in srgb, var(--c) 80%, transparent); }
.rel-play { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #0b0b12; box-shadow: 0 0 26px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .3s var(--ease); }
.rel-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 2px; }
.rel:hover .rel-play { transform: scale(1.15) rotate(-6deg); }
.rel-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px 20px; }
.rel-info b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: .5px; }
.rel-info em { display: block; margin-top: 4px; font-style: normal; font-size: .76rem; color: var(--muted); }
.rel-cta { flex: none; font: 800 .68rem 'Montserrat', sans-serif; letter-spacing: 2.5px; color: var(--c); white-space: nowrap; }
.rel-cta b { display: inline; transition: transform .3s var(--ease); }
.rel:hover .rel-cta b { transform: translateX(5px); }
.rel-eq { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 40%; display: flex; align-items: flex-end; justify-content: center; gap: 5px; opacity: .35; pointer-events: none; }
.rel-eq i { width: 6px; height: 100%; border-radius: 3px 3px 0 0; background: var(--c); transform-origin: 50% 100%; transform: scaleY(.2); animation: cnEq var(--t, 1s) ease-in-out var(--d, 0s) infinite alternate; }
@media (max-width: 700px) { .cn-rels { grid-template-columns: 1fr; } .rel-info { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .rel-eq i { animation: none !important; transform: scaleY(.4); } }
