@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
}

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.browse-box2-box {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
body {
  flex-direction: row;
  background-color: rgb(0, 0, 0);
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}
nav {
  width: 100%;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 10px;
  gap: 17px;
  height: 43px;
  background-color: black;
  position: relative;
}

.logo svg {
  padding: 10px;
  filter: invert();
  height: 35px;
  cursor: pointer;
}
.home-logo {
  padding: 10px;
  background-color: #2a2a2a;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.home-logo svg {
  filter: invert();
  height: 24px;
  cursor: pointer;
}
.home-logo:hover {
  transform: scale(1.02);
  background-color: #393939;
}
.inp input {
  width: 110%;
  height: 45px;
  margin-left: -8px;
  border-radius: 30px;
  background-color: #2a2a2a;
  outline: none;
  font-size: 16px;
  border: 2px solid transparent;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  padding: 0 55px;
  transition: all 0.5s ease-in-out;
  color: white;
}
.inp input:hover {
  background-color: #3e3e3e;
  border: 2px solid gray;
}
.inp input {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: bold;
}
.inp input:focus-within {
  outline: none;
  border: 2px solid white;
}
.inp input:focus .search svg {
  fill: white;
}
.search {
  display: flex;
  position: absolute;
  left: 150px;
}
.search svg {
  color: rgb(96, 96, 96);
  cursor: pointer;
  transition: all 0.3s ease;
}
.search svg:hover {
  color: white;
}
.sea {
  display: flex;
  align-items: center;
}

.browse svg {
  fill: gray;
  position: absolute;
  display: flex;
  align-items: center;
  top: 15px;
  cursor: pointer;
  color: rgb(255, 255, 255);
  left: 555px;
  transition: all 0.3s ease;
}
.browse svg:hover {
  fill: white;
  transform: scale(1.04);
}
.line {
  color: rgb(152, 149, 149);
  position: absolute;
  left: 540px;
  display: flex;
  align-items: center;
  font-size: 27px;
}
#install:active {
  transform: scale(0.9);
}
#home-logo:active {
  transform: scale(0.9);
}
.left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}
.button button {
  padding: 10px;
  background-color: white;
  border-radius: 30px;
  margin: 20px;
  height: 50px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 116px;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: bold;
  transition: all 0.3s ease;
}
.button > svg {
  fill: white;
  height: 55px;
  width: 60px;
  margin-right: 30px;
  display: flex;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button > svg:hover {
  transform: scale(1.04);
}
.button > svg:active {
  transform: scale(0.9);
}
#signUp:active {
  transform: scale(0.9);
}
button:hover {
  background-color: rgb(214, 214, 214);
  transform: scale(1.04);
}
button:active {
  transform: scale(0.95);
}
.right {
  gap: 20px;
  position: relative;
  left: 41%;
  display: flex;
  font-size: 14px;
  align-items: center;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
}
.install {
  display: flex;
  align-items: center;
  gap: 23px;
}
.install svg {
  height: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.install svg:hover {
  fill: white;
}
.install p {
  color: gray;
  cursor: pointer;
  transition: all 0.3s ease;
}
.install p:hover {
  color: white;
  transform: scale(1.03);
}
.ins {
  display: flex;
  gap: 6px;
  padding: 5px;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
}
.ins:hover svg,
.ins:hover p {
  transform: scale(1.04);
  fill: white;
  color: white;
}
.support {
  display: flex;
  gap: 10px;
  font-size: 17px;
  cursor: pointer;
  color: gray;
  /* margin-right: 36px; */
}
.support p {
  transition: all 0.3s ease;
}
.support p:hover {
  color: white;
  transform: scale(1.02);
}
.support p:active {
  transform: scale(0.9);
}
.line2 {
  color: rgb(152, 149, 149);
  position: absolute;
  right: 329px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  font-size: 27px;
}

.left1 {
  display: flex;
  flex-direction: column;
  height: 80.5vh;
  width: 24%;
  position: static;
  background-color: rgb(20, 20, 20);
  border-radius: 10px;
  margin: 6px;
  transition: width 0.3s ease;
}
.left1-h {
  height: 80.5vh;
}

.left1-v {
  height: 70vh;
  display: none;
}

.songs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

li {
  color: #ffffff;
}

.playing {
  color: rgb(255, 0, 0);
}

.suffle > svg {
  height: 30px;
  width: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.suffle > svg:hover {
  transform: scale(1.04);
}

.suffle > svg:active {
  transform: scale(0.9);
}

.songs li {
  font-weight: bold;

  background-color: rgb(25, 25, 25);
  display: flex;
  align-items: center;
  border-radius: 5px;
  justify-content: space-between;
  padding: 10px 15px;

  transition: all 0.3s ease;
}

.songs li:hover {
  background-color: rgb(106, 106, 106);
  transform: scale(1.02);
  cursor: pointer;
}
.songs li:active {
  transform: scale(0.98);
}

.songs audio {
  width: 100px;
  filter: invert(1);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: #1db954;
  border-radius: 10px;
}

.custom-audio {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: column;
  width: 50%;
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 10px;
}

#playBtn {
  color: #000;
  border: none;
  display: flex;
  gap: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

#seekBar {
  width: 100%;
  height: 4px;
  background: #6c6c6c; /* fallback */
  background-image: linear-gradient(#1db954, #1db954);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
}

/* Hide that ugly circle (thumb) */
#seekBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 0px;
  width: 0px;
  background-color: gray;
  background: transparent;
  border: none;
}

/* Firefox */
#seekBar::-moz-range-thumb {
  background-color: gray;
  height: 0px;
  width: 0px;
  background: transparent;
  border: none;
}

#Plus {
  display: none;
  transition: all 0.3s ease;
  border-radius: 50%;
}
#Plus:hover {
  background-color: #000;
  transform: rotate(-45deg);
}
#pause-svg {
  display: none;
}
.OnlineSongList {
  overflow: auto;
  height: 76.5vh;
  overflow-x: hidden;
  scrollbar-width: none;
}

.OnlineSongList > ul > li {
  height: 50px;
  background-color: rgb(25, 25, 25);
  width: 97%;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 5px 2px;
  transition: all 0.3s ease;
}

.OnlineSongList > ul > li:hover {
  background-color: rgb(80, 80, 80);
}

.left1-visible {
  display: none;
}

.popupmessage {
  position: absolute;
  height: 50px;
  background-color: rgb(37, 37, 37);
  border-radius: 10px;
  left: 45%;
  padding: 0 15px;
  z-index: 11;
  border: 1px solid #1db954;
  animation: popupmsg 0.7s ease;
}

