body[data-page="stream-dj"]{
  min-height:100vh;
  background:
    radial-gradient(circle at 25% 20%, rgba(85,231,255,.10), transparent 28%),
    radial-gradient(circle at 70% 35%, rgba(109,93,252,.16), transparent 30%),
    url('/assets/images/bg-dj-stream.jpg'),
    linear-gradient(135deg,#071226,#12091f);
  background-size:cover;
  background-position:center;
  color:#fff;
}

.streamdj-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:32px 32px 32px 8vw;
}

.streamdj-panel{
  width:min(880px, calc(100vw - 64px));
  min-height:720px;
  padding:36px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 80% 45%, rgba(85,231,255,.10), transparent 30%),
    linear-gradient(135deg, rgba(8,22,48,.94), rgba(23,17,55,.92));
  box-shadow:0 28px 80px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.04);
  position:relative;
}

.streamdj-panel::after{
  content:"";
  position:absolute;
  right:40px;
  top:190px;
  width:360px;
  height:260px;
  opacity:.20;
  pointer-events:none;
  background:repeating-linear-gradient(90deg, rgba(85,231,255,.55) 0 4px, transparent 4px 20px);
  mask-image:linear-gradient(to top, transparent, #000 20%, #000 80%, transparent);
}

.streamdj-info-action{
  position:absolute;
  right:36px;
  top:36px;
  z-index:5;
}

.streamdj-logo-row{
  display:flex;
  gap:22px;
  align-items:center;
  padding-right:210px;
}

.streamdj-logo-row img{
  width:70px;
  height:70px;
  border-radius:18px;
  box-shadow:0 0 28px rgba(85,231,255,.22);
}

.streamdj-kicker{
  margin:0 0 4px;
  color:#55e7ff;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:.82rem;
}

.streamdj-logo-row h1{
  margin:0;
  font-size:clamp(2.2rem,4vw,3.5rem);
  line-height:.95;
}

.streamdj-intro{
  margin:10px 0 0;
  color:#d8e2ff;
  font-weight:700;
}

.streamdj-status{
  margin:28px 0 28px;
  padding:14px 18px;
  border-radius:16px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  color:#d8e2ff;
  font-weight:800;
}

.streamdj-status::before{
  content:"";
  display:inline-block;
  width:12px;
  height:12px;
  margin-right:8px;
  border-radius:50%;
  background:#55e7ff;
  box-shadow:0 0 16px rgba(85,231,255,.8);
}

.streamdj-equalizer{
  height:120px;
  margin:0 0 24px auto;
  max-width:500px;
  border-radius:22px;
  background:rgba(5,12,31,.34);
  border:1px solid rgba(85,231,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  opacity:.45;
}

.streamdj-equalizer span{
  width:10px;
  height:36px;
  border-radius:99px;
  background:linear-gradient(to top,#38d7ff,#6d5dfc,#b65cff);
  animation:streamdjEq 1.1s infinite ease-in-out alternate;
}

.streamdj-equalizer span:nth-child(2n){animation-delay:.15s}
.streamdj-equalizer span:nth-child(3n){animation-delay:.3s}

@keyframes streamdjEq{
  from{height:22px;opacity:.55}
  to{height:88px;opacity:1}
}

.streamdj-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 28px;
  position:relative;
  z-index:2;
}

.streamdj-form label{
  display:flex;
  flex-direction:column;
  gap:9px;
  color:#55e7ff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
}

.streamdj-form label.wide{
  grid-column:1 / -1;
}

.streamdj-form input,
.streamdj-form select{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(3,10,26,.78);
  color:#fff;
  padding:0 18px;
  font-size:1rem;
  font-weight:700;
  outline:none;
}

.streamdj-info-box{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.streamdj-info-box span{
  padding:17px 18px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(109,93,252,.20);
  color:#d8e2ff;
  font-weight:800;
}

.streamdj-main-btn{
  grid-column:1 / -1;
  min-height:58px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#38d7ff,#6d5dfc,#b65cff);
  color:#fff;
  font-size:1rem;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 18px 45px rgba(56,215,255,.18);
}

.streamdj-main-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.streamdj-safe{
  grid-column:1 / -1;
  text-align:center;
  margin:0;
  color:rgba(216,226,255,.72);
  font-size:.9rem;
}

.streamdj-result,
.streamdj-tutos{
  position:relative;
  z-index:2;
  margin-top:28px;
}

.streamdj-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}

.streamdj-grid div{
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
}

.streamdj-grid span{
  display:block;
  color:#9aa6d6;
  font-size:.8rem;
}

.streamdj-tuto-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.streamdj-tuto-row button{
  min-height:110px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.05);
  color:#fff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:10px;
  padding:20px;
}

.streamdj-tuto-row strong{
  color:#55e7ff;
  font-size:1.15rem;
}

body[data-page="stream-dj"] #djInfoPopup{
  position:fixed !important;
  top:70px !important;
  right:36px !important;
  left:auto !important;
  transform:none !important;
  width:min(460px, calc(100vw - 32px)) !important;
  max-height:calc(100vh - 100px) !important;
  overflow:auto !important;
  z-index:99999 !important;
}

body[data-page="stream-dj"] #djInfoVideo{
  max-height:260px !important;
  object-fit:cover !important;
}

@media(max-width:1100px){
  .streamdj-page{
    justify-content:center;
    padding:20px;
  }

  .streamdj-panel{
    width:100%;
  }

  body[data-page="stream-dj"] #djInfoPopup{
    top:80px !important;
    right:16px !important;
  }
}

