/* ==========================================
   EFE MÜSICK - Efectos extra (animaciones)
   Todo respeta "reducir movimiento" del sistema.
========================================== */



/* cinta animada */
.marquee { overflow: hidden; border-top: 1px solid rgba(183,0,255,.25); border-bottom: 1px solid rgba(183,0,255,.25); background: rgba(183,0,255,.06); padding: 14px 0; margin: 10px 0 30px; position: relative; z-index: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 34px; animation: fxMarquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 800 clamp(.8rem, 2vw, 1rem)/1 'Montserrat', sans-serif; letter-spacing: 4px; color: #e7c7ff; white-space: nowrap; text-shadow: 0 0 12px rgba(183,0,255,.7); }
.marquee i { font-style: normal; color: #ff3df0; font-size: 1rem; line-height: 1; filter: drop-shadow(0 0 6px #ff3df0); }
@keyframes fxMarquee { to { transform: translateX(-50%); } }

/* títulos con brillo que respira */
.section-title, .featured-products h2, .shop-page h1 { animation: fxTitleGlow 4s ease-in-out infinite; }
@keyframes fxTitleGlow { 0%,100% { text-shadow: 0 0 10px rgba(183,0,255,.35); } 50% { text-shadow: 0 0 26px rgba(183,0,255,.95), 0 0 50px rgba(255,61,240,.35); } }

/* imágenes de tarjetas */
.product-card img { transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.product-card:hover img { transform: scale(1.05); filter: saturate(1.15) brightness(1.05); }
.latest-image, .cover-box { transition: transform .25s ease-out; will-change: transform; }
.latest-image img, #product-image { box-shadow: 0 0 40px rgba(183,0,255,.35); animation: fxFloat 7s ease-in-out infinite; }
@keyframes fxFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.logo-img img { transition: filter .3s, transform .3s; }
.logo-img:hover img { filter: drop-shadow(0 0 10px #b700ff); transform: scale(1.08) rotate(-3deg); }

/* contador del carrito */
#cart-count.bump { display: inline-block; animation: fxBump .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes fxBump { 0% { transform: scale(1); } 40% { transform: scale(1.7); color: #ff3df0; } 100% { transform: scale(1); } }

/* aviso flotante */
#fx-toasts { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 10001; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.fx-toast { padding: 13px 24px; border-radius: 40px; background: rgba(20,10,32,.95); border: 1px solid #b700ff; color: #fff; font: 700 14px 'Montserrat', sans-serif; letter-spacing: .5px;
    box-shadow: 0 0 24px rgba(183,0,255,.6); animation: fxToastIn .45s cubic-bezier(.2,1.4,.4,1) both; }
.fx-toast.out { animation: fxToastOut .35s ease forwards; }
@keyframes fxToastIn { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fxToastOut { to { opacity: 0; transform: translateY(12px) scale(.95); } }

/* volver arriba */
#fx-top { position: fixed; right: 22px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(183,0,255,.6); background: rgba(20,10,32,.9); color: #fff; font-size: 18px; cursor: pointer; z-index: 9000;
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, box-shadow .3s, background .3s; display: grid; place-items: center; padding: 0; }
#fx-top.show { opacity: 1; transform: none; pointer-events: auto; }
#fx-top:hover { background: #b700ff; box-shadow: 0 0 20px rgba(183,0,255,.9); }

/* ripple en botones */
.listen { position: relative; overflow: hidden; }
.fx-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: fxRipple .6s ease-out forwards; pointer-events: none; }
@keyframes fxRipple { to { transform: scale(4); opacity: 0; } }

/* transición entre páginas */
body { transition: opacity .25s ease; }
body.fx-leaving { opacity: 0; }

/* 404 */
.nf { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 60px; position: relative; z-index: 1; }
.nf h1 { font-family: 'SanguineFrost', 'VampireWars', sans-serif; font-size: clamp(5rem, 22vw, 12rem); margin: 0; line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(183,0,255,.9); animation: fxGlitch 3.5s infinite; }
.nf p { font-family: 'Montserrat', sans-serif; color: #bbb; font-size: 1.1rem; margin: 14px 0 30px; }
@keyframes fxGlitch { 0%,92%,100% { transform: none; text-shadow: 0 0 30px rgba(183,0,255,.9); } 93% { transform: translate(-6px,2px); text-shadow: 6px 0 #ff3df0, -6px 0 #00e5ff; } 95% { transform: translate(6px,-2px); text-shadow: -6px 0 #ff3df0, 6px 0 #00e5ff; } 97% { transform: translate(-3px,0); } }

@media (prefers-reduced-motion: reduce) {
    .marquee-track, .section-title, .featured-products h2, .shop-page h1, .latest-image img, #product-image, .nf h1 { animation: none !important; }
    body { transition: none; }
}
@media (max-width: 700px) { #fx-top { right: 14px; bottom: 16px; } }


/* ===== Cinta superior: arriba de todo, lleva al pack ===== */
:root { --tape-h: 36px; }
/* el body es border-box: el min-height ya incluye el padding de la cinta (si no, queda un hueco bajo el pie) */
body { padding-top: var(--tape-h); min-height: 100vh; min-height: 100dvh; }
nav, nav.nav-animation, nav.scrolled { top: calc(var(--tape-h) + 14px) !important; }
.marquee.top-tape { position: fixed; top: 0; left: 0; right: 0; height: var(--tape-h); margin: 0; padding: 0; display: flex; align-items: center; z-index: 10001; cursor: pointer;
    background: linear-gradient(90deg, #6d18c9, #b700ff 30%, #ff3df0 55%, #b700ff 80%, #6d18c9); border: 0; border-bottom: 1px solid rgba(255,255,255,.28);
    -webkit-mask-image: none; mask-image: none; box-shadow: 0 4px 24px rgba(183,0,255,.45); text-decoration: none; transition: filter .25s; }
.marquee.top-tape:hover { filter: brightness(1.18) saturate(1.1); }
.marquee.top-tape span { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); font-size: .78rem; letter-spacing: 3px; }
.marquee.top-tape i { color: #fff; filter: none; opacity: .85; }
.marquee.top-tape .marquee-track { gap: 28px; animation-duration: 38s; }
@media (max-width: 700px) { :root { --tape-h: 32px; } .marquee.top-tape span { font-size: .7rem; letter-spacing: 2px; } }


/* ===== Portada en caja 3D (imagen con transparencia): sin recorte ni marco ===== */
.latest-image img, .product-card img, #product-image { object-fit: contain !important; aspect-ratio: auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.latest-image img { width: 480px; }
.product-card img { height: 320px !important; width: 100%; }
#product-image { width: 440px; height: auto !important; }
.cover-box { padding: 0; }
@media (max-width: 700px) { #product-image { width: 100%; } .product-card img { height: 280px !important; } }

/* precio original tachado */
.old-price { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; font-weight: 600; margin-right: .35em; font-size: .78em; color: #bbb !important; }
.new-price { font-weight: 800; }

/* anclas (#products...) no quedan tapadas por la cinta y el menú */
html { scroll-padding-top: 130px; }

/* ---------- Inicio: portada a lo ancho, tal cual (sin efectos) ---------- */
/* Escritorio y tablet usan la imagen ancha; el celular usa la imagen vertical (hero-web). */
.hero { min-height: 0; justify-content: flex-start; margin: 0; padding: max(0px, calc(84px - 4.6vw)) 0 0; }   /* el menú flota sobre la parte de arriba */
.hero > .hero-content { position: relative; width: 100%; max-width: none; margin: 0; transform: none; }
.hero-banner { width: 100%; }
.hero-banner-img { display: block; width: 100%; height: auto; aspect-ratio: 3840 / 1036; object-fit: cover; object-position: 50% 50%; }
.hero .hero-buttons { position: static; margin: 22px 0 0; padding: 0 16px; box-sizing: border-box; }
@media (max-width: 1100px) { .hero { padding-top: 44px; } .hero-banner-img { aspect-ratio: 2.4 / 1; } }
@media (max-width: 768px)  { .hero { padding-top: 126px; padding-bottom: 34px; } .hero-banner-img { aspect-ratio: 3 / 4; } .hero .hero-buttons { margin-top: 18px; } }

/* sin la rejilla de cuadrados debajo de la imagen, y la sección de abajo sube */
.hero::before { display: none; }
.latest { margin-top: clamp(24px, 3vw, 56px); }

/* títulos en Montserrat: negrita fuerte (los de estilo monster conservan su propia fuente) */
h1, h2 { font-weight: 800; }
.nf h1 { font-weight: bold; }

/* números del inicio (500+ / 100% / 24 BIT / SERUM 2): aspecto de metal cromado con relieve */
.feature-card h3 {
    font-weight: normal;                       /* sin negrita falsa: las letras quedan nítidas y se leen bien */
    font-size: clamp(34px, 3.9vw, 54px);
    letter-spacing: .02em;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f6e3ff 18%, #c981ff 44%, #5d1aa3 51%, #a935ea 70%, #ff8ae8 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, .55)) drop-shadow(0 1px 0 #4b177f) drop-shadow(0 2px 0 #3d1268) drop-shadow(0 3px 0 #2f0d52)
            drop-shadow(0 9px 7px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px rgba(180, 70, 255, .3));
}
@media (max-width: 600px) { .feature-card h3 { font-size: 27px; white-space: nowrap; } }


/* ---------- Promo en el inicio: descarga gratis ---------- */
@property --ipAng { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.idx-promo-wrap { width: 1200px; max-width: 90%; margin: 0 auto clamp(40px, 6vw, 70px); }
.idx-promo { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 32px; align-items: center; padding: 22px 32px 22px 22px; border-radius: 22px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
    border: 2px solid transparent; background: linear-gradient(#100c1a, #100c1a) padding-box, conic-gradient(from var(--ipAng), #3dffa2, #a855f7, #e11d9b, #19d4ff, #3dffa2) border-box;
    box-shadow: 0 0 50px rgba(168,85,247,.28); animation: ipSpin 7s linear infinite; transition: transform .3s, box-shadow .3s; }
.idx-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at 8% 50%, rgba(225,29,155,.22), transparent 65%), radial-gradient(380px circle at 95% 100%, rgba(61,255,162,.12), transparent 60%); }
.idx-promo::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; z-index: -1; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: ipSheen 5s ease-in-out infinite; }
.idx-promo:hover { transform: translateY(-4px); box-shadow: 0 0 70px rgba(168,85,247,.5); }
@keyframes ipSpin { to { --ipAng: 360deg; } }
@keyframes ipSheen { 0%, 55% { left: -40%; } 100% { left: 140%; } }
.idx-promo-img { width: 200px; height: 200px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(168,85,247,.5); box-shadow: 0 14px 34px rgba(168,85,247,.45); transition: transform .4s; }
.idx-promo:hover .idx-promo-img { transform: scale(1.04) rotate(-1deg); }
.idx-promo + .idx-promo { margin-top: 22px; }
.idx-promo-box { object-fit: contain; border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 14px 28px rgba(168,85,247,.55)); }
.idx-promo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; font: 900 .68rem 'Montserrat', sans-serif; letter-spacing: 3px; color: #07130d; background: #3dffa2; box-shadow: 0 0 22px rgba(61,255,162,.5); }
.idx-promo-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #07130d; animation: ipBlink 1.1s ease-in-out infinite; }
@keyframes ipBlink { 50% { opacity: .25; transform: scale(.7); } }
.idx-promo-body h2 { margin: 14px 0 8px; font: 900 clamp(1.3rem, 3.4vw, 2.1rem)/1.15 'Montserrat', sans-serif; letter-spacing: 1px; color: #fff; text-shadow: 0 0 22px rgba(168,85,247,.6); animation: none; }
.idx-promo-body p { margin: 0; max-width: 520px; color: #b8b3c9; font: 400 .95rem/1.6 'Montserrat', sans-serif; }
.idx-promo-body p b { color: #fff; }
.idx-promo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 30px; border-radius: 14px; white-space: nowrap; color: #07130d; font: 900 .85rem 'Montserrat', sans-serif; letter-spacing: 2.5px;
    background: linear-gradient(135deg, #3dffa2, #19d4ff); box-shadow: 0 12px 32px rgba(61,255,162,.35); transition: transform .25s, box-shadow .25s; }
.idx-promo:hover .idx-promo-btn { transform: scale(1.05); box-shadow: 0 16px 42px rgba(61,255,162,.55); }
.idx-promo-btn b { transition: transform .25s; }
.idx-promo:hover .idx-promo-btn b { transform: translateX(5px); }
@media (max-width: 800px) {
    .idx-promo { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px; }
    .idx-promo-img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; }
    .idx-promo-btn { width: 100%; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) { .idx-promo, .idx-promo::after, .idx-promo-tag::before { animation: none !important; } }


/* ---------- Sello FREE (esquina, girado a la derecha) ---------- */
.free-sticker { --fs: 78px; position: absolute; top: 10px; left: 10px; z-index: 5; width: var(--fs); height: var(--fs); display: grid; place-items: center; transform: rotate(12deg); pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)) drop-shadow(0 0 14px rgba(61,255,162,.55)); animation: fsPop 3.2s ease-in-out infinite; }
.free-sticker::before, .free-sticker::after { content: ""; position: absolute; clip-path: polygon(50.0% 0.0%, 59.6% 8.1%, 71.7% 5.0%, 76.8% 16.4%, 89.1% 18.8%, 88.7% 31.3%, 98.7% 38.9%, 93.0% 50.0%, 98.7% 61.1%, 88.7% 68.7%, 89.1% 81.2%, 76.8% 83.6%, 71.7% 95.0%, 59.6% 91.9%, 50.0% 100.0%, 40.4% 91.9%, 28.3% 95.0%, 23.2% 83.6%, 10.9% 81.2%, 11.3% 68.7%, 1.3% 61.1%, 7.0% 50.0%, 1.3% 38.9%, 11.3% 31.3%, 10.9% 18.8%, 23.2% 16.4%, 28.3% 5.0%, 40.4% 8.1%); }
.free-sticker::before { inset: 0; background: #fff; }
.free-sticker::after { inset: 3px; background: linear-gradient(135deg, #3dffa2, #19d4ff); }
.free-sticker b { position: relative; z-index: 1; font: 900 calc(var(--fs) * .27)/1 'Montserrat', sans-serif; letter-spacing: 1px; color: #07130d; }
@keyframes fsPop { 0%, 100% { transform: rotate(12deg) scale(1); } 50% { transform: rotate(12deg) scale(1.07); } }
.product-card, .cover-box { position: relative; }
.product-card .free-sticker { --fs: 64px; top: 12px; left: 12px; }
@media (max-width: 800px) { .free-sticker { --fs: 66px; } }
@media (prefers-reduced-motion: reduce) { .free-sticker { animation: none; } }