@keyframes popupmsg {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.top {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px;
  box-shadow: 0 9px 20px 0.4px rgb(20, 20, 20);
  justify-content: space-between;
}

.lib {
  display: flex;
  align-items: center;
  padding: 3px;
  gap: 13px;
  cursor: pointer;
}
.lib p {
  position: relative;
  top: 5px;
  transition: all 0.3s ease;
}
.lib svg {
  transition: all 0.3s ease;
}
.lib:hover svg,
.lib:hover p {
  fill: white;
  color: white;
}
.top svg,
.top p {
  color: gray;
  height: 24px;
}
.top svg {
  fill: gray;
}
.add svg {
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.add svg:hover {
  fill: white;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  transform: rotate(-45deg);
}

.content {
  background-color: rgb(20, 20, 20);
  max-height: 39%;
  padding: 10px;
  overflow: hidden;
  gap: 10px;
  overflow-x: hidden;
  width: 91%;
}

/* Style the scrollbar track */
.content::-webkit-scrollbar {
  width: 10px; /* Adjust scrollbar width */
}

/* Style the scrollbar track (background area) */
.content::-webkit-scrollbar-track {
  background: transparent; /* Make track blend with the yellow background */
  border-radius: 10px;
}

/* Style the scrollbar thumb (the moving part) */
.content::-webkit-scrollbar-thumb {
  background: rgb(71, 71, 71); /* Change scrollbar thumb color */
}

/* Change thumb color on hover */
.content::-webkit-scrollbar-thumb:hover {
  background: darkgray;
}
.content:hover {
  overflow: scroll;
  overflow-x: hidden;
  scrollbar-color: black;
}
.box {
  height: 14vh;
  background-color: rgb(44, 44, 44);
  width: 95%;
  color: white;
  margin: 10px 0px;
  padding: 10px;
  border-radius: 10px;
}

.playlist-button button {
  height: 38px;
  width: 125px;
  background-color: white;
  outline: none;
  cursor: pointer;
  padding: 3px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  position: relative;
  top: 6px;
  font-weight: bold;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  transition: all 0.3s ease;
}
.playlist-button > button:hover {
  background-color: rgb(214, 214, 214);
  transform: scale(1.04);
}
.new-playlist {
  height: 31px;
  padding: 10px 15px;
  width: 0;
  color: white;
  gap: 15px;
  cursor: pointer;
  align-items: center;
  z-index: 10;
  right: 31px;
  top: 50px;
  background-color: rgb(44, 44, 44);
  position: absolute;
  transition: all 0.5s ease;
  border-radius: 10px;
  box-shadow: 2px 3px 10px 2px black;
  animation: newPlaylist 0.5s ease forwards;
}
@keyframes newPlaylist {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 61%;
    opacity: 1;
  }
}

.new-playlist > p,
.new-playlist > svg {
  font-weight: bold;
  fill: white;
  color: white;
  transition: all 0.6s ease;
}
.new-playlist-name {
  margin: 0 auto;
  padding: 0 5px;
  width: 75%;
  height: 40px;
  border-radius: 6px;
  border: 3px solid gray;
  background: transparent;
  color: white;
  z-index: 10;
  font-size: 16px;
  font-weight: bold;
  outline: none;
  transition: all 0.5s ease;
}
.new-playlist-name:focus {
  border: 3px solid white;
}
.box h3 {
  margin: 5px;
  font-size: 16px;
}
.box h4 {
  margin: 5px;
  font-size: 13px;
}
.bottom {
  margin-top: 25px;
  height: 35vh;
  padding: 10px;
  border-radius: 10px;
  background-color: rgb(20, 20, 20);
}
.copyright {
  display: flex;
  padding: 10px;
  flex-wrap: wrap;
  gap: 26px;
}
.copyright > p {
  color: gray;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
}

.cookies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.eng-btn > svg {
  height: 30px;
  width: 30px;
  fill: white;
  transition: all 0.2s ease;
}
.eng-btn {
  display: flex;
  height: 18px;
  width: 85px;
  padding: 10px;
  gap: 6px;
  margin-left: 6px;
  margin-top: 15px;
  align-items: center;
  border: 1px solid gray;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.eng-btn button {
  outline: none;
  border: none;
  cursor: pointer;
  width: 85px;
  color: white;
  font-weight: bold;
  transition: all 0.2s ease;
  background-color: transparent;
}
.eng-btn:hover {
  border: 1px solid white;
  transform: scale(1.04);
}
.eng-btn:hover svg,
.eng-btn button:hover {
  transform: scale(1.04);
}
.ck {
  padding: 10px 10px 0px 10px;
}
.ck > p {
  color: white;
}
.ck > p:hover {
  text-decoration: underline;
  cursor: pointer;
}
.righ1 {
  width: 75%;
  position: relative;
}
.right-box {
  height: 80.5vh;
  overflow: hidden;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  border-radius: 10px;
  margin: 6px 6px 6px 0px;
  transition: all 0.3s ease;
  background-color: rgb(20, 20, 20);
}

.profile-box {
  height: 0;
  width: 19%;
  padding: 4px 6px 10px;
  z-index: 1;
  border-radius: 10px;
  background-color: rgb(41, 41, 41);
  position: absolute;
  right: 8%;
  top: 6px;
  display: none;
  overflow: auto;
  scrollbar-width: 0px;
  transition: all 0.3s ease-in;
}
.visible {
  display: block;
  height: 45vh;
}
.profile-box ul {
  display: flex;
  flex-direction: column;
}
.profile-box li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-box hr {
  margin-bottom: 3px;
}
.profile-box a {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  height: 30px;
  width: 95%;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  text-decoration: none;
}
.profile-box a:hover {
  background-color: rgb(66, 66, 66);
  border-radius: 10px;
}
#browse svg:active {
  transform: scale(0.9);
}

.browse-box {
  width: 100%;
  display: none;
  border-radius: 10px;
  padding: 40px 20px 0 20px;
}
.browse-box1 {
  margin-top: 20px;
  width: 100%;
  height: 40px;
  padding: 10px 0;
}
.browse-box1 h2 {
  color: white;
}
.browse-box2 {
  width: 93.5%;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 65px;
  display: flex;
  gap: 20px;
  padding: 20px;
}
.browse-box3 {
  height: 49vh;
  width: 100%;
}
.browse-box2-box {
  height: 127px;
  width: 235px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  overflow: hidden;
  border-radius: 7px;
  background-color: rgb(220, 20, 140);
  transition: all 0.3s ease;
}
.browse-box2-box:hover {
  transform: scale(1.04);
}
.browse-box2-box:active {
  transform: scale(0.9);
}
.box1 h3 {
  color: white;
  font-size: 25px;
  position: relative;
  top: 5px;
  left: 10px;
}
.box2 {
  position: relative;
  top: 30px;
  left: 70px;
}
.box2 > img {
  border-radius: 5px;
  height: 120px;
  transform: rotate(30deg);
}
.right-box::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}
.install-page {
  display: none;
}
.install-logo {
  border-radius: 10px;
  width: 100%;
  height: 105vh;
  background: linear-gradient(to bottom, rgb(57, 243, 187), rgb(247, 164, 178));
}
.install-container {
  width: 85%;
  margin: auto;
  border-radius: 10px;
  display: flex;
  padding: 40px;
  position: relative;
  top: 55px;
  height: 79vh;
  background: linear-gradient(to bottom, rgb(247, 164, 178), rgb(57, 243, 187));
}
.install-info {
  height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 23px;
  justify-content: space-evenly;
  width: 34%;
}
.install-info > a {
  font-size: 14px;
  color: black;
  text-decoration: none;
}
.install-info > p {
  font-size: 21px;
}
.install-info > a:hover {
  text-decoration: underline;
}
.install-img {
  height: 70vh;
  right: -287px;
  width: 57vw;
  position: absolute;
}
.install-img > img {
  height: 100%;
  width: 100%;
}
.install-page {
  margin: auto;
  height: 150vh;
  width: 100%;
  background-color: rgb(20, 20, 20);
}
.install-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.install-footer1 {
  padding: 20px;
  display: flex;
  gap: 130px;
}
.install-footer1 > .company,
.communities,
.useful-links,
.spotify-plans {
  display: flex;
  gap: 15px;
  flex-direction: column;
}
.install-footer1 h3 {
  font-size: 15px;
  color: white;
}
.install-footer1 a {
  color: gray;
  text-decoration: none;
}
.install-footer1 a:hover {
  color: white;
  text-decoration: underline;
}
.install-footer1 svg {
  fill: white;
}
.install-footer1 > .insta {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.install-footer1 > .insta > svg {
  display: flex;
  flex-direction: row;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  background-color: rgb(57, 57, 57);
  border-radius: 50%;
  height: 15px;
  transition: all 0.3s ease;
}
.install-footer1 > .insta > svg:hover {
  background-color: #818181;
  transform: scale(1.04);
}
.install-footer3 > p {
  font-size: 13px;
  font-weight: bold;
  padding: 25px;
  color: gray;
}
.main-page {
  display: flex;
}
.right-top {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 60px;
  /* display: flex; */
  align-items: center;
  gap: 20px;
}
.top-btn {
  display: flex;
  align-items: center;
}
.install-info > img {
  cursor: pointer;
  height: 50px;
  transition: all 0.3s ease;
}
.install-info > img:hover {
  transform: scale(1.02);
}
.install-info > img:active {
  transform: scale(0.9);
}
.top-btn button {
  margin: 0px 10px;
  border: none;
  outline: none;
  font-weight: bold;
  color: white;
  cursor: pointer;
  background-color: rgb(47, 47, 47);
  height: 30px;
  padding: 0px 15px;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.top-btn button:hover {
  background-color: rgb(51, 51, 51);
  transform: scale(1.04);
}
.title {
  margin-top: 10px;
  width: 100%;
  justify-content: space-around;
  color: gray;
}
.time-svg svg {
  fill: gray;
  height: 20px;
}
.title p {
  color: rgb(137, 137, 137);
}
hr {
  width: 95%;
  margin: 4.5px auto;
  background-color: gray;
  border: none;
  height: 0.5px;
  /* margin-bottom: 5px; */
}
.music-box {
  max-height: 64vh;
  margin: auto;
  overflow: hidden;
  overflow-x: hidden;
  padding: 10px;
}
.music-box:hover {
  overflow: scroll;
  overflow-x: hidden;
}
.music-box::-webkit-scrollbar {
  width: 10px; /* Adjust scrollbar width */
}

/* Style the scrollbar track (background area) */
.music-box::-webkit-scrollbar-track {
  background: transparent; /* Make track blend with the yellow background */
  border-radius: 10px;
}

/* Style the scrollbar thumb (the moving part) */
.music-box::-webkit-scrollbar-thumb {
  background: rgb(71, 71, 71); /* Change scrollbar thumb color */
}

/* Change thumb color on hover */
.music-box::-webkit-scrollbar-thumb:hover {
  background: darkgray;
}

.playContainer {
  width: 100%;
  height: 9vh;
  display: flex;
  background-color: rgb(0, 0, 0);
}
.playBtn svg {
  filter: invert();
}

.play {
  display: flex;
  width: 99%;
  border-radius: 10px;
  margin: 0 auto;
  height: 8.5vh;
  background-color: rgb(20, 20, 20);
}

.playSignup {
  display: flex;
  align-items: center;
  color: white;
  justify-content: space-between;
  width: 99%;
  padding: 0 10px;
  height: 100%;
  cursor: pointer;
  border-radius: 10px;
  margin: 0 auto;
  background: linear-gradient(to right, #af2896, #509bf5);
}

.playSignup p {
  font-size: 14px;
}

.playSignup button {
  height: 50px;
  width: 180px;
  color: black;
  font-weight: bold;
  border: none;
  outline: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  background-color: white;
}

.active1 {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  border-radius: 30px;
  background-color: white;
  color: black;
}
.active1:hover p {
  color: black;
}

.no-login {
  max-width: 630px;
  margin: 80px auto;
  padding: 40px;
  align-items: center;
  flex-direction: column;
  border-radius: 15px;
  background: linear-gradient(135deg, black, rgb(0, 70, 68), rgb(0, 0, 0));
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
}

.no-login h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
}

.no-login-p p {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #c8c8c8;
}

.features {
  text-align: left;
  margin: 5px auto;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: #e0f7f4;
}
/* Individual icon colors */
.features li:nth-child(1) i {
  color: #1db954; /* Spotify green */
}

.features li:nth-child(2) i {
  color: #ff3b30; /* Red for block (No ads) */
}

.features li:nth-child(3) i {
  color: #007bff; /* Blue for download */
}

.features li:nth-child(4) i {
  color: #e53935; /* Red for heart */
}
.features li {
  margin: 8px 0;
  display: flex;
  color: rgb(237, 237, 237);
  gap: 12px;
  padding-left: 5px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.features li i {
  font-size: 20px;
}

.login-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #1db954; /* Spotify green */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

/* .no-login {
  height: 50vh;
  width: 75%;
  background-color: #212121;
  margin: auto;
  background: linear-gradient(135deg, black, rgb(0, 159, 154), rgb(0, 0, 0));
  position: relative;
  top: 8%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: white;
}
.no-login > h2 {
  font-size: 53px;
  word-spacing: 5px;
}
.no-login-p {
  width: 50%;
}
.no-login p {
  font-size: 17px;
} */
.no-login > a {
  display: flex;
  align-items: center;
  color: rgb(0, 0, 0);
  text-decoration: none;
  height: 30px;
  width: 100px;
  border-radius: 50px;
  background-color: white;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  transition: all 0.3s ease;
}
.no-login > a:hover {
  transform: scale(1.04);
}
.no-login > a:active {
  transform: scale(0.9);
}

.inpSongList {
  position: absolute;
  height: 40vh;
  width: 30vw;
  border-radius: 10px;
  background-color: rgb(28, 28, 28);
  z-index: 12;
  top: 90%;
  left: 8.5%;
  overflow: scroll;
  overflow-x: hidden;
  padding: 5px;
  display: none;
}

#results {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#results > li {
  cursor: pointer;
  background-color: #2a2a2a;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#results > li:hover {
  transform: scale(1.04);
}

#results > li:active {
  transform: scale(0.9);
}

.currentPlayingMusic {
  width: 25%;
}

.currentMusicControl {
  width: 25%;
}

#volumeRange {
  background-color: #1db954;
  width: 0%;
  height: 6px;
  bottom: -3px;
  border-radius: 10px;
  position: absolute;
  transition: all 0.1s ease;
}

