.main-container {
  width: 820px;
  height: 600px;
  position: relative;
  overflow: visible;
  background: none;
}

/* Disco y portada debajo de Fussion2 */
.ctn-disc {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Fussion2 debe dominar visualmente */
.ctn-base {
  position: absolute;
  top: 15%;
  left: 35%;
  width: 681px;
  height: 388px;
  transform: translate(-50%, -50%);
  z-index: 5; /* Elevado para jerarquía visual */
  pointer-events: none;
}

.disc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  animation: spin-disc 6s linear infinite;
}

@keyframes spin-disc {
  from { transform: rotate(0deg); }
  to { transform: rotate(380deg); }
}

/* Portada ahora fuera del contenedor del disco */
.wrapper {
  position: absolute;
  top: 50%;
  left: 40%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #000;
}

/* Metadatos */
.metadata-marquee {
  position: absolute;
  top: 205px;
  left: 470px;
  right: 10px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 1.2em;
  color: #000;
  z-index: 10;
  /*border-bottom: 1px solid #ccc;*/
}

.info-marquee {
  position: absolute;
  top: 285px;
  left: 490px;
  right: 50px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 4px 8px;
  font-size: 1em;
  color: #000;
  opacity: 0.9;
  z-index: 10;
  border-bottom: 1px solid #ccc;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Controles */
.controls-wrapper {
  position: absolute;
  bottom: 160px;
  right: 165px;
  display: flex;
  gap: 2px;
  z-index: 10;
}

.controls-wrapper button {
  width: 90px;
  height: 90px;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.controls-wrapper button:hover {
  transform: scale(1.05);
}

.controls-wrapper button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-rwd,
.btn-fwd {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.15); /* rojo transparente */
  border: 2px solid rgba(255, 0, 0, 0.6);
  color: #ff0000;
  font-size: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  pointer-events: auto;
  transition: transform 0.2s ease;
  animation: pulseGlow 2s infinite;
}

.btn-rwd {
  left: 15%;
  top: 15%;
  transform: translateY(-50%);
}

.btn-fwd {
  right: 25%;
  top: 15%;
  transform: translateY(-50%);
}

.btn-rwd i,
.btn-fwd i {
  pointer-events: none;
}

/* Animación pulsante con glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6),
                0 0 20px rgba(255, 0, 0, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9),
                0 0 40px rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6),
                0 0 20px rgba(255, 0, 0, 0.4);
    transform: scale(1);
  }
}

/* Decorativos */
.decorative-wrapper {
  position: absolute;
  bottom: 160px;
  right: 10px;
  width: 200px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.turbine-img {
  position: absolute;
  width: 120px;
  height: 100px;
  object-fit: contain;
  animation: spin 6s linear infinite;
  z-index: 1;
}

.decorative-overlay {
  position: absolute;
  width: 200px;
  height: 110px;
  object-fit: contain;
  z-index: 2;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(720deg); }
}

.custom-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff0000;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1em;
    text-shadow: 0 0 8px #c2a044;
    box-shadow: 0 0 20px #ff0000b3; /* b3 ≈ 70% de opacidad */
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
.custom-message.show {
    opacity: 1;
}