/* Widget Flotante de Redes Sociales */
#social-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.social-widget-container {
    position: relative;
}

.social-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7289da 0%, #5865f2 100%);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-widget-toggle:hover {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(82, 101, 242, 0.3);
}

.social-widget-toggle:active {
    transform: scale(0.95);
}

.widget-icon {
    display: block;
}

.social-widget-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.social-widget-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.social-link:hover {
    background: #f5f5f5;
}

.social-link.discord {
    color: #5865f2;
}

.social-link.discord:hover {
    background: #f0f1ff;
    border-left-color: #5865f2;
}

.social-link.whatsapp {
    color: #25d366;
}

.social-link.whatsapp:hover {
    background: #f0fff5;
    border-left-color: #25d366;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    #social-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .social-widget-toggle {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .social-widget-menu {
        min-width: 160px;
    }
    
    .social-link {
        padding: 10px 12px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    .social-link span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #social-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .social-widget-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
