body {
    font-family: 'MedievalSharp', cursive;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}
h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-transform: lowercase;
}
.medievalsharp-regular {
    font-family: "MedievalSharp", cursive;
    font-weight: 400;
    font-style: normal;
}
.subtitle {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.5;
}
.subtitle strong {
    font-weight: bold;
}
.section {
    margin-bottom: 60px;
}
.song-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.song-item {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}
.song-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.song-item h3 {
    font-size: 1.2em;
    margin: 10px 0;
}
.song-item audio {
    width: 100%;
    margin-bottom: 10px;
}
.song-item .view-lyrics {
    color: #bb86fc;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}
.song-item .view-lyrics:hover {
    text-decoration: underline;
}
.song-item .lyrics {
    text-align: left;
    white-space: pre-wrap;
    font-family: Arial, sans-serif;
    font-size: 0.9em;
    margin-top: 10px;
    padding: 10px;
    background-color: #282828;
    border-radius: 4px;
}
.song-item .tags {
    font-size: 0.9em;
    color: #bb86fc;
    margin-bottom: 10px;
}
#jukebox {
    background-color: #3c2f5e;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}
#jukebox h2 {
    font-size: 1.8em;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    color: #e0e0e0;
}
#jukebox img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
#jukebox h3 {
    font-size: 1.5em;
    margin: 15px 0;
    cursor: pointer;
    color: #bb86fc;
    font-family: 'MedievalSharp', cursive;
}
#jukebox h3:hover {
    text-decoration: underline;
}
#jukebox audio {
    width: 100%;
    margin-bottom: 15px;
}
#jukebox-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}
#jukebox-controls button {
    background-color: #03dac6;
    border: none;
    color: #121212;
    padding: 0;
    border-radius: 4px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}
#jukebox-controls button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#jukebox-controls button:hover {
    background-color: #018786;
}
#jukebox-lyrics {
    display: block;
    color: #bb86fc;
    text-decoration: none;
    margin-top: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
#jukebox-lyrics:hover {
    text-decoration: underline;
}
#jukebox-lyrics-content {
    text-align: left;
    white-space: pre-wrap;
    font-family: Arial, sans-serif;
    font-size: 0.9em;
    margin-top: 10px;
    padding: 10px;
    background-color: #282828;
    border-radius: 4px;
}
.tag-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.tag-filter label {
    background-color: #121212;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    color: #e0e0e0;
    flex: 1 0 30%;
    text-align: left;
}
.tag-filter input {
    margin-right: 5px;
}
.tag-filter input:checked + span {
    color: #ffd700;
}
.copyright {
    font-family: Arial, sans-serif;
    font-size: 1em;
    color: #e0e0e0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.arcane-phrase {
    position: absolute;
    color: #222;
    font-size: 1em;
    font-family: 'MedievalSharp', cursive;
    transition: color 0.3s ease, z-index 0.3s ease;
    pointer-events: auto;
    user-select: none;
    z-index: 0;
    max-width: 200px;
    text-align: left;
}
.arcane-phrase:hover {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    z-index: 2;
}
/* Randomly placed arcane phrases */
.phrase-1 { top: 10%; left: 5%; }
.phrase-2 { top: 20%; right: 5%; }
.phrase-3 { top: 30%; left: 10%; }
.phrase-4 { bottom: 25%; left: 15%; }
.phrase-5 { bottom: 15%; right: 10%; }
.phrase-6 { top: 50%; left: 8%; }
.phrase-7 { bottom: 30%; right: 12%; }
.phrase-8 { top: 40%; left: 20%; }
.phrase-9 { top: 60%; right: 18%; }
.phrase-10 { bottom: 40%; left: 22%; }
.phrase-11 { top: 70%; left: 7%; }
.phrase-12 { bottom: 50%; right: 25%; }
.phrase-13 { top: 15%; left: 30%; }
.phrase-14 { bottom: 10%; right: 8%; }
.phrase-15 { top: 80%; left: 12%; }
.phrase-16 { bottom: 20%; right: 30%; }
.phrase-17 { top: 25%; left: 25%; }
.phrase-18 { bottom: 35%; right: 20%; }
/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 2em;
    }
    .subtitle {
        font-size: 1em;
    }
    .song-item {
        width: 100%;
    }
    #jukebox {
        max-width: 100%;
    }
    .arcane-phrase {
        font-size: 0.8em;
        max-width: 150px;
    }
    .tag-filter {
        max-width: 100%;
    }
    .tag-filter label {
        flex: 1 0 45%;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    .subtitle {
        font-size: 0.9em;
    }
    .song-item h3 {
        font-size: 1em;
    }
    #jukebox h3 {
        font-size: 1.2em;
    }
    #jukebox-controls button {
        width: 30px;
        height: 30px;
    }
    .arcane-phrase {
        font-size: 0.7em;
        max-width: 120px;
    }
    .tag-filter label {
        flex: 1 0 100%;
    }
}