 .upload-message {
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
            text-align: center;
        }
        
        .upload-message.success {
            background: rgba(76, 175, 80, 0.2);
            color: #4caf50;
            border: 1px solid #4caf50;
        }
        
        .upload-message.error {
            background: rgba(244, 67, 54, 0.2);
            color: #f44336;
            border: 1px solid #f44336;
        }
        
        /* Toastr custom styles */
        .toast-success {
            background: linear-gradient(90deg, #4caf50, #2e7d32) !important;
        }
        
        .toast-error {
            background: linear-gradient(90deg, #f44336, #c62828) !important;
        }
        
        /* Rest of your CSS styles remain exactly the same */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: #0d0d0d;
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* All your existing CSS styles... */
        /* (Include all the CSS from your original file here - it's too long to duplicate) */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        
   /* Replace this CSS */
body.hide-content-sections .library-section,
body.hide-content-sections .content-tabs,
body.hide-content-sections .section:has(.section-title:contains("Artist Spotlight")),
body.hide-content-sections .section:has(.section-title:contains("Discover By Genre")),
body.hide-content-sections .section:has(.section-title:contains("New Releases")),
body.hide-content-sections .section:has(.section-title:contains("Most Popular")),
body.hide-content-sections .video-section,
body.hide-content-sections .section:has(.section-title:contains("Trending Worldwide")) {
    display: none !important;
}

/* With this simpler CSS that will be controlled by JavaScript */
.hidden-section {
    display: none !important;
}


        body {
            background: #0d0d0d;
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Sidebar Styles */
        .sidebar {
            height: 100vh;
            width: 250px;
            position: fixed;
            top: 0;
            left: 0;
            background-color: #0d0d0d;
            overflow-y: auto;
            padding-top: 9px;
            z-index: 1000;
            box-shadow: 2px 0 15px rgba(175, 175, 175, 0.1);
            transition: transform 0.3s ease;
        }

        .sidebar .logo {
            padding: 10px 25px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            white-space: nowrap;
            overflow: hidden;
        }

        .sidebar .logo h1 {
            font-size: 18px;
            color: #ffffff;
            font-weight: 600;
            margin-left: 10px;
        }

        .sidebar .logo span {
            color: #afaeaeff;
        }

        .sidebar .logo i {
            font-size: 20px;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            padding-top: 9px;
            border-color: white;
            color: #000000ff;
            background-color: #ffffffff;
            min-width: 30px;
        }

        .nav-item {
            padding: 15px 25px;
            display: flex;
            align-items: center;
            color: #ffffffff;
            transition: all 0.3s ease;
            cursor: pointer;
            white-space: nowrap;
            overflow: hidden;
            border-left: 4px solid transparent;
        }

        .nav-item i {
            margin-right: 15px;
            font-size: 18px;
            width: 30px;
            text-align: center;
        }

        .nav-item:hover {
            background: rgba(255, 255, 255, 0.1);
            padding-left: 30px;
        }

        .nav-item.active {
            background: rgba(196, 196, 196, 0.2);
            border-left: 4px solid #ffffffff;
        }

        /* Content Area */
        .content {
            margin-left: 250px;
            padding: 90px 30px 30px;
            min-height: 100vh;
            transition: margin-left 0.3s ease;
        }

        /* Page Styles */
        .page {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Header Styles */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            border-bottom: 1px solid #333;
            background-color: #0d0d0d;
            position: fixed;
            top: 0;
            left: 250px;
            right: 0;
            z-index: 100;
            height: 70px;
            box-shadow: 2px 0 15px rgba(175, 175, 175, 0.1);
            transition: left 0.3s ease;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
        }

        /* Mobile Menu Button - Updated Position */
        .mobile-menu-btn {
            display: none;
            background: #0d0d0d;
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            justify-content: center;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            flex-shrink: 0;
        }

        .search-box {
            flex: 1;
            max-width: 400px;
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            padding: 8px 18px;
            transition: all 0.3s ease;
        }

        .search-box:focus-within {
            box-shadow: 0 0 10px rgba(250, 249, 252, 0.3);
            transform: scale(1.02);
        }

        .search-box i {
            margin-right: 10px;
            color: #a0a0c0;
        }

        .search-box input {
            border: none;
            color: #fff;
            outline: none;
            width: 100%;
            background: transparent;
        }

        /* Auth Buttons */
        .auth-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .login-btn {
            background: #eeedfaff;
            color: black;
            padding: 8px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: small;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .signup-btn {
            background: transparent;
            border: 2px solid #ffffffff;
            color: #ffffffff;
            padding: 8px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            font-size: small;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .login-btn:hover, .signup-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(112, 112, 112, 0.4);
        }

        /* Advert Section */
        .advert-section {
            background: #222;
            border-radius: 12px;
            padding: 20px;
            margin: 20px 0 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .advert-content {
            flex: 1;
            padding-right: 20px;
            z-index: 2;
        }

        .advert-tag {
            display: inline-block;
            background: rgba(54, 18, 122, 0.2);
            color: #e3e3e6ff;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 10px;
            border: 1px solid rgba(0, 0, 0, 0.3);
        }

        .advert-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .advert-description {
            color: #b8b8d0;
            margin-bottom: 15px;
            line-height: 1.5;
        }

        .advert-button {
            display: inline-block;
            background: linear-gradient(90deg, #acacacff, #111111ff);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .advert-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .advert-image {
            flex-shrink: 0;
            width: 150px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            z-index: 2;
        }

        .advert-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .advert-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            transition: all 0.3s ease;
        }

        .advert-close:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        /* Library Section */
        .library-section {
            margin-top: 20px;
        }

        .library-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .library-header h2 {
            font-size: 42px;
            font-weight: 700;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .song-list {
            list-style: none;
            margin-top: 30px;
        }

        .song-item {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-radius: 8px;
            margin-bottom: 10px;
            background: rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .song-item:hover {
            background: rgba(211, 211, 211, 0.34);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .song-item.playing {
            background: rgba(211, 211, 211, 0.34);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .song-image {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .song-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .song-number {
            width: 40px;
            font-weight: 600;
            color: #ddd;
        }

        .song-info {
            flex: 1;
        }

        .song-title {
            font-weight: 600;
            font-size: 16px;
        }

        .song-artist {
            font-size: 14px;
            color: #a0a0c0;
        }

        .song-duration {
            width: 60px;
            text-align: center;
            color: #ddd;
        }

        .song-play {
            width: 40px;
            text-align: center;
            cursor: pointer;
            color: #c9c9c9ff;
            font-size: 18px;
            transition: all 0.3s ease;
        }

        .song-play:hover {
            color: #fafafaff;
            transform: scale(1.2);
        }

        .song-download {
            width: 40px;
            text-align: center;
            cursor: pointer;
            color: #c9c6c6ff;
            font-size: 18px;
            margin-left: 10px;
            transition: all 0.3s ease;
        }

        .song-download:hover {
            color: #ffffffff;
            transform: scale(1.2);
        }


/* Combined Dashboard-Discover Styles */
.quick-stats {
    animation: fadeIn 0.5s ease;
}

.stat-card {
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1) !important;
}

.content-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #a0a0c0;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.tab-btn.active {
    background: linear-gradient(90deg, #4a3aff, #00ccff);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.content-view {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-view.active {
    display: block;
}

.artist-card {
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.genre-tag:hover {
    background: linear-gradient(90deg, #4a3aff, #00ccff) !important;
    transform: translateY(-2px);
}



        /* Login/Signup Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: #1a1a1a;
            border-radius: 12px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 10px 30px rgba(207, 204, 204, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 600;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .close-modal {
            background: none;
            border: none;
            color: #e6e6f8ff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-modal:hover {
            color: #fff;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #fdfdfdff;
        }

        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid rgba(199, 190, 190, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: #838282ff;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 0 10px rgba(240, 238, 238, 0.1);
        }

        .submit-btn {
            width: 100%;
            padding: 12px;
            background: #eeedfaff;
            color: black;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(112, 112, 112, 0.4);
        }

        .form-footer {
            text-align: center;
            margin-top: 20px;
            color: #a0a0c0;
        }

        .form-footer a {
            color: #eeedfaff;
            text-decoration: none;
        }

        .form-footer a:hover {
            text-decoration: underline;
        }

        /* Grid Sections */
        .section {
            margin-top: 60px;
        }

        .section-header {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px 20px;
            border-radius: 10px 10px 0 0;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .card {
            background: #0d0d0d;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
        }

        .thumbnail {
            position: relative;
            width: 100%;
            height: 140px;
            overflow: hidden;
        }

        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .card:hover .thumbnail img {
            transform: scale(1.08);
        }

        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            padding-bottom: 20px;
            transition: opacity 0.3s ease;
        }

        .card:hover .play-overlay {
            opacity: 1;
        }

        .play-icon {
            width: 30px;
            height: 30px;
            background: #c2c2c2ff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .play-icon:hover {
            transform: scale(1.1);
            background: #363636ff;
        }

        .duration {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
        }

        .card-info {
            padding: 5px;
            background-color: #000000ff;
        }

        .card-title {
            font-size: 16px;
            color: #ffffff;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-artist {
            color: #a0a0c0;
            font-size: 14px;
            margin-bottom: 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            color: #a0a0c0;
            font-size: 12px;
        }



        /* Music-responsive background */
body.music-playing::before {
    animation-duration: 10s;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 58, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

/* Dynamic header glow on scroll */
.header {
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* Animated card borders on hover */
.card:hover {
    position: relative;
}

.card:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4a3aff, #00ccff, #4a3aff);
    border-radius: 14px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

        /* Video Section */
        .video-section {
            margin-top: 60px;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
            padding-bottom: 20px;
        }

        .video-card {
            background: #0d0d0d;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            height: 180px;
            overflow: hidden;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .video-card:hover .video-thumbnail img {
            transform: scale(1.08);
        }

        .video-play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-card:hover .video-play-overlay {
            opacity: 1;
        }

        .video-play-icon {
            width: 40px;
            height: 40px;
            background: #000000ff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .video-play-icon:hover {
            transform: scale(1.1);
            background: #000000ff;
        }

        .video-info {
             padding: 5px;
            background-color: #0d0d0d;
        }

        .video-title {
            font-size: 18px;
            color: #ffffff;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .video-artist {
            color: #a0a0c0;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            color: #a0a0c0;
            font-size: 12px;
        }

        /* Player Section */
        .player-section {
            position: fixed;
            bottom: 0;
            left: 250px;
            right: 0;
            background: rgba(20, 20, 40, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 30px;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
            z-index: 1000;
            transition: all 0.5s ease;
            transform: translateY(100%);
            opacity: 0;
        }

        .player-section.visible {
            transform: translateY(0);
            opacity: 1;
        }

        /* Update player container for positioning */
.player-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px; /* Add padding for close button */
}


/* Player Close Button Styles */
.player-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.player-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

        .now-playing {
            font-size: 1.1rem;
            text-align: center;
            width: 100%;
        }

        .now-playing span {
            color: #e9e9e9ff;
            font-weight: bold;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
        }

        .progress {
            height: 100%;
            width: 30%;
            background: linear-gradient(90deg, #4a3aff, #00ccff);
            border-radius: 10px;
            transition: width 0.3s ease;
        }

        .player-controls {
            display: flex;
            justify-content: center;
            gap: 25px;
        }

        .control-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
            transition: all 0.3s ease;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .play-btn {
            background: #0d0d0d;
            color: white;
            font-size: small;
        }

        .play-btn:hover {
            background: #ababacff;
            transform: scale(1.1);
        }

        .time-display {
            display: flex;
            justify-content: space-between;
            width: 100%;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Footer */
        footer {
            background: #000000;
            margin-top: 60px;
            text-align: center;
            color: #ffffff;
            padding: 20px 20px;
            padding-left: 300px;
            transition: padding-left 0.3s ease;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            font-size: 2rem;
            font-weight: 700;
            color: #ddddddff;
            margin-bottom: 20px;
        }

        .footer-links {
            display: flex;
            gap: 30px;
            margin-bottom: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .footer-links a {
            color: #b8b8d0;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #8b8b8bff;
        }

        .social-icons {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .social-icons a {
            color: #b8b8d0;
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: #8b8b8bff;
        }

        .copyright {
            font-size: 0.9rem;
            color: #a0a0c0;
        }

        /* Page-specific styles */
        .page-header {
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        }

        .page-header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .page-header p {
            font-size: 1.1rem;
            opacity: 0.9;
            color: #a0a0c0;
        }

        .page-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .page-card h3 {
            color: #ffffffff;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }

        .page-card p {
            line-height: 1.6;
            color: #a0a0c0;
        }

        /* Profile Dropdown Styles */
        .profile-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .profile-btn {
            background: none;
            border: none;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 8px 15px;
            border-radius: 20px;
            transition: background 0.3s;
        }
        
        .profile-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .profile-pic {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(45deg, #4a3aff, #00ccff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        .profile-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: #1a1a1a;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            width: 200px;
            padding: 10px 0;
            z-index: 1000;
            display: none;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .profile-menu.active {
            display: block;
        }
        
        .profile-menu-item {
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: white;
            text-decoration: none;
            transition: background 0.3s;
            cursor: pointer;
        }
        
        .profile-menu-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .profile-menu-item i {
            width: 20px;
            text-align: center;
        }
        
        .profile-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
            margin: 5px 0;
        }
        
        /* Profile Page Styles */
        .profile-header {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 30px;
            padding: 30px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
        }
        
        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(45deg, #4a3aff, #00ccff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
            font-weight: bold;
        }
        
        .profile-info {
            flex: 1;
        }
        
        .profile-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .profile-stats {
            display: flex;
            gap: 20px;
            margin-top: 15px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffffff;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: #a0a0c0;
        }
        
        .profile-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 30px;
        }
        
        .profile-section {
            margin-bottom: 30px;
        }
        
        .profile-section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffffff;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .profile-sidebar {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            height: fit-content;
        }
        
        .sidebar-section {
            margin-bottom: 25px;
        }
        
        .sidebar-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #ffffffff;
        }
        
        .sidebar-list {
            list-style: none;
        }
        
        .sidebar-list-item {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .sidebar-list-item:last-child {
            border-bottom: none;
        }
        
        .sidebar-list-item i {
            width: 20px;
            text-align: center;
            color: #a0a0c0;
        }
        
        /* Edit Profile Modal */
        .edit-profile-form {
            display: grid;
            gap: 15px;
        }
        
        .avatar-upload {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .avatar-preview {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(45deg, #4a3aff, #00ccff);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .upload-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px dashed rgba(255, 255, 255, 0.3);
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .upload-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }


        /* Simple dynamic black background */
body {
    background: 
        radial-gradient(ellipse at top, #38305aff 0%, #40008aff 70%),
        radial-gradient(ellipse at bottom, rgba(74, 58, 255, 0.1) 0%, transparent 70%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Animated gradient */
@keyframes breathe {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

body {
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0f0f0f, #151515);
    background-size: 400% 400%;
    animation: breathe 20s ease infinite;
}
        
        /* Upload Section */
        .upload-section {
            margin-top: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
        }
        
        .upload-options {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            border-radius: 20px;
        }
        
        .upload-option-btn {
            flex: 1;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .upload-option-btn.active {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .upload-option-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        .upload-form {
            display: none;
            padding: 40px;
            border-radius: 20px;
        }
        
        .upload-form.active {
            display: block;
            border-radius: 20px;
        }
        
        .file-upload {
            border: 2px dashed rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .file-upload:hover {
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .file-upload i {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #f5f5fcff;
        }
        
        .file-upload p {
            color: #f5f5fcff;
            margin-bottom: 10px;
        }
        
        .file-upload input {
            display: none;
        }
        
        .preview-container {
            margin-top: 20px;
            text-align: center;
        }
        
        .preview-image {
            max-width: 200px;
            max-height: 200px;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .preview-audio {
            width: 100%;
            margin-bottom: 10px;
        }
        
        /* === ADD THESE NEW STYLES FOR POPULAR CONTENT === */
        .popular-section {
            margin-top: 40px;
        }

        .filter-info {
            margin-left: auto;
            font-size: 0.9rem;
            color: #a0a0c0;
            background: rgba(255, 255, 255, 0.1);
            padding: 4px 12px;
            border-radius: 15px;
        }

        .popular-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: linear-gradient(45deg, #ff6b6b, #ff8e53);
            color: white;
            font-size: 0.8rem;
            font-weight: bold;
            padding: 4px 8px;
            border-radius: 4px;
            z-index: 2;
        }

        .user-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            font-size: 0.9rem;
            color: #a0a0c0;
        }

        .user-avatar-small {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
        }

        .loading-spinner {
            color: #a0a0c0;
        }

        .loading-spinner i {
            margin-bottom: 10px;
        }

        .stats-display {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            font-size: 0.8rem;
        }

        .play-count, .view-count {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #4a3aff;
        }

        .play-count i, .view-count i {
            font-size: 0.9rem;
        }
        
        /* === UPLOAD PAGE STYLES === */
        .upload-page-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 40px 20px;
            background: linear-gradient(135deg, rgba(74, 58, 255, 0.1), rgba(0, 204, 255, 0.1));
            border-radius: 15px;
        }
        
        .upload-page-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #fff, #a0a0c0);
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .upload-page-subtitle {
            font-size: 18px;
            color: #fafafaff;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .upload-container {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .upload-sidebar {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 25px;
            height: fit-content;
        }
        
        .upload-requirements {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 20px;
            margin-top: 30px;
        }
        
        .upload-requirements h4 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #fff;
        }
        
        .upload-requirements ul {
            list-style: none;
            padding-left: 0;
        }
        
        .upload-requirements li {
            padding: 8px 0;
            color: #cdcdebff;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .upload-requirements li i {
            color: #cdcdebff;
        }
        
        /* Enhanced file upload styles */
        .file-upload {
            position: relative;
            border: 2px dashed rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            padding: 40px 20px;
            text-align: center;
            margin-bottom: 25px;
            cursor: pointer;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.02);
        }
        
        .file-upload:hover {
            border-color: #42405eff;
            background: rgba(74, 58, 255, 0.05);
            transform: translateY(-2px);
        }
        
        .file-upload i {
            font-size: 48px;
            margin-bottom: 15px;
            color: #42405eff;
        }
        
        .file-upload p {
            font-size: 18px;
            margin-bottom: 10px;
            color: #fff;
        }
        
        .file-upload span {
            color: #a0a0c0;
            font-size: 14px;
        }
        
        .file-upload input {
            display: none;
        }
        
        /* Upload progress bar */
        .upload-progress {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            margin-top: 15px;
            overflow: hidden;
            display: none;
        }
        
        .upload-progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #4a3aff, #00ccff);
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        
        .upload-progress-text {
            text-align: center;
            margin-top: 5px;
            font-size: 12px;
            color: #a0a0c0;
            display: none;
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .sidebar {
                width: 280px;
                transform: translateX(-100%);
            }

            .sidebar.mobile-open {
                transform: translateX(0);
            }

            .content, .header, .player-section, footer {
                margin-left: 0;
                left: 0;
            }

            .header {
                padding: 15px 20px;
                flex-wrap: wrap;
                gap: 15px;
                height: auto;
                min-height: 70px;
            }

            .header-left {
                width: 100%;
                order: 1;
            }

            .mobile-menu-btn {
                display: flex;
                position: static;
                margin-right: 10px;
            }

            .search-box {
                flex: 1;
                margin-left: 0;
                width: auto;
            }

            .auth-buttons {
                order: 2;
                width: 100%;
                justify-content: center;
                gap: 10px;
            }

            .login-btn, .signup-btn {
                padding: 6px 15px;
                font-size: 0.8rem;
            }

            .advert-section {
                flex-direction: column;
                text-align: center;
                padding: 20px 15px;
            }

            .advert-content {
                padding-right: 0;
                margin-bottom: 20px;
            }

            .advert-image {
                width: 100%;
                max-width: 250px;
                height: 150px;
            }

            .library-header {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

            .library-header h2 {
                font-size: 32px;
            }

            .grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 15px;
            }

            .video-grid {
                grid-template-columns: 1fr;
            }

            .song-item {
                flex-wrap: wrap;
                gap: 10px;
            }

            .song-info {
                flex: 1;
                min-width: 0;
            }

            .player-controls {
                gap: 15px;
            }

            .control-btn {
                width: 44px;
                height: 44px;
                font-size: 1.2rem;
            }

            .play-btn {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }

            .footer-links {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .player-section {
                left: 0;
                padding: 15px 20px;
            }

            .content {
                padding: 120px 15px 30px;
            }

            footer {
                padding-left: 20px;
            }
            
            .profile-header {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            
            .profile-content {
                grid-template-columns: 1fr;
            }
            
            .profile-stats {
                justify-content: center;
            }
            
            .upload-options {
                flex-direction: column;
            }
            
            /* Upload page responsive */
            .upload-container {
                grid-template-columns: 1fr;
            }
            
            .upload-sidebar {
                order: 2;
            }
            
            .upload-content {
                order: 1;
            }
            
            .upload-options {
                flex-direction: row;
                overflow-x: auto;
                padding-bottom: 10px;
            }
            
            .upload-option-btn {
                white-space: nowrap;
            }
            
            .upload-page-title {
                font-size: 32px;
            }
        }

/* Add this to your CSS styles section */
#upload {
    background: #0d0d0d !important; /* Solid dark background */
}

#upload .upload-page-header {
    background: rgba(74, 58, 255, 0.1) !important; /* Subtle gradient */
    border-radius: 15px;
    margin-bottom: 30px;
}

#upload .upload-sidebar,
#upload .upload-requirements,
#upload .upload-content .form-group input,
#upload .upload-content .form-group textarea,
#upload .upload-content .form-group select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



/* Add this to your existing CSS */
#upload {
    background: #0d0d0d !important;
}

#upload .upload-page-header {
    background: rgba(13, 13, 13, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#upload .file-upload {
    background: rgba(13, 13, 13, 0.7) !important;
}

#upload .upload-option-btn {
    background: rgba(13, 13, 13, 0.8) !important;
}

#upload .upload-option-btn.active {
    background: rgba(74, 58, 255, 0.2) !important;
    border: 1px solid rgba(74, 58, 255, 0.3);
}





        @media (max-width: 480px) {
            .content {
                padding: 140px 10px 20px;
            }

            .header {
                padding: 12px 15px;
            }

            .header-left {
                gap: 10px;
            }

            .mobile-menu-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .search-box {
                padding: 6px 12px;
            }

            .auth-buttons {
                flex-direction: column;
                gap: 8px;
            }

            .login-btn, .signup-btn {
                width: 100%;
                text-align: center;
                padding: 5px 12px;
                font-size: 0.7rem;
            }

            .advert-title {
                font-size: 1.3rem;
            }

            .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .card {
                max-width: 100%;
            }

            .library-header h2 {
                font-size: 28px;
            }

            .song-item {
                padding: 10px 12px;
            }

            .song-image {
                width: 40px;
                height: 40px;
            }

            .song-number, .song-duration {
                font-size: 0.8rem;
            }

            .modal-content {
                margin: 10px;
                padding: 20px;
            }

            .player-section {
                padding: 12px 15px;
            }
        }

        /* Touch device improvements */
        @media (hover: none) and (pointer: coarse) {
            .nav-item:hover {
                background: transparent;
                padding-left: 25px;
            }

            .card:hover {
                transform: none;
            }

            .song-item:hover {
                transform: none;
                background: rgba(255, 255, 255, 0.05);
            }

            .btn:hover, .login-btn:hover, .signup-btn:hover {
                transform: none;
            }
        }

        /* Better text scaling */
        .library-header h2 {
            font-size: clamp(24px, 8vw, 42px);
        }

        .section-title {
            font-size: clamp(18px, 5vw, 24px);
        }

        /* Better sidebar animation */
        .sidebar {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Touch-friendly nav items */
        .nav-item {
            padding: 18px 25px;
            min-height: 60px;
        }

        /* Touch-friendly song items */
        .song-item {
            padding: 12px 15px;
            min-height: 70px;
            gap: 10px;
        }

        .song-play, .song-download {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Orientation-specific adjustments */
        @media (max-width: 768px) and (orientation: landscape) {
            .sidebar {
                height: 100vh;
                overflow-y: auto;
            }

            .content {
                padding-top: 100px;
            }

            .library-header {
                flex-direction: row;
                align-items: center;
            }
        }

        /* PHP Notification Styles */
        .php-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 8px;
            z-index: 9999;
            max-width: 400px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease, fadeOut 0.3s ease 4.7s;
        }
        
        .php-notification.success {
            background: #4caf50;
            border-left: 4px solid #2e7d32;
        }
        
        .php-notification.error {
            background: #f44336;
            border-left: 4px solid #c62828;
        }
        
        .php-notification.info {
            background: #2196f3;
            border-left: 4px solid #0d47a1;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }


/* Upload Page Background Simplification */
#upload {
    background: #0d0d0d !important;
}

#upload .upload-page-header {
    background: rgba(20, 20, 30, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#upload .upload-container {
    background: transparent !important;
}

#upload .upload-sidebar,
#upload .upload-content {
    background: rgba(15, 15, 15, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}





/* Add this at the end of your CSS section */
#upload {
    background: #0d0d0d !important;
    background-image: none !important;
}

#upload .upload-page-header {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.95)) !important;
    backdrop-filter: blur(10px);
}

#upload .upload-container > * {
    background: rgba(20, 20, 20, 0.7) !important;
}





    /* ... (keep all your existing CSS styles with 25% reduction) ... */
    /* Reduced font sizes and grid/content sizes by 25% */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 12px; /* Reduced by 25% from ~16px */
    }

    body {
        background: #0d0d0d;
        color: #fff;
        min-height: 100vh;
        overflow-x: hidden;
    }

    /* Sidebar - 25% reduction */
    .sidebar {
        height: 100vh;
        width: 187.5px; /* Reduced by 25% from 250px */
        position: fixed;
        top: 0;
        left: 0;
        background-color: #0d0d0d;
        overflow-y: auto;
        padding-top: 6.75px; /* Reduced by 25% */
        z-index: 1000;
        box-shadow: 2px 0 15px rgba(175, 175, 175, 0.1);
        transition: transform 0.3s ease;
    }

    .sidebar .logo {
        padding: 7.5px 18.75px; /* Reduced by 25% */
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 7.5px; /* Reduced by 25% */
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
    }

    .sidebar .logo h1 {
        font-size: 13.5px; /* Reduced by 25% from 18px */
        color: #ffffff;
        font-weight: 600;
        margin-left: 7.5px; /* Reduced by 25% */
    }

    .sidebar .logo i {
        font-size: 15px; /* Reduced by 25% from 20px */
        width: 30px; /* Reduced by 25% */
        height: 30px; /* Reduced by 25% */
        padding-top: 6.75px; /* Reduced by 25% */
    }

    .nav-item {
        padding: 11.25px 18.75px; /* Reduced by 25% */
        display: flex;
        align-items: center;
        color: #ffffffff;
        transition: all 0.3s ease;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        border-left: 3px solid transparent; /* Reduced by 25% */
        font-size: 12.75px; /* Adjusted */
    }

    .nav-item i {
        margin-right: 11.25px; /* Reduced by 25% */
        font-size: 13.5px; /* Reduced by 25% from 18px */
        width: 22.5px; /* Reduced by 25% */
        text-align: center;
    }

    /* Content Area */
    .content {
        margin-left: 187.5px; /* Reduced by 25% from 250px */
        padding: 67.5px 22.5px 22.5px; /* Reduced by 25% */
        min-height: 100vh;
        transition: margin-left 0.3s ease;
    }

    /* Header */
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 11.25px 22.5px; /* Reduced by 25% */
        border-bottom: 1px solid #333;
        background-color: #0d0d0d;
        position: fixed;
        top: 0;
        left: 187.5px; /* Reduced by 25% */
        right: 0;
        z-index: 100;
        height: 52.5px; /* Reduced by 25% */
        box-shadow: 2px 0 15px rgba(175, 175, 175, 0.1);
        transition: left 0.3s ease;
    }

    /* Search box */
    .search-box {
        flex: 1;
        max-width: 300px; /* Reduced by 25% from 400px */
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 18.75px; /* Reduced by 25% */
        padding: 6px 13.5px; /* Reduced by 25% */
        transition: all 0.3s ease;
    }

    /* Auth Buttons */
    .login-btn, .signup-btn {
        padding: 6px 18.75px; /* Reduced by 25% */
        border-radius: 22.5px; /* Reduced by 25% */
        font-size: 10.5px; /* Reduced by 25% */
    }

    /* Advert Section */
    .advert-section {
        background: #222;
        border-radius: 9px; /* Reduced by 25% */
        padding: 15px; /* Reduced by 25% */
        margin: 15px 0 22.5px; /* Reduced by 25% */
        box-shadow: 0 3.75px 11.25px rgba(0, 0, 0, 0.3); /* Reduced by 25% */
    }

    .advert-tag {
        padding: 3.75px 9px; /* Reduced by 25% */
        font-size: 9.6px; /* Reduced by 25% */
    }

    .advert-title {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
        margin-bottom: 7.5px; /* Reduced by 25% */
    }

    .advert-button {
        padding: 6px 15px; /* Reduced by 25% */
        border-radius: 22.5px; /* Reduced by 25% */
    }

    .advert-image {
        width: 112.5px; /* Reduced by 25% */
        height: 75px; /* Reduced by 25% */
    }

    /* Library Section */
    .library-header h2 {
        font-size: 31.5px; /* Reduced by 25% from 42px */
    }

    .song-item {
        padding: 11.25px 15px; /* Reduced by 25% */
        margin-bottom: 7.5px; /* Reduced by 25% */
    }

    .song-image {
        width: 37.5px; /* Reduced by 25% */
        height: 37.5px; /* Reduced by 25% */
        margin-right: 11.25px; /* Reduced by 25% */
    }

    .song-number {
        width: 30px; /* Reduced by 25% */
        font-size: 10.5px; /* Reduced by 25% */
    }

    .song-title {
        font-size: 12px; /* Reduced by 25% from 16px */
    }

    .song-artist {
        font-size: 10.5px; /* Reduced by 25% from 14px */
    }

    .song-duration {
        width: 45px; /* Reduced by 25% */
        font-size: 10.5px; /* Reduced by 25% */
    }

    .song-play, .song-download {
        font-size: 13.5px; /* Reduced by 25% from 18px */
    }

    /* Grid Sections */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); /* Reduced by 25% from 180px */
        gap: 15px; /* Reduced by 25% */
        margin-top: 15px; /* Reduced by 25% */
    }

    .thumbnail {
        height: 105px; /* Reduced by 25% from 140px */
    }

    .play-icon {
        width: 22.5px; /* Reduced by 25% */
        height: 22.5px; /* Reduced by 25% */
        font-size: 10.5px; /* Reduced by 25% */
    }

    .card-title {
        font-size: 12px; /* Reduced by 25% from 16px */
        margin-bottom: 3.75px; /* Reduced by 25% */
    }

    .card-artist {
        font-size: 10.5px; /* Reduced by 25% from 14px */
        margin-bottom: 7.5px; /* Reduced by 25% */
    }

    .card-meta {
        font-size: 9px; /* Reduced by 25% from 12px */
    }

    /* Video Section */
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); /* Reduced by 25% from 300px */
        gap: 15px; /* Reduced by 25% */
    }

    .video-thumbnail {
        height: 135px; /* Reduced by 25% from 180px */
    }

    .video-play-icon {
        width: 30px; /* Reduced by 25% */
        height: 30px; /* Reduced by 25% */
        font-size: 11.25px; /* Reduced by 25% */
    }

    .video-title {
        font-size: 13.5px; /* Reduced by 25% from 18px */
        margin-bottom: 3.75px; /* Reduced by 25% */
    }

    .video-artist {
        font-size: 10.5px; /* Reduced by 25% from 14px */
        margin-bottom: 7.5px; /* Reduced by 25% */
    }

    .video-meta {
        font-size: 9px; /* Reduced by 25% from 12px */
    }

    /* Player Section */
    .player-section {
        left: 187.5px; /* Reduced by 25% */
        padding: 11.25px 22.5px; /* Reduced by 25% */
    }

    .now-playing {
        font-size: 0.825rem; /* Reduced by 25% from 1.1rem */
    }

    .control-btn {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
        width: 37.5px; /* Reduced by 25% */
        height: 37.5px; /* Reduced by 25% */
    }

    .play-btn {
        font-size: 10.5px; /* Reduced by 25% */
    }

    /* Player Close Button */
    .player-close-btn {
        width: 22.5px; /* Reduced by 25% */
        height: 22.5px; /* Reduced by 25% */
    }

    /* Footer */
    footer {
        margin-top: 45px; /* Reduced by 25% */
        padding: 15px 15px; /* Reduced by 25% */
        padding-left: 225px; /* Reduced by 25% from 300px */
    }

    .footer-logo {
        font-size: 1.5rem; /* Reduced by 25% from 2rem */
        margin-bottom: 15px; /* Reduced by 25% */
    }

    .footer-links {
        gap: 22.5px; /* Reduced by 25% */
        margin-bottom: 15px; /* Reduced by 25% */
    }

    .copyright {
        font-size: 10.8px; /* Reduced by 25% from 0.9rem */
    }

    /* Modal Content */
    .modal-content {
        padding: 22.5px; /* Reduced by 25% */
        max-width: 300px; /* Reduced by 25% from 400px */
    }

    .modal-title {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
    }

    .form-group input, .form-group textarea, .form-group select {
        padding: 9px 11.25px; /* Reduced by 25% */
        font-size: 0.9rem; /* Slightly reduced */
        border-radius: 6px; /* Reduced by 25% */
    }

    .submit-btn {
        padding: 9px; /* Reduced by 25% */
        font-size: 0.9rem; /* Slightly reduced */
        border-radius: 6px; /* Reduced by 25% */
    }

    /* Page Headers */
    .page-header h1 {
        font-size: 1.65rem; /* Reduced by 25% from 2.2rem */
    }

    .page-header p {
        font-size: 0.825rem; /* Reduced by 25% from 1.1rem */
    }

    /* Profile Section */
    .profile-avatar {
        width: 90px; /* Reduced by 25% from 120px */
        height: 90px; /* Reduced by 25% */
        font-size: 1.875rem; /* Reduced by 25% from 2.5rem */
    }

    .profile-name {
        font-size: 1.5rem; /* Reduced by 25% from 2rem */
    }

    .profile-section-title {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
    }

    .stat-value {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
    }

    /* Upload Page */
    .upload-page-title {
        font-size: 31.5px; /* Reduced by 25% from 42px */
    }

    .upload-page-subtitle {
        font-size: 13.5px; /* Reduced by 25% from 18px */
    }

    .upload-container {
        grid-template-columns: 225px 1fr; /* Reduced by 25% from 300px */
        gap: 22.5px; /* Reduced by 25% */
    }

    .file-upload i {
        font-size: 36px; /* Reduced by 25% from 48px */
    }

    .file-upload p {
        font-size: 13.5px; /* Reduced by 25% from 18px */
    }

    /* Popular Section */
    .filter-info {
        font-size: 10.8px; /* Reduced by 25% from 0.9rem */
        padding: 3px 9px; /* Reduced by 25% */
    }

    .popular-badge {
        font-size: 9.6px; /* Reduced by 25% from 0.8rem */
        padding: 3px 6px; /* Reduced by 25% */
    }

    .user-avatar-small {
        width: 18px; /* Reduced by 25% from 24px */
        height: 18px; /* Reduced by 25% */
    }

    .stats-display {
        font-size: 9.6px; /* Reduced by 25% from 0.8rem */
    }

    .play-count i, .view-count i {
        font-size: 10.8px; /* Reduced by 25% from 0.9rem */
    }

    /* Tab buttons */
    .tab-btn {
        padding: 7.5px 15px; /* Reduced by 25% */
        font-size: 10.5px; /* Reduced by 25% from 14px */
    }

    /* Responsive adjustments - 25% reduction */
    @media (max-width: 768px) {
        .sidebar {
            width: 210px; /* Reduced by 25% from 280px */
        }
        
        .content {
            padding: 90px 11.25px 22.5px; /* Reduced by 25% */
        }
        
        .header {
            padding: 11.25px 15px; /* Reduced by 25% */
            min-height: 52.5px; /* Reduced by 25% */
        }
        
        .mobile-menu-btn {
            width: 33px; /* Reduced by 25% from 44px */
            height: 33px; /* Reduced by 25% */
            font-size: 13.5px; /* Reduced by 25% from 18px */
        }
        
        .library-header h2 {
            font-size: 24px; /* Reduced by 25% from 32px */
        }
        
        .grid {
            grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); /* Reduced by 25% */
            gap: 11.25px; /* Reduced by 25% */
        }
        
        .video-grid {
            grid-template-columns: 1fr;
        }
        
        .song-item {
            gap: 7.5px; /* Reduced by 25% */
        }
        
        .player-controls {
            gap: 11.25px; /* Reduced by 25% */
        }
        
        .control-btn {
            width: 33px; /* Reduced by 25% from 44px */
            height: 33px; /* Reduced by 25% */
            font-size: 0.9rem; /* Reduced by 25% from 1.2rem */
        }
        
        .play-btn {
            width: 37.5px; /* Reduced by 25% from 50px */
            height: 37.5px; /* Reduced by 25% */
            font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
        }
        
        .advert-image {
            max-width: 187.5px; /* Reduced by 25% from 250px */
            height: 112.5px; /* Reduced by 25% from 150px */
        }
        
        .upload-page-title {
            font-size: 24px; /* Reduced by 25% from 32px */
        }
        
        .profile-header {
            padding: 15px; /* Reduced by 25% from 20px */
        }
        
        .profile-avatar {
            width: 90px; /* Reduced by 25% from 120px */
            height: 90px; /* Reduced by 25% */
        }
    }

    @media (max-width: 480px) {
        .content {
            padding: 105px 7.5px 15px; /* Reduced by 25% */
        }
        
        .header {
            padding: 9px 11.25px; /* Reduced by 25% */
        }
        
        .mobile-menu-btn {
            width: 30px; /* Reduced by 25% from 40px */
            height: 30px; /* Reduced by 25% */
            font-size: 12px; /* Reduced by 25% from 16px */
        }
        
        .search-box {
            padding: 4.5px 9px; /* Reduced by 25% */
        }
        
        .library-header h2 {
            font-size: 21px; /* Reduced by 25% from 28px */
        }
        
        .grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 7.5px; /* Reduced by 25% */
        }
        
        .song-item {
            padding: 7.5px 9px; /* Reduced by 25% */
        }
        
        .song-image {
            width: 30px; /* Reduced by 25% from 40px */
            height: 30px; /* Reduced by 25% */
        }
        
        .song-number, .song-duration {
            font-size: 9.6px; /* Reduced by 25% from 0.8rem */
        }
        
        .modal-content {
            margin: 7.5px; /* Reduced by 25% */
            padding: 15px; /* Reduced by 25% */
        }
        
        .player-section {
            padding: 9px 11.25px; /* Reduced by 25% */
        }
    }

    /* Better text scaling - 25% reduction */
    .library-header h2 {
        font-size: clamp(18px, 8vw, 31.5px); /* Reduced by 25% */
    }

    .section-title {
        font-size: clamp(13.5px, 5vw, 18px); /* Reduced by 25% from 24px */
    }

    /* Touch-friendly adjustments - 25% reduction */
    .nav-item {
        padding: 13.5px 18.75px; /* Reduced by 25% */
        min-height: 45px; /* Reduced by 25% from 60px */
    }

    .song-item {
        min-height: 52.5px; /* Reduced by 25% from 70px */
        gap: 7.5px; /* Reduced by 25% */
    }

    .song-play, .song-download {
        width: 33px; /* Reduced by 25% from 44px */
        height: 33px; /* Reduced by 25% */
    }

    /* Update player container - 25% reduction */
    .player-container {
        gap: 9px; /* Reduced by 25% from 12px */
        padding-top: 7.5px; /* Reduced by 25% from 10px */
    }

    .time-display {
        font-size: 10.8px; /* Reduced by 25% from 0.9rem */
    }

    /* Page Cards - 25% reduction */
    .page-card {
        border-radius: 7.5px; /* Reduced by 25% from 10px */
        padding: 18.75px; /* Reduced by 25% from 25px */
        margin-bottom: 18.75px; /* Reduced by 25% from 25px */
    }

    .page-card h3 {
        font-size: 1.125rem; /* Reduced by 25% from 1.5rem */
    }

    /* Section headers - 25% reduction */
    .section-header {
        padding: 11.25px 15px; /* Reduced by 25% from 15px 20px */
        border-radius: 7.5px 7.5px 0 0; /* Reduced by 25% */
        margin-bottom: 11.25px; /* Reduced by 25% from 15px */
    }

    /* Artist cards - 25% reduction */
    .artist-card div {
        width: 75px; /* Reduced by 25% from 100px */
        height: 75px; /* Reduced by 25% */
        border: 2.25px solid #4a3aff; /* Reduced by 25% from 3px */
    }

    /* Toastr custom styles - 25% reduction */
    .upload-message {
        padding: 7.5px; /* Reduced by 25% from 10px */
        margin: 7.5px 0; /* Reduced by 25% from 10px */
        border-radius: 3.75px; /* Reduced by 25% from 5px */
    }



    /* MOBILE-FIRST RESPONSIVE DESIGN */

/* Base mobile styles */
@media (max-width: 767px) {
    body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        padding-top: 100px;
    }
    
    /* Sidebar for mobile */
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        z-index: 1000;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        padding-top: 0;
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .sidebar.mobile-open {
        transform: translateY(0);
    }
    
    .sidebar .logo {
        display: none;
    }
    
    .nav-items-container {
        display: flex;
        justify-content: space-around;
        padding: 10px 5px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .nav-item {
        flex-direction: column;
        padding: 8px 5px;
        font-size: 10px;
        text-align: center;
        width: auto;
        border-left: none;
        border-top: 3px solid transparent;
    }
    
    .nav-item.active {
        border-left: none;
        border-top: 3px solid #ffffffff;
    }
    
    .nav-item i {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 16px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    /* Header adjustments */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    
    .header-left {
        width: 100%;
        order: 1;
        margin-bottom: 10px;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-right: 10px;
    }
    
    .search-box {
        flex: 1;
        max-width: none;
        margin-left: 0;
    }
    
    .auth-buttons {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    /* Content area */
    .content {
        margin-left: 0;
        margin-bottom: 70px; /* Space for mobile bottom navbar */
        padding: 70px 15px 30px;
    }
    
    /* Grid adjustments */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Card adjustments */
    .card, .video-card {
        max-width: 100%;
    }
    
    .thumbnail {
        height: 120px;
    }
    
    .video-thumbnail {
        height: 160px;
    }
    
    /* Library section */
    .library-header h2 {
        font-size: 28px;
        text-align: center;
    }
    
    .song-item {
        flex-wrap: wrap;
        padding: 10px;
        gap: 8px;
    }
    
    .song-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .song-info {
        flex: 1;
        min-width: 0;
    }
    
    .song-title {
        font-size: 14px;
    }
    
    .song-artist {
        font-size: 12px;
    }
    
    /* Player section */
    .player-section {
        left: 0;
        right: 0;
        padding: 12px 15px;
        bottom: 70px; /* Above mobile navbar */
    }
    
    .player-container {
        padding-top: 8px;
    }
    
    .player-close-btn {
        top: 5px;
        right: 5px;
        width: 25px;
        height: 25px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .play-btn {
        width: 45px;
        height: 45px;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 90%;
        max-width: 340px;
        margin: 20px;
        padding: 20px;
    }
    
    /* Upload page */
    .upload-container {
        grid-template-columns: 1fr;
    }
    
    .upload-options {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .upload-option-btn {
        white-space: nowrap;
        min-width: 140px;
    }
    
    .upload-page-title {
        font-size: 28px;
    }
    
    /* Profile page */
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-stats {
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 45%;
        margin-bottom: 15px;
    }
    
    /* Footer */
    footer {
        padding-left: 15px;
        margin-bottom: 2px; /* Space for mobile navbar */
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Touch-friendly improvements */
    button, 
    .btn, 
    .nav-item, 
    .song-item, 
    .card, 
    .video-card {
        min-height: 44px; /* Minimum touch target size */
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px !important; /* Prevent iOS zoom */
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .sidebar {
        width: 70px; /* Collapsed sidebar */
    }
    
    .sidebar .logo h1,
    .nav-item span {
        display: none; /* Hide text labels */
    }
    
    .nav-item {
        justify-content: center;
        padding: 15px 10px;
    }
    
    .nav-item i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .content, 
    .header, 
    .player-section, 
    footer {
        margin-left: 70px;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

/* Prevent iOS text size adjustment */
body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Touch callout */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Enable text selection for content areas */
input, textarea, .song-info, .card-info, .video-info {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .sidebar {
        height: -webkit-fill-available;
    }
    
    .content {
        min-height: -webkit-fill-available;
    }
}


/* Responsive images */
img, .thumbnail img, .video-thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading for mobile */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}



.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 10px 5px;
    z-index: 1001;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-nav .nav-item {
    flex-direction: column;
    align-items: center;
    padding: 5px;
    color: #a0a0c0;
    font-size: 10px;
    background: transparent;
    border: none;
}

.mobile-bottom-nav .nav-item.active {
    color: #ffffff;
}

.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* Show on mobile only */
@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    .content {
        padding-bottom: 80px; /* Space for bottom nav */
    }
}


/* Dynamic Black Background Effects */
body {
    background: #0a0a0a;
    position: relative;
    overflow-x: hidden;
}

/* Animated gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 58, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 20s ease infinite;
}

/* Subtle moving grid pattern */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 30s linear infinite;
}

/* Animated particles effect */
#dynamic-bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Keyframe animations */
@keyframes gradientShift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-5%, 5%);
    }
    50% {
        transform: translate(5%, -5%);
    }
    75% {
        transform: translate(-3%, -3%);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Pulse animation for cards on hover */
.card:hover .thumbnail::after,
.video-card:hover .video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 58, 255, 0.2), transparent 70%);
    animation: pulseGlow 2s infinite;
    border-radius: inherit;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Dynamic sidebar hover effect */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(74, 58, 255, 0.2), transparent);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-item:hover::before {
    width: 100%;
}

/* Animated progress bar for player */
.progress {
    background: linear-gradient(90deg, #4a3aff, #00ccff, #4a3aff);
    background-size: 200% 100%;
    animation: progressFlow 3s linear infinite;
}

@keyframes progressFlow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}




/* Responsive typography */
html {
    font-size: 14px;
}

@media (max-width: 767px) {
    html {
        font-size: 12px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    p { font-size: 1rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

