:root{
  --bg:#060816;
  --bg2:#0c1020;
  --panel:rgba(255,255,255,.045);
  --line:rgba(255,255,255,.08);
  --text:#f5f7ff;
  --muted:#9fa8c4;
  --blue:#5ea4ff;
  --blue2:#2d6eff;
  --green:#7af2c0;
  --shadow:0 24px 60px rgba(0,0,0,.4);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(94,164,255,.12), transparent 24%),
    radial-gradient(circle at top right, rgba(107,70,255,.10), transparent 22%),
    linear-gradient(180deg,#06070d,#080b14 100%);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
}

a{text-decoration:none;color:inherit}

.site-shell{
  max-width:1380px;
  margin:0 auto;
  padding:22px 18px 34px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.035);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
}

.brand-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:14px;
}

.brand-text{
  font-size:1.15rem;
  font-weight:800;
  letter-spacing:.02em;
}

.nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.nav a{
  color:var(--muted);
  font-weight:600;
}

.nav a:hover{
  color:var(--text);
}

.hero{
  padding:24px 0 16px;
}

.hero-card,
.panel,
.song-detail-card,
.comments-block,
.news-detail-card{
  padding:18px;
  border:1px solid var(--line);
  border-radius:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.025));
  box-shadow:var(--shadow);
}

.eyebrow{
  color:var(--blue);
  font-weight:700;
  font-size:.92rem;
  margin-bottom:10px;
}

.hero h1{
  margin:0 0 10px;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.06;
}

.hero p{
  margin:0;
  color:var(--muted);
  max-width:760px;
  line-height:1.6;
}

.home-grid{
  display:grid;
  grid-template-columns:1fr 1.4fr 1fr;
  gap:22px;
  align-items:start;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.section-head h2{
  margin:0;
}

.mini-card,
.news-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  margin-bottom:14px;
}

.mini-card span,
.news-card span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  line-height:1.45;
}

.mini-thumb,
.feature-cover,
.track-cover,
.album-cover-large,
.poster-avatar{
  background:
    radial-gradient(circle at top left, rgba(94,164,255,.26), transparent 30%),
    linear-gradient(135deg,#152342,#0a1020);
}

.mini-thumb{
  width:78px;
  height:78px;
  border-radius:16px;
  flex:0 0 78px;
}

.video-two{
  background:
    radial-gradient(circle at top right, rgba(122,242,192,.18), transparent 26%),
    linear-gradient(135deg,#152342,#0a1020);
}

.feature-link{
  display:block;
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.03);
  margin-bottom:16px;
}

.feature-cover{
  height:320px;
  border-radius:20px;
  margin-bottom:14px;
}

.feature-copy h3{
  font-size:1.5rem;
  margin:0 0 8px;
}

.feature-copy p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.6;
}

.feature-button{
  display:inline-flex;
  padding:11px 16px;
  border-radius:12px;
  background:linear-gradient(90deg,var(--blue2),var(--blue));
  font-weight:700;
}

.track-row{
  display:grid;
  grid-template-columns:58px 1fr auto 42px;
  align-items:center;
  gap:14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  margin-bottom:12px;
}

.track-cover{
  width:58px;
  height:58px;
  border-radius:14px;
}

.t1,
.cover-1{
  background:
    radial-gradient(circle at top left, rgba(94,164,255,.26), transparent 30%),
    radial-gradient(circle at top right, rgba(255,80,130,.18), transparent 28%),
    linear-gradient(135deg,#152342,#180e24);
}

.t2,
.cover-2{
  background:
    radial-gradient(circle at top right, rgba(94,164,255,.20), transparent 26%),
    linear-gradient(135deg,#12234b,#07101f);
}

.t3,
.cover-3{
  background:
    radial-gradient(circle at top right, rgba(122,242,192,.18), transparent 26%),
    linear-gradient(135deg,#1d244a,#08101d);
}

.track-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.track-copy span,
.track-time,
.song-desc,
.posted-copy p,
.comment-content p,
.player-top,
.volume-row label,
.time-row{
  color:var(--muted);
}

.play-circle{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
}

.song-page{
  padding-top:22px;
}

.song-detail-card{
  display:grid;
  grid-template-columns:380px 1.2fr .8fr;
  gap:22px;
  align-items:start;
  margin-bottom:22px;
}

.album-panel{
  min-width:0;
}

.album-cover-large{
  width:100%;
  aspect-ratio:1/1;
  border-radius:24px;
  border:1px solid var(--line);
}

.song-main{
  min-width:0;
}

.song-main h1{
  font-size:clamp(2.2rem,4vw,3.4rem);
  margin:0 0 10px;
}

.player-box{
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.03);
  margin:18px 0;
}

.player-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.modern-player .player-main{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:16px;
}

.play-btn{
  width:62px;
  height:62px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--blue2),var(--blue));
  border:none;
  color:#fff;
  font-size:22px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding:0;
  flex:0 0 62px;
  transition:transform .2s ease;
}

