
:root {
    --primary: #8a2be2;
    --primary-dark: #6a1bb2;
    --primary-light: #b266ff;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

        .dark-mode {
            --primary: #bb86fc;
            --primary-dark: #9c4dff;
            --primary-light: #d1a4ff;
            --text: #f5f6fa;
            --text-light: #b0bec5;
            --bg: #0a0a0a;
            --card-bg: #1c2526;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, var(--bg), var(--bg) 50%, var(--primary-light) 150%);
            color: var(--text);
            transition: var(--transition);
            line-height: 1.7;
            overflow-x: hidden;
        }

        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 24px;
        }

        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 24px 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            animation: slideDown 0.6s ease-out;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            letter-spacing: 1px;
            animation: pulseLogo 2s infinite ease-in-out;
        }

        .logo i {
            margin-right: 14px;
            font-size: 1.8rem;
            transition: transform 0.3s ease;
        }

        .logo:hover i {
            transform: rotate(360deg);
        }

        .theme-toggle {
            background: none;
            border: none;
            color: white;
            font-size: 1.4rem;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
        }

        .theme-toggle:hover {
            transform: rotate(360deg);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .listener-count {
            background: rgba(255, 255, 255, 0.2);
            padding: 10px 16px;
            border-radius: 24px;
            font-size: 1rem;
            display: flex;
            align-items: center;
            backdrop-filter: blur(8px);
            animation: bounceIn 1s ease-out;
        }

        .listener-count i {
            margin-right: 8px;
            animation: pulse 2s infinite;
        }

        .lautfm-link {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            display: flex;
            align-items: center;
            padding: 10px 16px;
            border-radius: 24px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(8px);
            transition: var(--transition);
        }

        .lautfm-link:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .lautfm-link i {
            margin-right: 8px;
        }

        .hero {
            padding: 100px 0 60px;
            text-align: center;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent 70%);
            z-index: -1;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 24px;
            background: linear-gradient(45deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: fadeIn 1.2s ease-out, textGlow 3s infinite alternate;
        }

        .hero p {
            font-size: 1.3rem;
            color: var(--text-light);
            max-width: 720px;
            margin: 0 auto 48px;
            animation: slideUp 1.2s ease-out 0.2s backwards;
        }

        .player-card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 36px;
            box-shadow: var(--shadow);
            max-width: 640px;
            margin: 0 auto;
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            animation: cardPop 0.8s ease-out;
        }

        .player-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.1), transparent 70%);
            animation: rotate 20s linear infinite;
            z-index: -1;
        }

        .dark-mode .player-card {
            border-color: rgba(255, 255, 255, 0.05);
        }

        .now-playing {
            margin-bottom: 36px;
            text-align: center;
        }

        .track-info h2 {
            font-size: 2rem;
            margin-bottom: 10px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            animation: fadeIn 0.6s ease-out, textPulse 4s infinite;
        }

        .track-info p {
            color: var(--text-light);
            margin-bottom: 8px;
            font-size: 1.2rem;
            opacity: 0.9;
            animation: slideUp 0.6s ease-out 0.1s backwards;
        }

        .progress-container {
            width: 100%;
            height: 8px;
            background: rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            margin: 30px 0 12px;
            overflow: hidden;
            position: relative;
        }

        .dark-mode .progress-container {
            background: rgba(255, 255, 255, 0.1);
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            width: 0%;
            transition: width 0.2s linear;
            position: relative;
            overflow: hidden;
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(255, 255, 255, 0.2) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0.2) 75%,
                transparent 75%,
                transparent
            );
            background-size: 30px 30px;
            animation: moveStripes 2s linear infinite;
        }

        .time-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-top: 8px;
            opacity: 0.8;
            animation: fadeIn 0.6s ease-out 0.2s backwards;
        }

        .controls {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 30px;
        }

        .play-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            animation: pulseButton 2s infinite ease-in-out;
        }

        .play-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .play-btn::before {
            content: '';
            position: absolute;
            width: 120%;
            height: 120%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .play-btn:hover::before {
            opacity: 1;
        }

        .play-btn:active {
            transform: scale(0.95);
        }

        .volume-control {
            display: flex;
            align-items: center;
            margin-left: 30px;
            animation: slideInRight 0.8s ease-out;
            position: relative;
        }

        .volume-control i {
            margin-right: 12px;
            font-size: 1.4rem;
            opacity: 0.9;
            transition: transform 0.3s ease, color 0.3s ease;
            color: var(--primary);
        }

        .volume-control i:hover {
            transform: scale(1.2);
            color: var(--primary-light);
        }

        .volume-control input {
            width: 120px;
            height: 10px;
            -webkit-appearance: none;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 5px;
            outline: none;
            padding: 2px;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }

        .volume-control input:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        .volume-control input::-webkit-slider-runnable-track {
            height: 10px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
            border-radius: 5px;
        }

        .volume-control input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--card-bg);
            border: 2px solid var(--primary);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            margin-top: -7px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .volume-control input::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .volume-control input::-webkit-slider-thumb:active {
            transform: scale(1.1);
        }

        .volume-control input::-webkit-slider-thumb::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent 70%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .volume-control input::-webkit-slider-thumb:hover::before {
            opacity: 1;
        }

        .dark-mode .volume-control input {
            background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
        }

        .dark-mode .volume-control input::-webkit-slider-thumb {
            background: var(--card-bg);
            border-color: var(--primary-light);
        }

        .content-section {
            margin-top: 80px;
            padding-bottom: 60px;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            font-weight: 600;
            color: var(--primary);
            animation: fadeIn 1s ease-out, textGlow 3s infinite alternate;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            margin: 14px auto 0;
            border-radius: 3px;
            animation: expand 1.2s ease-out;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            padding: 24px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            animation: slideUp 0.8s ease-out;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .dark-mode .card {
            border-color: rgba(255, 255, 255, 0.05);
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
        }

        .card h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            animation: fadeIn 0.6s ease-out;
        }

        .card p {
            font-size: 1rem;
            color: var(--text-light);
            opacity: 0.9;
            animation: fadeIn 0.6s ease-out 0.1s backwards;
        }

        footer {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            color: white;
            padding: 48px 0;
            margin-top: 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
            z-index: 0;
            animation: pulse 10s infinite ease-in-out;
        }

        .social-links {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            gap: 24px;
            position: relative;
            z-index: 1;
        }

        .social-links a {
            color: white;
            font-size: 1.8rem;
            transition: var(--transition);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            animation: bounceIn 1s ease-out;
        }

        .social-links a:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-5px) rotate(360deg);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            color: #fdcb6e;
        }

        .footer-text {
            opacity: 0.9;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
            animation: fadeIn 1s ease-out 0.3s backwards;
        }

        .footer-link {
            color: white;
            text-decoration: none;
            transition: var(--transition);
            display: inline-block;
            margin: 0 6px;
        }

        .footer-link:hover {
            color: #fdcb6e;
            text-decoration: underline;
            transform: translateY(-2px);
        }

        .loading {
            display: inline-block;
            width: 28px;
            height: 28px;
            border: 4px solid rgba(0,0,0,.2);
            border-radius: 50%;
            border-top-color: var(--primary);
            animation: spin 1s ease-in-out infinite;
            margin-right: 12px;
            vertical-align: middle;
        }

        /* Animations */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes slideInRight {
            from { transform: translateX(50px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        @keyframes cardPop {
            from { transform: scale(0.9); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        @keyframes pulseLogo {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @keyframes pulseButton {
            0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.4); }
            70% { box-shadow: 0 0 0 20px rgba(138, 43, 226, 0); }
            100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
        }

        @keyframes textGlow {
            0% { text-shadow: 0 0 5px rgba(138, 43, 226, 0.4); }
            100% { text-shadow: 0 0 15px rgba(138, 43, 226, 0.8); }
        }

        @keyframes textPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.02); }
            100% { transform: scale((orginal)) }
        }

        @keyframes bounceIn {
            0% { transform: scale(0.3); opacity: 0; }
            50% { transform: scale(1.2); opacity: 0.7; }
            70% { transform: scale(0.9); }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes expand {
            from { width: 0; }
            to { width: 100px; }
        }

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

        @keyframes moveStripes {
            from { background-position: 0 0; }
            to { background-position: 30px 30px; }
        }
        
        /* Custom Cookie Consent Banner Styling */
        .cc-window {
            font-family: 'Poppins', sans-serif !important;
            background-color: var(--card-bg) !important;
            color: var(--text) !important;
            border-radius: var(--border-radius) !important;
            box-shadow: var(--shadow) !important;
            padding: 22px !important;
            max-width: 480px !important;
        }

        .cc-message {
            color: var(--text) !important; 
            margin-right: 1em !important; 
            font-size: 0.95rem !important;
        }

        .cc-link {
            color: var(--primary) !important; 
            text-decoration: underline !important;
            font-weight: 500 !important;
        }

        .cc-link:hover {
            color: var(--primary-dark) !important;
            text-decoration: none !important;
        }

        .cc-btn {
            background-color: var(--primary) !important;
            border-radius: 10px !important; 
            padding: 12px 24px !important; 
            font-weight: 600 !important;
            text-transform: none !important; 
            border: none !important; 
            transition: background-color 0.3s ease !important;
        }

        .cc-btn:hover {
            background-color: var(--primary-dark) !important;
        }


        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }

            .header-right {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .hero h1 {
                font-size: 2.4rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .track-info h2 {
                font-size: 1.6rem;
            }

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

            .controls {
                flex-wrap: wrap;
                gap: 20px;
            }

            .volume-control {
                margin-left: 0;
                width: 100%;
                justify-content: center;
                margin-top: 20px;
            }

            .player-card {
                padding: 24px;
            }

            .volume-control input {
                width: 100%;
                max-width: 200px;
            }

            .cc-window {
                max-width: 90% !important;
                padding: 18px !important;
            }
            .cc-btn {
                padding: 10px 18px !important;
                font-size: 0.9rem !important;
            }
            .cc-message {
                font-size: 0.9rem !important;
            }
        }