.social-dropdown {
    position: relative;
    display: inline-block;
}

.social-links {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    min-width: 160px;
    z-index: 100;
    margin-top: 10px;
    transition: visibility 0s linear 2s, opacity 0.3s ease;
}

.social-links:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(255, 255, 255, 0.1);
}

.social-dropdown:hover .social-links,
.social-links:hover {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.social-links a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.social-links i {
    font-size: 20px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .social-dropdown {
        width: 100%;
        display: block;
    }

    .social-links {
        position: static;
        transform: none;
        left: auto;
        width: 100%;
        margin-top: 0;
        background: rgba(0, 50, 100, 0.3);
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .social-links:before {
        display: none;
    }

    .social-dropdown.active .social-links {
        visibility: visible;
        opacity: 1;
        max-height: 400px;
    }

    .social-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .social-links a:last-child {
        border-bottom: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}