* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    color: white;
    user-select: none;
    padding: 0 20px;
    text-align: center;
    flex-direction: column;
}

.container {
    text-align: center;
}

.codedText {
    display: inline-block;
    position: relative;
}

.codedText::after {
    content: attr(data-hover-text);
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background: linear-gradient(90deg, #ff0000, #00ff00);
    visibility: hidden;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.codedText:hover::after {
    visibility: visible;
    opacity: 1;
}

.codedText:hover {
    color: transparent;
}

.title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 30px;
}

.arrested-tag {
    color: red;
    font-weight: bold;
    margin-left: 10px; /* Ensures spacing without shifting 'uxie' */
    position: absolute;
}


.name-list {
    list-style-type: none;
    padding: 0;
}

.name-item {
    font-size: clamp(1.2rem, 2vw, 2rem);
    margin: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.name-item:hover {
    color: white;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}

.lore-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #181818;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    border: 2px solid white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lore-button:hover {
    background-color: white;
    color: #181818;
}

.music-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.music-controls button {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.music-controls button:hover {
    background: white;
    color: #181818;
}

#volume-slider {
    width: 100px;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: white;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .name-item {
        font-size: 1.5rem;
    }

    .lore-button {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .music-controls {
        top: auto;
        bottom: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 5px;
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding: 20px;
        height: auto;
    }

    .title {
        font-size: 2.5rem;
    }

    .name-item {
        font-size: 1.3rem;
    }

    .lore-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .music-controls {
        flex-direction: column;
        align-items: center;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        padding: 5px;
        gap: 5px;
    }

    .music-controls button {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    #volume-slider {
        width: 80%;
    }
}