#topmate-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: flex;  /* Ensure it takes space but is invisible initially */
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Prevents interaction before appearing */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.5), inset -4px -4px 8px rgba(255, 255, 255, 0.2);
    z-index: 1000;
}


#topmate-btn:hover {
    background: transparent;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #topmate-btn {
        top: 15px;
        right: 15px;
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    #topmate-btn {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 8px 14px;
    }
}
