html {
    overflow: hidden;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

.input-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.background {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 20%), 1fr));
    width: 100%;
    filter: brightness(0.7);
}

.block {
    aspect-ratio: 1;
    background-size: cover;
}

h1 {
    font-family: 'Inter', sans-serif;
    color: #d14f4f;
    margin-bottom: 15px;
    font-weight: 700;
}

.left {
    font-size: 1.5em;
}

.middle {
    font-size: 1em;
    color: #333;
}

.right {
    font-size: 0.6em;
    color: #333;
}

h5 {
    color: #555;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0px;
}

p {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.bottom {
    display: flex;
    gap: 8px;
    row-gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

#userInput {
    padding: 0.75rem;
    font-size: 1rem;
    width: 250px;
    border: 2px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

#userInput:focus {
    border-color: #ff1a1a;
}

.bottom button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #ff1a1a;
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background-color 0.3s ease;
}

.bottom button:hover {
    background-color: #b30000;
}

.corner-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.github-icon, .lastfm-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 25%;
    font-size: 2rem;
    text-decoration: none;
    transition: filter 0.3s ease;
    background-color: rgba(256, 256, 256);
    display: flex;
    align-items: center;
    justify-content: center;
}

.github-icon > img, .lastfm-icon > img {
    width: 40px;
    height: 40px;
    transition: filter 0.3s ease;
}

.github-icon:hover, .lastfm-icon:hover > img {
    filter: brightness(3);
}

.lastfm-icon:hover > img {
    transition: filter 0.3s ease;
    filter: brightness(0.8);
}

.lastfm-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lastfm-link:hover {
    color: #d14f4f;
}

.try-profile {
    margin-top: 15px;
    color: #666;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.try-button {
    background: none;
    border: none;
    color: #d14f4f;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.try-button:hover {
    color: #8f0202;
    text-decoration: none;
}

body.prevent-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}