/* Disc Cascade — port en JS puro del componente React "disc-cascade-carousel" */
.dcc-root {
  --dcc-s: clamp(180px, min(46vmin, 32vw), 400px);
  --dcc-pad: clamp(16px, 3vw, 40px);
  position: relative; overflow: hidden; width: 100%;
  height: clamp(600px, 86vh, 860px);
  border-radius: 16px;
  background: radial-gradient(120% 90% at 55% 45%, #1d1b16, #0b0b0b);
  color: var(--y);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.dcc-root:focus-visible { box-shadow: inset 0 0 0 2px var(--y); }
.dcc-root[data-dragging], .dcc-root[data-dragging] .dcc-slide { cursor: grabbing; }
.dcc-frame { position: absolute; inset: calc(var(--dcc-pad) * .45); pointer-events: none; z-index: 1; border: 1px solid rgba(230, 185, 60, .14); border-radius: 10px; }

.dcc-stage { position: absolute; left: 56%; top: 54%; width: var(--dcc-s); aspect-ratio: 1 / 1; transform: translate(-50%, -50%); perspective: calc(var(--dcc-s) * 3.2); }
.dcc-slide { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; border-radius: 50%; cursor: pointer; will-change: transform; transform-style: preserve-3d; outline: none; }
.dcc-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.dcc-slide[data-active] .dcc-tilt { transform: translateZ(var(--dcc-lift, 0px)) rotateX(calc(var(--dcc-py, 0) * -12deg)) rotateY(calc(var(--dcc-px, 0) * 12deg)); }
.dcc-slide[data-active]:hover { --dcc-lift: calc(var(--dcc-s) * .05); }
.dcc-shade { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; transform: translate3d(0, 7%, -18px) scale(.97); background: radial-gradient(circle closest-side, transparent 30%, rgba(0, 0, 0, .45) 52%, rgba(0, 0, 0, .2) 80%, transparent 100%); }
.dcc-edge, .dcc-disc { position: absolute; inset: 0; border-radius: 50%; -webkit-mask: radial-gradient(circle closest-side, transparent 16.6%, #000 17.1%); mask: radial-gradient(circle closest-side, transparent 16.6%, #000 17.1%); }
.dcc-edge { transform: translateZ(-4px); background: linear-gradient(160deg, #d7d9dc, #8d9196 55%, #c4c7cb); }
.dcc-disc { overflow: hidden; background: #cfd2d6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 0 2px rgba(0, 0, 0, .08); }
.dcc-roll, .dcc-idle { position: absolute; inset: 0; border-radius: 50%; }
.dcc-roll { transform: rotate(var(--dcc-roll, 0deg)); }
.dcc-idle { animation: dcc-spin 24s linear infinite; animation-play-state: paused; font-family: var(--f-display); }
.dcc-slide[data-active] .dcc-idle { animation-play-state: running; }
.dcc-root[data-dragging] .dcc-idle { animation-play-state: paused; }
@keyframes dcc-spin { to { transform: rotate(1turn); } }
.dcc-idle > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; object-fit: cover; }
.dcc-idle > svg, .dcc-hub { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; overflow: visible; }
.dcc-hub { pointer-events: none; }
.dcc-sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: .6;
  background: conic-gradient(from calc(var(--dcc-glint, 0deg) + var(--dcc-px, 0) * 70deg), transparent 0deg, rgba(255, 255, 255, .5) 16deg, transparent 38deg, transparent 140deg, rgba(150, 215, 255, .32) 168deg, rgba(255, 170, 225, .32) 186deg, rgba(255, 236, 170, .26) 200deg, transparent 224deg, transparent 360deg), radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .3), transparent 46%); }
.dcc-slide:focus-visible .dcc-disc { box-shadow: inset 0 0 0 3px #0b0b0b, inset 0 0 0 6px var(--y); }

/* créditos */
.dcc-head { position: absolute; top: var(--dcc-pad); left: var(--dcc-pad); z-index: 4; width: clamp(200px, 26vw, 330px); }
.dcc-kicker { font-family: var(--f-mono); font-size: 11px; color: rgba(230, 185, 60, .6); margin-bottom: 14px; display: flex; justify-content: space-between; }
.dcc-title { margin: 0 0 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: .92; text-transform: uppercase; }
.dcc-dl { margin: 0; }
.dcc-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0 8px; border-top: 1px solid rgba(230, 185, 60, .35); }
.dcc-row dt { font-family: var(--f-head); font-size: 9px; line-height: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.dcc-row dd { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 13px; line-height: 15px; text-align: right; }
.dcc-listen { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: 999px; background: var(--y); color: #0b0b0b; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: transform .3s var(--ease); }
.dcc-listen:hover { transform: translateY(-2px); }
.dcc-listen svg { width: 16px; height: 16px; }
.dcc-in { animation: dcc-in .8s cubic-bezier(.2, .7, .1, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes dcc-in { from { opacity: 0; transform: translateY(12px); filter: blur(5px); } }

/* controles */
.dcc-ctl { position: absolute; right: var(--dcc-pad); bottom: var(--dcc-pad); z-index: 5; display: flex; align-items: center; gap: 10px; }
.dcc-btn { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 999px; border: 1px solid rgba(230, 185, 60, .35); background: none; color: inherit; cursor: pointer; transition: background .2s, opacity .2s, transform .2s; }
.dcc-btn:hover:not(:disabled) { background: rgba(230, 185, 60, .12); }
.dcc-btn:active:not(:disabled) { transform: scale(.9); }
.dcc-btn:disabled { opacity: .28; cursor: default; }
.dcc-btn svg { width: 16px; height: 16px; }
.dcc-count { font-family: var(--f-mono); font-size: 12px; min-width: 64px; text-align: center; }
.dcc-hint { position: absolute; left: var(--dcc-pad); bottom: var(--dcc-pad); z-index: 4; font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .45; line-height: 44px; pointer-events: none; }
.dcc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 720px) {
  .dcc-root { --dcc-s: min(62vw, 300px); height: 680px; }
  .dcc-head { width: auto; right: var(--dcc-pad); }
  .dcc-title { font-size: 40px; }
  .dcc-row:nth-child(n+3) { display: none; }
  .dcc-stage { left: 50%; top: 62%; }
  .dcc-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dcc-idle, .dcc-in { animation: none; }
  .dcc-tilt, .dcc-btn { transition: none; }
}
