@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --green:#1db954;
  --bg:#f4f6f8;
  --card:#fff;
  --text:#0f172a;
  --muted:#6b7280;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* =================================================
   HEADER – CLEAN FINAL
   logo LEFT | search CENTER | account RIGHT
   ================================================= */

header.header-v2{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--green);
}

.header-v2-inner{
  position:relative;
  max-width:1200px;
  margin:0 auto;
  height:64px;
}

/* LOGO */
.header-v2-left{
  position:absolute;
  left:24px;
  top:50%;
  transform:translateY(-50%);
}

.header-v2-left .logo{
  font-size:22px;
  font-weight:800;
  color:#fff;
}

/* SEARCH – STRICT CENTER */
.header-v2-center{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:100%;
  max-width:520px;
}

.header-v2-search{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
}

.header-v2-search svg{
  width:18px;
  height:18px;
  stroke:#fff;
  fill:none;
  stroke-width:2;
}

.header-v2-search input{
  flex:1;
  border:none;
  background:none;
  outline:none;
  color:#fff;
  font-size:14px;
}

.header-v2-search input::placeholder{
  color:rgba(255,255,255,.8);
}

/* ACCOUNT */
.header-v2-right{
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);
}

.header-v2-account{
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(255,255,255,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.header-v2-account svg{
  width:18px;
  fill:#fff;
}

/* =================================================
   PAGE / CONTENT (СТАРЕ, НЕ ЧІПАВ)
   ================================================= */

.page{
  max-width:1200px;
  margin:30px auto;
  padding:0 20px;
  display:flex;
  gap:30px;
}
.content{flex:1}

/* TRACKS */

.track{
  display:flex;
  gap:14px;
  background:var(--card);
  border-radius:18px;
  padding:14px 18px;
  margin-bottom:12px;
  cursor:pointer;
  transition:.2s;
}
.track:hover{background:#ecfdf2}
.track.active{
  background:#e7f8ee;
  box-shadow:inset 0 0 0 2px var(--green);
}

.play{
  width:42px;
  height:42px;
  background:var(--green);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.artist{font-weight:600}
.title{font-size:13px;color:var(--muted)}

.icon{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* SIDEBAR */

.sidebar{
  width:280px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.side-card{
  background:#fff;
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.side-card h3{
  margin:0 0 14px;
  font-size:16px;
}

.side-menu{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.side-menu a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  border-radius:14px;
  transition:.2s;
}

.side-menu a:hover{
  background:#f0fdf4;
}

.i{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:15px;
}

.blue{background:#60a5fa}
.red{background:#fb7185}
.yellow{background:#facc15}
.mint{background:#34d399}
.pink{background:#f472b6}
.orange{background:#fb923c}
.green{background:#22c55e}
.teal{background:#38bdf8}

/* PLAYER – СТАРИЙ, НЕ ЧІПАВ */

#bottom-player{
  position:fixed;
  bottom:12px;
  left:12px;
  right:12px;
  height:72px;
  background:rgba(20,20,20,.9);
  backdrop-filter:blur(14px);
  border-radius:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 18px;
  color:#fff;
  z-index:1000;
}

#bottom-player.idle{opacity:.85}

#bottom-player .player-left{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
}

#bottom-player .play-btn{
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  background:var(--green);
  cursor:pointer;
}

#bottom-player .player-center{flex:1}

#bottom-player .player-right{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px;
  justify-content:flex-end;
  font-size:12px;
  color:#ccc;
}

#bottom-player #volume{width:140px}

/* SPACE */
.content{padding-bottom:110px}

a{text-decoration:none;color:inherit}
/* ===== HOME SECTIONS ===== */

.home-section {
  margin-bottom: 42px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-head h3 {
  font-size: 18px;
  font-weight: 700;
}

.section-head a {
  font-size: 14px;
  color: var(--green);
}

/* ===== ARTISTS ===== */

.artists-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
}

.artist-card {
  min-width: 140px;
  text-align: center;
  text-decoration: none;
  color: #000;
}

.artist-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 8px;
}

.artist-card span {
  font-weight: 600;
  font-size: 14px;
}

/* ===== HITS ===== */

.hits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.hit-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.hit-info {
  flex: 1;
}

.hit-info b {
  display: block;
  font-size: 14px;
}

.hit-info span {
  font-size: 13px;
  color: #6b7280;
}

.hit-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hit-add {
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: #777;
}

.hit-time {
  font-size: 13px;
  color: #999;
}
/* ===== TOP PLAYER ===== */

.top-player {
  display: flex;
  align-items: center;
  gap: 18px;

  max-width: 720px;
  margin: 0 auto 26px;

  padding: 14px 18px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(29,185,84,.15),
    rgba(29,185,84,.05)
  );

  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.top-player.idle {
  opacity: .6;
}

.top-player button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;

  background: var(--green);
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.top-player button:disabled {
  background: #ccc;
  cursor: default;
}

.top-info {
  flex: 1;
}

.top-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-progress {
  height: 4px;
  background: rgba(0,0,0,.1);
  border-radius: 4px;
  overflow: hidden;
}

#topProgress {
  height: 100%;
  width: 0%;
  background: var(--green);
}

.top-actions {
  display: flex;
  gap: 14px;
  color: #555;
}
/* =================================================
   FIX: BOTTOM PLAYER (RESTORE LOOK)
   ================================================= */

/* кнопка play */
#bottom-player .play-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;

  background: var(--green);
  color: #000;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
}

/* center */
#bottom-player .player-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* progress bar */
#bottom-player #progress {
  width: 100%;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: #444;
  cursor: pointer;
}

#bottom-player #progress::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

#bottom-player #progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: none;
}

/* right side */
#bottom-player .player-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  justify-content: flex-end;
  font-size: 12px;
  color: #ccc;
}

/* volume */
#bottom-player #volume {
  appearance: none;
  width: 140px;
  height: 6px;
  border-radius: 6px;
  background: #666;
  cursor: pointer;
}

#bottom-player #volume::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

#bottom-player #volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: none;
}
/* =====================================
   WOW PROGRESS BAR (BOTTOM PLAYER)
   ===================================== */

#bottom-player #progress {
  --played: 0%;
  background: linear-gradient(
    to right,
    var(--green) 0%,
    var(--green) var(--played),
    #444 var(--played),
    #444 100%
  );
  transition: background .15s linear;
}

/* glow ефект під час гри */
#bottom-player:not(.idle) #progress::-webkit-slider-thumb {
  box-shadow: 0 0 12px rgba(29,185,84,.8);
}

#bottom-player:not(.idle) #progress::-moz-range-thumb {
  box-shadow: 0 0 12px rgba(29,185,84,.8);
}
/* ===== PLAYER PROGRESS FIX + WOW ===== */

