   :root {
  --neon-cyan: #00f7ff;
  --neon-pink:#e91e63;
  --neon-purple: #9d00ff;
  --neon-green: #39ff14;
  --neon-blue: #00bfff;
  --dark-bg: #0b0c2a;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

     body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000428, #004e92); /* dark blue to indigo */
    color: white;
    overflow-x: hidden;
}




       
        /* Header */
       

     
        /* Main Content */
        .main-content {
            flex: 1;
            margin-left: 60px;
            padding: 90px 30px 120px;
        }

        .hero-section {
            display: flex;
            align-items: center;
            margin-top: 40px;
            min-height: 400px;
        }

        .hero-image {
            width: 400px;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            margin-right: 50px;
            position: relative;
            margin-bottom: 50px;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%) contrast(1.2);
        }

        .hero-content {
            flex: 1;
        }

        .hero-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 30px;
    line-height: 1.2;
   
}

        .hero-description {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

     .hero-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  
}

.listen-btn {
    background: var(--neon-pink);
    color: #fff;
}

.queue-btn {
    background: var(--neon-blue);
    color: white;
}

        .hero-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

       
        /* Music Player */
        .music-player {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: rgba(30, 60, 114, 0.95);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            padding: 0 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 1000;
        }

        .current-song {
            display: flex;
            align-items: center;
            width: 300px;
        }

        .current-album {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            overflow: hidden;
            margin-right: 15px;
        }

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

        .song-info h4 {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .song-info p {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }

        .player-controls {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

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

        .control-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .control-btn:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--neon-cyan);
    
}

        .progress-container {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 100%;
            max-width: 500px;
        }

        .time {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }

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

        .progress-fill {
            height: 100%;
            background: #00bcd4;
            border-radius: 2px;
            width: 30%;
        }

        .player-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 300px;
            justify-content: flex-end;
        }

        .action-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .action-btn:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .queue-btn-player {
            background: #00bcd4;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            font-size: 12px;
        }

        /* Progress Bar Styling */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: #fff;
    font-size: 12px;
}

#progressBar {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #3a3a3a;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Filled portion */
#progressBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: cyan; /* Purple knob */
    border: 2px solid #fff;
    cursor: pointer;
    margin-top: -4px;
    transition: transform 0.2s ease, background 0.3s ease;
}

#progressBar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: cyan; /* Lighter purple */
}

#progressBar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: cyan;
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

#progressBar::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: cyan;
}
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--neon-pink);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

/* hidden state */
.music-player.hidden {
    transform: translateY(90%); /* jitna neeche le jana ho adjust kar lo */
}

/* Progress filled color (Firefox trick) */
#progressBar::-moz-range-progress {
    background-color: cyan;
    height: 6px;
    border-radius: 4px;
}

/* Track background (Firefox trick) */
#progressBar::-moz-range-track {
    background: #3a3a3a;
    height: 6px;
    border-radius: 4px;
}


        @media (max-width: 768px) {
            .hero-section {
                flex-direction: column;
                text-align: center;
            }

            .hero-image {
                margin-right: 0;
                margin-bottom: 30px;
                width: 300px;
                height: 300px;
            }

            .hero-title,
            .hero-subtitle {
                font-size: 32px;
            }

            .albums-scroll {
                gap: 15px;
            }

            .album-card {
                min-width: 150px;
            }

            .album-cover {
                width: 150px;
                height: 150px;
            }
        }

 

/* Weekly Top Section */
.weekly-top {
    margin-bottom: 60px;
}

.weekly-top h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #00d4ff;
}

.top-tracks-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

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

.track-number {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    width: 40px;
}

.track-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.track-info {
    flex: 1;
}

.track-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.track-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.track-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.track-menu {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 10px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    color: #00d4ff;
}

