/* ===== Hitamuz Green UI ===== */
:root{
  --bg:#F3FBF7;
  --card:#FFFFFF;
  --text:#0F172A;
  --muted:#64748B;
  --line:#E3F0E9;
  --accent:#18B26B;
  --accent-2:#129158;
  --pill:#E6F7EE;
  --good:#18B26B;
}

/* Global reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

/* Container/layout */
.container{
  max-width:1180px;
  margin:18px auto;
  padding:0 14px;
}
.page-wrap{
  display:grid;
  grid-template-columns:1fr 320px;
  grid-template-areas:"left right";
  gap:22px;
  align-items:flex-start;
}
.left-col{
  grid-area:left;
  background:var(--card);
  padding:24px;
  border-radius:18px;
  box-shadow:0 8px 26px rgba(15,23,42,.04);
}
.right-col{
  grid-area:right;
}
.right-col .box{
  background:var(--card);
  padding:18px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  margin-bottom:18px;
}

/* Header */
.site-header{
  padding:14px 0 10px;
}
.site-header .container{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--text);
}
.logo img{height:34px}

.search-form{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
}
.search-form input{
  flex:1 1 auto;
  max-width:520px;
  height:44px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:var(--text);
  outline:none;
}
.search-form input::placeholder{color:#9AA8B8}
.search-form input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(24,178,107,.16);
}
.search-form button{
  flex:0 0 auto;
  height:44px;
  padding:0 20px;
  border:0;
  border-radius:14px;
  background:var(--accent);
  color:#fff;
  cursor:pointer;
  font-weight:700;
  box-shadow:0 10px 26px rgba(24,178,107,.36);
}
.search-form button:hover{
  background:var(--accent-2);
}

/* Category pills */
.cats{
  grid-column:1/3;
  margin-top:10px;
  background:#fff;
  border:1px solid var(--line);
  padding:10px;
  border-radius:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cats a{
  padding:7px 12px;
  background:var(--pill);
  border-radius:999px;
  color:#145339;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:.18s ease;
}
.cats a:hover{
  background:#D7F2E4;
}

/* Typography */
h1,h2{margin:0 0 16px}
h1{
  font-size:32px;
  letter-spacing:.2px;
}
h2{
  font-size:26px;
}

/* Track list (phrase page + main list) */
.track-list{
  list-style:none;
  margin:0;
  padding:0;
}
.track-item{
  display:grid;
  grid-template-columns:46px 1fr 72px 90px;
  gap:12px;
  align-items:center;
  padding:14px 10px;
  border-bottom:1px solid var(--line);
}
.track-item:first-child{border-top:0}
.track-item:hover{
  background:#F7FCFA;
}
.track-link{
  display:block;
  text-decoration:none;
  color:inherit;
  min-width:0;
}
.track-link .artist{
  font-weight:700;
  color:#14302A;
  margin-right:6px;
}
.track-link .title{
  color:var(--muted);
}
.track-link:hover .artist{
  color:#0D6E44;
}

.duration{
  justify-self:end;
  color:#73859a;
  font-weight:500;
}
.open{
  justify-self:end;
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.open:hover{
  color:var(--accent-2);
}

/* Play + Download buttons in lists */
.btn-play{
  width:38px;
  height:38px;
  border-radius:50%;
  border:0;
  cursor:pointer;
  background:var(--accent);
  display:grid;
  place-items:center;
  box-shadow:0 4px 14px rgba(24,178,107,.35);
}
.btn-play svg{
  width:14px;
  height:14px;
  fill:#fff;
}
.btn-play.is-pause svg{
  width:16px;
  height:16px;
}
.btn-dl{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  position:relative;
}
.btn-dl::before{
  content:'';
  position:absolute;
  left:12px;
  top:8px;
  width:0;
  height:0;
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-top:10px solid var(--accent);
}
.btn-dl::after{
  content:'';
  position:absolute;
  left:11px;
  bottom:8px;
  width:16px;
  height:2px;
  background:var(--accent);
}

/* Sidebar blocks */
.share-title{
  font-weight:700;
  margin-bottom:10px;
}
.share-icons{
  color:#718D7E;
}

/* Сейчас слушают block */
.box h3{
  font-size:18px;
  font-weight:800;
  color:#0f172a;
  margin-bottom:14px;
}
.box ol{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.box ol li{
  background:#F4FBF7;
  border:1px solid #DCEDE4;
  border-radius:12px;
  padding:10px 14px;
  transition:.22s ease;
  box-shadow:0 4px 12px rgba(15,23,42,0.03);
}
.box ol li:hover{
  background:#E6F7EE;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(15,23,42,0.06);
}
.box ol li a{
  display:flex;
  align-items:center;
  gap:8px;
  color:#0f172a;
  font-weight:600;
  text-decoration:none;
  font-size:15px;
}
.box ol li a::before{
  content:"";
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2318B26B'><path d='M12 3v10.55A4 4 0 1 0 14 17V7h4V3h-6z'/></svg>");
}

/* Share box */
.box.share-box .share-title{
  font-size:18px;
  font-weight:800;
}
.box.share-box .share-icons{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:16px;
  color:#60746A;
  font-size:15px;
}
.box.share-box .share-icons span.star{
  color:#18B26B;
}
.box.share-box .share-icons a{
  text-decoration:none;
  color:#1B6A44;
  font-weight:600;
}

/* Footer */
.site-footer{
  padding:24px 0 90px;
  text-align:center;
  color:#6b8196;
}
.site-footer a{
  color:#1C7A4C;
  text-decoration:none;
}

/* Bottom player (glass, green) */
#global-player{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1000;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(160%) blur(14px);
  border-top:1px solid rgba(15,23,42,.06);
  box-shadow:0 -12px 32px rgba(15,23,42,.10);
}
#global-player .gp-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:12px 18px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
}
.gp-ctrls{
  display:flex;
  align-items:center;
  gap:10px;
}
.gp-btn{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  cursor:pointer;
  border-radius:14px;
  border:1px solid #E3F0E9;
  background:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,.06);
  transition:.18s ease;
}
.gp-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(15,23,42,.12);
}
.gp-btn svg{
  width:18px;
  height:18px;
  fill:#15352A;
}
.gp-btn.gp-play{
  background:#18B26B;
  border:0;
  box-shadow:0 10px 22px rgba(24,178,107,.45);
}
.gp-btn.gp-play svg{
  fill:#fff;
}