.seek-bar-container {
  width: 50%;
  max-width: 600px;
  height: 6px;
  background-color: #444;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
}

.seek-bar-fill {
  height: 100%;
  width: 0%;
  background-color: #00b909;
  border-radius: 10px;
  transition: width 0.05s linear;
}

.play-bar-container {
  width: 100%;
  height: 6px;
  background-color: #444;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
}

.playbar-fill {
  height: 100%;
  width: 0%;
  background-color: #00b909;
  border-radius: 10px;
  transition: width 0.05s linear;
}

.playlists {
  display: none;
  height: 88%;
  overflow: hidden;
  overflow-y: scroll;
}
.playlists > ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.playlists > ul > li {
  cursor: pointer;
  padding: 0 5px;
  min-height: 70px;
  border-radius: 5px;
  width: 93%;
  background-color: rgb(25, 25, 25);
  z-index: 2;
  transition: all 0.3s ease;
}
.playlists > ul > li:hover {
  transform: scale(1.02);
  background-color: rgb(106, 106, 106);
}
.playlists > ul > li:active {
  transform: scale(0.95);
}
#new-playlist-name::placeholder {
  font-weight: bold;
  font-size: 16px;
  color: gray;
}

.playname {
  z-index: 3;
  padding: 4px;
  position: absolute;
  height: 29vh;
  overflow: scroll;
  overflow-x: hidden;
  left: 10%;
  bottom: 10%;
  width: 16vw;
  border-radius: 6px;
  background-color: rgb(28, 28, 28);
  animation: playname 0.5s ease;
}
@keyframes playname {
  from {
    height: 0;
  }
  to {
    height: 29vh;
  }
}
.playname ul {
  gap: 0.25rem;
}
.playname li {
  background-color: rgb(25, 25, 25);
  height: 64px;
  padding: 0 5px;
  width: 94%;
  border-radius: 6px;
}

#Arrow2 {
  cursor: pointer;
  height: 40px;
  position: relative;
  width: 40px;
  transition: all 0.3s ease;
  animation: arrow 0.5s ease;
}
@keyframes arrow {
  from {
    height: 0;
    width: 0;
  }
  to {
    height: 40px;
    width: 40px;
  }
}
#Arrow2:hover {
  background-color: #212121;
}
#Next:hover {
  transform: scaleX(-1);
  transform: scale(1.04);
}
.hamburger {
  display: none;
}

