@font-face {
    font-family: 'Yekan';
    src: url('assets/yekan.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Yekan, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.music-player-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.music-player-container:hover {
    transform: translateY(-5px);
}

.album-cover {
    width: 250px;
    height: 250px;
    min-width: 250px;
    min-height: 250px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.album-cover:hover {
    transform: scale(1.05);
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.control-btn.play-pause {
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.control-btn.play-pause:hover {
    box-shadow: 0 12px 35px rgba(240, 147, 251, 0.6);
}

.progress-bar {
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: height 0.3s ease;
}

.progress-bar:hover {
    height: 12px;
}

.progress {
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

#main-player {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    max-height: 90vh;
}

.site-title {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: var(--primary-gradient);
}

.playlist-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(5px);
}

.playlist-item.active {
    background: var(--primary-gradient);
    border-color: transparent;
}

.time-display {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.song-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.artist-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.visualizer {
    display: flex;
    align-items: flex-end;
    height: 40px;
    gap: 3px;
    margin: 20px 0;
}

.bar {
    flex: 1;
    background: var(--primary-gradient);
    border-radius: 3px;
    animation: dance 0.6s ease-in-out infinite;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }
.bar:nth-child(6) { animation-delay: 0.5s; }
.bar:nth-child(7) { animation-delay: 0.4s; }
.bar:nth-child(8) { animation-delay: 0.3s; }
.bar:nth-child(9) { animation-delay: 0.2s; }
.bar:nth-child(10) { animation-delay: 0.1s; }
.bar:nth-child(11) { animation-delay: 0s; }
.bar:nth-child(12) { animation-delay: 0.1s; }
.bar:nth-child(13) { animation-delay: 0.2s; }
.bar:nth-child(14) { animation-delay: 0.3s; }
.bar:nth-child(15) { animation-delay: 0.4s; }

@keyframes dance {
    0%, 100% { height: 10px; }
    50% { height: 30px; }
}

.visualizer.paused .bar {
    animation-play-state: paused;
    height: 10px;
}

@media (max-width: 768px) {
    .album-cover {
        width: 200px;
        height: 200px;
    }

    .control-btn {
        width: 50px;
        height: 50px;
    }

    .control-btn.play-pause {
        width: 65px;
        height: 65px;
    }

    .song-title {
        font-size: 1.2rem;
    }

    .artist-name {
        font-size: 1rem;
    }
}

.bg {
    position: relative;
}

.bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('path/to/your/background/image.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}