/* Estilos de los carruseles (Concave, Prism y Elastic Reel) */
/* Concave */
.cc { position: relative; }
.cc-stage { position: relative; height: clamp(340px, 50vw, 440px); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cc-stage.grab { cursor: grabbing; }
.cc-ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.cc-card { position: absolute; left: 50%; top: 50%; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); border-radius: 18px; overflow: hidden;
  background: #15151F; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1); will-change: transform; backface-visibility: hidden; }
.cc-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Prism */
.pc { position: relative; outline: none; --pc: #3A36D9; }
.pc::before { content: ""; position: absolute; left: 50%; top: 38%; width: min(760px, 90%); aspect-ratio: 1.6; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--pc); filter: blur(90px); opacity: .35; transition: background .8s ease; pointer-events: none; }
.pc-track { position: relative; height: clamp(300px, 46vw, 470px); perspective: 1400px; transform-style: preserve-3d; touch-action: pan-y; }
.pc-slide { position: absolute; left: 50%; top: 0; width: min(66%, 640px); height: 100%; margin: 0 0 0 calc(min(66%, 640px) / -2); border-radius: 24px; overflow: hidden; cursor: pointer;
  transition: transform .9s cubic-bezier(.22,.8,.24,1), opacity .6s ease; background: #15151F; box-shadow: 0 30px 60px -24px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.12); will-change: transform; }
.pc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: filter .8s ease; filter: saturate(.7) brightness(.7); }
.pc-slide.on img { filter: none; }
.pc-sweep { position: absolute; inset: -2px; pointer-events: none; opacity: 0; transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, color-mix(in srgb, var(--c) 70%, transparent) 42%, var(--c) 50%, color-mix(in srgb, var(--c) 70%, transparent) 58%, transparent 80%); mix-blend-mode: screen; }
.pc-sweep.run { animation: pcSweep 1.1s cubic-bezier(.5,.1,.2,1) both; }
@keyframes pcSweep { 0% { transform: translateX(-110%); opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }
.pc-meta { display: grid; justify-items: center; gap: 4px; text-align: center; margin-top: 22px; min-height: 52px; }
.pc-title { font-size: 1.2rem; letter-spacing: -.02em; color: var(--car-fg, #fff); }
.pc-sub { color: var(--car-mut, rgba(245,245,247,.6)); font-size: .95rem; }
.pc-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.pc-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 1.1rem; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .3s, transform .3s; }
.pc-btn:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.pc-dots { display: flex; gap: 8px; }
.pc-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; background: rgba(255,255,255,.28); transition: width .4s var(--ease), background .4s; }
.pc-dot[aria-current="true"] { width: 26px; background: var(--pc); }

/* Elastic Reel */
.er { display: flex; gap: 8px; height: clamp(320px, 44vw, 440px); }
.er-s { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #15151F; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.er-s img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; filter: brightness(.7) saturate(.85); transition: filter .5s; }
.er-s.big img { filter: none; }
.er-s::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent 55%); pointer-events: none; }
.er-l { position: absolute; left: 14px; bottom: 14px; right: 10px; z-index: 1; text-align: left; font-weight: 700; font-size: .95rem; color: #fff; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.er-l i { display: block; font-style: normal; font-size: .7rem; letter-spacing: .14em; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.er-s.big .er-l { opacity: 1; transform: none; }
.er-s:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }

@media (max-width: 640px) {
  .er { flex-direction: column; height: 520px; gap: 6px; }
  .er.er-v .er-s { flex-basis: 0; }
  .er-l { left: 12px; bottom: 50%; transform: translateY(50%); }
  .pc-slide { width: 78%; margin-left: -39%; }
}


/* Tunnel (CSS 3D) */
.tn { position: relative; height: clamp(340px, 56vw, 540px); border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse at center, #050508 0, #0a0a0f 45%, #121220 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); touch-action: pan-y; }
.tn-view { position: absolute; inset: 0; overflow: hidden; perspective-origin: 50% 50%; }
.tn-world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.tn-t { position: absolute; left: 0; top: 0; transform-style: preserve-3d; backface-visibility: hidden; will-change: transform, opacity; }
.tn-t i { position: absolute; inset: 5%; border-radius: 10px; background: #15151f center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.tn-t.e i { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); border-radius: 4px; inset: 0; }
.tn-t.a i { box-shadow: 0 0 30px -6px rgba(255,255,255,.35); opacity: .85; }
.tn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.85) 0, rgba(0,0,0,0) 22%); }
.tn .car-hint { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; pointer-events: none; color: rgba(255,255,255,.6); z-index: 2; }

/* Orbit */
.or { position: relative; }
.or-stage { position: relative; height: clamp(360px, 56vw, 540px); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.or-stage:active { cursor: grabbing; }
.or-card { position: absolute; left: 50%; top: 50%; border-radius: 14px; overflow: hidden; background: #15151F; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); will-change: transform; }
.or-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* Helix */
.hx-stage { position: relative; height: clamp(380px, 60vw, 560px); perspective: 1100px; overflow: hidden; cursor: grab; touch-action: pan-y; }
.hx-spin { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.hx-card { position: absolute; left: 0; top: 0; width: clamp(110px, 16vw, 170px); aspect-ratio: 4 / 3; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); backface-visibility: hidden; will-change: transform; }
.hx-card img, .sk-card img, .mq-card img, .ci-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Stack */
.sk { display: grid; justify-items: center; gap: 16px; }
.sk-deck { position: relative; width: min(420px, 86%); aspect-ratio: 4 / 5; touch-action: pan-y; cursor: grab; }
.sk-card { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.12); transition: transform .5s cubic-bezier(.22,.8,.24,1), opacity .4s; }
.sk-ctl { display: flex; gap: 14px; align-items: center; font-weight: 800; color: var(--car-fg, #fff); }
/* Marquee */
.mq { display: grid; gap: 12px; overflow: hidden; margin: 0 calc(50% - 50vw); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: mqMove 40s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 48s; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mqMove { to { transform: translateX(-50%); } }
.mq-card { margin: 0; width: clamp(180px, 26vw, 300px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; flex: none; transition: transform .5s cubic-bezier(.22,.8,.24,1); }
.mq-card:hover { transform: scale(1.05) rotate(-1deg); }
/* Circle */
.ci-stage { position: relative; height: clamp(380px, 62vw, 600px); overflow: hidden; }
.ci-card { position: absolute; left: 50%; top: 50%; width: clamp(80px, 13vw, 130px); aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6), 0 0 0 3px rgba(255,255,255,.15); will-change: transform; }
.ci-center { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: #111 center / cover no-repeat; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8), 0 0 0 6px color-mix(in srgb, var(--t-acc, #fff) 50%, transparent); transition: background-image .5s; }