@media(max-width:760px){
  .streamdj-logo-row,
  .streamdj-form,
  .streamdj-info-box,
  .streamdj-tuto-row{
    grid-template-columns:1fr;
  }

  .streamdj-logo-row{
    padding-right:0;
  }

  .streamdj-info-action{
    position:static;
    margin-bottom:16px;
  }
}

/* === STREAM DJ CENTER + INFO BUTTON FINAL === */
.streamdj-page{
  justify-content:center !important;
  padding:32px !important;
}

.streamdj-panel{
  margin:0 auto !important;
}

.streamdj-info-action{
  position:absolute !important;
  right:34px !important;
  top:34px !important;
  z-index:10 !important;
}

.streamdj-info-action .streamdj-small-btn{
  min-height:42px !important;
  padding:0 18px !important;
  border-radius:15px !important;
  border:1px solid rgba(255,65,105,.75) !important;
  background:
    linear-gradient(135deg, rgba(255,65,105,.20), rgba(109,93,252,.18)),
    rgba(8,18,42,.82) !important;
  color:#fff !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 18px rgba(255,65,105,.22),
    0 10px 28px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(10px);
}

.streamdj-info-action .streamdj-small-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,65,105,1) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 24px rgba(255,65,105,.34),
    0 14px 34px rgba(0,0,0,.34) !important;
}

@media(max-width:760px){
  .streamdj-info-action{
    position:static !important;
    margin-bottom:16px !important;
  }
}

/* === STREAM DJ CLEAN EQUALIZER + TUTOS FINAL === */
.streamdj-panel::after{
  display:none !important;
}

.streamdj-equalizer{
  opacity:1 !important;
  background:
    radial-gradient(circle at center, rgba(85,231,255,.10), transparent 62%),
    rgba(5,12,31,.22) !important;
  border:1px solid rgba(85,231,255,.08) !important;
}

.streamdj-tuto-row{
  grid-template-columns:repeat(2, minmax(0,1fr)) !important;
}

.streamdj-tuto-card{
  min-height:118px;
  border-radius:18px;
  border:1px solid rgba(85,231,255,.18);
  background:
    linear-gradient(135deg, rgba(85,231,255,.08), rgba(109,93,252,.12)),
    rgba(255,255,255,.045);
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding:22px;
  transition:.18s ease;
}

.streamdj-tuto-card:hover{
  transform:translateY(-2px);
  border-color:rgba(85,231,255,.45);
  box-shadow:0 16px 34px rgba(0,0,0,.28), 0 0 22px rgba(85,231,255,.16);
}

.streamdj-tuto-card strong{
  color:#55e7ff;
  font-size:1.25rem;
  letter-spacing:.06em;
}

.streamdj-tuto-card span{
  font-weight:900;
  font-size:1rem;
}

.streamdj-tuto-card em{
  color:rgba(216,226,255,.72);
  font-style:normal;
  font-size:.88rem;
  line-height:1.35;
}

@media(max-width:760px){
  .streamdj-tuto-row{
    grid-template-columns:1fr !important;
  }
}

/* === STREAM DJ HEADER NAV === */
body[data-page="stream-dj"] .streamdj-topbar{
  width:min(1180px, calc(100vw - 48px));
  margin:18px auto 0 !important;
  position:relative;
  z-index:20;
}

body[data-page="stream-dj"] .streamdj-page{
  min-height:calc(100vh - 130px) !important;
  padding-top:28px !important;
}

/* === STREAM DJ SAME WIDTH AS HEADER === */
body[data-page="stream-dj"] .streamdj-panel{
  width:min(1180px, calc(100vw - 48px)) !important;
}

body[data-page="stream-dj"] .streamdj-page{
  justify-content:center !important;
}

/* === STREAM DJ EQUALIZER FINE FAST CENTER === */
.streamdj-equalizer{
  margin:16px auto 28px !important;
  max-width:520px !important;
  height:92px !important;
  gap:8px !important;
  justify-content:center !important;
}

.streamdj-equalizer span{
  width:5px !important;
  min-height:12px !important;
  border-radius:999px !important;
  animation-duration:.62s !important;
}

.streamdj-equalizer span:nth-child(2n){
  animation-delay:.08s !important;
}

.streamdj-equalizer span:nth-child(3n){
  animation-delay:.16s !important;
}

/* === STREAM DJ EQUALIZER WIDE PRO === */
.streamdj-equalizer{
  width:100% !important;
  max-width:none !important;
  height:88px !important;
  margin:18px 0 28px !important;
  border-radius:20px !important;
  gap:10px !important;
  background:
    radial-gradient(circle at center, rgba(85,231,255,.10), transparent 55%),
    linear-gradient(135deg, rgba(85,231,255,.05), rgba(109,93,252,.08)),
    rgba(5,12,31,.36) !important;
  border:1px solid rgba(85,231,255,.16) !important;
  box-shadow:
    inset 0 0 28px rgba(85,231,255,.05),
    0 12px 28px rgba(0,0,0,.18) !important;
}

.streamdj-equalizer span{
  width:4px !important;
  height:34px;
  box-shadow:0 0 12px rgba(85,231,255,.28);
}

/* === STREAM DJ EQUALIZER ULTRA WIDE === */
.streamdj-equalizer{
  width:100% !important;
  max-width:none !important;
  min-height:96px !important;
  padding:0 26px !important;
  gap:14px !important;
  justify-content:space-evenly !important;
}

.streamdj-equalizer span{
  width:4px !important;
}
