@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

  :root {
    --primary-color: #1DB954;
    --background-color: #121212;
    --text-color: #FFFFFF;
    --card-background: #1E1E1E;
    --popup-background: rgba(30, 30, 30, 0.95);
  }

  body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
  }

  body::-webkit-scrollbar, 
  html::-webkit-scrollbar,
  .popup-content::-webkit-scrollbar {
      display: none; /* For Chrome, Safari, and Opera */
  }

  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* added this line */
  }

  header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }

  .logo img {
    height: 40px;
    transition: all 0.3s ease;
  }

  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-type: none;

  }

  nav ul li {
    margin-left: 30px;
    display: inline-block;
    margin-right: 20px;
  }

  nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    color: #d8d8d8;
  }

  nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }

  nav ul li a:hover::after {
    width: 100%;
  }

  nav ul li a:hover {
    transform: translateY(-3px);
  }

  .expandable {
    position: relative;
  }

  .artist-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    display: none;
    position: absolute;
    background-color: #000000bb;
    min-width: 120px;
    box-shadow: 0px 12px 20px 0px rgba(0,0,0,0.4);
    z-index: 1;
    right: 0; /* Aligns the dropdown to the right edge of its parent */
    top: 100%; /* Positions the dropdown below the parent */
  }

  .artist-list.show {
    display: block;
  }

  .artist-list li {
    display: block;
    margin: 0;
  }

  .artist-list li a {
    padding: 12px 16px;
    display: block;
    white-space: nowrap; /* Prevents wrapping of text */
  }

  .artist-list li a:hover {
    background-color: #071005d7;
  }

  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease forwards;
  }

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

  .hero-content h1 {
    font-size: 5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
  }

  .hero-content h1:hover {
    transform: scale(1.05);
  }

  .hero-content p {
    font-size: 1.5em;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
  }

  .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .cta-button:hover {
    background-color: #1ed760;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
  }

  .cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
  }

  .artists-carousel {
    position: relative;
    overflow: hidden;
    padding: 50px 0;
  }

  .carousel-container {
    display: flex;
    transition: transform 0.5s ease;
  }

  .artist-card {
    flex: 0 0 300px;
    margin-right: 30px;
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .artist-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .artist-card:hover .artist-image {
    transform: scale(1.05);
  }

  .artist-info {
    padding: 20px;
  }

  .artist-info h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
  }

  .artist-card:hover .artist-info h3 {
    transform: translateY(-5px);
  }

  .artist-info p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }

  .artist-card:hover .artist-info p {
    opacity: 1;
  }

  .artist-social {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
  }

  .artist-social a {
    color: var(--text-color);
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .artist-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
  }

  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(29, 185, 84, 0.8);
    color: var(--text-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
  }

  .carousel-button:hover {
    background-color: rgba(29, 185, 84, 1);
  }

  .carousel-button.prev {
    left: 20px;
  }

  .carousel-button.next {
    right: 20px;
  }

  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .popup-content {
    background-color: var(--popup-background);
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
  }

  .popup-overlay.active .popup-content {
    transform: scale(1);
  }

  .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
  }

  @keyframes fadeInFloat {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes gradientBackground {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .popup-image {

    width: 350px;
    height: 350px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .popup-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    
    background: linear-gradient(270deg, var(--gradient-colors, #4ca1af, #c4e0e5, #5e9fa3));
    background-size: 600% 600%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    animation: 
      fadeInFloat 1.5s ease-out,
      float 3s ease-in-out infinite,
      gradientBackground 10s ease infinite;
    animation-delay: 0s, 1.5s, 0s;
  }

  .separator {
    border: none; /* Remove default border */
    height: 1px; /* Height of the separator */
    background-color: #ccc; /* Color of the separator */
    margin: 10px 0; /* Space above and below the separator */
  }

  .popup-description {
    margin-bottom: 20px;
  }

  .popup-releases {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px; /* Adjust this value as needed */
    margin-left: auto;
    margin-right: auto;
  }

  .popup-releases h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
  }

  .release-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .release-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .release-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
  }

  .release-info {
    text-align: center;
    width: 100%;
  }

  .release-title {
    font-weight: bold;
    margin-bottom: 5px;
  }

  .release-date {
    font-size: 0.9em;
    opacity: 0.8;
    color: #666;
  }

  .spotify-embed {
    margin-top: 20px;
    width: 100%;
  }

  .artist-page-button {
    display: flex;
    justify-content: center; /* Center items horizontally */
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-align: center;
  }

  .artist-page-button:hover {
    background-color: #1ed760;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  footer {
    background-color: #0a0a0a;
    color: var(--text-color);
    text-align: center;
    padding: 20px 0;
  }

  /* Animated background styles */
  .animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
      from 0deg,
      #1DB954,
      #121212,
      #1DB954
    );
    animation: rotate 20s linear infinite;
  }

  .animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(50px);
  }

  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 3em;
    }
    .hero-content p {
      font-size: 1.2em;
    }
    nav ul {
      display: none;
    }
	.carousel-button {
      display: none;
    }
  }

  #footer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }

  #footer::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(
        from 0deg,
        var(--footer-color1, #00ffee),
        var(--footer-color2, #000000d7),
        var(--footer-color3, #005b32bc)
      );
      animation: rotate 75s linear infinite;
  }

  #footer::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, var(--footer-opacity, 0.628));
      backdrop-filter: blur(var(--footer-blur, 35px));
  }

  #footer::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      animation: rotate 20s linear infinite;
  }

  #footer::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backdrop-filter: blur(50px);
  }

  .pwa-popup {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: #000000c2;
      color: var(--text-color);
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      display: none;
  }

  .pwa-popup.show {
      display: block;
      animation: slideIn 0.3s ease-out;
  }

  .pwa-popup-content {
      display: flex;
      align-items: center;
  }

  .pwa-popup-text {
      flex-grow: 1;
      margin-right: 15px;
  }

  .pwa-popup-button {
      background-color: var(--primary-color);
      color: var(--text-color);
      border: none;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .pwa-popup-button:hover {
      background-color: #1ed760;
  }

  /* New styles for the close button */
  .pwa-popup-close {
      position: absolute;
      top: 5px;
      right: 5px;
      background: none;
      border: none;
      color: #b91d1da9;
      font-size: 20px;
      cursor: pointer;
      padding: 5px;
      line-height: 1;
  }

  .pwa-popup-close:hover {
      color: var(--primary-color);
  }

  #iosInstallBanner {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: #000000d1;      
      padding: 10px;
      text-align: center;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  #iosInstallSteps {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #000000;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0,0,0,0.2);
      z-index: 1000;
      width: 80%; /* Default width */
      height: auto; /* Default height */
      max-width: 500px; /* Maximum width */
      min-width: 300px; /* Minimum width */
      max-height: 80%; /* Maximum height */
      min-height: 300px; /* Minimum height */
  }

  #spotiIcon path {
      fill: url(#spotifyGradient);
      transition: fill 5s ease;
  }

  #spotiIcon:hover path {
      fill: url(#spotifyGradientHover);
      transition: fill 5s ease;
  }

  #instaIcon path {
      fill: url(#instagramGradient);
      transition: fill 5s ease;
  }

  #instaIcon:hover path {
      fill: url(#instagramGradientHover);
      transition: fill 5s ease;
  }

  #ytIcon path {
      fill: url(#youtubeGradient);
      transition: fill 5s ease;
  }

  #ytIcon:hover path {
      fill: url(#youtubeGradientHover);
      transition: fill 5s ease;
  }

  .latest-releases {
    margin-top: 10px;
  }
  
  .latest-releases h4 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  .release-container {
    display: flex;
    gap: 10px;
  }
  
  .release-item {
    flex: 1;
    max-width: 50%;
  }
  
  .release-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
  
  .release-info {
    font-size: 12px;
    margin-top: 3px;
  }
  
  .release-title {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .release-date {
    color: #888;
  }

  .like-container {
    text-align: center;
  }
  
  .heart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .like-button {
    font-size: 46px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.5s ease;
  }
  
  .like-button:hover {
    transform: scale(1.2);
  }
  
  .like-count {
    margin-top: 8px;
    color: white;
    font-size: 14px; /* Adjust as needed */
  }
  
  .like-button i {
    font-size: 86px;
    transition: color 0.75s ease;
  }
  
  .liked {
    color: red !important;
    transform: scale(1.5);
    transition: color 1.26s ease;
  }
  
  .unliked {
    color: white !important;
    transition: color 1.26s ease;
  }
  
  /* Animation for both liked and unliked states */
  .like-button i.animate {
    animation: heartBeat 0.75s ease-in-out;
  }

  .like-button svg.liked {
    fill: red;
  }
  
  .like-button svg.unliked {
    fill: none;
    stroke: currentColor;
  }
  
  @keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
  }
  
  @keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }
  
  @keyframes unlikeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(0.8); }
    100% { transform: scale(1); }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .liked {
    animation: likeAnimation 0.5s ease, pulse 1s infinite; /* Combine animations */
  }

  /* For larger screens */
  @media (min-width: 768px) {
      #iosInstallSteps {
          width: 60%;
          height: auto;
      }
  }

  /* For very large screens */
  @media (min-width: 1024px) {
      #iosInstallSteps {
          width: 40%;
          height: auto;
      }
  }

  /* For small screens */
  @media (max-width: 767px) {
      #iosInstallSteps {
          width: 90%;
          height: auto;
      }
  }

  /* For very small screens */
  @media (max-width: 480px) {
      #iosInstallSteps {
          width: 95%;
          height: auto;
      }
  }