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

        :root {
            --primary-gradient: linear-gradient(135deg, #09102e 0%, #28153a 25%, #36133a 50%, #4f1019 75%, #102b42 100%);
            --secondary-gradient: linear-gradient(135deg, #09102e 0%, #28153a 25%, #36133a 50%, #4f1019 75%, #102b42 100%);
            --glass-bg: rgba(255, 255, 255, 0.1);
            --glass-border: rgba(255, 255, 255, 0.2);
            --text-primary: rgba(255, 255, 255, 0.95);
            --text-secondary: rgba(255, 255, 255, 0.8);
            --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
            --shadow-heavy: 0 15px 35px rgba(31, 38, 135, 0.5);
            --border-radius: 20px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-image: url(./img/keyson.jpeg);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
            animation: backgroundShift 20s ease-in-out infinite alternate;
        }

        @keyframes backgroundShift {
            0% { background: var(--primary-gradient); }
            50% { background: var(--secondary-gradient); }
            100% { background: var(--primary-gradient); }
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="25" fill="rgba(255,255,255,0.02)">♪</text></svg>') repeat;
            background-size: 60px 60px;
            animation: floatNotes 30s linear infinite;
            pointer-events: none;
        }

        @keyframes floatNotes {
            0% { transform: translateY(100vh) rotate(0deg); }
            100% { transform: translateY(-100px) rotate(360deg); }
        }

        .player-container {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            box-shadow: var(--shadow-light);
            width: 100%;
            max-width: 800px;
            min-height: 400px;
            position: relative;
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .player-container:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-heavy);
        }

        .player-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
            animation: pulse 10s ease-in-out infinite alternate;
            pointer-events: none;
        }

        @keyframes pulse {
            0% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
            100% { transform: scale(1.2) rotate(180deg); opacity: 0.1; }
        }

        .track-counter {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: linear-gradient(135deg, #ff6b9d, #667eea);
            color: white;
            padding: 0.5rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            box-shadow: var(--shadow-light);
            z-index: 20;
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .track-counter:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-heavy);
        }

        .header-section {
            text-align: center;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 10;
        }

        .playlist-title {
            font-size: 1.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, #ff6b9d, #667eea, #f093fb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .playlist-subtitle {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            font-style: italic;
        }

        .youtube-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, #ff0000, #cc0000);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            box-shadow: var(--shadow-light);
            position: relative;
            overflow: hidden;
        }

        .youtube-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .youtube-btn:hover::before {
            left: 100%;
        }

        .youtube-btn:hover {
            background: linear-gradient(135deg, #cc0000, #990000);
            transform: translateY(-2px);
            box-shadow: var(--shadow-heavy);
        }

        .main-content {
            display: flex;
            gap: 2rem;
            flex: 1;
            align-items: center;
            position: relative;
            z-index: 10;
        }

        .left-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .album-art-container {
            position: relative;
            width: 200px;
            height: 200px;
            margin-bottom: 1.5rem;
        }

        .album-art {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b9d, #667eea, #f093fb);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-light);
            position: relative;
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }

        .album-art:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-heavy);
        }

        .album-art::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border-radius: 50%;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
            animation: shimmer 4s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0; }
            50% { opacity: 1; }
        }

        .album-art img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            transition: var(--transition);
        }

        .loading-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .song-info {
            text-align: center;
            width: 100%;
        }

        .song-title {
            font-size: 1.1rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #ff6b9d);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

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

        .right-section {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.5rem;
            min-height: 300px;
        }

        .progress-container {
            width: 100%;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            cursor: pointer;
            position: relative;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: var(--transition);
        }

        .progress-bar:hover {
            height: 10px;
        }

        .progress {
            height: 100%;
            background: linear-gradient(90deg, #ff6b9d, #667eea, #f093fb);
            border-radius: 4px;
            width: 0%;
            transition: width 0.1s ease;
            box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
            position: relative;
        }

        .progress::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 0;
            width: 12px;
            height: 12px;
            background: white;
            border-radius: 50%;
            transform: translate(50%, -50%);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: var(--transition);
        }

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

        .time-display {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
            font-weight: 500;
        }

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

        .control-btn {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            font-size: 1rem;
            cursor: pointer;
            color: var(--text-primary);
            transition: var(--transition);
            padding: 0.75rem;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-light);
            position: relative;
            overflow: hidden;
        }

        .control-btn:hover {
            transform: translateY(-2px) scale(1.1);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: var(--shadow-heavy);
        }

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

        .play-pause-btn {
            font-size: 1.3rem;
            background: linear-gradient(135deg, #ff6b9d, #667eea);
            color: white;
            width: 60px;
            height: 60px;
            border: none;
            border-radius: 50%;
            box-shadow: var(--shadow-light);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .play-pause-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }

        .play-pause-btn:hover::before {
            left: 100%;
        }

        .play-pause-btn:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: var(--shadow-heavy);
        }

        .volume-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .volume-icon {
            color: var(--text-secondary);
            font-size: 1rem;
            transition: var(--transition);
            cursor: pointer;
        }

        .volume-icon:hover {
            color: var(--text-primary);
            transform: scale(1.1);
        }

        .volume-slider {
            width: 100px;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            outline: none;
            cursor: pointer;
            appearance: none;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .volume-slider:hover {
            height: 8px;
        }

        .volume-slider::-webkit-slider-thumb {
            appearance: none;
            width: 16px;
            height: 16px;
            background: linear-gradient(135deg, #ff6b9d, #667eea);
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
            transition: var(--transition);
        }

        .volume-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 4px 12px rgba(255, 107, 157, 0.6);
        }

        .volume-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            background: linear-gradient(135deg, #ff6b9d, #667eea);
            border-radius: 50%;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
        }

        .volume-value {
            color: var(--text-secondary);
            font-size: 0.8rem;
            font-weight: 600;
            min-width: 25px;
            text-align: center;
        }

        .repeat-btn.active, .shuffle-btn.active {
            background: linear-gradient(135deg, #ff6b9d, #667eea) !important;
            color: white !important;
            box-shadow: var(--shadow-heavy) !important;
        }

        .rotating {
            animation: rotate 20s linear infinite;
        }

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

        .heart-float {
            position: absolute;
            color: #ff6b9d;
            font-size: 1.5rem;
            pointer-events: none;
            animation: heartFloat 3s ease-out forwards;
            z-index: 1000;
        }

        @keyframes heartFloat {
            0% {
                transform: translateY(0) scale(1) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(-80px) scale(0.3) rotate(180deg);
                opacity: 0;
            }
        }

        .notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            color: var(--text-primary);
            padding: 1rem 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-light);
            z-index: 1000;
            animation: slideInDown 0.3s ease-out;
            font-weight: 500;
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            pointer-events: none;
            animation: particleFloat 8s ease-in-out infinite;
        }

        @keyframes particleFloat {
            0%, 100% {
                transform: translateY(0) translateX(0) scale(0);
                opacity: 0;
            }
            10% {
                transform: translateY(-10px) translateX(5px) scale(1);
                opacity: 1;
            }
            90% {
                transform: translateY(-120px) translateX(-10px) scale(1);
                opacity: 1;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .player-container {
                max-width: 100%;
                padding: 1rem;
                min-height: auto;
            }

            .main-content {
                flex-direction: column;
                gap: 1.5rem;
            }

            .left-section, .right-section {
                flex: none;
                width: 100%;
            }

            .album-art-container {
                width: 160px;
                height: 160px;
                margin-bottom: 1rem;
            }

            .playlist-title {
                font-size: 1.5rem;
            }

            .controls {
                gap: 0.75rem;
            }

            .control-btn {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }

            .play-pause-btn {
                width: 52px;
                height: 52px;
                font-size: 1.1rem;
            }

            .volume-slider {
                width: 80px;
            }

            .track-counter {
                font-size: 0.75rem;
                padding: 0.4rem 0.6rem;
            }
        }

        @media (max-width: 480px) {
            .player-container {
                padding: 0.75rem;
                margin: 0.5rem;
            }

            .album-art-container {
                width: 140px;
                height: 140px;
            }

            .playlist-title {
                font-size: 1.3rem;
            }

            .controls {
                gap: 0.5rem;
            }

            .control-btn {
                width: 36px;
                height: 36px;
                font-size: 0.8rem;
            }

            .play-pause-btn {
                width: 48px;
                height: 48px;
                font-size: 1rem;
            }

            .volume-container {
                gap: 0.5rem;
            }

            .volume-slider {
                width: 70px;
            }

            .song-title {
                font-size: 1rem;
            }

            .song-duration {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 360px) {
            .album-art-container {
                width: 120px;
                height: 120px;
            }

            .playlist-title {
                font-size: 1.1rem;
            }

            .song-title {
                font-size: 0.9rem;
            }
        }

        /* Landscape mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .player-container {
                max-width: 90vw;
                min-height: auto;
            }

            .main-content {
                flex-direction: row;
                gap: 1rem;
            }

            .album-art-container {
                width: 120px;
                height: 120px;
            }

            .header-section {
                margin-bottom: 1rem;
            }

            .playlist-title {
                font-size: 1.2rem;
            }
        }

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

        .player-container {
            animation: fadeInUp 0.8s ease-out;
        }

        .left-section {
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .right-section {
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        /* Accessibilité */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Focus states pour l'accessibilité */
        .control-btn:focus,
        .volume-slider:focus,
        .progress-bar:focus,
        .youtube-btn:focus {
            outline: 2px solid #ff6b9d;
            outline-offset: 2px;
        }

        /* High contrast mode */
        @media (prefers-contrast: high) {
            :root {
                --glass-bg: rgba(255, 255, 255, 0.2);
                --glass-border: rgba(255, 255, 255, 0.4);
                --text-primary: white;
                --text-secondary: rgba(255, 255, 255, 0.9);
            }
        }