/* Floating Social Media Bar */
.floating-social {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-social-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-social-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-social-item.twitter {
    background: linear-gradient(135deg, #FFFFFF, #f0f0f0);
    position: relative;
}

.floating-social-item.twitter:hover {
    border-color: #000000;
}

.floating-social-item.twitter i {
    display: none;
}

.floating-social-item.twitter::after {
    content: "𝕏";
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-social-item.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.floating-social-item.telegram:hover {
    border-color: #0088cc;
}

.floating-social-item.discord {
    background: linear-gradient(135deg, #7289da, #5b6eae);
}

.floating-social-item.discord:hover {
    border-color: #7289da;
}

.floating-social-item.reddit {
    background: linear-gradient(135deg, #ff4500, #cc3700);
}

.floating-social-item.reddit:hover {
    border-color: #ff4500;
}

.floating-social-item.gitbook {
    background: linear-gradient(135deg, #FFFFFF, #f0f0f0);
    position: relative;
}

.floating-social-item.gitbook:hover {
    border-color: #3884ff;
}

.floating-social-item.gitbook i {
    color: #000000;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-social {
        right: 10px;
        gap: 8px;
    }
    
    .floating-social-item {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-social {
        display: none;
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00B3F0, #0088cc);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}