

  main {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0 56px;
  }

  .hero-player,
  .playlist {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055));
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .track-plaer {
    position: sticky;
    bottom: 0;
    z-index: 9999;
    width: min(100%);
    height: 170px;
    padding: clamp(22px, 5vw, 50px);
    backdrop-filter: blur(10px);
    opacity: 1;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(120deg, rgba(255, 61, 141, 0.24), transparent 34%, rgba(0, 224, 255, 0.16));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  }

  .track-info {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
  }

    .track-info-p {
    display: flex;
    position: relative;
    bottom: 45px;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
  }


  .track-curent-number {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 18px 42px rgba(255, 61, 141, 0.28);
  }

  #info {
    margin: 0;
    color: var(--text-main);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }

  #info:empty::before {
    content: "Выберите трек";
    color: var(--text-muted);
  }

  .curent-t {
    display: flex;
    position: relative;
    bottom: 0;
    justify-content: flex-start;
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
  }
.current-time
{
    position: relative;
    right: 12px;
    bottom: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }
.duration-time
{    position: relative;
    left: 3px;
    bottom: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  input[type="range"] {
    width: 100%;
    height: 8px;
    position: relative;
    bottom: 85px;
    border-radius: 99px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 10px 28px rgba(0, 224, 255, 0.35);
  }

  input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    box-shadow: 0 10px 28px rgba(0, 224, 255, 0.35);
  }

  #seekBar {
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  }

  .hero-track-controls {
    display: flex;
    position: relative;
    bottom: 100px;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 16px;
    padding: 18px;
    border-radius: 26px;
  }

  .hero-track-controls button {
    position: relative;
    height: 50px;
    bottom: 18px;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  }

 .hero-track-controls button:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .play-btn-back{
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background-image: url(https://img.icons8.com/?size=100&id=RV1ZBw3fSX31&format=png&color=000000);
    background-repeat: no-repeat;
    background-position: center;
  }

  .play-btn-next {
    width: 54px;
    height: 54px;
    border-radius: 18px;
     background-image: url(https://img.icons8.com/?size=100&id=izvhCwyFykPG&format=png&color=000000);
     background-repeat: no-repeat;
     background-position: center;
     transform: rotate(0deg);
  }

  .play-btn-pay {
    width: 50px;
    height: 76px;
    border-radius: 26px;
     background-image: url(https://img.icons8.com/?size=100&id=GwYlS5m5Goz6&format=png&color=000000);
     background-repeat: no-repeat;
     background-position: center;
    box-shadow: 0 18px 42px rgba(255, 61, 141, 0.34);
  }

  #volumeSlider {
    max-width: 160px;
    height: 6px;
  }

  .playlist {
    display: grid;
    grid-template-columns: auto;
    z-index: 1;
    margin-top: 28px;
    padding: 0;
  }

  .section-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
  }

  .section-title h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .section-title span {
    color: var(--text-muted);
    font-weight: 700;
  }

  .track-list {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    z-index: 1;
    display: grid;
    gap: 12px;
  }

  .track-list > * {
    border-radius: 20px;
  }

  .track-list a,
  .track-list button,
  .track-list .track,
  .track-list li,
  .track-list div {
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }

  .track-list a {
    color: inherit;
    text-decoration: none;
  }

  .track-list > a,
  .track-list > div,
  .track-list > li {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
  }

  .track-list > a:hover,
  .track-list > div:hover,
  .track-list > li:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.11);
  }

  .pagination {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
  }

  .pagination a {
    min-width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .pagination a:hover,
  .pagination a.active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 34px rgba(255, 61, 141, 0.25);
  }

  @media (max-width: 720px) {
    main {
      width: min(100% - 18px, 1180px);
      padding: 16px 0 34px;
    }
 .track-list{
       grid-template-columns: repeat(1,1fr);
      }
    .hero-player,
    .playlist {
      border-radius: 24px;
    }
    .playlist {grid-template-columns: auto;width: 100%;}
    .hero-player {
      min-height: auto;
      padding: 14px;
    }

    .track-plaer {
      border-radius: 22px;
      padding: 20px;
    }

    .track-info {
      gap: 12px;
    }

    .track-curent-number {
      position: relative;
      bottom: 18px;
      width: 54px;
      height: 54px;
      border-radius: 18px;
      font-size: 19px;
    }

    .hero-track-controls {
      display: grid;
      grid-template-columns: 54px 74px 54px;
      gap: 12px;
      position: relative;
      bottom: 115px;
      padding: 3px;
    }
    .track-info-p{
      position: relative;
      bottom: 20px;
    }
    .curent-t {
      position: relative;
      top: 12px;
    }

    #volumeSlider {
      grid-column: 1 / -1;
      max-width: 100%;
      margin-top: 4px;
    }

    .section-title {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
    }
  }

  @media (max-width: 420px) {
    .hero-track-controls {
      grid-template-columns: 48px 66px 48px;
    }

    .play-btn-back,
    .play-btn-next {
      width: 48px;
      height: 48px;
      border-radius: 16px;
    }

    .play-btn-pay {
      width: 66px;
      height: 66px;
      border-radius: 22px;
    }
  }