body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    color: #fff;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation Styles */
.nav {
    position: absolute;
    top: 10px;
	gap: 20px;
    display: flex;
}

.nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: inherit;
    z-index: -1;
    transition: background 0.3s ease;
}

.nav a:hover::before {
    background: rgba(255, 255, 255, 0.2);
}

.title {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
    display: inline-block;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    color: #fff;
	font-family: 'Caveat', cursive;
	font-weight: <bold>;
}

.glassmorphic {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Player Styles */
.player {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-block;
    width: 300px;
    text-align: center;
}


.track-info {
    margin-bottom: 10px;
    margin-top: -22px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
}

button {
    background-color: #a3a3a340;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #dbdbdb40;
}


button#play-pause {
	width: 31.7px;
	height: 29px;	
}



#prev-track::before {
    content: '\25C0'; /* Left arrow icon */
}

#next-track::before {
    content: '\25B6'; /* Right arrow icon */
}

#show-playlist::before {
    content: '\2630'; /* Playlist icon */
}


.volume-control {
    margin-top: 10px;
}

#volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-radius: 5px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
}

#volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
}



.playlist {
    display: none;
}

.playlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist li {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.playlist li:hover, .playlist li.active {
    background: rgba(255, 255, 255, 0.2);
}

.background-selector {
    margin-top: 20px;
    display: inline-block;
    position: relative;
}

.background-selector label {
    margin-right: 10px;
    color: #fff;
}

.background-selector select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1em;
    padding: 5px 30px 5px 10px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.background-selector::after {
    content: '\25BC';
    font-size: 1em;
    color: #fff;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease;
    z-index: 1;
}

.background-selector select:focus + .background-selector::after,
.background-selector select:hover + .background-selector::after {
    transform: translateY(-50%) rotate(180deg);
}

.background-selector select option {
    background: #111;
    color: #fff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px); /* For Safari */
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border-color: #4a4a4a8a;
    border-style: solid;
    border-width: 1px;
    padding: 20px;
    backdrop-filter: blur(0px);
    color: white;
    max-width: 500px;
    margin: auto;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #dbdbdb;
    text-decoration: none;
    cursor: pointer;
}

#notes {
    resize: none;
}

#notes:focus {
    outline: none;
}

textarea#notes {
    font-family: 'Helvetica Neue', sans-serif;
    width: 407px;
    height: 163px;
    border-radius: 12px;
    padding: 12px;
    background-color: #4e4e4eb8;
    color: white;
}

textarea#notes:active {
    width: 407px;
    height: 163px;
    border-radius: 12px;
    padding: 12px;
    outline: none;
    border-color: none;
}

textarea#notes::placeholder {
    color: #bdbdbd;
}

button#save-notes {
    background-color: #6d6d6d;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

button#save-notes:hover {
    background-color: #939393;
}

#alert-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

#alert-modal .modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 74, 74, 0.54);
    padding: 20px;
    backdrop-filter: blur(10px);
    color: white;
    max-width: 300px;
    margin: auto;
    text-align: center;
}

#alert-modal .modal-content h2 {
    margin-top: 0;
    font-size: 1.5em;
}

#alert-modal .modal-content p {
    margin: 10px 0;
    font-size: 1em;
}

#alert-modal .modal-content button {
    background-color: #8b8b8b;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#alert-modal .modal-content button:hover {
    background-color: #939393;
}

@media (min-width: 768px) {
    .content {
        max-width: 600px;
    }
	.nav {
		right: 20px;
	}
}

@media (max-width: 768px) {
    textarea#notes, textarea#notes:active {
        width: 260px;
    }
	.modal-content {
		max-width: 290px;
	}
	.nav {
		right: none;
	}
	
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
}
