/* =========================================
   GLOBAL
========================================= */

body {
    background-color: #111;
    color: #eee;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: #ff6600;
    margin-top: 0;
}

h1 {
    text-align: left;
    margin-bottom: 30px;
}

p {
    line-height: 1.6;
}

/* =========================================
   HEADER
========================================= */

header {
    background-color: #000;
    padding: 30px 20px;
    text-align: center;
}

header .logo {
    height: 150px;
    display: block;
    margin: 0 auto 15px auto;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #ff6600;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

nav a:hover,
nav a.active {
    opacity: 0.7;
}

/* =========================================
   ALBUM COVER + STREAMING BOX
========================================= */

.album-cover-and-links {
    display: flex;
    justify-content: flex-start; /* Cover links */
    align-items: center;         /* Box vertikal zentriert */
    gap: 40px;
    margin-bottom: 40px;
}

.album-cover-large {
    width: 100%;
    max-width: 450px;
    display: block;
    margin: 0; /* wichtig */
    border-radius: 10px;
    border: 3px solid #ff6600;
}

/* Streaming-Box */
.album-streaming-box {
    background-color: #1a1a1a;
    border: 3px solid #ff6600;
    border-radius: 12px;
    padding: 25px;
    width: 320px;
    text-align: center;
}

.album-streaming-box h3 {
    margin-bottom: 20px;
    text-align: left;   /* linksbündig */
    color: #fff;        /* weiß */
}

/* Streaming-Links */
.stream-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #eee;
    font-size: 1.1rem;
    font-weight: bold;
}

.stream-link img {
    width: 32px;
    height: 32px;
}

.stream-link:hover {
    opacity: 0.8;
}

/* Mobile Layout */
@media (max-width: 800px) {
    .album-cover-and-links {
        flex-direction: column;
        align-items: center;
    }

    .album-streaming-box {
        width: 100%;
        max-width: 350px;
    }
}

/* =========================================
   TRACKLIST + RACCOON NUMBERS
========================================= */

.tracklist a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: normal;      /* oder bold, wie du es willst */
    font-family: inherit;     /* gleiche Schrift wie der Rest */
}

.tracklist a:hover {
    color: #ff6600;           /* orange beim Hover */
    opacity: 1;
}

.tracklist li {
    counter-increment: raccoon-counter;
    margin: 12px 0;
    padding-left: 50px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
    font-family: inherit;      /* von body übernehmen */
    font-weight: normal;       /* nicht von irgendwoher fett */
    font-size: 1.1rem;
}

.tracklist li::before {
    content: counter(raccoon-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: #ff6600;
    color: #111;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px #ff6600aa;
    border: 2px solid #ff8800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: none; /* Nummer selbst nicht klickbar */
}

/* Der Link wird über die Nummer gelegt */
.tracklist li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    cursor: pointer;
}

/* Hover-Effekt */
.tracklist li:hover::before {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 12px #ff6600;
}

/* =========================================
   SONG BLOCKS
========================================= */

.song {
    display: flex;
    gap: 30px;
    background-color: #1a1a1a;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    border: 2px solid #333;
}

.song-left {
    flex: 1;
}

.song-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

pre {
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.5;
    color: #ddd;
}

/* ICONS */
.song-icons {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.song-icons img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.song-icons img:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.back-to-tracklist {
    margin-top: 25px;
    text-align: right;
}

.back-to-tracklist a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff6600;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 12px;
    border: 2px solid #ff6600;
    border-radius: 6px;
    transition: 0.2s ease;
}

.back-to-tracklist a img {
    width: 20px;
    height: 20px;
    filter: brightness(1.2);
}

.back-to-tracklist a:hover {
    background-color: #ff6600;
    color: #111;
    box-shadow: 0 0 10px #ff6600aa;
}

.back-to-tracklist a:hover img {
    filter: brightness(0.2);
}

.audio-player {
    width: 100%;
    margin-bottom: 60px;
    border-radius: 10px;
    background-color: #000;
}


/* =========================================
   MUSIK-SEITE (ALBUM LISTE)
========================================= */

.album-list {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.album-item {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #333;
    width: 260px;
    text-align: center;
}

.album-cover {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #ff6600;
    margin-bottom: 15px;
}

.button {
    display: inline-block;
    background-color: #ff6600;
    color: #111;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.button:hover {
    opacity: 0.8;
}

/* =========================================
   RESPONSIVE SONGS
========================================= */

@media (max-width: 900px) {
    .song {
        flex-direction: column;
    }

    .song-right {
        width: 100%;
    }

    .yt-player {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .yt-player {
        height: 180px;
    }

    .song-icons img {
        width: 32px;
        height: 32px;
    }
}

/* =========================================
   FOOTER
========================================= */

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 40px;
}
