.cs-stream-row {
  padding: 40px 20px;
  background: linear-gradient(135deg,#120a1f,#1b1333);
  position: relative;
  overflow: hidden;
}

.cs-stream-row.alt {
  background: linear-gradient(135deg,#1b1333,#120a1f);
}

.cs-stream-row::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,179,1,0.15), transparent 70%);
  filter: blur(40px);
}

.cs-row-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #F5B301;
  margin-bottom: 5px;
}

.cs-row-header span {
  color: #BBBBBB;
  font-size: 14px;
}

.cs-beat-card,
.cs-project-card {
  min-width: 240px;
  height: 150px;
  background: #120A1F;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}

.cs-beat-card::before,
.cs-project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left,
    rgba(157,77,255,0.15),
    transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.cs-beat-card:hover,
.cs-project-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    0 0 25px rgba(157,77,255,0.4),
    0 0 40px rgba(245,179,1,0.25);
}

.cs-beat-card:hover::before,
.cs-project-card:hover::before {
  opacity: 1;
}

.cs-play-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(90deg,#f5b301,#ff8c42);
  color: #120a1f;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  opacity: 0;
  transition: 0.3s;
}

.cs-beat-card:hover .cs-play-overlay {
  opacity: 1;
  transform: scale(1.1);
}

.cs-beat-card h3,
.cs-project-card h3 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 5px;
}

.cs-beat-card p {
  color: #BBBBBB;
  font-size: 13px;
}

.cs-mini-wave {
  height: 4px;
  background: linear-gradient(90deg,#9D4DFF,#00E6D7);
  margin-top: 10px;
  border-radius: 2px;
  opacity: 0.6;
}

.cs-row-scroll:hover {
  cursor: grab;
}

/* ------------------------
FLOAT PANNEL DESIGN
-------------------------*/
.cs-float-panel {
  position: fixed;
  bottom: 100px; /* above sticky player */
  right: 30px;

  width: 320px;
  padding: 20px;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(18,10,31,0.95),
    rgba(27,19,51,0.95)
  );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.7),
    0 0 25px rgba(157,77,255,0.25),
    0 0 15px rgba(245,179,1,0.15);

  z-index: 9999;

  transition: all 0.4s ease;
}


/* -----------------------
🌌 FLOATING LIGHT EFFECT (VERY IMPORTANT)
-------------------------*/

.cs-float-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: radial-gradient(
    circle at top left,
    rgba(245,179,1,0.15),
    transparent 60%
  );

  opacity: 0.8;
  pointer-events: none;
}

/* -----------------------
🌌🟣 SECONDARY GLOW (CREATIVE ENERGY)
-------------------------*/
.cs-float-panel::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;

  background: radial-gradient(
    circle,
    rgba(157,77,255,0.25),
    transparent 70%
  );

  filter: blur(40px);
  pointer-events: none;
}

/* -----------------------
✨ HOVER / ACTIVE STATE
-------------------------*/
.cs-float-panel:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.9),
    0 0 35px rgba(157,77,255,0.4),
    0 0 25px rgba(245,179,1,0.25);
}

/* -----------------------
🎛 PANEL HEADER (OPTIONAL BUT 🔥)
-------------------------*/
.cs-float-panel h3 {
  color: #F5B301;
  font-size: 16px;
  margin-bottom: 10px;
}

.cs-float-panel p {
  color: #BBBBBB;
  font-size: 13px;
}

/* -----------------------
🎧 BUTTONS INSIDE PANEL
🔥 PRIMARY BUTTON
-------------------------*/
.cs-float-panel .cs-btn-primary {
  background: linear-gradient(90deg,#f5b301,#ff8c42);
  color: #120a1f;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 0 15px rgba(245,179,1,0.3);
  transition: all 0.3s ease;
}

.cs-float-panel .cs-btn-primary:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 25px rgba(245,179,1,0.5),
    0 0 15px rgba(255,140,66,0.4);
}

/* -----------------------
🟣 SECONDARY BUTTON
-------------------------*/
.cs-float-panel .cs-btn-outline {
  border: 1px solid #9D4DFF;
  color: #9D4DFF;
  background: transparent;

  padding: 8px 12px;
  border-radius: 8px;

  transition: all 0.3s ease;
}

.cs-float-panel .cs-btn-outline:hover {
  background: rgba(157,77,255,0.1);
  box-shadow: 0 0 15px rgba(157,77,255,0.4);
}

/* -----------------------
🎚 MICRO INTERACTION (BREATHING PANEL)
-------------------------*/
@keyframes csPanelGlow {
  0% {
    box-shadow:
      0 10px 40px rgba(0,0,0,0.7),
      0 0 20px rgba(157,77,255,0.2);
  }
  50% {
    box-shadow:
      0 15px 50px rgba(0,0,0,0.9),
      0 0 30px rgba(157,77,255,0.35);
  }
  100% {
    box-shadow:
      0 10px 40px rgba(0,0,0,0.7),
      0 0 20px rgba(157,77,255,0.2);
  }
}

.cs-float-panel {
  animation: csPanelGlow 6s ease-in-out infinite;
}

/* -----------------------
📱 MOBILE ADAPTATION
-------------------------*/
@media(max-width:768px){
  .cs-float-panel {
    right: 15px;
    left: 15px;
    width: auto;
    bottom: 90px;
  }
}

/* -----------------------
🎯 OPTIONAL — COLLAPSIBLE PANEL (VERY PREMIUM)
-------------------------*/
.cs-float-panel.collapsed {
  height: 60px;
  overflow: hidden;
}
