* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: white;
  overflow-x: hidden;
}


.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(236, 72, 153, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e9ce37;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ecd348;
}


.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #2c4a21 0%, #4a0d47 50%, #2a0a2a 100%);
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #b69f20, #f0e49f, #aa920b);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
}

.tagline {
  font-size: 1.2rem;
  color: #00d800;
  margin-bottom: 3rem;
  font-weight: 600;
}


.player-section {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 600px;
  border: 1px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
}

.now-playing {
  text-align: center;
  margin-bottom: 2rem;
}

.track-info {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.artist-info {
  font-size: 1.2rem;
  color: #a1a1aa;
}

.timer {
  text-align: center;
  font-size: 1.3rem;
  color: #00d800;
  margin-bottom: 2rem;
  font-weight: 600;
}

.controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.control-btn {
  background: linear-gradient(45deg, #00d800, #f916a2);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.control-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.volume-slider {
  width: 150px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #00d800;
  border-radius: 50%;
  cursor: pointer;
}

/* History Section */
.history-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.history-item {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(236, 72, 153, 0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.history-item:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.history-track {
  font-size: 14px;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.history-artist {
  color: #a1a1aa;
  font-size: 1.1rem;
}


.menu-container {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00d800, #f916a2);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 60px;
  top: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(236, 72, 153, 0.3);
  min-width: 200px;

  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dropdown-menu button,
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dropdown-menu button:hover,
.dropdown-menu a:hover {
  background: rgba(253, 163, 208, 0.2);
}

.flag-icon {
  width: 20px;
  height: auto;
}


.footer {
  background: rgba(10, 10, 10, 0.95);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(236, 72, 153, 0.3);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ec4899;
  margin-bottom: 1rem;
}

.footer-text {
  color: #a1a1aa;
  font-size: 1.1rem;
}


@media (max-width: 768px) {
  .header {
      padding: 1rem;
  }

  .nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
  }

  .logo {
      font-size: 1.25rem;
  }

  .nav-links {
      display: none;
  }

  .hero {
      height: auto;
      padding: 4rem 1rem 3rem;
      text-align: center;
  }

  .hero-title {
      font-size: 2.5rem;
      line-height: 1.2;
  }

  .hero-subtitle {
      font-size: 1.2rem;
  }

  .tagline {
      font-size: 1rem;
      margin-bottom: 2rem;
  }

  .player-section {
      margin: 1rem;
      padding: 7rem;
      max-width: 100%;
      border-radius: 15px;
  }

  .controls {
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
  }

  .control-btn {
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
  }

  .volume-container {
      flex-direction: column;
      gap: 0.5rem;
  }

  .volume-slider {
      width: 100%;
      max-width: 200px;
      height: 4px;
  }

  .history-section {
      padding: 0 1rem;
      margin: 2rem 0;
  }

  .history-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .menu-container {
      right: 1rem;
      top: auto;
      bottom: 1rem;
      flex-direction: row;
      gap: 0.5rem;
  }


  .dropdown-menu {
      right: 0;
      top: auto;
      bottom: 60px;
      left: auto;
  }

  .footer {
      padding: 2rem 1rem;
  }

  .footer-title {
      font-size: 1.5rem;
  }

  .footer-text {
      font-size: 1rem;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


.player-visualization {
  height: 100px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  margin-bottom: 2rem;
}

.bar {
  width: 4px;
  background: linear-gradient(to top,#00d800, #f916a2);
  border-radius: 2px;
  animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { height: 10px; }
  to { height: 80px; }
}








.youtube-btn {
  background-color: #ff0000; 
  color: white;
  padding: 1rem 2rem; 
  font-size: 1.5rem; 
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem; 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  margin-left: 0rem !important;
}

.youtube-btn:hover {
  background-color: #cc0000; 
}


.footer-link {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
  outline: none;
  color: #ff94c9;
}


.youtube-btn {
  background-color: #ff0000;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: 1rem; 
}

.youtube-btn:hover {
  background-color: #cc0000;
}

.youtube-btn svg {
  width: 20px;
  height: 20px;
}