@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

:root {
  --bg-color: #f5f5f5;
  --text-color: #333;
  --accent-color: #e74c3c;
  --icon-color: #ffffff;
}

body {
  background: linear-gradient(-45deg, #1A237E, #D32F2F, #90CAF9, #1A237E);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--text-color);
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.player {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 320px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.album-art {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-art:hover img {
  transform: scale(1.05);
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 10px;
}

.btn:hover {
  transform: scale(1.1);
}

.btn svg {
  width: 24px;
  height: 24px;
  fill: var(--icon-color);
  transition: fill 0.3s ease;
}

.btn-play-pause {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-play-pause svg {
  width: 36px;
  height: 36px;
  fill: var(--icon-color);
}

.volume-control {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.volume-control svg {
  fill: var(--icon-color);
  transition: fill 0.3s ease;
}

.volume-slider {
  -webkit-appearance: none;
  width: 80%;
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  outline: none;
  margin: 0 10px;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--icon-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.volume-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--icon-color);
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.volume-percentage {
  font-size: 14px;
  color: var(--icon-color);
  width: 40px;
  text-align: right;
  transition: color 0.3s ease;
}

.floating-notes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.note {
  position: absolute;
  opacity: 0;
  font-size: 24px;
  animation: float 5s ease-in infinite;
  color: var(--icon-color);
  transition: color 0.3s ease;
}

@keyframes float {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

.status-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 20px;
  color: var(--icon-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.status-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.status-btn.online {
  background-color: rgba(39, 174, 96, 0.6);
}

.status-btn.online:hover {
  background-color: rgba(39, 174, 96, 0.8);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--icon-color);
}

.app-download-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  .app-download-buttons {
    display: none;
  }
}

.app-download-button {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 15px;
  text-decoration: none;
  color: var(--icon-color);
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.app-download-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.app-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  fill: var(--icon-color);
}

.app-download-button span {
  white-space: nowrap;
}

.chat-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.chat-toggle {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.chat-toggle svg {
  fill: var(--icon-color);
}

.chat-dropdown,
.schedule-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  width: 300px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1001;
}

.chat-dropdown {
  left: 0;
}

.schedule-dropdown {
  right: 0;
}

.dropdown-active {
  display: block;
}

.schedule-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.schedule-toggle {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.schedule-toggle:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.schedule-toggle svg {
  fill: var(--icon-color);
}

.schedule-header {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

.schedule-content {
  padding: 10px;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.1);
}

.schedule-content::-webkit-scrollbar {
  width: 8px;
}

.schedule-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.schedule-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.schedule-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.host {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.host img {
  border-radius: 50%;
  margin-right: 10px;
}

.host-info h3 {
  margin: 0;
  font-size: 16px;
}

.host-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.program {
  margin-bottom: 15px;
}

.program h3 {
  margin: 0;
  font-size: 16px;
}

.program p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.floating-download-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.floating-download-button {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8px 15px;
  text-decoration: none;
  color: var(--icon-color);
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.floating-download-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.floating-download-button .app-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  fill: var(--icon-color);
}

.floating-download-button span {
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  .floating-download-buttons {
    display: none;
  }
}