.social-media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.social-media-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.social-media-item:hover::before {
    left: 100%;
}

.social-media-item:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.social-media-item.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
}

.social-media-item.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
    color: white;
}

.social-media-item.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
    color: white;
}

.social-media-item.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
    color: white;
}

.social-media-item.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: white;
}

.social-media-item.github:hover {
    background: linear-gradient(135deg, #333, #666);
    color: white;
}

.social-media-item.discord:hover {
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
}

.social-media-item i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-media-item:hover i {
    transform: scale(1.2);
}

/* Tooltip */
.social-media-item .tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-media-item .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0,0,0,0.8);
}

.social-media-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .social-media-bar {
        {{ $position === 'fixed' ? 'right: 10px;' : '' }}
        flex-direction: row;
        {{ $position === 'fixed' ? 'top: auto; bottom: 20px; transform: none;' : '' }}
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .social-media-item {
        width: 45px;
        height: 45px;
    }
    
    .social-media-item .tooltip {
        display: none;
    }
}