body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#background {
  position: fixed; /* Stays in place when scrolling */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('music.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  z-index: -1; /* Keeps it behind other content */
}


.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
}


.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.title {
  font-size: 3rem;
  font-weight: 800;
  color: #f2ebeb;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  background-color: #070c0b;
  color: white;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.btn:hover {
  background-color: #53318b;
  transform: scale(1.1);
  box-shadow: 0 4px 6px rgba(193, 18, 18, 0.1);
}

.hidden {
  display: none;
}

header {
  width: 70%; /* Adjust width as needed */
  margin: 50px auto; /* Adds 50px space from the top */
  padding: 20px; /* Keep consistent padding */
  background: rgba(161, 57, 173, 0.7); /* Semi-transparent purple */
  color: white;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;

  /* Blurry Effect */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(300px); /* For Safari */
}



nav {
  margin-top: 1rem;
}

.nav-link {
  color: white;
  text-decoration: rgb(21, 38, 4);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: #3456c6;
}

#music-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
}

.music-box {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  padding: 1.5rem;
  width: 300px;
  text-align: center;
}

.music-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 300px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.platform-btn {

  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  color: rgb(246, 244, 244);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ff6b81, #ff6b81);
  text-align: center;
}

.platform-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4c60, #ff4c60);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.platform-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #e74c3c, #e74c3c);
}

.platform-btn.youtube {
  background: linear-gradient(135deg, #FF0000, #FF4C00);
}

.platform-btn.youtube:hover {
  background: linear-gradient(135deg, #e60000, #e60000);
}

.platform-btn.spotify {
  background: linear-gradient(135deg, #1DB954, #1DB954);
}

.platform-btn.spotify:hover {
  background: linear-gradient(135deg, #1ed760, #1ed760);
}

.platform-btn.jiosaavn {
  background: linear-gradient(135deg, #FF3B6D, #FF3B6D);
}

.platform-btn.jiosaavn:hover {
  background: linear-gradient(135deg, #ff2a5c, #ff2a5c);
}