.view-more {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.view-more:hover {
    color: #ffffff;
}




/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        flex: none;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    
    .trending {
        display: none;
    }
    
    .main-container {
        flex-direction: column;
    }
    
   
    .main-content {
        padding: 20px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .music-player {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .player-left,
    .player-right {
        flex: none;
    }
    
    .player-center {
        margin: 0;
        max-width: none;
        width: 100%;
    }
}
 .toggle-btn {
  position: absolute;
  top: -25px;
  left: 95%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  color: white;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.music-player.collapsed {
  transform: translateY(80px); /* Adjust as needed */
}

.music-player {
  transition: transform 0.4s ease;
}

.sidebar {
  width: 60px;
  background: rgba(30, 60, 114, 0.8);
  padding: 90px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  z-index: 999;
  transition: width 0.3s ease;
  overflow-x: hidden;
}

.sidebar.collapsed {
  width: 0px; /* Keep 15px always visible */
  padding: 90px 0 20px;
}

.toggle-sidebar {
  position: fixed;
  top: 50%;
  left: 60px; /* default when sidebar is open */
  transform: translateY(-50%);
  background: var(--neon-pink);
  color: #fff;
  width: 25px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  transition: left 0.3s ease;
}




.sidebar.collapsed + .toggle-sidebar {
    left: 0;
}

.sidebar.collapsed ~ .main-content {
    margin-left: 0;
}

.albums-scroll {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    max-width: 100%;
    flex-wrap: nowrap;
    transition: all 0.3s ease;
}

/* Show all cards in multiple rows when View More clicked */
.albums-scroll.show-all {
    flex-wrap: wrap;
    overflow-x: hidden;
}

/* Hide extra cards initially */
.artists-grid,
.recently-grid {
    max-height: 300px;
    overflow: hidden;
    gap: 60px;
    transition: max-height 0.3s ease-in-out;
}

/* Show all cards when .show-all is added */
.artists-grid.show-all,
.recently-grid.show-all {
    max-height: 2000px; /* enough to show all content */
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 8px var(--neon-pink), 0 0 20px rgba(233, 30, 99, 0.6);
}

.add-to-cart-btn:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px rgba(0, 247, 255, 0.7);
    color: #000;
}
.play-now-btn {
    display: inline-block;
    
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--neon-blue);
    color: #fff;
    
    margin-left: 100px;
}

.play-now-btn:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 12px var(--neon-blue);
    color: #fff;
}



   /* musics */

        .musics-section {
            position: relative;
            padding: 60px 20px;
            margin-top: 0px;
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(0, 0, 0, 1) 50%, rgba(34, 211, 238, 0.1) 100%);
        }

        .musics-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #16213e;
            pointer-events: none;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
            background: #00bcd4;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            text-align: center;
            color: #9ca3af;
            margin-bottom: 50px;
            font-size: 1.1rem;
        }

        .musics-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 1 row me 3 cards */
  gap: 20px; /* cards ke beech gap */
  margin-top: 20px;
}

        .music-card {
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(34, 211, 238, 0.05) 100%);
            border: 1px solid rgba(236, 72, 153, 0.2);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            position: relative;
        }

        .music-card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: rgba(236, 72, 153, 0.4);
            box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
        }

        .music-image {
            position: relative;
            height: 200px;
            background: linear-gradient(45deg, #1f2937, #374151);
            overflow: hidden;
        }

        .music-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .music-card:hover .music-image img {
            transform: scale(1.1);
        }

        .music-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .music-card:hover .music-overlay {
            opacity: 1;
        }

        

        .music-info {
            padding: 20px;
        }

        .music-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #ec4899;
            margin-bottom: 8px;
        }

        .music-description {
            color: #9ca3af;
            font-size: 0.9rem;
            margin: 10px 0
            }

        .music-price {
            color: #22d3ee;
            font-weight: bold;
            font-size: 1.1rem;
            float: right;
        }
        

        .music-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            font-size: 0.85rem;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #fbbf24;
        }

        .music-meta {
            color: #6b7280;
            display: flex;
            gap: 15px;
        }


        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            
            .musics-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .musics-section {
                padding: 40px 15px;
            }
        }

        .download-btn {
  position: relative;
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: bold;
  color: #00bcd4;
  background: transparent;
  border: none;
  text-align: center;
  z-index: 1;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
}

.download-btn::before,
.download-btn::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border: 2px solid transparent;
  border-radius: 50%;
  z-index: -1;
}

.download-btn::before {
  border-top: 2px solid #00bcd4;
  border-right: 2px solid #00bcd4;
  animation: rotateBorder1 3s linear infinite;
}

.download-btn::after {
  border-bottom: 2px solid #00bcd4;
  border-left: 2px solid #00bcd4;
  animation: rotateBorder2 3s linear infinite reverse;
}

@keyframes rotateBorder1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateBorder2 {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