:root {
  --bg-grad-1: #4f418d;
  --bg-grad-2: #2d264f;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --active-green: #1ed760;
  --card-chillout: #6a5a8f;
  --card-acoustic: #d9a557;
  --card-focus: #3d3d3d;
  --card-jazz: #f0c330;
}
.glass-effect {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* --- Sidebar Navigation --- */
.sidebar {
  height: 100%;
  grid-area: sidebar;
  border-radius: 10px;
  padding: 0 20px 0 20px;
  display: flex;
  flex-direction: column;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 10px;
}

.sidebar-nav li {
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.sidebar-nav li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav li.active {
  background-color: var(--active-green);
  color: #000;
}

.sidebar-nav li.active .bx {
  color: #000;
}

.sidebar-nav .bx {
  font-size: 24px;
  margin-right: 16px;
  color: var(--text-secondary);
}

.sidebar-nav li.active .bx {
  color: #000;
}

.sidebar-nav .create-playlist .bx {
  background-color: var(--text-secondary);
  color: #000;
  border-radius: 2px;
}

/* --- Main Content --- */
.main-content {
  grid-area: main;
  padding: 24px 40px;
  overflow-y: auto;
}

.search-bar {
  background: var(--glass-bg);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  max-width: 350px;
}

.search-bar .bx {
  font-size: 20px;
  color: var(--text-secondary);
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-left: 10px;
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--text-secondary);
}

.sidebar1 {
  padding: 0 17px;
}

.cover {
  padding: 10px;
  height: 50%;
  width: 98%;
}
.top-20 {
  top: 16%;
  left: 3%;
}
.pos-rel {
  position: relative;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  justify-content: space-between;
  padding: 5px 2px;
  border-radius: 7px;
  transition: background-color 0.3s ease;
  position: relative;
}

.song-item:hover {
  background-color: #404040; /* light hover bg */
}
.heart-icon {
  opacity: 0;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
}

.song-item:hover .heart-icon,
.heart-icon.liked {
  opacity: 1;
}

.heart-icon.liked {
  color: red;
}

.time {
  width: 100px;
  font-weight: bold;
}

.dot.btn-hover {
  margin-right: 16px;
  transition: background-color 0.3s ease;
}

.dot.btn-hover1:hover {
  background-color: black;
  color: white;
  border-radius: 50%;
}

.dropdown {
  position: absolute;
  background: #1e1e1e;
  color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  top: -150px;
  padding: 8px;
  right: 10px;
  z-index: 1000; /* make sure it's on top */
  min-width: 180px;
  pointer-events: auto;
}

.dot {
  position: relative;
  /* z-index: 10; */
}

.dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown li {
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
}

.dropdown li:hover {
  background-color: rgb(94, 94, 94);
}

.hidden {
  display: none;
}
.playlist-dropdown {
  position: absolute;
  padding: 0 10px;
  right: 14%;
  height: 150px;
  z-index: 1;
  width: 150px;
  bottom: -23%;
  background-color: #222222;
  border-radius: 7px;
  /* transform: translateY(-20px); */
  opacity: 0;
  animation: playlistdrop 0.4s ease-in-out 0.2s forwards;
}

@keyframes playlistdrop {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.playlist-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  width: 100%;
}

.playlist-dropdown li {
  padding: 10px 15px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 15px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.playlist-dropdown li:hover {
  background-color: #505050;
  border-radius: 5px;
}

.inp2 input {
  width: 27%;
  height: 45px;
  border-radius: 30px;
  background-color: #2a2a2a;
  outline: none;
  font-size: 16px;
  border: 2px solid transparent;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  padding: 0 27px;
  transition: all 0.5s ease-in-out;
  color: white;
}
.inp2 input:hover {
  background-color: #3e3e3e;
  border: 2px solid gray;
}
.inp2 input {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-weight: bold;
}
.inp2 input:focus-within {
  outline: none;
  border: 2px solid white;
}
.inp2 input:focus .search svg {
  fill: white;
}

.likedSongList {
  background-color: rgb(20, 20, 20);
  /* padding: 15px; */
  height: 103%;
  width: 100%;
  /* border-radius: 12px; */
  color: white;
  /* background: aqua; */
  /* overflow-y: auto; */
  scrollbar-width: 1px;
}

.likedSongList::-webkit-scrollbar {
  width: 0px;
}
.LikedSong {
  height: 66.5vh;
  overflow: scroll;
}
.LikedSong::-webkit-scrollbar {
  width: 0px;
}
.cover1 {
  height: 15%;
  width: 100%;
  display: flex;
  align-items: center;
  /* background: gray; */
}

.Liked-Song-Item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(25, 25, 25);
  padding: 12px 16px;
  border-radius: 7px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.Liked-Song-Item:hover {
  background-color: #383838;
}

.Liked-Left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.Liked-Left img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.song-info .song-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.song-info .artist-name {
  font-size: 14px;
  color: #aaaaaa;
  margin: 0;
}

.Liked-Right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
}

.duration {
  font-size: 14px;
}
.recentlyPlayedSong {
  width: 0;
  height: 81.5vh;
  border-radius: 10px;
  margin-left: 5px;
  overflow: hidden;
  transition:
    width 0.4s ease,
    opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.recentlyPlayedSong.active {
  width: 25%;
  opacity: 1;
  pointer-events: auto;
}

.recentlyPlay {
  border-radius: 10px;
  height: 98.8%;
  width: 99%;
  background-color: rgb(20, 20, 20);
}

.left1,
.righ1,
.recentlyPlayedSong {
  transition: all 0.4s ease;
  overflow: hidden;
}

.recentlyPlayedSong.hidden {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.recentlyPlayedSong.shown {
  width: 25%;
  opacity: 1;
  pointer-events: auto;
}

.recentlyPlayed {
  overflow: scroll;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.recentlyPlayed {
  width: 100%;
  height: 87%;
  padding: 0 8px;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.recently-song-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 9px;
  border-radius: 7px;
  background-color: rgb(25, 25, 25); /* Light yellow */
  margin-bottom: 7px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.recently-song-item:hover {
  background-color: rgb(47, 47, 47); /* Brighter on hover */
}

.recently-song-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.recently-song-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recently-song-name {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

.recently-artist-name {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* The popup overlay, targeting your class */
.inputPopup {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  /* display: flex; */
}

/* Popup content box */
.popup-content {
  background-color: rgb(20, 20, 20); /* Spotify Dark Gray UI */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* The Close Button */
.close-btn {
  color: #b3b3b3; /* Spotify Light Gray Text */
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
  color: #ff0000;
}

/* Form Styling */
.popup-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.popup-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
}

.popup-content input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background-color: #535353;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  color: #ffffff;
  box-sizing: border-box;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.popup-content input[type="text"]::placeholder {
  color: #b3b3b3;
}

.popup-content input[type="text"]:focus {
  background-color: #6a6a6a;
  border-color: #1db954;
  outline: none;
}

.popup-content button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #1db954;
  color: #191414;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    background-color 0.2s,
    transform 0.1s;
}

.popup-content button[type="submit"]:hover {
  background-color: #1ed760;
  transform: scale(1.02);
}
.MainHomePage {
  height: 93%;
  width: 97%;
  /* display: none; */
  padding: 15px;
  overflow: hidden;
}
.MainHomePage-2 {
  height: 100%;
  width: 100%;
  overflow: auto;
}
.MainHomePage-2::-webkit-scrollbar {
  width: 0px;
}

#default-container-parent {
  height: 100%;
  width: 100%;

  overflow-y: auto;
  overflow-x: hidden;
}
#default-container-parent::-webkit-scrollbar {
  width: 0px;
}
/* Main container for the home page content */
/* .MainHomePage {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
} */

/* Styling for each category (e.g., "Top Albums") */
.content-category {
  margin-bottom: 40px;
}
.content-category h3 {
  color: white;
}

.content-category h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

/* Grid layout for the cards */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* Generic styling for each item card (album or artist) */
.item-card {
  background: rgb(30, 30, 30);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.item-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

.item-card-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Ensures the image container is square */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Specific style to make artist images circular */
.item-card-image.artist-image {
  border-radius: 50%;
}

.item-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.item-card-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.placeholder-card {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 20px;
  grid-column: 1 / -1; /* Span full width */
}

/* Add these styles to your existing style.css */

.back-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.detail-image {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.detail-image.artist-image {
  border-radius: 50%;
}

.detail-info h1 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.detail-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 5px 0;
}

.play-all-button {
  background: #1ed760;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 20px;
  transition: background 0.3s;
}

.play-all-button:hover {
  background: #107633;
}

/* Song List Styling */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.song-list-item {
  display: grid;
  grid-template-columns: 15px 50px 1fr 20px 20px 40px;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
  background-color: rgb(25, 25, 25);
}
.song-list-item-1 {
  display: grid;
  grid-template-columns: 30px 50px 1fr 40px 40px;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
  background-color: rgb(25, 25, 25);
}
.song-list-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.song-number {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.heart-icon-1 {
  color: gray;
}
.song-image {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}
.playlist-dropdown-1 {
  min-width: 150px;
  z-index: 999;
  right: 65%;
  z-index: 3;
  padding: 4px;
  position: absolute;
  height: 29vh;
  overflow: scroll;
  overflow-x: hidden;
  bottom: 10%;
  width: 16vw;
  border-radius: 6px;
  background-color: rgb(28, 28, 28);
  animation: playname 0.5s ease;
}
.playlist-dropdown-1 li {
  background-color: rgb(25, 25, 25);
  height: 64px;
  padding: 0 5px;
  width: 94%;
  border-radius: 6px;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

.song-title {
  font-weight: bold;
  /* color: #fff; */
}

.song-artist {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.play-button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.search-container-internal {
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  padding: 8px;
  margin-bottom: 30px;
}

#searchInput {
  flex-grow: 1;
  background: transparent;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid transparent;
  outline: none;
  transition: all 0.3s ease;
  background-color: rgb(41, 41, 41);
}

#searchInput::placeholder {
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.6);
}
#searchInput:focus {
  border: 2px solid #00b909;
}
#searchButton {
  background: #1ed760;
  border: none;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: background 0.3s;
}

#searchButton:hover {
  background: #149541;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hidden {
  display: none !important;
}

/* --- Button Styles --- */

/* General container for the "Load More" button */
.load-more-container {
  text-align: center; /* Center the button */
  padding: 20px 0; /* Add some space above and below */
}

/* Styling for the "Load More" button */
.load-more-button {
  background-color: #1db954; /* A vibrant green, similar to Spotify */
  color: white;
  border: none;
  border-radius: 50px; /* Fully rounded corners for a "pill" shape */
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease; /* Smooth transitions */
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hover effect for the "Load More" button */
.load-more-button:hover {
  background-color: #1ed760; /* A slightly lighter green on hover */
  transform: scale(1.05); /* Slightly enlarge the button on hover */
}

/* Styling for the "Back to Home" button */
.back-button {
  background-color: transparent;
  color: #b3b3b3; /* A light grey for less emphasis */
  border: 1px solid #b3b3b3;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for all properties */
}

/* Hover effect for the "Back" button */
.back-button:hover {
  background-color: #b3b3b3;
  color: white;
  border-color: #b3b3b3;
}

/* Header styling to position the back button */
.search-results-header {
  display: flex;
  justify-content: space-between; /* Pushes h2 and button to opposite ends */
  align-items: center; /* Vertically aligns them */
  margin-bottom: 20px;
}
.mediaQuery {
  display: none;
}

.MediaLogin {
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 50px;
  border: none;
  outline: none;
}
.MainProfileContainer {
  overflow: auto;
  height: 96%;
  width: 97%;
}
.followed {
  background-color: #00b909;
}

.profile-container {
  max-width: 1200px;
  margin: auto;
}
.profile-container h2 {
  color: #00b909;
}
.profile-header {
  display: flex;
  align-items: center;
  /* padding: 40px 0; */
}

.profile-picture img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 30px;
}

.profile-info .profile-type {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.profile-info .profile-name {
  font-size: 35px;
  margin: 10px 0;
}

.profile-stats span {
  margin-right: 10px;
}

.profile-content h2 {
  border-bottom: 1px solid #282828;
  padding-bottom: 10px;
  margin-top: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.grid-item {
  background-color: #181818;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s;
}

.grid-item:hover {
  background-color: #282828;
}

.grid-item img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.grid-item .item-title {
  font-weight: bold;
  margin: 0 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-item .item-description {
  font-size: 14px;
  color: #b3b3b3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-item.artist img {
  border-radius: 50%;
}

.grid-item.artist {
  text-align: center;
}

.recentlyPlayedForMobile {
  height: 76vh;
  scroll-behavior: smooth;
  overflow: auto;
}

.recentlyPlayedForMobile::-webkit-scrollbar {
  width: 0px;
}
/* Responsive Design */

/* Tablet screens (max-width 992px) */
@media screen and (max-width: 992px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-picture img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
  }

  .profile-info .profile-name {
    font-size: 42px;
  }
}

/* Mobile screens (max-width 768px) */
@media screen and (max-width: 768px) {
  .profile-info .profile-name {
    font-size: 32px;
  }

  .profile-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
  }

  .grid-item {
    padding: 15px;
  }
}

/* Small mobile (max-width 480px) */
@media screen and (max-width: 480px) {
  .profile-info .profile-name {
    font-size: 24px;
  }

  .profile-picture img {
    width: 90px;
    height: 90px;
  }

  /* .grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    } */

  .grid-item {
    padding: 10px;
  }

  .grid-item .item-title {
    font-size: 14px;
  }

  .grid-item .item-description {
    font-size: 12px;
    -webkit-line-clamp: 3; /* thoda zyada detail allow */
  }
}

.friends-panel {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.friend-search,
.add-friend {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.friend-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.friend-card {
  background: #111;
  padding: 10px;
  border-radius: 8px;
  min-width: 180px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.friend-card .name {
  font-weight: 700;
}
.friend-card .meta {
  font-size: 12px;
  color: #9a9a9a;
  margin-top: 6px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #0f0f0f;
  padding: 20px;
  border-radius: 8px;
  width: 420px;
  max-width: 95%;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
#shareFriendList {
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.share-friend-item {
  padding: 8px;
  border-radius: 6px;
  background: #161616;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn.primary {
  background: #1db954;
  padding: 8px 12px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  color: #000;
  font-weight: 700;
}

.play-1 {
  background-color: var(--active-green);
}

.friend-search input,
.add-friend input {
  width: 250px;
  padding: 10px 14px;
  border: none;
  border-radius: 30px;
  background-color: #282828;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.friend-search input:focus,
.add-friend input:focus {
  background-color: #333;
  box-shadow: 0 0 0 2px #1db954;
}

.friend-search button,
.add-friend button {
  margin-left: 10px;
  padding: 10px 20px;
  background-color: #1db954;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.friend-search button:hover,
.add-friend button:hover {
  background-color: #1ed760;
}

.friend-search button:active,
.add-friend button:active {
  transform: scale(0.96);
}

/* Layout tweaks */
.friend-search,
.add-friend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  justify-content: center; /* center horizontally */
}

/* Optional: subtle divider line */
.add-friend {
  border-top: 1px solid #282828;
  padding-top: 20px;
}

#friendResults {
  margin-top: 10px;
  background: #282828;
  border-radius: 8px;
  overflow: hidden;
}

.friend-item {
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
}

.friend-item:hover {
  background: #1db954;
  color: #000;
}

#searchPageInput {
  flex-grow: 1;
  background: transparent;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid transparent;
  outline: none;
  transition: all 0.3s ease;
  background-color: rgb(41, 41, 41);
}
.purple-border {
  border: 2px solid purple;
}

#searchPageInput::placeholder {
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.6);
}
/* #searchPageInput:focus {
  border: 2px solid #00b909;
} */
#searchPageButton {
  background: #1ed760;
  border: none;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  transition: background 0.3s;
}

#searchPageButton:hover {
  background: #149541;
}

.search-history-container {
  /* margin-top: 2rem; */
  padding: 1rem;
  background: #111;
  border-radius: 10px;
  color: white;
}

.search-history-container h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1db954; /* Spotify green */
}

.search-history-container ul {
  list-style: none;
  padding: 0;
}

.search-history-container li:hover {
  color: #1db954;
}

.clear-btn {
  margin-top: 10px;
  padding: 6px 12px;
  background: #1db954;
  border: none;
  border-radius: 5px;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.clear-btn:hover {
  background: #1ed760;
}

#Search-History {
  overflow: auto;
  width: 97.3%;
  scrollbar-width: 0px;
}
#Search-History::-webkit-scrollbar {
  width: 0;
}
.Search-song-item {
  background-color: #181818;
  display: grid;
  grid-template-columns: 60px 1fr 50px 50px 80px; /* image, title, length, fav, add */
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.Search-song-item:hover {
  cursor: pointer;
  background: #242424;
}

.Search-song-item img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

.song-title {
  font-weight: 500;
}

.song-length {
  text-align: center;
  font-size: 14px;
  color: rgb(255, 255, 255);
}

.fav-btn,
.add-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.fav-btn:hover,
.add-btn:hover {
  transform: scale(1.2);
}

.fav-btn.active {
  color: red;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Friends Section Styling */
.friends-section {
  padding: 20px;
  color: #fff; /* White text for readability */
  font-family: "Arial", sans-serif; /* Or your preferred font */
}

.friends-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.friends-header h2 {
  font-size: 2.5em; /* Larger heading for "Friends" */
  color: #fff;
  margin: 0;
}

.search-and-add {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between search and button */
}

.search-activity-input {
  background-color: #282828; /* Darker background for input */
  border: 1px solid #404040;
  border-radius: 20px;
  padding: 10px 15px;
  color: #fff;
  width: 250px; /* Adjust width as needed */
  outline: none;
  font-size: 0.9em;
}

.search-activity-input::placeholder {
  color: #b3b3b3;
}

.add-friend-btn {
  background-color: #1db954; /* Spotify green */
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-friend-btn:hover {
  background-color: #1ed760; /* Slightly lighter green on hover */
}

.friend-activity-title h3 {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid #404040; /* Separator line */
  padding-bottom: 10px;
}

.friend-cards-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 25px; /* Space between cards */
}

.friend-card {
  background-color: #181818; /* Even darker background for cards */
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  transition: background-color 0.3s ease;
}

.friend-card:hover {
  background-color: #282828; /* Slightly lighter on hover */
}

.friend-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Circular avatar */
  object-fit: cover;
  border: 2px solid #1db954; /* Green border for avatar */
}

.friend-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.friend-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

.friend-status {
  font-size: 0.9em;
  color: #b3b3b3; /* Lighter grey for status text */
}

.message-btn {
  background: none;
  border: none;
  color: #b3b3b3; /* Grey icon */
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.message-btn:hover {
  color: #fff; /* White icon on hover */
  background-color: #404040;
}

.message-btn svg {
  width: 20px;
  height: 20px;
}

/* Modal Overlay (Background Dimmer) */
.modal-overlay {
  display: none; /* Default mein hidden, JS se 'display: flex' hoga */
  position: fixed;
  z-index: 1000; /* Sabse upar dikhe */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Thoda dark, transparent background */
  justify-content: center;
  align-items: center;
}

/* Modal Content Box */
.modal-content {
  background-color: #181818; /* Dark background jo main app se thoda lighter ho sakta hai */
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px; /* Size adjust kiya */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #fff;
}

.modal-content h3 {
  border-bottom: 2px solid #404040;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-size: 1.8em;
}

/* Close Button */
.friend-modal-close-btn {
  color: #b3b3b3;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.friend-modal-close-btn:hover,
.friend-modal-close-btn:focus {
  color: #fff;
  text-decoration: none;
}

/* Request Section */
.request-section {
  margin-bottom: 25px;
}

.request-section h4 {
  color: #1db954; /* Green accent for headings */
  margin-bottom: 15px;
  font-size: 1.1em;
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-card {
  display: flex;
  align-items: center;
  background-color: #282828; /* Card background */
  padding: 10px 15px;
  border-radius: 8px;
  justify-content: space-between;
}

.request-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.request-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.request-name {
  font-weight: bold;
  font-size: 1em;
}

.request-time {
  font-size: 0.8em;
  color: #b3b3b3;
}

/* Request Action Buttons */
.request-actions button {
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 8px;
  transition: opacity 0.3s;
}

.accept-btn {
  background-color: #1db954;
  color: #fff;
}

.reject-btn {
  background-color: #535353;
  color: #fff;
}

.cancel-btn {
  background-color: #f00; /* Red for cancellation */
  color: #fff;
}

.request-actions button:hover {
  opacity: 0.8;
}

/* Modal Search (if added) */
.add-friend-modal-search h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.search-modal-input {
  width: 70%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #404040;
  background-color: #121212;
  color: #fff;
  margin-right: 10px;
}

.search-modal-btn {
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #1db954;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* Now Playing Details Page */
.now-playing-details-page {
  background-color: #121212; /* Darker background than main app */
  color: #fff;
  border-radius: 10px;
  padding: 5px;
  height: calc(100vh - 120px); /* Adjust based on your header/footer height */
  overflow-y: auto; /* Scrollable if content overflows */
  font-family: "Arial", sans-serif;
}

.now-playing-details-page::-webkit-scrollbar {
  width: 0px;
}

.now-playing-details-page .header-controls {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.now-playing-details-page .back-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  margin-right: 20px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.now-playing-details-page .back-button:hover {
  color: #1db954;
}

.now-playing-details-page .page-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
}

.now-playing-details-page .song-details-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-wrap: wrap; /* Allows content to wrap on smaller screens */
}

.now-playing-details-page .cover-art-section {
  gap: 25px;
  flex: 1; /* Takes up available space */
  min-width: 300px; /* Minimum width for this section */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.now-playing-details-page .album-cover {
  width: 100%;
  max-width: 350px; /* Max size for cover art */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.now-playing-details-page .song-main-info h1 {
  font-size: 2.5em;
  margin-bottom: 5px;
  color: #fff;
}

.now-playing-details-page .artist-names {
  font-size: 1.2em;
  color: #b3b3b3;
  margin-bottom: 5px;
}

.now-playing-details-page .album-name {
  font-size: 1.1em;
  color: #b3b3b3;
  margin-bottom: 25px;
}

.now-playing-details-page .action-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.now-playing-details-page .action-buttons button {
  background-color: #282828;
  color: #fff;
  border: 1px solid #404040;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 0.9em;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.now-playing-details-page .action-buttons button:hover {
  background-color: #404040;
  border-color: #606060;
}

.now-playing-details-page .action-buttons svg {
  margin-left: 5px; /* For the three dots icon */
  width: 20px;
  height: 20px;
}

.now-playing-details-page .play-song-btn {
  background-color: #1db954;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.now-playing-details-page .play-song-btn:hover {
  transform: scale(1.05);
}

.now-playing-details-page .play-song-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.now-playing-details-page .text-details-section {
  flex: 2; /* Takes up more space */
  min-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.now-playing-details-page .about-section h3,
.now-playing-details-page .lyrics-section h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #fff;
  border-bottom: 1px solid #404040;
  padding-bottom: 10px;
}

.now-playing-details-page .about-section p,
.now-playing-details-page .lyrics-text {
  font-size: 1em;
  line-height: 1.6;
  color: #b3b3b3;
}

/* Additional Sections Container */
.additional-sections {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #282828; /* Separator from main song details */
}

.recommendation-section,
.related-artists-section,
.same-artist-songs-section {
  margin-bottom: 50px;
}

.recommendation-section h3,
.related-artists-section h3,
.same-artist-songs-section h3 {
  font-size: 1.8em;
  margin-bottom: 25px;
  color: #fff;
}

/* Horizontal List for Songs and Artists */
.song-list-horizontal,
.artist-list-horizontal {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  gap: 20px; /* Space between cards */
  padding-bottom: 15px; /* Space for scrollbar */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #404040 #121212; /* Firefox */
}

/* Custom scrollbar for Webkit browsers */
.song-list-horizontal::-webkit-scrollbar,
.artist-list-horizontal::-webkit-scrollbar {
  height: 8px;
}

.song-list-horizontal::-webkit-scrollbar-track,
.artist-list-horizontal::-webkit-scrollbar-track {
  background: #121212;
  border-radius: 10px;
}

.song-list-horizontal::-webkit-scrollbar-thumb,
.artist-list-horizontal::-webkit-scrollbar-thumb {
  background-color: #404040;
  border-radius: 10px;
  border: 2px solid #121212;
}

/* Individual Song Card (Horizontal) */
.song-card-horizontal {
  flex-shrink: 0; /* Prevent items from shrinking */
  width: 180px; /* Fixed width for each card */
  background-color: #181818;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background-color 0.3s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  /* transition: all 0.3s ease; */
}
.song-card-horizontal img {
  border-radius: 8px;
  transition: all 0.3s ease;
}
/* .song-card-horizontal:hover {
  background-color: #282828;
} */
.song-card-horizontal:hover img {
  /* background-color: #282828; */
  transform: scale(1.1);
}

.song-card-horizontal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.song-card-horizontal .song-infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.song-card-horizontal .song-title {
  font-weight: bold;
  color: #fff;
  font-size: 1.1em;
  white-space: nowrap; /* Prevent title from wrapping */
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis if title is too long */
  max-width: 100%;
}

.song-card-horizontal .song-artist {
  color: #b3b3b3;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.song-card-horizontal .play-small-btn {
  background-color: #1db954;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: absolute; /* Position over the cover */
  bottom: 25px; /* Adjust as needed */
  right: 25px; /* Adjust as needed */
  opacity: 0; /* Hidden by default */
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
  transform: translateY(5px); /* Slight lift on hover */
}

.song-card-horizontal:hover .play-small-btn {
  opacity: 1;
  transform: translateY(0);
}

.song-card-horizontal .play-small-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-left: 2px; /* Slight adjustment for play icon */
}

/* Individual Artist Card (Horizontal) */
.artist-card-horizontal {
  flex-shrink: 0;
  width: 160px; /* Slightly smaller width for artists */
  background-color: #181818;
  border-radius: 8px; /* Square cards */
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.artist-card-horizontal:hover {
  background-color: #282828;
}

.artist-card-horizontal .artist-photo {
  width: 150px; /* Fixed size for artist photo */
  height: 150px;
  border-radius: 50%; /* Circular artist photos */
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.artist-card-horizontal .artist-name {
  font-weight: bold;
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.artist-card-horizontal .follow-artist-btn {
  background-color: #1db954;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.artist-card-horizontal .follow-artist-btn:hover {
  background-color: #1ed760;
}

/* --- EXISTING CSS FOR LYRICS SECTION --- */
.now-playing-details-page .lyrics-section {
  /* Existing margin/padding, etc. */
  position: relative; /* Shadow aur Read More button ke liye */
}

/* --- NEW/MODIFIED CSS FOR COLLAPSIBLE EFFECT --- */

.lyrics-content-wrapper {
  max-height: 150px; /* Default height: sirf itni lines dikhengi */
  overflow: hidden; /* Hide the rest of the text */
  transition: max-height 0.5s ease-in-out; /* Smooth transition for expand/collapse */
  position: relative;
  padding-bottom: 20px; /* Space for the shadow/fade effect */
}

.lyrics-content-wrapper.expanded {
  max-height: 1500px; /* Large value to fully reveal content */
}

/* FADE EFFECT (Shadow jisse pata chale ki content hide hai) */
.lyrics-content-wrapper:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px; /* Height of the fade */
  /* Gradient from transparent to dark background color */
  background: linear-gradient(
    to top,
    rgba(18, 18, 18, 1) 0%,
    rgba(18, 18, 18, 0) 100%
  );
  pointer-events: none; /* Allows clicks to pass through */
}

.now-playing-details-page .toggle-lyrics-btn {
  background: none;
  border: none;
  color: #b3b3b3; /* Lighter color for link feel */
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 0;
  margin-top: 5px;
  display: block; /* Takes full width to stand out */
  text-align: left;
  transition: color 0.2s ease;
}

.now-playing-details-page .toggle-lyrics-btn:hover {
  color: #fff;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .now-playing-details-page .additional-sections {
    margin-top: 30px;
    padding-top: 20px;
  }

  .now-playing-details-page .song-list-horizontal,
  .now-playing-details-page .artist-list-horizontal {
    flex-wrap: nowrap; /* Ensure horizontal scroll on smaller screens */
  }

  .song-card-horizontal {
    width: 160px; /* Slightly smaller for mobile */
  }
  .artist-card-horizontal {
    width: 140px; /* Slightly smaller for mobile */
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .now-playing-details-page .song-details-content {
    flex-direction: column;
    align-items: center;
  }

  .now-playing-details-page .album-cover {
    max-width: 250px;
  }

  .now-playing-details-page .song-main-info h1 {
    font-size: 2em;
  }

  .now-playing-details-page .action-buttons {
    flex-direction: column;
    width: 80%;
  }

  .now-playing-details-page .action-buttons button {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding: 0 5px;
  }
  nav {
    height: 5dvh;
    padding: 5px 0px;
    gap: 0;
  }
  .playlist-image {
    height: 150px;
  }
  .main-page {
    height: calc(100dvh - 15.5dvh); /* 5vh + 9vh */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mediaQuery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .content-grid {
    grid-template-columns: repeat(2, minmax(50px, 1fr));
  }
  .right-box {
    margin: 0;
    width: 100%;
  }
  .custom-audio {
    margin: 0;
    width: 55%;
    position: relative;
    right: 0;
  }
  .right-box {
    height: 99%;
  }
  .left1 {
    width: 0%;
    margin: 0;
    height: 99%;
  }
  .recentlyPlayedSong {
    margin: 0;
  }
  .popupmessage {
    left: 30%;
  }
  .currentMusiControl,
  .no-login,
  .home-logo,
  .inp,
  .logo,
  .sea,
  .right {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: 20px;
  }
  .righ1 {
    width: 100%;
  }

  .top-btn {
    padding: 4px 0;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  /* .search-container-internal{
    padding: 5px;
    margin-bottom: 10px;
  } */
  .top-btn::-webkit-scrollbar {
    display: none;
  }
  .MainHomePage {
    height: 98%;
    padding: 10px;
  }
  .OnlineSongList {
    height: 84dvh;
    overflow: scroll;
  }
  .cover1 {
    height: 13%;
  }
  .likedSongList {
    height: 96.5%;
    padding: 8px;
  }
  .top-20 {
    top: 6%;
    left: -1%;
  }
  .profile-box {
    width: 45%;
  }
  .profile-box a {
    font-weight: bold;
    padding: 6px 10px;
  }
  .visible {
    height: 35vh;
  }
  .mr-8 {
    margin: 0;
  }
  .detail-view {
    padding: 10px 0 0 0;
  }
  .detail-info h1 {
    font-size: 1.5rem;
  }
  .detail-info p {
    font-size: 1rem;
  }
  .cover {
    padding: 10px 0px;
    height: 35%;
  }
  .inp2 input {
    width: 85%;
  }
  .detail-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
  }
  .no-login {
    width: 79%;
  }
  .no-login > h2 {
    font-size: 30px;
  }
  .playSignup p {
    font-size: 11px;
  }
  .playSignup button {
    width: 150px;
  }
  .Search-song-item {
    grid-template-columns: 60px 100px 1fr 50px 80px;
  }
  #playBtn {
    gap: 15px;
  }
  #Search-History {
    padding: 10px 0;
    width: 100%;
  }
  .search-history-container {
    padding: 1rem 0px;
  }
  .song-title {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .song-title b {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 10s linear infinite;
  }
  .song-info {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .song-info > .song-name {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 10s linear infinite;
  }

  .Liked-Left {
    width: 70%;
  }
  .now-playing-details-page .text-details-section {
    min-width: 100%;
  }
}

/* 1. Song Info Container (Parent) */
.song-infos {
  /* Isse parent ki width fix ho jaati hai */
  max-width: 200px; /* Example width, adjust as needed */
  overflow: hidden; /* Important: Taki scrolling text iske bahar na nikle */
  white-space: nowrap; /* Taki text wrap na ho */
}

/* 2. Song Title (The Scrolling Element) */
.song-titles {
  /* Make it an inline-block for animation to work smoothly */
  display: inline-block;

  /* Animation settings: 10s speed hai, change kar sakte ho */
  animation: scroll-song-title 10s linear infinite;

  /* Start the text off-screen to the right */
  padding-left: 100%;
}

/* 3. The Scrolling Keyframes */
@keyframes scroll-song-title {
  0% {
    /* Start from the right edge of the container */
    transform: translateX(0%);
  }
  100% {
    /* Move to the left until the whole text is hidden (minus its own width) */
    transform: translateX(-100%);
  }
}

/* 1. Variables define kar lete hain taaki theme change karna easy ho */
:root {
  --primary-color: #00ff88; /* Neon Green - Change this to fit your vibe */
  --track-color: #333; /* Dark Grey for background */
  --thumb-size: 18px;
  --track-height: 6px;
}

/* Container ko thoda style dete hain */
.eq-controls {
  background: #1a1a1a; /* Dark card background */
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  font-family: sans-serif;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.eq-controls label {
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #ccc;
  margin-bottom: 5px;
  display: block;
}

.eq-controls-container {
  display: flex;
  justify-content: center; /* Center the equalizer box */
  align-items: flex-start; /* Align at the top */
  padding: 20px;
  min-height: calc(
    100vh - 200px
  ); /* Adjust based on your header/footer height */
}

/* Existing .eq-controls styling will apply */
/* Make sure your .eq-controls has a fixed width if needed, or flex it */
.eq-controls {
  /* Existing styles here */
  width: 350px; /* Thoda wider kar diya hai */
}

/* Thoda space de do sliders ko */
.slider-group {
  margin-bottom: 20px; /* Each slider group ke beech mein space */
}

.equalizer {
  display: flex;
  gap: 20px;
  height: 99%;
  margin-top: 20px;
  align-items: flex-end;
  justify-content: center;
}

.band {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-family: sans-serif;
}

/* --- AI Search Styles --- */

/* Wrapper adjustment taaki icon sahi jagah fit ho */
.search-container-internal {
  display: flex; /* Flexbox zaroori hai alignment ke liye */
  align-items: center;
  border: 2px solid #333; /* Default gray border */
  border-radius: 50px; /* Round corners */
  padding: 3px 5px; /* Thoda spacing */
  transition: all 0.3s ease; /* Smooth transition ke liye */
  background-color: transparent;
}

/* Jab AI Mode ON hoga, ye class JS se add hogi */
.ai-glow-mode {
  border-color: #a855f7 !important; /* Purple Border */
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); /* Purple Glow light */
}

/* Magic Wand Icon Styling */
.ai-toggle-icon {
  font-size: 1.2rem;
  margin: 0 10px; /* Left-Right spacing */
  color: #888; /* Default gray color */
  cursor: pointer;
  transition: color 0.3s ease;
}

.ai-toggle-icon:hover {
  color: #fff; /* Hover karne par white */
}

/* Icon jab AI Mode ON ho */
.ai-icon-active {
  color: #a855f7 !important; /* Purple Color */
  animation: pulse-animation 2s infinite; /* Dheere se blink karega */
}

/* Optional: Icon ke liye Pulse Animation */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Input text ka color white rakhna */
#searchPageInput {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
  font-weight: bold;
}

/* Default State: Chhota dikhega */
#lyrics-content {
  max-height: 100px; /* Jitna height starting me dikhana hai */
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease-in-out; /* Smooth animation */
  /* Niche thoda fade effect ke liye (Optional) */
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Expanded State: Pura dikhega */
#lyrics-content.expanded {
  max-height: 4000px; /* Koi badi value taaki poora text aa jaye */
  mask-image: none;
  -webkit-mask-image: none;
}

/* --- Equalizer Container --- */
.eq-container-pro {
  background: linear-gradient(145deg, #121212, #181818);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  height: 92%;
  /* max-width: 700px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

/* --- Header --- */
.eq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.eq-header h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

/* AI Button Style */
.ai-btn {
  background: linear-gradient(45deg, #a855f7, #ec4899);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}

.ai-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

/* --- Visualizer (Animation) --- */
.visualizer-display {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.bar {
  width: 6px;
  background: #1db954; /* Spotify Green */
  border-radius: 4px;
  animation: bounce 1s infinite ease-in-out;
}

/* Random animations for fake bars */
.bar:nth-child(odd) {
  animation-duration: 0.8s;
  height: 40%;
}
.bar:nth-child(even) {
  animation-duration: 1.1s;
  height: 70%;
}
.bar:nth-child(3n) {
  animation-duration: 1.3s;
  height: 50%;
}

@keyframes bounce {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* --- Presets Buttons --- */
.presets-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.preset-btn {
  background: #2a2a2a;
  border: 1px solid #333;
  color: #b3b3b3;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-btn:hover {
  border-color: white;
  color: white;
}

.preset-btn.active {
  background: #1db954;
  color: black;
  font-weight: bold;
  border-color: #1db954;
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.3);
}

/* -----------------------------------
   GLOBAL RANGE VARIABLES
----------------------------------- */
:root {
  --slider-height: 230px; /* Vertical height after rotation */
  --track-height: 8px; /* Track thickness */
  --thumb-size: 18px; /* Thumb (circle) size */
  --primary-color: #1db954; /* Thumb glow color */
  --track-color: #444; /* Track background */
}

/* -----------------------------------
   MAIN WRAPPERS
----------------------------------- */
.sliders-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: var(--slider-height);
  margin-bottom: 20px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.range-wrapper {
  width: 40px;
  height: var(--slider-height);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* -----------------------------------
   VERTICAL SLIDER
----------------------------------- */
.vertical-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;

  /* ROTATION */
  transform: rotate(-90deg);

  /* HEIGHT CONTROL */
  width: var(--slider-height); /* This becomes vertical height */
  height: var(--track-height); /* Track thickness */

  cursor: pointer;
  border-radius: 10px;
}

/* TRACK (Chrome/Edge/Safari) */
.vertical-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--track-height);
  background: var(--track-color);
  border-radius: 10px;
}

/* TRACK (Firefox) */
.vertical-slider::-moz-range-track {
  width: 100%;
  height: var(--track-height);
  background: var(--track-color);
  border-radius: 10px;
}

/* THUMB (Chrome/Edge/Safari) */
.vertical-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: var(--thumb-size);
  width: var(--thumb-size);
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid #fff;
  margin-top: calc((var(--track-height) - var(--thumb-size)) / 2);
  box-shadow: 0 0 10px var(--primary-color);
  cursor: pointer;
}

/* THUMB (Firefox) */
.vertical-slider::-moz-range-thumb {
  height: var(--thumb-size);
  width: var(--thumb-size);
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  cursor: pointer;
}

/* -----------------------------------
   GLOBAL RANGE INPUT (NON-VERTICAL)
----------------------------------- */
.range-wrapper > input[type="range"] {
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  /* width: 300px; */
}

/* GLOBAL TRACK (fallback) */
.range-wrapper > input[type="range"]::-webkit-slider-runnable-track {
  height: var(--track-height);
  border-radius: 10px;
  background: var(--track-color);
}

.range-wrapper > input[type="range"]::-moz-range-track {
  height: var(--track-height);
  border-radius: 10px;
  background: var(--track-color);
}

/* GLOBAL THUMB (fallback) */
.range-wrapper > input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: var(--thumb-size);
  width: var(--thumb-size);
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  margin-top: calc((var(--track-height) - var(--thumb-size)) / 2);
}

.range-wrapper > input[type="range"]::-moz-range-thumb {
  height: var(--thumb-size);
  width: var(--thumb-size);
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

/* ACTIVE EFFECT */
.range-wrapper > input[type="range"]:active::-webkit-slider-thumb,
.vertical-slider:active::-webkit-slider-thumb {
  transform: scale(1.2);
  background: white;
}

.range-wrapper > input[type="range"]:active::-moz-range-thumb,
.vertical-slider:active::-moz-range-thumb {
  transform: scale(1.2);
  background: white;
}

/* Label */
.freq-label {
  color: #b3b3b3;
  font-size: 0.8rem;
  font-weight: 500;
}

.search-input-border {
  border: 2px solid #00ff88;
}

/* Normal Search Focus State (Green) */
.normal-focus-mode {
  border-color: #1db954 !important; /* Spotify Green */
  box-shadow: 0 0 10px rgba(29, 185, 84, 0.4); /* Green Glow */
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
