/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1db954;
  --secondary-color: #ff3366;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo i {
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(29, 185, 84, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-album {
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.floating-album img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(29, 185, 84, 0.3);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-darker);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Genres Section */
.genres {
  padding: 6rem 0;
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.genre-card {
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.genre-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.genre-card:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

.genre-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.genre-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Trending Section */
.trending {
  padding: 6rem 0;
  background: var(--bg-darker);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.album-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 15px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.album-card:hover {
  transform: translateY(-10px);
  background: #252525;
}

.album-cover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.album-cover img {
  width: 100%;
  display: block;
  transition: all 0.3s;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s;
}

.album-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 3rem;
  color: var(--primary-color);
}

.album-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.album-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--text-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Player Page Styles */
.player-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
  min-height: 100vh;
}

.player-container {
  padding-top: 100px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}

.player-main {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-art-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.album-art {
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(29, 185, 84, 0.3);
  transition: all 0.3s;
}

.album-art.playing {
  animation: rotate 20s linear infinite;
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-info {
  text-align: center;
  margin-bottom: 2rem;
}

.song-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.song-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.time {
  color: var(--text-secondary);
  font-size: 0.9rem;
  min-width: 40px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.progress {
  height: 100%;
  background: var(--primary-color);
  border-radius: 10px;
  width: 0%;
  transition: width 0.1s;
}

.progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--text-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

.progress-bar:hover .progress-dot {
  opacity: 1;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.control-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.control-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.control-btn.active {
  color: var(--primary-color);
}

.play-btn {
  background: var(--primary-color);
  color: var(--bg-dark);
  font-size: 2rem;
  width: 70px;
  height: 70px;
}

.play-btn:hover {
  background: #1ed760;
  transform: scale(1.1);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.volume-control i {
  color: var(--text-secondary);
}

.volume-slider {
  width: 150px;
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  border: none;
}

.playlist-queue {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 700px;
  overflow-y: auto;
}

.playlist-queue h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.02);
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.queue-item.active {
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid var(--primary-color);
}

.queue-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.queue-info {
  flex: 1;
}

.queue-info h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.queue-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.queue-duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Library Page */
.library-header {
  padding: 120px 0 40px;
  text-align: center;
}

.library-header h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-bar input {
  width: 100%;
  padding: 1rem 1rem 1rem 50px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.search-bar input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
}

.library-content {
  padding: 2rem 0 4rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  font-weight: 500;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.artist-cover img {
  border-radius: 50%;
}

/* About Page */
.about-hero {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
}

.about-content {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(29, 185, 84, 0.2);
}

.tech-stack {
  margin-bottom: 4rem;
}

.tech-stack h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.tech-card i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tech-card p {
  color: var(--text-secondary);
}

.features-list {
  margin-bottom: 4rem;
}

.features-list h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.features-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.3rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-secondary);
}

.developer-section {
  text-align: center;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.developer-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  margin: 0.5rem;
  border-radius: 50px;
  background: var(--bg-dark);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

/* Contact Page */
.contact-hero {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
}

.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.contact-content {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-method i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 0.3rem;
}

.contact-method h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-method p {
  color: var(--text-secondary);
}

.social-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-form-container {
  position: relative;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
}

.form-group textarea {
  resize: vertical;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--primary-color);
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--bg-darker);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .player-container {
    grid-template-columns: 1fr;
  }

  .album-art {
    width: 300px;
    height: 300px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .genres-grid,
  .albums-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .album-art {
    width: 250px;
    height: 250px;
  }

  .player-main {
    padding: 2rem 1.5rem;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: 2.5rem;
  }
}