#progress {
  --played: 0%;
  background: linear-gradient(
    to right,
    var(--green) 0%,
    var(--green) var(--played),
    #555 var(--played),
    #555 100%
  );
  transition: background .15s linear;
}

/* glow коли грає */
#bottom-player:not(.idle) #progress::-webkit-slider-thumb {
  box-shadow: 0 0 12px rgba(29,185,84,.8);
}
#bottom-player:not(.idle) #progress::-moz-range-thumb {
  box-shadow: 0 0 12px rgba(29,185,84,.8);
}
/* === СБОРНИКИ / BIG STORIES === */

.artists-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

.artists-row::-webkit-scrollbar {
  display: none;
}

.artist-card {
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

/* ВЕЛИКІ круглі обкладинки */
.artist-card img {
  width: 120px;        /* ← було маленьке */
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Назва */
.artist-card span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hover-ефект */
.artist-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px var(--accent);
}
/* === ПОПУЛЯРНЫЕ ИСПОЛНИТЕЛИ (BIG CIRCLES) === */

.popular-artists {
  margin-top: 32px;
}

.popular-artists .artists-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scrollbar-width: none;
}

.popular-artists .artists-row::-webkit-scrollbar {
  display: none;
}

.popular-artists .artist-card {
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.popular-artists .artist-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.popular-artists .artist-card span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-artists .artist-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px var(--accent);
}
/* ==============================
   TRACK PLAYING STATES (FINAL)
   ============================== */

/* активний трек (грає) */
.track.is-playing {
  background: linear-gradient(
    90deg,
    rgba(46, 204, 113, 0.18),
    rgba(46, 204, 113, 0.05)
  );
  border-left: 3px solid var(--green);
}

.track.is-playing .title {
  color: var(--green);
  font-weight: 600;
}

/* пауза — підсвітка слабша */
.track.is-playing.is-paused {
  background: linear-gradient(
    90deg,
    rgba(46, 204, 113, 0.08),
    rgba(46, 204, 113, 0.02)
  );
  border-left-color: rgba(29,185,84,.4);
}

.track.is-playing.is-paused .title {
  color: rgba(29,185,84,.6);
}

/* ==============================
   PLAY BUTTON IN LIST
   ============================== */

.track .play {
  transition: transform .15s ease, background .15s ease;
}

.track.is-playing .play {
  background: var(--green);
}

.track.is-playing.is-paused .play {
  background: rgba(29,185,84,.6);
}

.track:hover .play {
  transform: scale(1.05);
}

/* ==============================
   ICON COLOR FIX
   ============================== */

.track .play .icon {
  fill: #fff;
}

.track.is-playing .play .icon {
  fill: #fff;
}

