@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;
  }

  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;
  }

  .latesrReleasesContainer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

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

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

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

  .logo img {
    min-height: 40px;
    max-height: 40px;
    height: 40px;
    width: 40px;
    transition: all 0.3s ease;
  }

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

  nav ul li {
    margin-left: 30px;
  }

  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;
  }

  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);
  }

  .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(75px);
    animation: fadeInUp 2.5s ease forwards;
  }

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

  .hero 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 h1:hover {
    transform: scale(1.05);
  }

  .hero 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);
  }

  .content {
    padding: 100px 0;
  }

  .section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    position: relative;
    transition: transform 0.3s ease;
  }

  .section-title:hover {
    transform: scale(1.05);
  }

  .section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }

  .section-title:hover::after {
    width: 100px;
  }

  .albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .album {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .album:hover {
    transform: translateY(-10px);
  }

  .album img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
  }

  .album:hover img {
    transform: scale(1.05);
  }

  .album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .album:hover .album-info {
    transform: translateY(0);
  }

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

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

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

  .album:hover .album-info p {
    opacity: 1;
  }

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

  .album:hover .album-info a {
    opacity: 1;
  }

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

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

  #footer::before {
    background: conic-gradient(
        from 0deg,
        #00ffeeb8 0deg,
        #000000c3 179deg,
        #bd8100ac 180deg,
        #ffffffc3 359deg,
        #00ffeeb8 360deg
        
    );
    animation-duration: 75s;
  }

  #footer::after {
      background: rgba(0, 0, 0, 0.075);
      backdrop-filter: blur(35px);
  }

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

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

  .social-links {
    margin-top: 20px;
  }

  .social-links a {
    color: var(--text-color);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
  }

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

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

  /* 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);
    }
  }

  /* Spotify Embed styles */
  .spotify-embed {
    margin-bottom: 50px;
    background-color: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .spotify-embed iframe {
    border: none;
  }

   /* Add new styles for popup */
   .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(--background-color);
      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;
  }

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

  @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-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center; /* Center the text */
    width: 100%; /* Ensure the title takes full width */

    /* Text styling */
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    
    /* Animation properties */
    animation: 
      fadeInFloat 1.5s ease-out,
      float 3s ease-in-out infinite;
    animation-delay: 0s, 1.5s, 0s;
  }

  .popup-artist {
      font-size: 1.2em;
      opacity: 0.8;
      margin-bottom: 40px;

      font-size: 2em;
      text-align: center; /* Center the text */
      width: 100%; /* Ensure the title takes full width */

      /* Text styling */
      color: #ffffff;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
      
      /* Gradient background */
      background: linear-gradient(270deg, #4ca1af, #c4e0e5, #5e9fa3);
      background-size: 600% 600%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      
      /* Animation properties */
      animation: 
        fadeInFloat 1.5s ease-out,
        float 3s ease-in-out infinite,
        gradientBackground 10s ease infinite;
      animation-delay: 0s, 3.5s, 0s;
  }

  .popup-links {
    display: flex;
    justify-content: center; /* Center items horizontally */
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .popup-links a {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 10px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
  }

  .popup-links a:hover {
      background-color: #1ed760;
  }

  .popup-links a.link-spotify {
      background: linear-gradient(-82.5deg, #147b38, #148b3e, #359b57);
      color: #ffffffe4;
      background-position: 0% 50%; /* Start position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .popup-links a.link-spotify:hover {
      background: linear-gradient(-82.5deg, #148b3e, #147b38, #359b57);
      background-position: 100% 50%; /* End position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .popup-links a.link-applemusic {
      background: linear-gradient(-45deg, #fa57c1, #ff6ec7, #ff9a9e);
      color: #ffffffe4;
      background-position: 0% 50%; /* Start position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .popup-links a.link-applemusic:hover {
      background: linear-gradient(-45deg, #ff6ec7, #fa57c1, #ff9a9e);
      background-position: 100% 50%; /* End position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .popup-links a.link-youtube {
      background: linear-gradient(-20deg, #FF0000, #FF4500, #FF6347);
      color: #ffffffe4;
      background-position: 0% 50%; /* Start position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .popup-links a.link-youtube:hover {
      background: linear-gradient(-20deg, #FF4500, #FF0000, #FF6347);
      background-position: 100% 50%; /* End position */
      transition: background-position 5s ease; /* Smooth transition */
      background-size: 200% 200%; /* Double the size of the background */
  }

  .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;
  }

  .heartbeat {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    text-align: center;
    transform-origin: bottom;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }

  .login-button {
    border: 2.1px solid #009130;
    padding: 10%;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
  }

  .login-button:hover {
    border-color: #2cf479;
  }

  /* 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;
      }
      .popup-links {
          min-width: 360px; /* Smaller minimum width for very small screens */
          font-size: 13px; /* Slightly smaller font size for small screens */
      }
  }

  /* For very small screens */
  @media (max-width: 480px) {
      #iosInstallSteps {
          width: 95%;
          height: auto;
      }
      .popup-links {
          min-width: 300px; /* Smaller minimum width for very small screens */
          font-size: 8px; /* Slightly smaller font size for small screens */
      }
  }