/* =====================================================
   FLOATING SOCIAL MEDIA SIDEBAR
   VectraHub - Modern Neon Glow Design
   ===================================================== */

.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-sidebar a {
    display: flex;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(20, 20, 30, 0.95);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
}

.social-sidebar a:first-child {
    border-radius: 0 12px 0 0;
}

.social-sidebar a:last-child {
    border-radius: 0 0 12px 0;
}

.social-sidebar a:hover {
    width: 160px;
    background: rgba(30, 30, 45, 0.98);
}

.social-sidebar .icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-sidebar .label {
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.social-sidebar a:hover .label {
    opacity: 1;
    transform: translateX(0);
}

/* Instagram - Gradient Glow */
.social-sidebar a.instagram:hover {
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5),
        inset 0 0 20px rgba(225, 48, 108, 0.1);
    border-color: rgba(225, 48, 108, 0.5);
}

.social-sidebar a.instagram:hover .icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.8));
}

.social-sidebar a.instagram .icon svg {
    transition: all 0.3s ease;
}

.social-sidebar a.instagram:hover .icon svg {
    stroke: url(#instagram-gradient);
    filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.8));
}

/* X (Twitter) - White/Gray Glow */
.social-sidebar a.twitter:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-sidebar a.twitter:hover .icon {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Reddit - Orange Glow */
.social-sidebar a.reddit:hover {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5),
        inset 0 0 20px rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.5);
}

.social-sidebar a.reddit:hover .icon {
    color: #ff4500;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.8));
}

/* Mobile - Bottom Bar */
@media (max-width: 768px) {
    .social-sidebar {
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 0;
        border-radius: 16px 16px 0 0;
        overflow: hidden;
    }

    .social-sidebar a {
        width: 60px;
        height: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        border-radius: 0 !important;
    }

    .social-sidebar a:first-child {
        border-radius: 16px 0 0 0 !important;
    }

    .social-sidebar a:last-child {
        border-radius: 0 16px 0 0 !important;
    }

    .social-sidebar a:hover {
        width: 60px;
        transform: translateY(-5px);
    }

    .social-sidebar .label {
        display: none;
    }
}

/* Hide on very small screens if needed */
@media (max-width: 360px) {
    .social-sidebar a {
        width: 50px;
        height: 45px;
    }

    .social-sidebar .icon {
        min-width: 50px;
        height: 45px;
        font-size: 1.1rem;
    }
}