﻿.tiktok-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    color: White;
     
}

.tiktok-button {
    display: flex;
    align-items: center;
    background-color: #5887e0;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    padding-left: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
    
}

.tiktok-button:hover {
    transform: scale(1.1);
}

.tiktok-button img {
    width: 28px;
    height: 28px;
    transition: transform 0.5s;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.tiktok-button span {
    font-size: 18px;
    margin-left: 10px;
    transition: opacity 0.5s, transform 0.5s;
    animation: text-entrance 1s ease-in-out;
}

@keyframes text-entrance {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hidden {
    opacity: 0;
    transform: translateX(50px);
    margin-right: -162px;
}

.shrink {
    padding: 15px;
}

.tiktok-button::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 35%);
    animation: light-reflection 3s infinite;
}

@keyframes light-reflection {
    0% {
        transform: translate(-30%, -30%);
    }
    50% {
        transform: translate(30%, 30%);
    }
    100% {
        transform: translate(-30%, -30%);
    }
}

.tiktok-button:focus, .tiktok-button:active, .tiktok-button:hover {
    outline: none;
    text-decoration: none;
    color: white;
}