/* Title + progress + time */
.gp-main{
  display:grid;
  grid-template-columns:1fr 340px 80px;
  gap:14px;
  align-items:center;
  min-width:0;
}
.gp-title{
  font-weight:700;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gp-time{
  color:#6f8196;
  text-align:right;
}

/* Range base */
input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  outline:none;
}

/* Progress bar */
.gp-progress{
  width:100%;
  height:14px;
}
.gp-progress::-webkit-slider-runnable-track{
  height:8px;
  border-radius:999px;
  background:
    linear-gradient(#18B26B,#18B26B) 0/var(--fill,0%) 100% no-repeat,
    #E3F0E9;
}
.gp-progress::-webkit-slider-thumb{
  -webkit-appearance:none;
  margin-top:-6px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#18B26B;
  border:3px solid #fff;
  box-shadow:0 2px 8px rgba(24,178,107,.45);
}
.gp-progress::-moz-range-track{
  height:8px;
  border-radius:999px;
  background:#E3F0E9;
}
.gp-progress::-moz-range-progress{
  height:8px;
  border-radius:999px;
  background:#18B26B;
}
.gp-progress::-moz-range-thumb{
  width:18px;
  height:18px;
  border-radius:50%;
  background:#18B26B;
  border:3px solid #fff;
}

/* Volume */
.gp-vol{
  display:flex;
  align-items:center;
  gap:10px;
  color:#6f8196;
}
.gp-vol svg{
  width:16px;
  height:16px;
  fill:#6f8196;
}
.gp-vol-range{
  width:140px;
}
.gp-vol-range::-webkit-slider-runnable-track{
  height:6px;
  border-radius:999px;
  background:
    linear-gradient(#18B26B,#18B26B) 0/var(--fill,70%) 100% no-repeat,
    #E3F0E9;
}
.gp-vol-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  margin-top:-7px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#18B26B;
  border:3px solid #fff;
  box-shadow:0 2px 8px rgba(24,178,107,.35);
}
.gp-vol-range::-moz-range-track{
  height:6px;
  border-radius:999px;
  background:#E3F0E9;
}
.gp-vol-range::-moz-range-progress{
  height:6px;
  border-radius:999px;
  background:#18B26B;
}
.gp-vol-range::-moz-range-thumb{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#18B26B;
  border:3px solid #fff;
}

/* ===== MP3 sahifa karta va tugmalar (hitamuz.css) ===== */
:root{
  --mp3-shadow:0 10px 36px rgba(15,23,42,.06);
  --mp3-line:#E3F0E9;
  --mp3-card:#FFFFFF;
  --mp3-muted:#6e8096;
  --mp3-title:#0f172a;
  --mp3-accent:#18B26B;
}

main :where(section,article,div):has(.btn-stream){
  background:var(--mp3-card);
  border:1px solid #E3F0E9;
  border-radius:20px;
  padding:28px 28px 18px;
  box-shadow:var(--mp3-shadow);
}
main :where(section,article,div):has(.btn-stream) hr{
  border:none;
  border-top:1px solid var(--mp3-line);
  margin:18px 0;
}
main :where(section,article,div):has(.btn-stream) h1{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.2;
  font-weight:800;
  color:var(--mp3-title);
}
main :where(section,article,div):has(.btn-stream) p{
  margin:0 0 10px;
  color:var(--mp3-muted);
}

/* Date & size line (optional classes) */
.track-meta{
  margin-bottom:12px;
  color:var(--mp3-muted);
  font-size:14px;
}

/* MP3 page buttons */
.btn-stream{
  height:40px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid var(--mp3-accent);
  background:var(--mp3-accent);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(24,178,107,.32);
}
.btn-stream:active{transform:translateY(1px)}
.btn-stream + a[href]{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:40px;
  padding:0 20px;
  border-radius:999px;
  background:#F0FBF6;
  border:1px solid #CBEEDC;
  color:var(--mp3-accent);
  text-decoration:none;
  font-weight:700;
}
.btn-stream + a[href]:hover{
  background:#E3F7EE;
}

/* Share row on mp3 page */
main :where(section,article,div):has(.btn-stream) .share-row{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--mp3-muted);
  font-size:14px;
  margin-top:16px;
}
main :where(section,article,div):has(.btn-stream) .share-row a{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid #E3F0E9;
  display:grid;
  place-items:center;
  background:#fff;
  text-decoration:none;
}
main :where(section,article,div):has(.btn-stream) .share-row a:hover{
  box-shadow:0 6px 16px rgba(15,23,42,.08);
}

