/* Elegant Music Popup for Wedding Website */

.music-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in-out;
}

.music-popup-content {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 400px;
  border-radius: 15px;
  position: relative;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(222, 184, 184, 0.5);
  animation: slideUp 0.5s ease-in-out;
  overflow: hidden;
}

.music-popup-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../image/album/_MG_0010.JPG') center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.music-popup-header {
  position: relative;
  margin-bottom: 15px;
}

.music-popup-header h3 {
  font-family: "dancing_scriptregular", cursive;
  font-size: 32px;
  color: #c89d9c;
  margin: 0 0 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.music-popup-body {
  margin: 20px 0;
  position: relative;
}

.music-popup-body p {
  font-family: "comfortaaregular", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 25px;
}

.music-notes {
  text-align: center;
  margin: 15px 0;
}

.music-note {
  display: inline-block;
  margin: 0 5px;
  color: #c89d9c;
  font-size: 24px;
  animation: bounce 2s infinite alternate;
}

.music-note:nth-child(1) {
  animation-delay: 0s;
}

.music-note:nth-child(2) {
  animation-delay: 0.3s;
}

.music-note:nth-child(3) {
  animation-delay: 0.6s;
}

.music-note:nth-child(4) {
  animation-delay: 0.9s;
}

.music-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.music-btn {
  display: inline-block;
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  font-family: "comfortaaregular", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.music-btn-primary {
  background: #c89d9c;
  color: white;
  box-shadow: 0 3px 10px rgba(200, 157, 156, 0.3);
}

.music-btn-primary:hover {
  background: #b48a89;
  transform: translateY(-2px);
}

.music-btn-secondary {
  background: transparent;
  color: #666;
  border: 1px solid #c89d9c;
}

.music-btn-secondary:hover {
  background: #f9f5f5;
}

.music-icon-container {
  text-align: center;
  margin-bottom: 15px;
}

.music-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #c89d9c;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px rgba(200, 157, 156, 0.3);
  position: relative;
}

.music-icon-circle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 85px;
  height: 85px;
  border: 2px solid rgba(200, 157, 156, 0.5);
  animation: pulse 2s infinite;
}

.music-icon {
  color: white;
  font-size: 30px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}

/* Media queries */
@media (max-width: 480px) {
  .music-popup-content {
    width: 85%;
    padding: 15px;
  }
  
  .music-popup-header h3 {
    font-size: 28px;
  }
  
  .music-popup-body p {
    font-size: 14px;
  }
  
  .music-buttons {
    flex-direction: column;
    gap: 10px;
  }
}
