.go-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--background-color);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.go-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.go-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--shadow-color);
    background-color: var(--background-color);
    color: var(--accent-color);
}

.go-to-top-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .go-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

footer {
    background-color: var(--background-color);
    padding: 10px 0;
    /*margin-top: 60px;*/
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.footer-container {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-version,
.footer-debug,
.footer-copyright {
    color: var(--text-color);
    font-size: 0.9em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-version:hover,
.footer-debug:hover,
.footer-copyright:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
    }
}