/* ==============================
   SMALL UX POLISH
   ============================== */

.track {
  transition: background .2s ease, box-shadow .2s ease;
}

.track.is-playing {
  box-shadow: inset 0 0 0 1px rgba(29,185,84,.25);
}
/* ==============================
   GENRES PAGE (DESIGN FIX)
   ============================== */

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.genre-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.genre-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
}

.genre-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(
    135deg,
    rgba(29,185,84,.25),
    rgba(29,185,84,.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.genre-title {
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
}

/* hover зелений як на головній */
.genre-box:hover .genre-title {
  color: var(--green);
}
/* ==============================
   GENRES — MODERN CARDS (2026)
   ============================== */

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

/* CARD */
.genre-box {
  position: relative;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow:
    0 12px 30px rgba(0,0,0,.06),
    inset 0 0 0 1px rgba(255,255,255,.6);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
  overflow: hidden;
}

/* subtle gradient glow */
.genre-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29,185,84,.25),
    rgba(29,185,84,0)
  );
  opacity: 0;
  transition: opacity .25s ease;
}

/* HOVER */
.genre-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,.12),
    inset 0 0 0 1px rgba(29,185,84,.35);
}

.genre-box:hover::before {
  opacity: 1;
}

/* ICON */
.genre-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(
    135deg,
    rgba(29,185,84,.35),
    rgba(29,185,84,.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(29,185,84,.35);
}

/* TITLE */
.genre-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #0f172a;
  transition: color .25s ease;
}

.genre-box:hover .genre-title {
  color: var(--green);
}
/* ==============================
   ADMIN — MODERN UI
   ============================== */

.admin-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.admin-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.admin-form label {
  font-size: 14px;
  margin-top: 14px;
  display: block;
}

.admin-form input,
.admin-form select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.admin-form select[multiple] {
  height: 120px;
}

.hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.btn-primary {
  margin-top: 18px;
  padding: 12px;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: .9;
}

.admin-track-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.admin-track-row:last-child {
  border-bottom: none;
}

.admin-actions a {
  margin-left: 10px;
  text-decoration: none;
  font-size: 18px;
}
/* ==============================
   ADMIN MENU
   ============================== */

.admin-menu {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.admin-menu a {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  font-weight: 600;
}

.admin-menu a:hover {
  background: var(--green);
  color: #fff;
}
.vicon-share-box {
  clear: both;
  margin: 40px 0 20px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  font-size: 14px;
}

.vicon-share-title {
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.vicon-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.vicon-share-links a {
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.vicon-share-links a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.vicon-share-meta {
  font-size: 12px;
  opacity: 0.5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
/* compact share box */
.vicon-share-box {
  margin-top: 12px;        /* ⬅️ менший відступ від “Свежие поступления” */
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.vicon-share-title {
  font-size: 13px;
  opacity: .6;
  margin-bottom: 8px;
}

.vicon-share-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vicon-share-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  transition: transform .15s ease, background .15s ease;
}

.vicon-share-icons a:hover {
  transform: translateY(-2px);
  background: rgba(0,0,0,0.12);
}

/* center icons inside share box */
.vicon-share-icons {
  display: flex;
  justify-content: center;   /* ⬅️ центр по горизонталі */
  align-items: center;       /* ⬅️ центр по вертикалі */
  gap: 8px;
}


/* brand hints */
.vicon-share-icons .tg { background:#2AABEE22; }
.vicon-share-icons .wa { background:#25D36622; }
.vicon-share-icons .vb { background:#7360F222; }
.vicon-share-icons .fb { background:#1877F222; }
.vicon-share-icons .vk { background:#4C75A322; }

.vicon-share-meta {
  margin-top: 8px;
  font-size: 11px;
  opacity: .4;
}
.about-text {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.about-text p {
  margin-bottom: 14px;
}

.about-text a {
  color: #000;
  text-decoration: underline;
}
.side-menu a.active {
  font-weight: 600;
}

.side-menu a.active .icon {
  opacity: 1;
}
/* ===== MODERN SIDEBAR ACTIVE ===== */
.side-menu a {
  position: relative;
}

/* accent line */
.side-menu a.active::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: .9;
}

/* text + icon */
.side-menu a.active {
  font-weight: 600;
}

.side-menu a.active .icon {
  opacity: 1;
}

/* idle state (optional, very soft) */
.side-menu .icon {
  opacity: .6;
}
/* ===== TRACK PLAYS COUNTER ===== */
.track-plays {
  margin-top: 4px;
  font-size: 12px;
  color: #888;
  letter-spacing: .2px;
}
/* ===== TRENDING BADGE ===== */
.badge-trending {
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  color: #fff;
  font-weight: 600;
  vertical-align: middle;
}
/* ===== GENRES (MODERN) ===== */

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* CARD */
.genre-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: all .25s ease;
  overflow: hidden;
}

/* subtle gradient glow */
.genre-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(34,197,94,.25),
    transparent 60%
  );
  opacity: 0;
  transition: .3s;
}

/* HOVER */
.genre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.genre-card:hover::before {
  opacity: 1;
}

/* ICON */
.genre-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34,197,94,.4);
}

/* TITLE */
.genre-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
}

/* MOBILE */
@media (max-width: 600px) {
  .genres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===== COLLECTIONS V2 ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.collection-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.collection-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-info {
  padding: 14px;
  text-align: center;
}

.collection-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
/* ===== COLLECTIONS V3 ===== */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.collection-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}

.collection-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.collection-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.65)
  );
  opacity: 0;
  transition: opacity .3s ease;
}

