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

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.flying-text-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.flying-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
    animation: flyAcross 15s linear infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes flyAcross {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes flyDiagonal {
    from {
        transform: translate(100vw, -100px);
    }
    to {
        transform: translate(-100vw, 100px);
    }
}

@keyframes flyWave {
    0% {
        transform: translateX(100vw) translateY(0);
    }
    25% {
        transform: translateX(50vw) translateY(-30px);
    }
    50% {
        transform: translateX(0vw) translateY(30px);
    }
    75% {
        transform: translateX(-50vw) translateY(-30px);
    }
    100% {
        transform: translateX(-100vw) translateY(0);
    }
}

@keyframes flyZigzag {
    0% {
        transform: translateX(100vw) translateY(0);
    }
    20% {
        transform: translateX(60vw) translateY(-40px);
    }
    40% {
        transform: translateX(20vw) translateY(40px);
    }
    60% {
        transform: translateX(-20vw) translateY(-40px);
    }
    80% {
        transform: translateX(-60vw) translateY(40px);
    }
    100% {
        transform: translateX(-100vw) translateY(0);
    }
}

.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.player-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: white;
    max-width: 400px;
    width: 90%;
}

.player-container h1 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.visualizer-container {
    margin: 20px 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#visualizer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-info h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.player-controls {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.player-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.player-controls #playBtn, .player-controls #pauseBtn {
    width: 70px;
    height: 70px;
    font-size: 24px;
}

.volume-control {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
}

.volume-control label {
    font-size: 18px;
}

.volume-control input[type="range"] {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.volume-control input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-value {
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.progress-container {
    width: 100%;
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.8;
}