:root {
  --primary-color: #6a11cb;
  --accent-color: #2575fc;
  --bg-color: #0f0c29;
  --text-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Outfit", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-main);
  color: var(--text-color);
  overflow-x: hidden;
}

.background-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite alternate;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  bottom: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 50px);
  }
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  text-align: center;
  transition: transform 0.3s ease;
}

.cover-art-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Removed display:none default, managed by JS fallback */
}

.track-info h1 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  line-height: 1.3;
}

.track-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.player-controls {
  margin: 2rem 0;
}

.play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(106, 17, 203, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  animation: pulse-glow 2s infinite;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.6);
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(106, 17, 203, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cta-section {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  transition: all 0.5s ease;
}

.highlight-pulse {
  animation: highlight 1s ease-in-out;
}

@keyframes highlight {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(255, 255, 255, 0.1);
  }
  100% {
    background-color: transparent;
  }
}

.download-prompt {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  color: white;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

/* Android Button Style */
.btn-android {
  background: linear-gradient(45deg, #3ddc84, #2a9d5d);
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.3);
}

/* Windows Button Style */
.btn-windows {
  background: linear-gradient(45deg, #0078d7, #005a9e);
  box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-icon {
  font-size: 1.2rem;
}

footer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