.collection-card:hover .collection-cover::after {
  opacity: 1;
}

.collection-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.collection-card:hover img {
  transform: scale(1.08);
}

.collection-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 26px;
  border: none;
  opacity: 0;
  transform: scale(.85);
  transition: all .25s ease;
  box-shadow: 0 0 0 rgba(34,197,94,.6);
}

.collection-card:hover .collection-play {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 30px rgba(34,197,94,.7);
}

.collection-info {
  padding: 14px;
  text-align: center;
}

.collection-title {
  font-weight: 600;
  font-size: 15px;
}

.collection-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}
/* ===== ARTISTS V3 ===== */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.artist-card-v3 {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.artist-card-v3:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}

.artist-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.artist-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.7)
  );
  opacity: 0;
  transition: opacity .3s ease;
}

.artist-card-v3:hover .artist-cover::after {
  opacity: 1;
}

.artist-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.artist-card-v3:hover img {
  transform: scale(1.08);
}

.artist-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 26px;
  border: none;
  opacity: 0;
  transform: scale(.85);
  transition: all .25s ease;
  box-shadow: 0 0 0 rgba(34,197,94,.6);
}

.artist-card-v3:hover .artist-play {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 30px rgba(34,197,94,.7);
}

.artist-info {
  padding: 14px;
  text-align: center;
}

.artist-name {
  font-weight: 600;
  font-size: 15px;
}

.artist-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}
/* ===== ARTIST HERO V3 ===== */
.artist-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.25),
      rgba(0,0,0,.85)
    ),
    var(--artist-cover) center / cover no-repeat;
}

.artist-hero-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 40px;
  color: #fff;
}

.artist-avatar {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.artist-meta h1 {
  font-size: 36px;
  margin-bottom: 14px;
}

.artist-play-btn {
  background: #22c55e;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 30px rgba(34,197,94,.6);
}

.artist-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(34,197,94,.8);
}

.artist-tracks {
  margin-top: 24px;
}
.admin-fieldset {
  border: 1px solid #ddd;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.admin-fieldset legend {
  padding: 0 8px;
  font-weight: 600;
}

.tiktok-block {
  border-color: #ff0050;
  background: rgba(255,0,80,0.03);
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
}
/* ================= ADMIN MODERN UI ================= */

.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.admin-card h3 {
  font-size: 22px;
  margin-bottom: 22px;
  font-weight: 700;
}

/* ---------- FORM ---------- */
.admin-form label {
  font-size: 16px;
  font-weight: 600;
  margin-top: 18px;
  display: block;
}

.admin-form input[type="text"],
.admin-form input[type="file"],
.admin-form input[type="number"],
.admin-form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-top: 8px;
}

.admin-form input[type="file"] {
  padding: 10px;
}

.admin-form select {
  min-height: 120px;
}

.admin-form .hint {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
}

/* ---------- FIELDSETS ---------- */
.admin-fieldset {
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 26px;
}

.admin-fieldset legend {
  font-size: 18px;
  font-weight: 700;
  padding: 0 10px;
}

/* ---------- TIKTOK BLOCK ---------- */
.tiktok-block {
  border-color: #ff0050;
  background: linear-gradient(
    135deg,
    rgba(255,0,80,0.06),
    rgba(255,0,80,0.02)
  );
}

.tiktok-block legend {
  color: #ff0050;
}

/* ---------- CHECKBOX ---------- */
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 16px;
}

.checkbox input {
  width: 20px;
  height: 20px;
}

/* ---------- BUTTON ---------- */
.btn-primary {
  margin-top: 30px;
  padding: 16px 26px;
  font-size: 17px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ---------- TRACK LIST ---------- */
.admin-track-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fafafa;
  margin-bottom: 14px;
  font-size: 16px;
}

.admin-actions a {
  margin-left: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* TikTok badges */
.admin-actions a[title*="TikTok"] {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,0,80,0.1);
  color: #ff0050;
}
