* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.player {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  animation: fadeIn 1s ease-in;
  z-index: 1;
}

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

.background-art {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease;
  filter: blur(10px) brightness(0.5);
}

.background-art.visible {
  opacity: 1;
}

.visualizer-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  animation: float 6s ease-in-out infinite;
}

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

.circle-visualizer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.circle-visualizer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255,255,255,0.2);
  border-radius: 50%;
}

@keyframes pulse {
  0% { transform: scale(0.95); filter: brightness(0.8); }
  50% { transform: scale(1.05); filter: brightness(1.2); }
  100% { transform: scale(0.95); filter: brightness(0.8); }
}

.wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: scale(1.2);
}

.wave {
  width: 4px;
  background: rgba(255,255,255,0.8);
  animation: wave 1s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes wave {
  0% { height: 10px; }
  50% { height: 30px; }
  100% { height: 10px; }
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.station-info {
  margin-bottom: 25px;
}

.station-name {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255,255,255,0.2);
}

.now-playing {
  font-size: 1.5rem;
}

.metadata {
  font-size: 1.2rem;
  font-weight: 500;
  color: #a5b4fc;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.metadata:hover {
  transform: translateX(10px);
  color: white;
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.play-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.volume-control {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
}

.volume-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  outline: none;
  transition: all 0.3s ease;
}

.volume-slider:hover {
  background: rgba(255,255,255,0.3);
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .player {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: 20px;
  }

  .visualizer-container {
    width: 200px;
    height: 200px;
    margin: 20px auto;
  }

  .content {
    padding: 0 20px;
    text-align: center;
  }

  .station-name {
    font-size: 2.5rem;
  }

  .controls {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .play-btn {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .volume-control {
    width: 100%;
    order: 2;
  }
}

.album-art {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.album-art.visible {
  opacity: 1;
}

.volume-percentage {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  min-width: 45px;
  text-align: right;
}

/* Add new styles for menu */
.menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
}

.menu-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.social-menu {
  position: absolute;
  top: 80px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 15px;
  display: none;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.social-menu.active {
  display: flex;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.app-store-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 100;
}

.store-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .app-store-buttons {
    left: 50%;
    transform: translateX(-50%);
  }
}