@font-face {
    font-family: 'Desolate';
    src: url('./assets/fonts/YomiyasuSansSerif.otf') format('truetype'), url('fonts/EntezareZohoor2.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #ccc;
    font-family: Desolate, sans-serif;
    overflow-x: hidden;
    background-image: url('./assets/img/bg.png');
    background-position: center;
    background-size: cover;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styling */
header {
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    background-color: #000;
    padding: 5px 10px;
    border: 2px solid #fff;
}

.dot {
    color: #FF0033;
    font-size: 40px;
    margin: 0 15px;
}

.tagline {
    font-size: 28px;
    letter-spacing: 5px;
}

.tagline a {
    text-decoration: none;
    color: #b9b4b4;
}

.links {
    text-align: center;
    margin-top: 15px;
}

.links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    color: hwb(251 0% 0%);
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    padding: 0;
}

/* Player Container */
.player-container {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.3);
}

/* Player Header */
.player-header {
    background: linear-gradient(to right, #1d1d5c, #000033);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ddd;
    height: 25px;
}

.player-logo {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.player-controls {
    display: flex;
}

.control-btn {
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    margin-left: 4px;
    font-size: 10px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 2px;
    cursor: pointer;
}

.control-btn:hover {
    background-color: #444;
}

.close {
    background-color: #330000;
}

.close:hover {
    background-color: #550000;
}

/* Visualizer */
.visualizer {
    height: 100px;
    background-color: #000;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

#visualization {
    width: 100%;
    height: 100%;
    display: block;
}

/* Song Info */
.song-info {
    background-color: #000;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-bottom: 1px solid #333;
}

.song-title-scroll {
    width: 70%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#song-title {
    color: #00FF00;
    animation: scrollText 10s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

.time-info {
    color: #0CF;
    font-size: 11px;
}

/* Progress Bar */
.progress-container {
    height: 10px;
    background-color: #111;
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #333;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #19199b, #0066FF);
    position: absolute;
    top: 0;
    left: 0;
}

/* Main Controls */
.main-controls {
    background-color: #111;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.control-group {
    display: flex;
    align-items: center;
}

.player-btn {
    background: linear-gradient(to bottom, #333, #222);
    border: 1px solid #444;
    border-radius: 2px;
    color: #ccc;
    width: 30px;
    height: 24px;
    margin-right: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.player-btn:hover {
    background: linear-gradient(to bottom, #444, #333);
}

.btn-icon {
    font-size: 10px;
}

/* Volume Control */
.volume-container {
    display: flex;
    align-items: center;
}

.volume-icon {
    font-size: 12px;
    margin-right: 5px;
    color: #0CF;
}

.volume-slider-container {
    width: 80px;
}

#volume-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: #333;
    outline: none;
    border-radius: 2px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 12px;
    background: #0CF;
    cursor: pointer;
    border-radius: 1px;
}

#volume-slider::-moz-range-thumb {
    width: 8px;
    height: 12px;
    background: #0CF;
    cursor: pointer;
    border-radius: 1px;
}

/* Playlist */
.playlist-container {
    background-color: #111;
    max-height: 200px;
    overflow-y: auto;
}

.playlist-header {
    background: linear-gradient(to right, #1d1d5c, #000033);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ddd;
    font-size: 12px;
    border-bottom: 1px solid #333;
}

.playlist {
    padding: 0;
}

.playlist-item {
    padding: 5px 10px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    cursor: pointer;
}

.playlist-item:hover {
    background-color: #222;
}

.playlist-item.active {
    background-color: #223;
    color: #0CF;
}

.playlist-item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.playlist-item-duration {
    color: #666;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.ascii-art-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}
        
.ascii-art {
    font-family: monospace;
    white-space: pre;
    line-height: 1;
    font-size: 8px;
    text-align: center;
    color: rgb(38, 0, 255);
    display: inline-block;
}