/* Экран загрузки */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(37, 37, 37);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Остальной ваш CSS без изменений */
body {
    background-color: rgb(37, 37, 37);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.home {
    width: 855px;
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
}

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 140px;
    height: auto;
    z-index: 1000;
}

.copyright {

  color: #A2AAFF;
  text-align: center;

}

.working {
  position: relative;
  top: -15px;
  color: #A2AAFF;
  text-align: center;
}

.working a {
  color: inherit; 
  text-decoration: none; 
}

.working a:hover {
  text-decoration: underline; 
  color: #8a94ff; 

}

.search-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#trackSearch {
    padding: 8px 12px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: rgb(50, 50, 50);
    color: #ccc;
    font-size: 14px;
    width: 200px;
    height: 13px;
    outline: none;
}

#trackSearch::placeholder {
    color: #888;
}

#trackSearch:focus {
    border-color: #777;
}

.track {
    padding: 1px;
    border-bottom: 15px;
    color: #ccc;
    font-size: 17px;
    left: 15px;
    width: 100%;
    box-sizing: border-box;
}

audio {
    width: 100%;
    margin-top: 5px;
    filter: invert(0.9);
}

/* Адаптивность */
@media screen and (max-width: 800px) {
    .home {
        width: 95%;
    }
}

@media screen and (max-width: 600px) {
    .home {
        width: 100%;
        padding: 0 10px;
    }
    
    #loading-screen img {
        max-width: 90%;
        max-height: 90%;
    }
}