/* Track list in mp3 bottom part (similar to main) */
.track-item{
  display:grid;
  grid-template-columns:56px 1fr 72px 92px;
  gap:10px;
  align-items:center;
  padding:12px 16px;
  border-top:1px solid var(--mp3-line);
}
.track-item:first-child{border-top:none}
.track-item .duration{justify-self:end;color:#73859a}
.track-item .open{
  justify-self:end;
  color:var(--mp3-accent);
  text-decoration:none;
  font-weight:700;
}
.track-item .open:hover{color:#11935a}

/* MP3 play button */
.btn-play{
  width:38px;
  height:38px;
  border-radius:50%;
  border:0;
  background:var(--mp3-accent);
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(24,178,107,.32);
}
.btn-play svg{
  width:14px;
  height:14px;
  fill:#fff;
}
.btn-play.is-pause svg{
  width:16px;
  height:16px;
}

/* Responsive tweaks */
@media (max-width:980px){
  .page-wrap{
    grid-template-columns:1fr;
    grid-template-areas:
      "left"
      "right";
    row-gap:18px;
  }
  .right-col{
    order:initial;
  }

  .track-item{
    grid-template-columns:56px 1fr 72px;
  }
  .track-item .open{display:none;}

  .track-link{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
  }
  .track-link .artist,
  .track-link .title{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* Small mobile adjustments */
@media (max-width:700px){
  .site-header .container{
    grid-template-columns:1fr;
    row-gap:10px;
  }
  .search-form{
    justify-content:stretch;
  }
  .search-form button{
    padding:0 16px;
  }
  .cats{
    padding:8px 10px;
  }
  .box ol li{
    padding:8px 12px;
  }
  .box ol li a{
    font-size:14px;
  }
  body{
    padding-bottom:90px;
  }
}
/* Music ganres */
.genres-box h3 {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.3;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.genre-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.genre-tag:hover {
  background: #e5f7ee;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.genre-tag-more {
  font-weight: 500;
}