:root {
    --bg: #0e0e11;
    --card: #17171c;
    --text: #ffffff;
    --muted: #9b9b9b;
    --accent: #0C5D76;
	--orange: #fea120
}

* { box-sizing: border-box; }

body {
    margin: 0;
    height: 100%;
    background: linear-gradient(160deg, #0f0f16, #07070b);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, sans-serif;
    color: var(--text);
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    max-width: 1100px;
    width: 100%;
}

/* Standard Linkfarbe */
a:link {
  color: var(--orange);
  text-decoration: none; /* Unterstreichung entfernen */
}

/* Besuchte Links */
a:visited {
  color: var(--orange);
}

/* Beim Drüberfahren (Hover) */
a:hover {
  color: var(--orange);
  text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Beim Klicken (Active) */
a:active {
  color: var(--orange);
}

.player {
    width: 360px;
	height: 649px;
    background: var(--card);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.cover-wrap img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
}

.meta {
    margin-top: 14px;
}

.meta h1 {
    font-size: 20px;
    margin: 0;
}

.meta p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

h3 {
    color: var(--orange);
    font-size: 14px; /* Optional: Schriftgröße */
}

.progress-wrapper {
    margin-top: 16px;
}

.progress-bar {
    height: 8px;
    background: #2a2a32;
    border-radius: 10px;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #7cffc4);
    border-radius: 10px;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text);
    margin-top: 6px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 8px 0 18px 0;
}

.controls button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.controls button:active {
    transform: scale(0.92);
}

.controls .play {
    background: var(--accent);
    color: #000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
}

.volume {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume input {
    flex: 1;
}

.download {
    display: block;
    margin: 18px 0 14px 0;
    padding: 12px;
    text-align: center;
	font-size:14px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: calc(6 * 44px);
    overflow-y: auto;
}

.playlist li {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--muted);
}

.playlist li.active {
    background: var(--accent);
    color: #000;
}

/* Scrollbar */
.playlist::-webkit-scrollbar,
.lyrics::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-thumb,
.lyrics::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
/* === NEUES LAYOUT === */

.layout {
    display: flex;
    gap: 24px;
    align-items: stretch;
	border: 4px solid;
	border-color: var(--accent); 
	backdrop-filter: blur(18px);
    background: rgba(23, 23, 28, 0.85);
    border-radius: 26px;
    padding: 10px;
}

.copyright {
    margin-top: 20px;
	margin-bottom: 50px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.5px;
}


/* PLAYER bleibt wie er ist */
.player {
    display: flex;
    flex-direction: column;
}

/* PLAYLIST RECHTS */
.side-playlist {
    width: 300px;
	height: 647px;
    background: var(--card);
    border-radius: 22px;
    padding: 12px;

    /* gleiche Höhe wie Player */
    max-height: 100%;
    overflow-y: auto;
}

/* bestehende Playlist-Styles bleiben */
.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist li {
    padding: 5px;
	padding-left: 15px;
	margin: 2px;
	margin-right: 16px;
	margin-left: 23px;
    border-radius: 5px;
    cursor: pointer;
    color: var(--muted);
}

.playlist li.active {
    background: var(--orange);
    color: #000;
}

/* Scrollbar */
.side-playlist::-webkit-scrollbar {
    width: 6px;
}
.side-playlist::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
}
/* === CUSTOM RANGE (VOLUME) === */

.volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #0C5D76;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

/* WebKit Thumb (Chrome, Edge, Safari) */
.volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(255,255,255,1);
}

/* Firefox Thumb */
.volume input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Firefox Track */
.volume input[type="range"]::-moz-range-track {
    height: 6px;
    background: #2a2a32;
    border-radius: 10px;
}
.mute {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.mute.muted {
    color: var(--muted);
}
.lyrics-panel {
    width: 300px;
	height: 647px;
    background: var(--card);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    display: flex;
    flex-direction: column;
}

.lyrics-panel h2 {
    font-size: 16px;
    margin: 0 0 4px;
}

.lyrics-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

{
    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease,
                opacity 0.25s ease;
}


@media (max-width: 900px) {

	{
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
	}
	
    .layout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
		border-radius: 28px 28px 0 0;
    }

    .player,
    .lyrics,
    .playlist-box {
        width: 100%;
        max-width: 380px;
    }

    .playlist {
        max-height: 240px;
		width: 100%;
        overflow-y: auto;
    }

    .lyrics {
        max-height: 260px;
        overflow-y: auto;
    }

    .controls button {
        font-size: 22px;
    }

    .controls .play {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .copyright {
        margin-top: 20px;
        font-size: 12px;
        opacity: 0.7;
        text-align: center;
    }
	
	.img-desktop {
        display: none;
    }

    .img-mobile {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
}