.play-btn:hover{
  transform:scale(1.05);
}

.wave-bars{
  display:flex;
  gap:5px;
  align-items:flex-end;
  height:34px;
}

.wave-bars span{
  width:5px;
  height:10px;
  background:linear-gradient(180deg,var(--blue),#8ad9ff);
  border-radius:999px;
  opacity:.9;
}

.wave-bars.playing span{
  animation:wave 1s infinite ease-in-out;
}

.wave-bars.playing span:nth-child(2){animation-delay:.1s}
.wave-bars.playing span:nth-child(3){animation-delay:.2s}
.wave-bars.playing span:nth-child(4){animation-delay:.3s}
.wave-bars.playing span:nth-child(5){animation-delay:.4s}

@keyframes wave{
  0%,100%{height:10px}
  50%{height:30px}
}

.progress-bar{
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
  margin-bottom:10px;
  cursor:pointer;
}

.progress-fill{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,var(--blue2),var(--blue));
}

.time-row{
  display:flex;
  justify-content:space-between;
  font-size:.92rem;
  margin-bottom:14px;
}

.volume-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.volume-row input{
  width:180px;
}

.pill-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:#132147;
  border:1px solid var(--line);
  color:#dfe8ff;
}

.posted-by-card{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.posted-by-card h3{
  margin:0;
}

.posted-user{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  min-height:92px;
}

.poster-avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  flex:0 0 64px;
}

.posted-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.posted-copy p{
  margin:0;
}

.comments-head{
  display:flex;
  gap:10px;
  align-items:center;
}

.comments-head h2{
  margin:0;
}

.comments-head span{
  color:var(--muted);
}

.comment-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:16px 0 20px;
}

.comment-form textarea{
  min-height:110px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:#fff;
  padding:14px;
  font:inherit;
  resize:vertical;
}

.comment-btn{
  align-self:flex-start;
  border:none;
  border-radius:12px;
  padding:12px 18px;
  background:linear-gradient(90deg,var(--blue2),var(--blue));
  color:#fff;
  font-weight:700;
}

.comment-row{
  display:flex;
  gap:14px;
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.06);
}

.comment-avatar{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:800;
  background:linear-gradient(135deg,#f06486,#9b5cff);
  flex:0 0 58px;
}

.comment-avatar.alt{
  background:linear-gradient(135deg,#6c7bff,#8f9cff);
}

.comment-content p{
  margin:6px 0 10px;
}

.comment-actions{
  display:flex;
  gap:16px;
  color:var(--muted);
  font-size:.95rem;
}

.news-page,
.artist-placeholder{
  padding-top:22px;
}

.news-detail-card h1{
  margin-top:0;
}

.news-detail-card p{
  color:var(--muted);
  line-height:1.6;
}

.footer{
  margin-top:24px;
  padding:20px 18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.03);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.footer-group{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-group a{
  color:var(--muted);
  font-weight:600;
}

@media (max-width: 1100px){
  .home-grid{
    grid-template-columns:1fr;
  }

  .song-detail-card{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .site-shell{
    padding:14px;
  }

  .topbar{
    padding:12px 14px;
  }

  .nav{
    gap:12px;
    font-size:.95rem;
  }

  .track-row{
    grid-template-columns:54px 1fr;
  }

  .track-time,
  .play-circle{
    display:none;
  }

  .volume-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .volume-row input{
    width:100%;
  }

  .modern-player .player-main{
    gap:16px;
  }

  .play-btn{
    width:56px;
    height:56px;
    flex-basis:56px;
  }
}