body, html {
    height: 100%;
    margin: 0;
    padding: 1rem;
    color: white;
    background-color: black;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
}

input, button {
    font-size: 1rem;
    padding: 0.5rem;
    margin: 0.5rem 0;
}

#chat-box {
    margin-bottom: 2rem;
    max-height: 50vh;
    overflow-y: auto;
    border: 1px solid #555;
    padding: 1rem;
    background: #111;
}

.username {
    font-weight: bold;
    color: white;
}

input[readonly] {
    background-color: #333;
    color: #aaa;
}

#gif-container {
    margin-top: 4rem;
    text-align: center;
}

#gif-container img {
    max-height: 100px;
    cursor: pointer;
}

.shiny-name {
    position: relative;
    font-weight: bold;
    color: inherit; /* original color */
    display: inline-block;
}

.shiny-name::before {
    content: attr(data-text); /* copy text */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 3s linear infinite;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
}

@keyframes shine {
    0% {
        background-position: -100% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
